=>> Building net/delegate build started at Tue Apr 2 14:29:56 BST 2024 port directory: /usr/ports/net/delegate package name: delegate-9.9.13_3 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: portmaster@BSDforge.com Makefile datestamp: -rw-r--r-- 1 root wheel 1931 Mar 7 22:02 /usr/ports/net/delegate/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 687edfacdc Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 08 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/08/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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-- portmaster@BSDforge.com --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=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=/ccache/libexec/ccache:/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 CCACHE_DIR="/root/.ccache" --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=/ccache/libexec/ccache:/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=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -x c++ -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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=13.2 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--- 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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---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 --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-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... 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-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] 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 =========================================================================== =================================================== ===== 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] else ^ ./maker/mkmake.c:246:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ./maker/mkmake.c:365:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(path,"r+") ){ ~~~^~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:365:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"r+") ){ ^ ( ) ./maker/mkmake.c:365:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"r+") ){ ^ == ./maker/mkmake.c:424:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( err = fopen("mkmake.err","a") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:424:10: note: place parentheses around the assignment to silence this warning if( err = fopen("mkmake.err","a") ){ ^ ( ) ./maker/mkmake.c:424:10: note: use '==' to turn this assignment into an equality comparison if( err = fopen("mkmake.err","a") ){ ^ == ./maker/mkmake.c:604:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(CONF,"w") ){ ~~~^~~~~~~~~~~~~~~~~ ./maker/mkmake.c:604:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(CONF,"w") ){ ^ ( ) ./maker/mkmake.c:604:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(CONF,"w") ){ ^ == ./maker/mkmake.c:725:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(a1+3,')') ){ ~~~^~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:725:12: note: place parentheses around the assignment to silence this warning if( dp = strchr(a1+3,')') ){ ^ ( ) ./maker/mkmake.c:725:12: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(a1+3,')') ){ ^ == ./maker/mkmake.c:769:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] 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] CFLAGSPLUS = noncplus("mkmake",CFLAGSPLUS,cflagsplus); ^ ./maker/mkmake.c:789:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("MAKEFLAGS") ) *env = 0; ~~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:789:11: note: place parentheses around the assignment to silence this warning if( env = getenv("MAKEFLAGS") ) *env = 0; ^ ( ) ./maker/mkmake.c:789:11: note: use '==' to turn this assignment into an equality comparison if( env = getenv("MAKEFLAGS") ) *env = 0; ^ == ./maker/mkmake.c:790:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("MFLAGS") ) *env = 0; ~~~~^~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:790:11: note: place parentheses around the assignment to silence this warning if( env = getenv("MFLAGS") ) *env = 0; ^ ( ) ./maker/mkmake.c:790:11: note: use '==' to turn this assignment into an equality comparison if( env = getenv("MFLAGS") ) *env = 0; ^ == ./maker/mkmake.c:1052:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(file,"r") ){ ~~~^~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1052:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"r") ){ ^ ( ) ./maker/mkmake.c:1052:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"r") ){ ^ == ./maker/mkmake.c:1157:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(ans,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1157:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(ans,"\r\n") ) ^ ( ) ./maker/mkmake.c:1157:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(ans,"\r\n") ) ^ == ./maker/mkmake.c:1168:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(ans,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1168:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(ans,"\r\n") ) ^ ( ) ./maker/mkmake.c:1168:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(ans,"\r\n") ) ^ == ./maker/mkmake.c:1195:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( conf = fopen(CONF,"a") ){ ~~~~~^~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1195:12: note: place parentheses around the assignment to silence this warning if( conf = fopen(CONF,"a") ){ ^ ( ) ./maker/mkmake.c:1195:12: note: use '==' to turn this assignment into an equality comparison if( conf = fopen(CONF,"a") ){ ^ == ./maker/mkmake.c:1201:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( okfp = fopen(MAKEFILE_OK,"w") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1201:11: note: place parentheses around the assignment to silence this warning if( okfp = fopen(MAKEFILE_OK,"w") ){ ^ ( ) ./maker/mkmake.c:1201:11: note: use '==' to turn this assignment into an equality comparison if( okfp = fopen(MAKEFILE_OK,"w") ){ ^ == ./maker/mkmake.c:1322:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] CFLAGS = noncplus("makeat",CFLAGS,cflags1); ^ ./maker/mkmake.c:1357:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = EXECVPR(nav[0],nav) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1357:12: note: place parentheses around the assignment to silence this warning if( rcode = EXECVPR(nav[0],nav) ){ ^ ( ) ./maker/mkmake.c:1357:12: note: use '==' to turn this assignment into an equality comparison if( rcode = EXECVPR(nav[0],nav) ){ ^ == ./maker/mkmake.c:1405:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(src,'/') ){ ~~~^~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1405:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(src,'/') ){ ^ ( ) ./maker/mkmake.c:1405:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(src,'/') ){ ^ == ./maker/mkmake.c:1449:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( rcc = fread(buf,1,sizeof(buf),ifp) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1449:14: note: place parentheses around the assignment to silence this warning while( rcc = fread(buf,1,sizeof(buf),ifp) ) ^ ( ) ./maker/mkmake.c:1449:14: note: use '==' to turn this assignment into an equality comparison while( rcc = fread(buf,1,sizeof(buf),ifp) ) ^ == ./maker/mkmake.c:1558:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ep = wp; ec = *ep; ep++ ){ ~~~^~~~~ ./maker/mkmake.c:1558:19: note: place parentheses around the assignment to silence this warning for( ep = wp; ec = *ep; ep++ ){ ^ ( ) ./maker/mkmake.c:1558:19: note: use '==' to turn this assignment into an equality comparison for( ep = wp; ec = *ep; ep++ ){ ^ == ./maker/mkmake.c:1589:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pe = getenv("PATH") ) ~~~^~~~~~~~~~~~~~~~ ./maker/mkmake.c:1589:9: note: place parentheses around the assignment to silence this warning if( pe = getenv("PATH") ) ^ ( ) ./maker/mkmake.c:1589:9: note: use '==' to turn this assignment into an equality comparison if( pe = getenv("PATH") ) ^ == ./maker/mkmake.c:1595:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = (char*)strchr(dir+1,':') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1595:10: note: place parentheses around the assignment to silence this warning if( np = (char*)strchr(dir+1,':') ) ^ ( ) ./maker/mkmake.c:1595:10: note: use '==' to turn this assignment into an equality comparison if( np = (char*)strchr(dir+1,':') ) ^ == ./maker/mkmake.c:1599:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(path,"r") ){ ~~~^~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1599:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"r") ){ ^ ( ) ./maker/mkmake.c:1599:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"r") ){ ^ == ./maker/mkmake.c:1716:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = (char*)strrchr(file,'.') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1716:9: note: place parentheses around the assignment to silence this warning if( dp = (char*)strrchr(file,'.') ) ^ ( ) ./maker/mkmake.c:1716:9: note: use '==' to turn this assignment into an equality comparison if( dp = (char*)strrchr(file,'.') ) ^ == ./maker/mkmake.c:1742:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 0; src1 = srcv[si]; si++ ) ~~~~~^~~~~~~~~~ ./maker/mkmake.c:1742:20: note: place parentheses around the assignment to silence this warning for( si = 0; src1 = srcv[si]; si++ ) ^ ( ) ./maker/mkmake.c:1742:20: note: use '==' to turn this assignment into an equality comparison for( si = 0; src1 = srcv[si]; si++ ) ^ == ./maker/mkmake.c:1769:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(manifest,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1769:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(manifest,"r") ){ ^ ( ) ./maker/mkmake.c:1769:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(manifest,"r") ){ ^ == ./maker/mkmake.c:1797:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(manifest,"w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1797:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(manifest,"w") ){ ^ ( ) ./maker/mkmake.c:1797:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(manifest,"w") ){ ^ == ./maker/mkmake.c:1922:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sfp = fopen(substlist,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1922:10: note: place parentheses around the assignment to silence this warning if( sfp = fopen(substlist,"r") ){ ^ ( ) ./maker/mkmake.c:1922:10: note: use '==' to turn this assignment into an equality comparison if( sfp = fopen(substlist,"r") ){ ^ == ./maker/mkmake.c:1930:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(buf,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1930:11: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(buf,"\r\n") ) ^ ( ) ./maker/mkmake.c:1930:11: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(buf,"\r\n") ) ^ == ./maker/mkmake.c:1939:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sfp = fopen(substlist,"w") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:1939:11: note: place parentheses around the assignment to silence this warning if( sfp = fopen(substlist,"w") ){ ^ ( ) ./maker/mkmake.c:1939:11: note: use '==' to turn this assignment into an equality comparison if( sfp = fopen(substlist,"w") ){ ^ == ./maker/mkmake.c:2044:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = (*func)(file,fv,fcp) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:2044:13: note: place parentheses around the assignment to silence this warning if( rcode = (*func)(file,fv,fcp) ) ^ ( ) ./maker/mkmake.c:2044:13: note: use '==' to turn this assignment into an equality comparison if( rcode = (*func)(file,fv,fcp) ) ^ == ./maker/mkmake.c:2404:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(HOSTNAME_FILE,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:2404:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(HOSTNAME_FILE,"r") ){ ^ ( ) ./maker/mkmake.c:2404:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(HOSTNAME_FILE,"r") ){ ^ == ./maker/mkmake.c:2412:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = popen(HOSTNAME_COM,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./maker/mkmake.c:2412:10: note: place parentheses around the assignment to silence this warning if( fp = popen(HOSTNAME_COM,"r") ){ ^ ( ) ./maker/mkmake.c:2412:10: note: use '==' to turn this assignment into an equality comparison if( fp = popen(HOSTNAME_COM,"r") ){ ^ == In file included from mkmkmk.c:1: In file included from ./maker/mkmake.c:2468: ./maker/../rary/cksum.c:60:23: warning: expression result unused [-Wunused-value] for( li = 0; li < 4; li ){ ^~ ./maker/../rary/cksum.c:107:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(file,"r") ){ ~~~^~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:107:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"r") ){ ^ ( ) ./maker/../rary/cksum.c:107:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"r") ){ ^ == ./maker/../rary/cksum.c:115:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sum = fopen(sumfile,"w") ){ ~~~~^~~~~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:115:11: note: place parentheses around the assignment to silence this warning if( sum = fopen(sumfile,"w") ){ ^ ( ) ./maker/../rary/cksum.c:115:11: note: use '==' to turn this assignment into an equality comparison if( sum = fopen(sumfile,"w") ){ ^ == ./maker/../rary/cksum.c:142:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; ch = line[ci]; ci++ ){ ~~~^~~~~~~~~~ ./maker/../rary/cksum.c:142:20: note: place parentheses around the assignment to silence this warning for( ci = 0; ch = line[ci]; ci++ ){ ^ ( ) ./maker/../rary/cksum.c:142:20: note: use '==' to turn this assignment into an equality comparison for( ci = 0; ch = line[ci]; ci++ ){ ^ == ./maker/../rary/cksum.c:207:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(file,"r") ){ ~~~^~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:207:12: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"r") ){ ^ ( ) ./maker/../rary/cksum.c:207:12: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"r") ){ ^ == ./maker/../rary/cksum.c:263:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(av[ai],"r") ){ ~~~^~~~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:263:11: note: place parentheses around the assignment to silence this warning if( fp = fopen(av[ai],"r") ){ ^ ( ) ./maker/../rary/cksum.c:263:11: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(av[ai],"r") ){ ^ == ./maker/../rary/cksum.c:265:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ ./maker/../rary/cksum.c:265:13: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"\r\n") ) ^ ( ) ./maker/../rary/cksum.c:265:13: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"\r\n") ) ^ == 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] else ^ maker/mkmake.c:246:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ maker/mkmake.c:365:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(path,"r+") ){ ~~~^~~~~~~~~~~~~~~~~~ maker/mkmake.c:365:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"r+") ){ ^ ( ) maker/mkmake.c:365:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"r+") ){ ^ == maker/mkmake.c:424:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( err = fopen("mkmake.err","a") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:424:10: note: place parentheses around the assignment to silence this warning if( err = fopen("mkmake.err","a") ){ ^ ( ) maker/mkmake.c:424:10: note: use '==' to turn this assignment into an equality comparison if( err = fopen("mkmake.err","a") ){ ^ == maker/mkmake.c:604:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(CONF,"w") ){ ~~~^~~~~~~~~~~~~~~~~ maker/mkmake.c:604:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(CONF,"w") ){ ^ ( ) maker/mkmake.c:604:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(CONF,"w") ){ ^ == maker/mkmake.c:725:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(a1+3,')') ){ ~~~^~~~~~~~~~~~~~~~~~ maker/mkmake.c:725:12: note: place parentheses around the assignment to silence this warning if( dp = strchr(a1+3,')') ){ ^ ( ) maker/mkmake.c:725:12: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(a1+3,')') ){ ^ == maker/mkmake.c:769:21: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] 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] CFLAGSPLUS = noncplus("mkmake",CFLAGSPLUS,cflagsplus); ^ maker/mkmake.c:789:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("MAKEFLAGS") ) *env = 0; ~~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:789:11: note: place parentheses around the assignment to silence this warning if( env = getenv("MAKEFLAGS") ) *env = 0; ^ ( ) maker/mkmake.c:789:11: note: use '==' to turn this assignment into an equality comparison if( env = getenv("MAKEFLAGS") ) *env = 0; ^ == maker/mkmake.c:790:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("MFLAGS") ) *env = 0; ~~~~^~~~~~~~~~~~~~~~~~ maker/mkmake.c:790:11: note: place parentheses around the assignment to silence this warning if( env = getenv("MFLAGS") ) *env = 0; ^ ( ) maker/mkmake.c:790:11: note: use '==' to turn this assignment into an equality comparison if( env = getenv("MFLAGS") ) *env = 0; ^ == maker/mkmake.c:1052:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(file,"r") ){ ~~~^~~~~~~~~~~~~~~~~ maker/mkmake.c:1052:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"r") ){ ^ ( ) maker/mkmake.c:1052:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"r") ){ ^ == maker/mkmake.c:1157:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(ans,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1157:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(ans,"\r\n") ) ^ ( ) maker/mkmake.c:1157:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(ans,"\r\n") ) ^ == maker/mkmake.c:1168:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(ans,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1168:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(ans,"\r\n") ) ^ ( ) maker/mkmake.c:1168:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(ans,"\r\n") ) ^ == maker/mkmake.c:1195:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( conf = fopen(CONF,"a") ){ ~~~~~^~~~~~~~~~~~~~~~~ maker/mkmake.c:1195:12: note: place parentheses around the assignment to silence this warning if( conf = fopen(CONF,"a") ){ ^ ( ) maker/mkmake.c:1195:12: note: use '==' to turn this assignment into an equality comparison if( conf = fopen(CONF,"a") ){ ^ == maker/mkmake.c:1201:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( okfp = fopen(MAKEFILE_OK,"w") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1201:11: note: place parentheses around the assignment to silence this warning if( okfp = fopen(MAKEFILE_OK,"w") ){ ^ ( ) maker/mkmake.c:1201:11: note: use '==' to turn this assignment into an equality comparison if( okfp = fopen(MAKEFILE_OK,"w") ){ ^ == maker/mkmake.c:1322:22: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] CFLAGS = noncplus("makeat",CFLAGS,cflags1); ^ maker/mkmake.c:1357:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = EXECVPR(nav[0],nav) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1357:12: note: place parentheses around the assignment to silence this warning if( rcode = EXECVPR(nav[0],nav) ){ ^ ( ) maker/mkmake.c:1357:12: note: use '==' to turn this assignment into an equality comparison if( rcode = EXECVPR(nav[0],nav) ){ ^ == maker/mkmake.c:1405:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(src,'/') ){ ~~~^~~~~~~~~~~~~~~~~~ maker/mkmake.c:1405:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(src,'/') ){ ^ ( ) maker/mkmake.c:1405:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(src,'/') ){ ^ == maker/mkmake.c:1449:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( rcc = fread(buf,1,sizeof(buf),ifp) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1449:14: note: place parentheses around the assignment to silence this warning while( rcc = fread(buf,1,sizeof(buf),ifp) ) ^ ( ) maker/mkmake.c:1449:14: note: use '==' to turn this assignment into an equality comparison while( rcc = fread(buf,1,sizeof(buf),ifp) ) ^ == maker/mkmake.c:1558:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ep = wp; ec = *ep; ep++ ){ ~~~^~~~~ maker/mkmake.c:1558:19: note: place parentheses around the assignment to silence this warning for( ep = wp; ec = *ep; ep++ ){ ^ ( ) maker/mkmake.c:1558:19: note: use '==' to turn this assignment into an equality comparison for( ep = wp; ec = *ep; ep++ ){ ^ == maker/mkmake.c:1589:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pe = getenv("PATH") ) ~~~^~~~~~~~~~~~~~~~ maker/mkmake.c:1589:9: note: place parentheses around the assignment to silence this warning if( pe = getenv("PATH") ) ^ ( ) maker/mkmake.c:1589:9: note: use '==' to turn this assignment into an equality comparison if( pe = getenv("PATH") ) ^ == maker/mkmake.c:1595:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = (char*)strchr(dir+1,':') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1595:10: note: place parentheses around the assignment to silence this warning if( np = (char*)strchr(dir+1,':') ) ^ ( ) maker/mkmake.c:1595:10: note: use '==' to turn this assignment into an equality comparison if( np = (char*)strchr(dir+1,':') ) ^ == maker/mkmake.c:1599:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(path,"r") ){ ~~~^~~~~~~~~~~~~~~~~ maker/mkmake.c:1599:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"r") ){ ^ ( ) maker/mkmake.c:1599:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"r") ){ ^ == maker/mkmake.c:1716:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = (char*)strrchr(file,'.') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1716:9: note: place parentheses around the assignment to silence this warning if( dp = (char*)strrchr(file,'.') ) ^ ( ) maker/mkmake.c:1716:9: note: use '==' to turn this assignment into an equality comparison if( dp = (char*)strrchr(file,'.') ) ^ == maker/mkmake.c:1742:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 0; src1 = srcv[si]; si++ ) ~~~~~^~~~~~~~~~ maker/mkmake.c:1742:20: note: place parentheses around the assignment to silence this warning for( si = 0; src1 = srcv[si]; si++ ) ^ ( ) maker/mkmake.c:1742:20: note: use '==' to turn this assignment into an equality comparison for( si = 0; src1 = srcv[si]; si++ ) ^ == maker/mkmake.c:1769:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(manifest,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1769:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(manifest,"r") ){ ^ ( ) maker/mkmake.c:1769:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(manifest,"r") ){ ^ == maker/mkmake.c:1797:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(manifest,"w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1797:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(manifest,"w") ){ ^ ( ) maker/mkmake.c:1797:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(manifest,"w") ){ ^ == maker/mkmake.c:1922:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sfp = fopen(substlist,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1922:10: note: place parentheses around the assignment to silence this warning if( sfp = fopen(substlist,"r") ){ ^ ( ) maker/mkmake.c:1922:10: note: use '==' to turn this assignment into an equality comparison if( sfp = fopen(substlist,"r") ){ ^ == maker/mkmake.c:1930:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(buf,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1930:11: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(buf,"\r\n") ) ^ ( ) maker/mkmake.c:1930:11: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(buf,"\r\n") ) ^ == maker/mkmake.c:1939:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sfp = fopen(substlist,"w") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:1939:11: note: place parentheses around the assignment to silence this warning if( sfp = fopen(substlist,"w") ){ ^ ( ) maker/mkmake.c:1939:11: note: use '==' to turn this assignment into an equality comparison if( sfp = fopen(substlist,"w") ){ ^ == maker/mkmake.c:2044:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = (*func)(file,fv,fcp) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:2044:13: note: place parentheses around the assignment to silence this warning if( rcode = (*func)(file,fv,fcp) ) ^ ( ) maker/mkmake.c:2044:13: note: use '==' to turn this assignment into an equality comparison if( rcode = (*func)(file,fv,fcp) ) ^ == maker/mkmake.c:2404:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(HOSTNAME_FILE,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:2404:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(HOSTNAME_FILE,"r") ){ ^ ( ) maker/mkmake.c:2404:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(HOSTNAME_FILE,"r") ){ ^ == maker/mkmake.c:2412:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = popen(HOSTNAME_COM,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ maker/mkmake.c:2412:10: note: place parentheses around the assignment to silence this warning if( fp = popen(HOSTNAME_COM,"r") ){ ^ ( ) maker/mkmake.c:2412:10: note: use '==' to turn this assignment into an equality comparison if( fp = popen(HOSTNAME_COM,"r") ){ ^ == In file included from maker/mkmake.c:2468: maker/../rary/cksum.c:60:23: warning: expression result unused [-Wunused-value] for( li = 0; li < 4; li ){ ^~ maker/../rary/cksum.c:107:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(file,"r") ){ ~~~^~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:107:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"r") ){ ^ ( ) maker/../rary/cksum.c:107:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"r") ){ ^ == maker/../rary/cksum.c:115:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sum = fopen(sumfile,"w") ){ ~~~~^~~~~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:115:11: note: place parentheses around the assignment to silence this warning if( sum = fopen(sumfile,"w") ){ ^ ( ) maker/../rary/cksum.c:115:11: note: use '==' to turn this assignment into an equality comparison if( sum = fopen(sumfile,"w") ){ ^ == maker/../rary/cksum.c:142:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; ch = line[ci]; ci++ ){ ~~~^~~~~~~~~~ maker/../rary/cksum.c:142:20: note: place parentheses around the assignment to silence this warning for( ci = 0; ch = line[ci]; ci++ ){ ^ ( ) maker/../rary/cksum.c:142:20: note: use '==' to turn this assignment into an equality comparison for( ci = 0; ch = line[ci]; ci++ ){ ^ == maker/../rary/cksum.c:207:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(file,"r") ){ ~~~^~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:207:12: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"r") ){ ^ ( ) maker/../rary/cksum.c:207:12: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"r") ){ ^ == maker/../rary/cksum.c:263:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(av[ai],"r") ){ ~~~^~~~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:263:11: note: place parentheses around the assignment to silence this warning if( fp = fopen(av[ai],"r") ){ ^ ( ) maker/../rary/cksum.c:263:11: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(av[ai],"r") ){ ^ == maker/../rary/cksum.c:265:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ maker/../rary/cksum.c:265:13: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"\r\n") ) ^ ( ) maker/../rary/cksum.c:265:13: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"\r\n") ) ^ == 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-builder.dan.net.uk 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 "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: C++ requires a type specifier for all declarations 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/src] creating Makefile.tst cpyfile Makefile[1-0][0-2026d9] > 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][201659-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 "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 "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: C++ requires a type specifier for all declarations 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk 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-2026d9] > 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][201659-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] if( fp = fopen(file,"r") ){ ~~~^~~~~~~~~~~~~~~~~ ../include/mkcpp.c:97:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"r") ){ ^ ( ) ../include/mkcpp.c:97:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"r") ){ ^ == ../include/mkcpp.c:190:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( in1 = include_inline(out,line) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/mkcpp.c:190:12: note: place parentheses around the assignment to silence this warning if( in1 = include_inline(out,line) ){ ^ ( ) ../include/mkcpp.c:190:12: note: use '==' to turn this assignment into an equality comparison if( in1 = include_inline(out,line) ){ ^ == ../include/mkcpp.c:207:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nlen = strheq(lp,"MStr(") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~ ../include/mkcpp.c:207:13: note: place parentheses around the assignment to silence this warning if( nlen = strheq(lp,"MStr(") ){ ^ ( ) ../include/mkcpp.c:207:13: note: use '==' to turn this assignment into an equality comparison if( nlen = strheq(lp,"MStr(") ){ ^ == ../include/mkcpp.c:217:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nlen = strheq(lp,"sprintf(") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../include/mkcpp.c:217:13: note: place parentheses around the assignment to silence this warning if( nlen = strheq(lp,"sprintf(") ){ ^ ( ) ../include/mkcpp.c:217:13: note: use '==' to turn this assignment into an equality comparison if( nlen = strheq(lp,"sprintf(") ){ ^ == ../include/mkcpp.c:222:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nlen = strheq(lp,"Rsprintf(") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../include/mkcpp.c:222:13: note: place parentheses around the assignment to silence this warning if( nlen = strheq(lp,"Rsprintf(") ){ ^ ( ) ../include/mkcpp.c:222:13: note: use '==' to turn this assignment into an equality comparison if( nlen = strheq(lp,"Rsprintf(") ){ ^ == ../include/mkcpp.c:251:17: warning: '/*' within block comment [-Wcomment] /* making gen/*.h (depending mkcpp) later than mkcpp */ ^ 6 warnings generated. ../mkcpp ../include/dglib.h ../gen/dglib.h -- mkcpp set time: 1712064606 -> 1411904544 ../gen/dglib.h ../mkcpp ../include/delegate.h ../gen/delegate.h -- mkcpp set time: 1712064606 -> 1409100207 ../gen/delegate.h ../mkcpp ../include/htswitch.h ../gen/htswitch.h -- mkcpp set time: 1712064606 -> 1250403944 ../gen/htswitch.h ../mkcpp ../include/ystrvec.h ../gen/ystrvec.h -- mkcpp set time: 1712064606 -> 1264936957 ../gen/ystrvec.h ../mkcpp ../include/vaddr.h ../gen/vaddr.h -- mkcpp set time: 1712064606 -> 1398938735 ../gen/vaddr.h ../mkcpp ../include/http.h ../gen/http.h -- mkcpp set time: 1712064606 -> 1411902220 ../gen/http.h ../mkcpp ../include/url.h ../gen/url.h -- mkcpp set time: 1712064606 -> 1407833903 ../gen/url.h ../mkcpp ../include/mime.h ../gen/mime.h -- mkcpp set time: 1712064606 -> 1258620620 ../gen/mime.h ../mkcpp ../include/htadmin.h ../gen/htadmin.h -- mkcpp set time: 1712064606 -> 1250403944 ../gen/htadmin.h "/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mkmake.exe" -makeat ../lib/libteleport.a ../teleport libteleport.a "gmake" libx MAKE="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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/teleport @pkg-builder.dan.net.uk 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/teleport] creating Makefile.go cpyfile Makefile[1-0][0-2026d9] > 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][201659-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: 1712064607 -> 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] for( pp = msg; ch = *pp; pp++ ){ ~~~^~~~~ teleportd._.c:442:22: note: place parentheses around the assignment to silence this warning for( pp = msg; ch = *pp; pp++ ){ ^ ( ) teleportd._.c:442:22: note: use '==' to turn this assignment into an equality comparison for( pp = msg; ch = *pp; pp++ ){ ^ == teleportd._.c:722:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(arg,'/') ) ~~~^~~~~~~~~~~~~~~~~~ teleportd._.c:722:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(arg,'/') ) ^ ( ) teleportd._.c:722:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(arg,'/') ) ^ == 2 warnings generated. ../mkcpp vehicle.c vehicle._.c -- mkcpp set time: 1712064608 -> 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] if( pp = strchr(ap->a_path,'!') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ vehicle._.c:377:11: note: place parentheses around the assignment to silence this warning if( pp = strchr(ap->a_path,'!') ) ^ ( ) vehicle._.c:377:11: note: use '==' to turn this assignment into an equality comparison if( pp = strchr(ap->a_path,'!') ) ^ == vehicle._.c:341:3: warning: expression result unused [-Wunused-value] *path++; ^~~~~~~ vehicle._.c:346:3: warning: expression result unused [-Wunused-value] *path++; ^~~~~~~ vehicle._.c:565:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strpbrk(msghead,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ vehicle._.c:565:9: note: place parentheses around the assignment to silence this warning if( np = strpbrk(msghead,"\r\n") ) ^ ( ) vehicle._.c:565:9: note: use '==' to turn this assignment into an equality comparison if( np = strpbrk(msghead,"\r\n") ) ^ == vehicle._.c:567:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( np = msghead; ch = *np; np++ ) ~~~^~~~~ vehicle._.c:567:24: note: place parentheses around the assignment to silence this warning for( np = msghead; ch = *np; np++ ) ^ ( ) vehicle._.c:567:24: note: use '==' to turn this assignment into an equality comparison for( np = msghead; ch = *np; np++ ) ^ == 5 warnings generated. ../mkcpp qzcode.c qzcode._.c -- mkcpp set time: 1712064609 -> 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] for( cj = 0; ch = QZM[cj]; cj++ ) ~~~^~~~~~~~~ qzcode._.c:144:20: note: place parentheses around the assignment to silence this warning for( cj = 0; ch = QZM[cj]; cj++ ) ^ ( ) qzcode._.c:144:20: note: use '==' to turn this assignment into an equality comparison for( cj = 0; ch = QZM[cj]; cj++ ) ^ == qzcode._.c:150:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( cj = 0; ch = QZM[cj]; cj++ ) ~~~^~~~~~~~~ qzcode._.c:150:18: note: place parentheses around the assignment to silence this warning for( cj = 0; ch = QZM[cj]; cj++ ) ^ ( ) qzcode._.c:150:18: note: use '==' to turn this assignment into an equality comparison for( cj = 0; ch = QZM[cj]; cj++ ) ^ == qzcode._.c:178:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; ch = QZM[ci]; ci++ ) ~~~^~~~~~~~~ qzcode._.c:178:18: note: place parentheses around the assignment to silence this warning for( ci = 0; ch = QZM[ci]; ci++ ) ^ ( ) qzcode._.c:178:18: note: use '==' to turn this assignment into an equality comparison for( ci = 0; ch = QZM[ci]; ci++ ) ^ == 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 "gmake" libx MAKE="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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/resolvy @pkg-builder.dan.net.uk 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/resolvy] creating Makefile.go cpyfile Makefile[1-0][0-2026d9] > 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][201659-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: 1712064610 -> 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] while( oct = *np ){ ~~~~^~~~~ dnsnode._.c:163:14: note: place parentheses around the assignment to silence this warning while( oct = *np ){ ^ ( ) dnsnode._.c:163:14: note: use '==' to turn this assignment into an equality comparison while( oct = *np ){ ^ == dnsnode._.c:271:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Pp = Np->n_parent ) ~~~^~~~~~~~~~~~~~ dnsnode._.c:271:9: note: place parentheses around the assignment to silence this warning if( Pp = Np->n_parent ) ^ ( ) dnsnode._.c:271:9: note: use '==' to turn this assignment into an equality comparison if( Pp = Np->n_parent ) ^ == 2 warnings generated. ../mkcpp resolv.c resolv._.c -- mkcpp set time: 1712064610 -> 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] while( len = *sp++ ){ ~~~~^~~~~~~ resolv._.c:270:13: note: place parentheses around the assignment to silence this warning while( len = *sp++ ){ ^ ( ) resolv._.c:270:13: note: use '==' to turn this assignment into an equality comparison while( len = *sp++ ){ ^ == resolv._.c:829:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( na = DNS_getattr(nsnid,typemask(TY_A),0,32,nsav) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv._.c:829:10: note: place parentheses around the assignment to silence this warning if( na = DNS_getattr(nsnid,typemask(TY_A),0,32,nsav) ){ ^ ( ) resolv._.c:829:10: note: use '==' to turn this assignment into an equality comparison if( na = DNS_getattr(nsnid,typemask(TY_A),0,32,nsav) ){ ^ == resolv._.c:964:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rs = getrs(ns) ){ ~~~^~~~~~~~~~~ resolv._.c:964:9: note: place parentheses around the assignment to silence this warning if( rs = getrs(ns) ){ ^ ( ) resolv._.c:964:9: note: use '==' to turn this assignment into an equality comparison if( rs = getrs(ns) ){ ^ == resolv._.c:1030:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nqd = hp->qdcount ){ ~~~~^~~~~~~~~~~~~ resolv._.c:1030:10: note: place parentheses around the assignment to silence this warning if( nqd = hp->qdcount ){ ^ ( ) resolv._.c:1030:10: note: use '==' to turn this assignment into an equality comparison if( nqd = hp->qdcount ){ ^ == resolv._.c:1229:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv._.c:1229:11: note: place parentheses around the assignment to silence this warning if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ^ ( ) resolv._.c:1229:11: note: use '==' to turn this assignment into an equality comparison if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ^ == resolv._.c:1312:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv._.c:1312:12: note: place parentheses around the assignment to silence this warning if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ^ ( ) resolv._.c:1312:12: note: use '==' to turn this assignment into an equality comparison if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ^ == resolv._.c:1514:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv._.c:1514:14: note: place parentheses around the assignment to silence this warning if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ^ ( ) resolv._.c:1514:14: note: use '==' to turn this assignment into an equality comparison if( nhit = lookupCache(nid,qtype,0,rrc,rrv) ) ^ == resolv._.c:1735:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strcasestr(name,DNS_DOMAIN) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv._.c:1735:9: note: place parentheses around the assignment to silence this warning if( dp = strcasestr(name,DNS_DOMAIN) ) ^ ( ) resolv._.c:1735:9: note: use '==' to turn this assignment into an equality comparison if( dp = strcasestr(name,DNS_DOMAIN) ) ^ == resolv._.c:1959:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nid = DNS_getbyname(name) ) ~~~~^~~~~~~~~~~~~~~~~~~~~ resolv._.c:1959:10: note: place parentheses around the assignment to silence this warning if( nid = DNS_getbyname(name) ) ^ ( ) resolv._.c:1959:10: note: use '==' to turn this assignment into an equality comparison if( nid = DNS_getbyname(name) ) ^ == resolv._.c:1960:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ac = DNS_getattr(nid,typemask(qtype),0,8,av) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv._.c:1960:9: note: place parentheses around the assignment to silence this warning if( ac = DNS_getattr(nid,typemask(qtype),0,8,av) ) ^ ( ) resolv._.c:1960:9: note: use '==' to turn this assignment into an equality comparison if( ac = DNS_getattr(nid,typemask(qtype),0,8,av) ) ^ == resolv._.c:2014:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(hp,'.') ) ~~~^~~~~~~~~~~~~~~~ resolv._.c:2014:12: note: place parentheses around the assignment to silence this warning if( dp = strchr(hp,'.') ) ^ ( ) resolv._.c:2014:12: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(hp,'.') ) ^ == resolv._.c:2067:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( anc = relay_cachedRR(AVStr(rrb),rrpp,name,TY_MX) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resolv._.c:2067:10: note: place parentheses around the assignment to silence this warning if( anc = relay_cachedRR(AVStr(rrb),rrpp,name,TY_MX) ) ^ ( ) resolv._.c:2067:10: note: use '==' to turn this assignment into an equality comparison if( anc = relay_cachedRR(AVStr(rrb),rrpp,name,TY_MX) ) ^ == 12 warnings generated. ../mkcpp reshost.c reshost._.c -- mkcpp set time: 1712064611 -> 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] for( ac = 0; ap = ht->h_addr_list[ac]; ac++ ){ ~~~^~~~~~~~~~~~~~~~~~~~~ reshost._.c:127:19: note: place parentheses around the assignment to silence this warning for( ac = 0; ap = ht->h_addr_list[ac]; ac++ ){ ^ ( ) reshost._.c:127:19: note: use '==' to turn this assignment into an equality comparison for( ac = 0; ap = ht->h_addr_list[ac]; ac++ ){ ^ == reshost._.c:149:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ax = 0; ap = ht->h_aliases[ax]; ax++ ){ ~~~^~~~~~~~~~~~~~~~~~~ reshost._.c:149:19: note: place parentheses around the assignment to silence this warning for( ax = 0; ap = ht->h_aliases[ax]; ax++ ){ ^ ( ) reshost._.c:149:19: note: use '==' to turn this assignment into an equality comparison for( ax = 0; ap = ht->h_aliases[ax]; ax++ ){ ^ == reshost._.c:224:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reshost._.c:224:18: note: place parentheses around the assignment to silence this warning for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ^ ( ) reshost._.c:224:18: note: use '==' to turn this assignment into an equality comparison for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ^ == reshost._.c:279:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dnsrch = res_DNSRCH() ){ ~~~~~~~^~~~~~~~~~~~~~ reshost._.c:279:13: note: place parentheses around the assignment to silence this warning if( dnsrch = res_DNSRCH() ){ ^ ( ) reshost._.c:279:13: note: use '==' to turn this assignment into an equality comparison if( dnsrch = res_DNSRCH() ){ ^ == reshost._.c:280:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 0; dname = dnsrch[si]; si++ ){ ~~~~~~^~~~~~~~~~~~ reshost._.c:280:25: note: place parentheses around the assignment to silence this warning for( si = 0; dname = dnsrch[si]; si++ ){ ^ ( ) reshost._.c:280:25: note: use '==' to turn this assignment into an equality comparison for( si = 0; dname = dnsrch[si]; si++ ){ ^ == reshost._.c:288:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dname = res_DEFDNAME() ){ ~~~~~~^~~~~~~~~~~~~~~~ reshost._.c:288:12: note: place parentheses around the assignment to silence this warning if( dname = res_DEFDNAME() ){ ^ ( ) reshost._.c:288:12: note: use '==' to turn this assignment into an equality comparison if( dname = res_DEFDNAME() ){ ^ == reshost._.c:384:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reshost._.c:384:18: note: place parentheses around the assignment to silence this warning for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ^ ( ) reshost._.c:384:18: note: use '==' to turn this assignment into an equality comparison for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ^ == reshost._.c:454:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ reshost._.c:523:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ reshost._.c:523:18: note: place parentheses around the assignment to silence this warning for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ^ ( ) reshost._.c:523:18: note: use '==' to turn this assignment into an equality comparison for( ri = 0; ri = RES_next_res(where,ri,AVStr(res1),AVStr(arg)); ){ ^ == reshost._.c:589:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ reshost._.c:631:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strchr(name+2,'.') ){ ~~~^~~~~~~~~~~~~~~~~~~~ reshost._.c:631:10: note: place parentheses around the assignment to silence this warning if( tp = strchr(name+2,'.') ){ ^ ( ) reshost._.c:631:10: note: use '==' to turn this assignment into an equality comparison if( tp = strchr(name+2,'.') ){ ^ == reshost._.c:761:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lp = strchr(line,'#') ){ ~~~^~~~~~~~~~~~~~~~~~ reshost._.c:761:9: note: place parentheses around the assignment to silence this warning if( lp = strchr(line,'#') ){ ^ ( ) reshost._.c:761:9: note: use '==' to turn this assignment into an equality comparison if( lp = strchr(line,'#') ){ ^ == reshost._.c:766:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lp = strchr(line,'\n') ) ~~~^~~~~~~~~~~~~~~~~~~ reshost._.c:766:9: note: place parentheses around the assignment to silence this warning if( lp = strchr(line,'\n') ) ^ ( ) reshost._.c:766:9: note: use '==' to turn this assignment into an equality comparison if( lp = strchr(line,'\n') ) ^ == reshost._.c:866:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strpbrk(datap,"#\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ reshost._.c:866:10: note: place parentheses around the assignment to silence this warning if( cp = strpbrk(datap,"#\r\n") ){ ^ ( ) reshost._.c:866:10: note: use '==' to turn this assignment into an equality comparison if( cp = strpbrk(datap,"#\r\n") ){ ^ == reshost._.c:927:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( lp = hp->h_buff; leng = (lp[0]<<8|lp[1]&0xFF); lp += leng+3 ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ reshost._.c:927:29: note: place parentheses around the assignment to silence this warning for( lp = hp->h_buff; leng = (lp[0]<<8|lp[1]&0xFF); lp += leng+3 ){ ^ ( ) reshost._.c:927:29: note: use '==' to turn this assignment into an equality comparison for( lp = hp->h_buff; leng = (lp[0]<<8|lp[1]&0xFF); lp += leng+3 ){ ^ == reshost._.c:997:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lp = strchr(lp,'\n') ) ~~~^~~~~~~~~~~~~~~~~ reshost._.c:997:10: note: place parentheses around the assignment to silence this warning if( lp = strchr(lp,'\n') ) ^ ( ) reshost._.c:997:10: note: use '==' to turn this assignment into an equality comparison if( lp = strchr(lp,'\n') ) ^ == 16 warnings generated. ../mkcpp rescache.c rescache._.c -- mkcpp set time: 1712064612 -> 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] if( cache = hosts_cache(byname,name,"r",AVStr(cpath)) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rescache._.c:209:12: note: place parentheses around the assignment to silence this warning if( cache = hosts_cache(byname,name,"r",AVStr(cpath)) ){ ^ ( ) rescache._.c:209:12: note: use '==' to turn this assignment into an equality comparison if( cache = hosts_cache(byname,name,"r",AVStr(cpath)) ){ ^ == rescache._.c:213:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ncache = fopen(newpath,"w") ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~ rescache._.c:213:14: note: place parentheses around the assignment to silence this warning if( ncache = fopen(newpath,"w") ){ ^ ( ) rescache._.c:213:14: note: use '==' to turn this assignment into an equality comparison if( ncache = fopen(newpath,"w") ){ ^ == rescache._.c:280:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; a1 = (unsigned char *)rv[ai]; ai++ ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ rescache._.c:280:22: note: place parentheses around the assignment to silence this warning for( ai = 0; a1 = (unsigned char *)rv[ai]; ai++ ){ ^ ( ) rescache._.c:280:22: note: use '==' to turn this assignment into an equality comparison for( ai = 0; a1 = (unsigned char *)rv[ai]; ai++ ){ ^ == rescache._.c:299:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; n1 = rv[ai]; ai++ ) ~~~^~~~~~~~ rescache._.c:299:19: note: place parentheses around the assignment to silence this warning for( ai = 0; n1 = rv[ai]; ai++ ) ^ ( ) rescache._.c:299:19: note: use '==' to turn this assignment into an equality comparison for( ai = 0; n1 = rv[ai]; ai++ ) ^ == rescache._.c:316:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; n1 = rv[ai]; ai++ ){ ~~~^~~~~~~~ rescache._.c:316:18: note: place parentheses around the assignment to silence this warning for( ai = 0; n1 = rv[ai]; ai++ ){ ^ ( ) rescache._.c:316:18: note: use '==' to turn this assignment into an equality comparison for( ai = 0; n1 = rv[ai]; ai++ ){ ^ == 5 warnings generated. ../mkcpp hostent.c hostent._.c -- mkcpp set time: 1712064612 -> 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: 1712064612 -> 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] if( pushed = PushedResolvers[tix] ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ resconf._.c:152:14: note: place parentheses around the assignment to silence this warning if( pushed = PushedResolvers[tix] ){ ^ ( ) resconf._.c:152:14: note: use '==' to turn this assignment into an equality comparison if( pushed = PushedResolvers[tix] ){ ^ == resconf._.c:220:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 0; dom = _RES.dnsrch[si]; si++ ){ ~~~~^~~~~~~~~~~~~~~~~ resconf._.c:220:19: note: place parentheses around the assignment to silence this warning for( si = 0; dom = _RES.dnsrch[si]; si++ ){ ^ ( ) resconf._.c:220:19: note: use '==' to turn this assignment into an equality comparison for( si = 0; dom = _RES.dnsrch[si]; si++ ){ ^ == resconf._.c:305:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = _GethostByname(myname) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ resconf._.c:305:9: note: place parentheses around the assignment to silence this warning if( hp = _GethostByname(myname) ) ^ ( ) resconf._.c:305:9: note: use '==' to turn this assignment into an equality comparison if( hp = _GethostByname(myname) ) ^ == resconf._.c:394:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strstr(nsb,"..") ){ ~~~^~~~~~~~~~~~~~~~~~ resconf._.c:394:10: note: place parentheses around the assignment to silence this warning if( np = strstr(nsb,"..") ){ ^ ( ) resconf._.c:394:10: note: use '==' to turn this assignment into an equality comparison if( np = strstr(nsb,"..") ){ ^ == resconf._.c:453:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( socks = strstr(ns,VIA_SOCKS) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ resconf._.c:453:12: note: place parentheses around the assignment to silence this warning if( socks = strstr(ns,VIA_SOCKS) ){ ^ ( ) resconf._.c:453:12: note: use '==' to turn this assignment into an equality comparison if( socks = strstr(ns,VIA_SOCKS) ){ ^ == resconf._.c:458:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strpbrk(ns,"# \t") ) ~~~^~~~~~~~~~~~~~~~~~~~ resconf._.c:458:10: note: place parentheses around the assignment to silence this warning if( cp = strpbrk(ns,"# \t") ) ^ ( ) resconf._.c:458:10: note: use '==' to turn this assignment into an equality comparison if( cp = strpbrk(ns,"# \t") ) ^ == resconf._.c:478:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = _GethostByname(ns) ) ~~~^~~~~~~~~~~~~~~~~~~~ resconf._.c:478:9: note: place parentheses around the assignment to silence this warning if( hp = _GethostByname(ns) ) ^ ( ) resconf._.c:478:9: note: use '==' to turn this assignment into an equality comparison if( hp = _GethostByname(ns) ) ^ == resconf._.c:481:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = _GETHOSTBYNAME(ns) ) ~~~^~~~~~~~~~~~~~~~~~~~ resconf._.c:481:9: note: place parentheses around the assignment to silence this warning if( hp = _GETHOSTBYNAME(ns) ) ^ ( ) resconf._.c:481:9: note: use '==' to turn this assignment into an equality comparison if( hp = _GETHOSTBYNAME(ns) ) ^ == resconf._.c:559:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addr = VSA_ntoa(&sin) ){ ~~~~~^~~~~~~~~~~~~~~~ resconf._.c:559:13: note: place parentheses around the assignment to silence this warning if( addr = VSA_ntoa(&sin) ){ ^ ( ) resconf._.c:559:13: note: use '==' to turn this assignment into an equality comparison if( addr = VSA_ntoa(&sin) ){ ^ == resconf._.c:638:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(line,"#;") ) ~~~^~~~~~~~~~~~~~~~~~~~ resconf._.c:638:13: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"#;") ) ^ ( ) resconf._.c:638:13: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"#;") ) ^ == resconf._.c:694:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( domain = strchr(nameb,'/') ) ~~~~~~~^~~~~~~~~~~~~~~~~~~ resconf._.c:694:13: note: place parentheses around the assignment to silence this warning if( domain = strchr(nameb,'/') ) ^ ( ) resconf._.c:694:13: note: use '==' to turn this assignment into an equality comparison if( domain = strchr(nameb,'/') ) ^ == resconf._.c:730:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = RES_VERIFY ){ ~~~^~~~~~~~~~~~ resconf._.c:730:9: note: place parentheses around the assignment to silence this warning if( sp = RES_VERIFY ){ ^ ( ) resconf._.c:730:9: note: use '==' to turn this assignment into an equality comparison if( sp = RES_VERIFY ){ ^ == resconf._.c:731:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ; sc = *sp; sp++ ){ ~~~^~~~~ resconf._.c:731:13: note: place parentheses around the assignment to silence this warning for( ; sc = *sp; sp++ ){ ^ ( ) resconf._.c:731:13: note: use '==' to turn this assignment into an equality comparison for( ; sc = *sp; sp++ ){ ^ == resconf._.c:822:15: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] mask[ai] = 255; ~ ^~~ resconf._.c:886:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sn = 0; saddrs[sn] = addrs[sn]; sn++ ){ ~~~~~~~~~~~^~~~~~~~~~~ resconf._.c:886:27: note: place parentheses around the assignment to silence this warning for( sn = 0; saddrs[sn] = addrs[sn]; sn++ ){ ^ ( ) resconf._.c:886:27: note: use '==' to turn this assignment into an equality comparison for( sn = 0; saddrs[sn] = addrs[sn]; sn++ ){ ^ == resconf._.c:931:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sx = 0; cap = addrs[sx]; sx++ ){ ~~~~^~~~~~~~~~~ resconf._.c:931:19: note: place parentheses around the assignment to silence this warning for( sx = 0; cap = addrs[sx]; sx++ ){ ^ ( ) resconf._.c:931:19: note: use '==' to turn this assignment into an equality comparison for( sx = 0; cap = addrs[sx]; sx++ ){ ^ == resconf._.c:979:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("RES_DEBUG") ) ~~~~^~~~~~~~~~~~~~~~~~~~~ resconf._.c:979:10: note: place parentheses around the assignment to silence this warning if( env = getenv("RES_DEBUG") ) ^ ( ) resconf._.c:979:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("RES_DEBUG") ) ^ == resconf._.c:991:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("RES_ORDER") ) ~~~~^~~~~~~~~~~~~~~~~~~~~ resconf._.c:991:10: note: place parentheses around the assignment to silence this warning if( env = getenv("RES_ORDER") ) ^ ( ) resconf._.c:991:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("RES_ORDER") ) ^ == resconf._.c:995:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( rx = 0; rx = RES_next_res(Resolvers,rx,AVStr(res1),AVStr(arg)); ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resconf._.c:995:18: note: place parentheses around the assignment to silence this warning for( rx = 0; rx = RES_next_res(Resolvers,rx,AVStr(res1),AVStr(arg)); ){ ^ ( ) resconf._.c:995:18: note: use '==' to turn this assignment into an equality comparison for( rx = 0; rx = RES_next_res(Resolvers,rx,AVStr(res1),AVStr(arg)); ){ ^ == resconf._.c:1000:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("RES_NS") ) ~~~~^~~~~~~~~~~~~~~~~~ resconf._.c:1000:10: note: place parentheses around the assignment to silence this warning if( env = getenv("RES_NS") ) ^ ( ) resconf._.c:1000:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("RES_NS") ) ^ == resconf._.c:1002:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("RES_VRFY") ) ~~~~^~~~~~~~~~~~~~~~~~~~ resconf._.c:1002:10: note: place parentheses around the assignment to silence this warning if( env = getenv("RES_VRFY") ) ^ ( ) resconf._.c:1002:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("RES_VRFY") ) ^ == resconf._.c:1013:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("RES_HOSTS") ) ~~~~^~~~~~~~~~~~~~~~~~~~~ resconf._.c:1013:10: note: place parentheses around the assignment to silence this warning if( env = getenv("RES_HOSTS") ) ^ ( ) resconf._.c:1013:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("RES_HOSTS") ) ^ == resconf._.c:1017:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = getmyhost() ) ~~~^~~~~~~~~~~~~ resconf._.c:1017:9: note: place parentheses around the assignment to silence this warning if( hp = getmyhost() ) ^ ( ) resconf._.c:1017:9: note: use '==' to turn this assignment into an equality comparison if( hp = getmyhost() ) ^ == resconf._.c:1022:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = getmyhost() ){ ~~~^~~~~~~~~~~~~ resconf._.c:1022:9: note: place parentheses around the assignment to silence this warning if( hp = getmyhost() ){ ^ ( ) resconf._.c:1022:9: note: use '==' to turn this assignment into an equality comparison if( hp = getmyhost() ){ ^ == resconf._.c:1132:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = RES_gethost(arg) ){ ~~~^~~~~~~~~~~~~~~~~~ resconf._.c:1132:11: note: place parentheses around the assignment to silence this warning if( hp = RES_gethost(arg) ){ ^ ( ) resconf._.c:1132:11: note: use '==' to turn this assignment into an equality comparison if( hp = RES_gethost(arg) ){ ^ == resconf._.c:1160:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = RES_gethost(addrhost) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ resconf._.c:1160:9: note: place parentheses around the assignment to silence this warning if( hp = RES_gethost(addrhost) ){ ^ ( ) resconf._.c:1160:9: note: use '==' to turn this assignment into an equality comparison if( hp = RES_gethost(addrhost) ){ ^ == resconf._.c:1278:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(arg+2,'.') ) ~~~^~~~~~~~~~~~~~~~~~~ resconf._.c:1278:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(arg+2,'.') ) ^ ( ) resconf._.c:1278:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(arg+2,'.') ) ^ == 27 warnings generated. rm -f libresolvy.a ar cr libresolvy.a dnsnode.o resolv.o reshost.o rescache.o hostent.o resconf.o /usr/bin/ranlib libresolvy.a 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 "gmake" libx MAKE="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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mimekit @pkg-builder.dan.net.uk 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/mimekit] creating Makefile.go cpyfile Makefile[1-0][0-2026d9] > 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][201659-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: 1712064613 -> 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: 1712064613 -> 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] while( ch = *qpchars++ ) ~~~^~~~~~~~~~~~ mimecodes.cc:67:12: note: place parentheses around the assignment to silence this warning while( ch = *qpchars++ ) ^ ( ) mimecodes.cc:67:12: note: use '==' to turn this assignment into an equality comparison while( ch = *qpchars++ ) ^ == 1 warning generated. ../mkcpp mime.c mime.cc -- mkcpp set time: 1712064614 -> 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] for( ci = 0; ctype1 = textorso[ci]; ci++ ) ~~~~~~~^~~~~~~~~~~~~~ mime.cc:132:22: note: place parentheses around the assignment to silence this warning for( ci = 0; ctype1 = textorso[ci]; ci++ ) ^ ( ) mime.cc:132:22: note: use '==' to turn this assignment into an equality comparison for( ci = 0; ctype1 = textorso[ci]; ci++ ) ^ == mime.cc:354:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(MIME_transAddrSpec,':') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:354:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(MIME_transAddrSpec,':') ){ ^ ( ) mime.cc:354:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(MIME_transAddrSpec,':') ){ ^ == mime.cc:456:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bp = strcasestr(hp,"boundary=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:456:9: note: place parentheses around the assignment to silence this warning if( bp = strcasestr(hp,"boundary=") ){ ^ ( ) mime.cc:456:9: note: use '==' to turn this assignment into an equality comparison if( bp = strcasestr(hp,"boundary=") ){ ^ == mime.cc:485:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( bi = 0; b1 = boundaries[bi]; bi++ ){ ~~~^~~~~~~~~~~~~~~~ mime.cc:485:19: note: place parentheses around the assignment to silence this warning for( bi = 0; b1 = boundaries[bi]; bi++ ){ ^ ( ) mime.cc:485:19: note: use '==' to turn this assignment into an equality comparison for( bi = 0; b1 = boundaries[bi]; bi++ ){ ^ == mime.cc:491:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strheadstrX(line+2,b1,0) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:491:11: note: place parentheses around the assignment to silence this warning if( tp = strheadstrX(line+2,b1,0) ){ ^ ( ) mime.cc:491:11: note: use '==' to turn this assignment into an equality comparison if( tp = strheadstrX(line+2,b1,0) ){ ^ == mime.cc:510:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sw = strstr(text,"\033$") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ mime.cc:510:9: note: place parentheses around the assignment to silence this warning if( sw = strstr(text,"\033$") ) ^ ( ) mime.cc:510:9: note: use '==' to turn this assignment into an equality comparison if( sw = strstr(text,"\033$") ) ^ == mime.cc:513:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sw = strstr(text,"\033(") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ mime.cc:513:9: note: place parentheses around the assignment to silence this warning if( sw = strstr(text,"\033(") ) ^ ( ) mime.cc:513:9: note: use '==' to turn this assignment into an equality comparison if( sw = strstr(text,"\033(") ) ^ == mime.cc:595:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(ctype,';') ) ~~~^~~~~~~~~~~~~~~~~~~ mime.cc:595:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(ctype,';') ) ^ ( ) mime.cc:595:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(ctype,';') ) ^ == mime.cc:631:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( got_EOR = isEOR(hp) ){ ~~~~~~~~^~~~~~~~~~~ mime.cc:631:15: note: place parentheses around the assignment to silence this warning if( got_EOR = isEOR(hp) ){ ^ ( ) mime.cc:631:15: note: use '==' to turn this assignment into an equality comparison if( got_EOR = isEOR(hp) ){ ^ == mime.cc:687:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(hs = buf; hc = *hs; hs++ ){ ~~~^~~~~ mime.cc:687:20: note: place parentheses around the assignment to silence this warning for(hs = buf; hc = *hs; hs++ ){ ^ ( ) mime.cc:687:20: note: use '==' to turn this assignment into an equality comparison for(hs = buf; hc = *hs; hs++ ){ ^ == mime.cc:767:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ mime.cc:769:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = pop_boundary(boundaries,line) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:769:13: note: place parentheses around the assignment to silence this warning if( rcode = pop_boundary(boundaries,line) ) ^ ( ) mime.cc:769:13: note: use '==' to turn this assignment into an equality comparison if( rcode = pop_boundary(boundaries,line) ) ^ == mime.cc:794:34: warning: '/*' within block comment [-Wcomment] /* only if the part is of text/* ? */ ^ mime.cc:875:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = pop_boundary(boundaries,bp) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:875:13: note: place parentheses around the assignment to silence this warning if( rcode = pop_boundary(boundaries,bp) ){ ^ ( ) mime.cc:875:13: note: use '==' to turn this assignment into an equality comparison if( rcode = pop_boundary(boundaries,bp) ){ ^ == mime.cc:902:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = pop_boundary(boundaries,line) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:902:13: note: place parentheses around the assignment to silence this warning if( rcode = pop_boundary(boundaries,line) ) ^ ( ) mime.cc:902:13: note: use '==' to turn this assignment into an equality comparison if( rcode = pop_boundary(boundaries,line) ) ^ == mime.cc:941:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( m17n = Mcv->c_m17n ){ ~~~~~^~~~~~~~~~~~~ mime.cc:941:12: note: place parentheses around the assignment to silence this warning if( m17n = Mcv->c_m17n ){ ^ ( ) mime.cc:941:12: note: use '==' to turn this assignment into an equality comparison if( m17n = Mcv->c_m17n ){ ^ == mime.cc:959:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strcasestr(header,"charset=") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mime.cc:959:9: note: place parentheses around the assignment to silence this warning if( cp = strcasestr(header,"charset=") ) ^ ( ) mime.cc:959:9: note: use '==' to turn this assignment into an equality comparison if( cp = strcasestr(header,"charset=") ) ^ == mime.cc:1032:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( charset = guess_charset(tmpc) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ mime.cc:1032:15: note: place parentheses around the assignment to silence this warning if( charset = guess_charset(tmpc) ) ^ ( ) mime.cc:1032:15: note: use '==' to turn this assignment into an equality comparison if( charset = guess_charset(tmpc) ) ^ == mime.cc:1139:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( beol = strpbrk(tmpa,"\r\n") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~ mime.cc:1139:11: note: place parentheses around the assignment to silence this warning if( beol = strpbrk(tmpa,"\r\n") ){ ^ ( ) mime.cc:1139:11: note: use '==' to turn this assignment into an equality comparison if( beol = strpbrk(tmpa,"\r\n") ){ ^ == mime.cc:1202:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = strlen(tmpa) ) ~~~~^~~~~~~~~~~~~~ mime.cc:1202:10: note: place parentheses around the assignment to silence this warning if( len = strlen(tmpa) ) ^ ( ) mime.cc:1202:10: note: use '==' to turn this assignment into an equality comparison if( len = strlen(tmpa) ) ^ == mime.cc:1246:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strSeekEOH(head) ) ~~~^~~~~~~~~~~~~~~~~~ mime.cc:1246:11: note: place parentheses around the assignment to silence this warning if( dp = strSeekEOH(head) ) ^ ( ) mime.cc:1246:11: note: use '==' to turn this assignment into an equality comparison if( dp = strSeekEOH(head) ) ^ == mime.cc:1342:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ mime.cc:1374:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ mime.cc:1563:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( bp = str; ch = *bp; bp++ ){ ~~~^~~~~ mime.cc:1563:20: note: place parentheses around the assignment to silence this warning for( bp = str; ch = *bp; bp++ ){ ^ ( ) mime.cc:1563:20: note: use '==' to turn this assignment into an equality comparison for( bp = str; ch = *bp; bp++ ){ ^ == mime.cc:1718:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ mime.cc:1751:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ mime.cc:1751:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) mime.cc:1751:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == mime.cc:1775:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strpbrk(tp,"\t\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ mime.cc:1775:10: note: place parentheses around the assignment to silence this warning if( np = strpbrk(tp,"\t\r\n") ){ ^ ( ) mime.cc:1775:10: note: use '==' to turn this assignment into an equality comparison if( np = strpbrk(tp,"\t\r\n") ){ ^ == 27 warnings generated. ../mkcpp pgp.c pgp.cc -- mkcpp set time: 1712064614 -> 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] if( EOH = line[0] == '\r' || line[0] == '\n' ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pgp.cc:216:11: note: place parentheses around the assignment to silence this warning if( EOH = line[0] == '\r' || line[0] == '\n' ){ ^ ( ) pgp.cc:216:11: note: use '==' to turn this assignment into an equality comparison if( EOH = line[0] == '\r' || line[0] == '\n' ){ ^ == pgp.cc:359:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strpbrk(line,CRLF) ) ~~~^~~~~~~~~~~~~~~~~~~~ pgp.cc:359:10: note: place parentheses around the assignment to silence this warning if( np = strpbrk(line,CRLF) ) ^ ( ) pgp.cc:359:10: note: use '==' to turn this assignment into an equality comparison if( np = strpbrk(line,CRLF) ) ^ == 2 warnings generated. ../mkcpp rfc822.c rfc822.cc -- mkcpp set time: 1712064615 -> 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] if( nsp = strchr(csp,'\n') ) ~~~~^~~~~~~~~~~~~~~~~~ rfc822.cc:63:11: note: place parentheses around the assignment to silence this warning if( nsp = strchr(csp,'\n') ) ^ ( ) rfc822.cc:63:11: note: use '==' to turn this assignment into an equality comparison if( nsp = strchr(csp,'\n') ) ^ == rfc822.cc:76:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( fp = findField(head,field,NULL) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:76:12: note: place parentheses around the assignment to silence this warning while( fp = findField(head,field,NULL) ){ ^ ( ) rfc822.cc:76:12: note: use '==' to turn this assignment into an equality comparison while( fp = findField(head,field,NULL) ){ ^ == rfc822.cc:77:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strchr(fp,'\n') ) ~~~^~~~~~~~~~~~~~~~~ rfc822.cc:77:10: note: place parentheses around the assignment to silence this warning if( np = strchr(fp,'\n') ) ^ ( ) rfc822.cc:77:10: note: use '==' to turn this assignment into an equality comparison if( np = strchr(fp,'\n') ) ^ == rfc822.cc:125:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = findFieldValue(head,field) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:125:9: note: place parentheses around the assignment to silence this warning if( vp = findFieldValue(head,field) ){ ^ ( ) rfc822.cc:125:9: note: use '==' to turn this assignment into an equality comparison if( vp = findFieldValue(head,field) ){ ^ == rfc822.cc:252:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strpbrk(dp,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~ rfc822.cc:252:10: note: place parentheses around the assignment to silence this warning if( ep = strpbrk(dp,"\r\n") ) ^ ( ) rfc822.cc:252:10: note: use '==' to turn this assignment into an equality comparison if( ep = strpbrk(dp,"\r\n") ) ^ == rfc822.cc:277:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *sp ){ ~~~^~~~~ rfc822.cc:277:12: note: place parentheses around the assignment to silence this warning while( ch = *sp ){ ^ ( ) rfc822.cc:277:12: note: use '==' to turn this assignment into an equality comparison while( ch = *sp ){ ^ == rfc822.cc:281:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xp = strchr(sp,':') ){ ~~~^~~~~~~~~~~~~~~~ rfc822.cc:281:11: note: place parentheses around the assignment to silence this warning if( xp = strchr(sp,':') ){ ^ ( ) rfc822.cc:281:11: note: use '==' to turn this assignment into an equality comparison if( xp = strchr(sp,':') ){ ^ == rfc822.cc:288:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *sp ){ ~~~^~~~~ rfc822.cc:288:13: note: place parentheses around the assignment to silence this warning while( ch = *sp ){ ^ ( ) rfc822.cc:288:13: note: use '==' to turn this assignment into an equality comparison while( ch = *sp ){ ^ == rfc822.cc:346:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(line,"\r\n\f") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:346:12: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"\r\n\f") ) ^ ( ) rfc822.cc:346:12: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"\r\n\f") ) ^ == rfc822.cc:441:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( np = name; nc = *np; np++ ) ~~~^~~~~ rfc822.cc:441:21: note: place parentheses around the assignment to silence this warning for( np = name; nc = *np; np++ ) ^ ( ) rfc822.cc:441:21: note: use '==' to turn this assignment into an equality comparison for( np = name; nc = *np; np++ ) ^ == rfc822.cc:459:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *sp++ ){ ~~~^~~~~~~ rfc822.cc:459:12: note: place parentheses around the assignment to silence this warning while( ch = *sp++ ){ ^ ( ) rfc822.cc:459:12: note: use '==' to turn this assignment into an equality comparison while( ch = *sp++ ){ ^ == rfc822.cc:464:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *sp ){ ~~~^~~~~ rfc822.cc:464:13: note: place parentheses around the assignment to silence this warning while( ch = *sp ){ ^ ( ) rfc822.cc:464:13: note: use '==' to turn this assignment into an equality comparison while( ch = *sp ){ ^ == rfc822.cc:490:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( hp = head; ch = *hp; hp++ ){ ~~~^~~~~ rfc822.cc:490:21: note: place parentheses around the assignment to silence this warning for( hp = head; ch = *hp; hp++ ){ ^ ( ) rfc822.cc:490:21: note: use '==' to turn this assignment into an equality comparison for( hp = head; ch = *hp; hp++ ){ ^ == rfc822.cc:531:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( csp = strcasestr(ctype,"charset=") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:531:10: note: place parentheses around the assignment to silence this warning if( csp = strcasestr(ctype,"charset=") ){ ^ ( ) rfc822.cc:531:10: note: use '==' to turn this assignment into an equality comparison if( csp = strcasestr(ctype,"charset=") ){ ^ == rfc822.cc:564:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( csp = strcasestr(ctype,"charset=") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:564:10: note: place parentheses around the assignment to silence this warning if( csp = strcasestr(ctype,"charset=") ){ ^ ( ) rfc822.cc:564:10: note: use '==' to turn this assignment into an equality comparison if( csp = strcasestr(ctype,"charset=") ){ ^ == rfc822.cc:748:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( np = field; nc = *np; np++ ){ ~~~^~~~~ rfc822.cc:748:22: note: place parentheses around the assignment to silence this warning for( np = field; nc = *np; np++ ){ ^ ( ) rfc822.cc:748:22: note: use '==' to turn this assignment into an equality comparison for( np = field; nc = *np; np++ ){ ^ == rfc822.cc:841:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fi2 = nextField(fi1,0) ){ ~~~~^~~~~~~~~~~~~~~~~~ rfc822.cc:841:10: note: place parentheses around the assignment to silence this warning if( fi2 = nextField(fi1,0) ){ ^ ( ) rfc822.cc:841:10: note: use '==' to turn this assignment into an equality comparison if( fi2 = nextField(fi1,0) ){ ^ == rfc822.cc:857:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = head; ch = *sp; sp++ ){ ~~~^~~~~ rfc822.cc:857:21: note: place parentheses around the assignment to silence this warning for( sp = head; ch = *sp; sp++ ){ ^ ( ) rfc822.cc:857:21: note: use '==' to turn this assignment into an equality comparison for( sp = head; ch = *sp; sp++ ){ ^ == rfc822.cc:895:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tail = strncmp(afield,"Tail/",5) == 0 ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:895:12: note: place parentheses around the assignment to silence this warning if( tail = strncmp(afield,"Tail/",5) == 0 ) ^ ( ) rfc822.cc:895:12: note: use '==' to turn this assignment into an equality comparison if( tail = strncmp(afield,"Tail/",5) == 0 ) ^ == rfc822.cc:906:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while( afield = findField(afield+1,field,&avalue) ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rfc822.cc:906:18: note: place parentheses around the assignment to silence this warning } while( afield = findField(afield+1,field,&avalue) ); ^ ( ) rfc822.cc:906:18: note: use '==' to turn this assignment into an equality comparison } while( afield = findField(afield+1,field,&avalue) ); ^ == rfc822.cc:935:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = src; sc = *sp; sp++ ){ ~~~^~~~~ rfc822.cc:935:20: note: place parentheses around the assignment to silence this warning for( sp = src; sc = *sp; sp++ ){ ^ ( ) rfc822.cc:935:20: note: use '==' to turn this assignment into an equality comparison for( sp = src; sc = *sp; sp++ ){ ^ == rfc822.cc:971:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = in; sc = *sp; sp++ ){ ~~~^~~~~ rfc822.cc:971:19: note: place parentheses around the assignment to silence this warning for( sp = in; sc = *sp; sp++ ){ ^ ( ) rfc822.cc:971:19: note: use '==' to turn this assignment into an equality comparison for( sp = in; sc = *sp; sp++ ){ ^ == rfc822.cc:1006:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = buff; sc = *sp; sp++ ){ ~~~^~~~~ rfc822.cc:1006:21: note: place parentheses around the assignment to silence this warning for( sp = buff; sc = *sp; sp++ ){ ^ ( ) rfc822.cc:1006:21: note: use '==' to turn this assignment into an equality comparison for( sp = buff; sc = *sp; sp++ ){ ^ == rfc822.cc:1011:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp += 1; sc = *sp; sp++ ){ ~~~^~~~~ rfc822.cc:1011:21: note: place parentheses around the assignment to silence this warning for( sp += 1; sc = *sp; sp++ ){ ^ ( ) rfc822.cc:1011:21: note: use '==' to turn this assignment into an equality comparison for( sp += 1; sc = *sp; sp++ ){ ^ == rfc822.cc:1170:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(ohost,ogdom) ) ~~~^~~~~~~~~~~~~~~~~~~~~ rfc822.cc:1170:10: note: place parentheses around the assignment to silence this warning if( dp = strstr(ohost,ogdom) ) ^ ( ) rfc822.cc:1170:10: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(ohost,ogdom) ) ^ == rfc822.cc:1172:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(ohost,'.') ){ ~~~^~~~~~~~~~~~~~~~~~~~ rfc822.cc:1172:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(ohost,'.') ){ ^ ( ) rfc822.cc:1172:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(ohost,'.') ){ ^ == rfc822.cc:1176:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(ogdom,'.') ) ~~~^~~~~~~~~~~~~~~~~~~ rfc822.cc:1176:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(ogdom,'.') ) ^ ( ) rfc822.cc:1176:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(ogdom,'.') ) ^ == rfc822.cc:1178:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(ogdom,'.') ) ~~~^~~~~~~~~~~~~~~~~~~~ rfc822.cc:1178:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(ogdom,'.') ) ^ ( ) rfc822.cc:1178:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(ogdom,'.') ) ^ == rfc822.cc:1189:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = spec; fc = *fp; fp++ ){ ~~~^~~~~ rfc822.cc:1189:21: note: place parentheses around the assignment to silence this warning for( fp = spec; fc = *fp; fp++ ){ ^ ( ) rfc822.cc:1189:21: note: use '==' to turn this assignment into an equality comparison for( fp = spec; fc = *fp; fp++ ){ ^ == rfc822.cc:1338:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(from,addr) ){ ~~~^~~~~~~~~~~~~~~~~~~ rfc822.cc:1338:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(from,addr) ){ ^ ( ) rfc822.cc:1338:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(from,addr) ){ ^ == rfc822.cc:1376:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch1 = *sp; sp++ ){ ~~~~^~~~~ rfc822.cc:1376:21: note: place parentheses around the assignment to silence this warning for( sp = str; ch1 = *sp; sp++ ){ ^ ( ) rfc822.cc:1376:21: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch1 = *sp; sp++ ){ ^ == rfc822.cc:1425:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( endp = atp+1; ch = *endp; endp++ ){ ~~~^~~~~~~ rfc822.cc:1425:25: note: place parentheses around the assignment to silence this warning for( endp = atp+1; ch = *endp; endp++ ){ ^ ( ) rfc822.cc:1425:25: note: use '==' to turn this assignment into an equality comparison for( endp = atp+1; ch = *endp; endp++ ){ ^ == rfc822.cc:2086:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; ch = *sp; sp++ ){ ~~~^~~~~ rfc822.cc:2086:11: note: place parentheses around the assignment to silence this warning for(; ch = *sp; sp++ ){ ^ ( ) rfc822.cc:2086:11: note: use '==' to turn this assignment into an equality comparison for(; ch = *sp; sp++ ){ ^ == 33 warnings generated. ../mkcpp mimehead.c mimehead.cc -- mkcpp set time: 1712064616 -> 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] for(csi = 0; cs = Codes1[csi].mcharset; csi++) ~~~^~~~~~~~~~~~~~~~~~~~~~ mimehead.cc:248:18: note: place parentheses around the assignment to silence this warning for(csi = 0; cs = Codes1[csi].mcharset; csi++) ^ ( ) mimehead.cc:248:18: note: use '==' to turn this assignment into an equality comparison for(csi = 0; cs = Codes1[csi].mcharset; csi++) ^ == mimehead.cc:252:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(csi = 0; cs = Codes2[csi].mcharset; csi++) ~~~^~~~~~~~~~~~~~~~~~~~~~ mimehead.cc:252:18: note: place parentheses around the assignment to silence this warning for(csi = 0; cs = Codes2[csi].mcharset; csi++) ^ ( ) mimehead.cc:252:18: note: use '==' to turn this assignment into an equality comparison for(csi = 0; cs = Codes2[csi].mcharset; csi++) ^ == mimehead.cc:492:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; mcharset = csw[ci].mcharset; ci++ ){ ~~~~~~~~~^~~~~~~~~~~~~~~~~~ mimehead.cc:492:24: note: place parentheses around the assignment to silence this warning for( ci = 0; mcharset = csw[ci].mcharset; ci++ ){ ^ ( ) mimehead.cc:492:24: note: use '==' to turn this assignment into an equality comparison for( ci = 0; mcharset = csw[ci].mcharset; ci++ ){ ^ == mimehead.cc:617:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lwsp = io->PENDING_LWSP ) ~~~~~^~~~~~~~~~~~~~~~~~ mimehead.cc:617:12: note: place parentheses around the assignment to silence this warning if( lwsp = io->PENDING_LWSP ) ^ ( ) mimehead.cc:617:12: note: use '==' to turn this assignment into an equality comparison if( lwsp = io->PENDING_LWSP ) ^ == mimehead.cc:626:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lwsp = io->PENDING_LWSP ){ ~~~~~^~~~~~~~~~~~~~~~~~ mimehead.cc:626:12: note: place parentheses around the assignment to silence this warning if( lwsp = io->PENDING_LWSP ){ ^ ( ) mimehead.cc:626:12: note: use '==' to turn this assignment into an equality comparison if( lwsp = io->PENDING_LWSP ){ ^ == mimehead.cc:687:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; ch = line[ci]; ci++ ) ~~~^~~~~~~~~~ mimehead.cc:687:19: note: place parentheses around the assignment to silence this warning for( ci = 0; ch = line[ci]; ci++ ) ^ ( ) mimehead.cc:687:19: note: use '==' to turn this assignment into an equality comparison for( ci = 0; ch = line[ci]; ci++ ) ^ == mimehead.cc:1427:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ 7 warnings generated. ../mkcpp mimeh_ovw.c mimeh_ovw.cc -- mkcpp set time: 1712064616 -> 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: 1712064616 -> 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] while( ch = *qpchars++ ) ~~~^~~~~~~~~~~~ ./mimecodes.c:67:12: note: place parentheses around the assignment to silence this warning while( ch = *qpchars++ ) ^ ( ) ./mimecodes.c:67:12: note: use '==' to turn this assignment into an equality comparison while( ch = *qpchars++ ) ^ == str_codes.cc:140:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ str_codes.cc:140:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) str_codes.cc:140:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == str_codes.cc:152:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = fmt; ch = *fp; fp++ ){ ~~~^~~~~ str_codes.cc:152:20: note: place parentheses around the assignment to silence this warning for( fp = fmt; ch = *fp; fp++ ){ ^ ( ) str_codes.cc:152:20: note: use '==' to turn this assignment into an equality comparison for( fp = fmt; ch = *fp; fp++ ){ ^ == 3 warnings generated. ../mkcpp gendom.c gendom.cc -- mkcpp set time: 1712064617 -> 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] for( ai = 0; ap = attrs[ai]; ai++ ){ ~~~^~~~~~~~~~~ gendom.cc:354:19: note: place parentheses around the assignment to silence this warning for( ai = 0; ap = attrs[ai]; ai++ ){ ^ ( ) gendom.cc:354:19: note: use '==' to turn this assignment into an equality comparison for( ai = 0; ap = attrs[ai]; ai++ ){ ^ == gendom.cc:359:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; ap = rattrs[ai]; ai++ ){ ~~~^~~~~~~~~~~~ gendom.cc:359:18: note: place parentheses around the assignment to silence this warning for( ai = 0; ap = rattrs[ai]; ai++ ){ ^ ( ) gendom.cc:359:18: note: use '==' to turn this assignment into an equality comparison for( ai = 0; ap = rattrs[ai]; ai++ ){ ^ == gendom.cc:383:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( hi = 0; dn = domlev[hi].d_name; hi++ ){ ~~~^~~~~~~~~~~~~~~~~~~ gendom.cc:383:19: note: place parentheses around the assignment to silence this warning for( hi = 0; dn = domlev[hi].d_name; hi++ ){ ^ ( ) gendom.cc:383:19: note: use '==' to turn this assignment into an equality comparison for( hi = 0; dn = domlev[hi].d_name; hi++ ){ ^ == gendom.cc:388:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( hi = 0; dn = domlev[hi].d_rev; hi++ ){ ~~~^~~~~~~~~~~~~~~~~~ gendom.cc:388:18: note: place parentheses around the assignment to silence this warning for( hi = 0; dn = domlev[hi].d_rev; hi++ ){ ^ ( ) gendom.cc:388:18: note: use '==' to turn this assignment into an equality comparison for( hi = 0; dn = domlev[hi].d_rev; hi++ ){ ^ == gendom.cc:403:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( alen = isattr(qn-1) ){ ~~~~~^~~~~~~~~~~~~~ gendom.cc:403:14: note: place parentheses around the assignment to silence this warning if( alen = isattr(qn-1) ){ ^ ( ) gendom.cc:403:14: note: use '==' to turn this assignment into an equality comparison if( alen = isattr(qn-1) ){ ^ == gendom.cc:437:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( dp++; dc = *dp; dp++ ) ~~~^~~~~ gendom.cc:437:17: note: place parentheses around the assignment to silence this warning for( dp++; dc = *dp; dp++ ) ^ ( ) gendom.cc:437:17: note: use '==' to turn this assignment into an equality comparison for( dp++; dc = *dp; dp++ ) ^ == gendom.cc:462:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dom = strchr(gendom,'@') ){ ~~~~^~~~~~~~~~~~~~~~~~~~ gendom.cc:462:10: note: place parentheses around the assignment to silence this warning if( dom = strchr(gendom,'@') ){ ^ ( ) gendom.cc:462:10: note: use '==' to turn this assignment into an equality comparison if( dom = strchr(gendom,'@') ){ ^ == 7 warnings generated. rm -f libmimekit.a ar cr libmimekit.a mimeconv.o mimecodes.o mime.o pgp.o rfc822.o mimehead.o mimeh_ovw.o str_codes.o gendom.o /usr/bin/ranlib libmimekit.a 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 "gmake" libx MAKE="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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/md5 @pkg-builder.dan.net.uk 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/md5] creating Makefile.go cpyfile Makefile[1-0][0-2026d9] > 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][201659-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: 1712064618 -> 1096679002 md5c.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -c md5c.cc ../../mkcpp md5cb.c md5cb.cc -- mkcpp set time: 1712064618 -> 1098398831 md5cb.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -c md5cb.cc ../../mkcpp md5lib.c md5lib.cc -- mkcpp set time: 1712064618 -> 1399199680 md5lib.cc cc -O2 -x c++ -DQS -DNONC99=3 -Dm64 -c md5lib.cc ../../mkcpp md5main.c md5main.cc -- mkcpp set time: 1712064618 -> 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] while (len = fread (buffer, 1, 1024, file)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mddriver.c:158:13: note: place parentheses around the assignment to silence this warning while (len = fread (buffer, 1, 1024, file)) ^ ( ) ./mddriver.c:158:13: note: use '==' to turn this assignment into an equality comparison while (len = fread (buffer, 1, 1024, file)) ^ == ./mddriver.c:175:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (len = fread (buffer, 1, 16, stdin)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mddriver.c:175:14: note: place parentheses around the assignment to silence this warning while (len = fread (buffer, 1, 16, stdin)) ^ ( ) ./mddriver.c:175:14: note: use '==' to turn this assignment into an equality comparison while (len = fread (buffer, 1, 16, stdin)) ^ == 2 warnings generated. rm -f libmd5.a ar cr libmd5.a md5c.o md5cb.o md5lib.o md5main.o /usr/bin/ranlib libmd5.a 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 "gmake" libx MAKE="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-builder.dan.net.uk ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/regex @pkg-builder.dan.net.uk 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-builder.dan.net.uk #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/pds/regex] creating Makefile.go cpyfile Makefile[1-0][0-2026d9] > 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][201659-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 sh ./mkh -p engine.c > engine.ih cc -O2 -Dm64 -c -I. regexec.c -o regexec.o sh ./mkh -p regerror.c > regerror.ih cc -O2 -Dm64 -c -I. regerror.c -o regerror.o cc -O2 -Dm64 -c -I. regfree.c -o regfree.o ar cr libregex.a regcomp.o regexec.o regerror.o regfree.o #### DONE #### -rw-r--r-- 1 root wheel 69578 Apr 2 13:30 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 "gmake" libx MAKE="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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/rary @pkg-builder.dan.net.uk 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/rary] creating Makefile.go cpyfile Makefile[1-0][0-2026d9] > 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][201659-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: 1712064622 -> 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] if( ch = *src ){ ~~~^~~~~~ SLL.cc:63:11: note: place parentheses around the assignment to silence this warning if( ch = *src ){ ^ ( ) SLL.cc:63:11: note: use '==' to turn this assignment into an equality comparison if( ch = *src ){ ^ == 1 warning generated. ../mkcpp String.c String.cc -- mkcpp set time: 1712064622 -> 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] for( sp = str; ch = *sp; sp++ ) ~~~^~~~~ String.cc:40:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ) ^ ( ) String.cc:40:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ) ^ == String.cc:69:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = Isnumber(ai) ){ ~~~^~~~~~~~~~~~~~ String.cc:69:9: note: place parentheses around the assignment to silence this warning if( dp = Isnumber(ai) ){ ^ ( ) String.cc:69:9: note: use '==' to turn this assignment into an equality comparison if( dp = Isnumber(ai) ){ ^ == String.cc:119:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; sc = *sp; sp++ ) ~~~^~~~~ String.cc:119:20: note: place parentheses around the assignment to silence this warning for( sp = str; sc = *sp; sp++ ) ^ ( ) String.cc:119:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; sc = *sp; sp++ ) ^ == String.cc:128:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; sc = *sp; sp++ ) ~~~^~~~~ String.cc:128:20: note: place parentheses around the assignment to silence this warning for( sp = str; sc = *sp; sp++ ) ^ ( ) String.cc:128:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; sc = *sp; sp++ ) ^ == String.cc:138:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = src; sc = *sp; sp++ ){ ~~~^~~~~ String.cc:138:20: note: place parentheses around the assignment to silence this warning for( sp = src; sc = *sp; sp++ ){ ^ ( ) String.cc:138:20: note: use '==' to turn this assignment into an equality comparison for( sp = src; sc = *sp; sp++ ){ ^ == String.cc:155:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = src; sc = *sp; sp++ ){ ~~~^~~~~ String.cc:155:20: note: place parentheses around the assignment to silence this warning for( sp = src; sc = *sp; sp++ ){ ^ ( ) String.cc:155:20: note: use '==' to turn this assignment into an equality comparison for( sp = src; sc = *sp; sp++ ){ ^ == String.cc:241:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; rch1 = *rp; rp++ ){ ~~~~~^~~~~ String.cc:241:15: note: place parentheses around the assignment to silence this warning for(; rch1 = *rp; rp++ ){ ^ ( ) String.cc:241:15: note: use '==' to turn this assignment into an equality comparison for(; rch1 = *rp; rp++ ){ ^ == String.cc:266:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(ac = 0; a1 = av[ac]; ac++){ ~~~^~~~~~~~ String.cc:266:17: note: place parentheses around the assignment to silence this warning for(ac = 0; a1 = av[ac]; ac++){ ^ ( ) String.cc:266:17: note: use '==' to turn this assignment into an equality comparison for(ac = 0; a1 = av[ac]; ac++){ ^ == String.cc:284:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ String.cc:284:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) String.cc:284:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == String.cc:306:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ String.cc:306:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) String.cc:306:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == String.cc:364:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; e1 = ev[ei]; ei++ ){ ~~~^~~~~~~~ String.cc:364:18: note: place parentheses around the assignment to silence this warning for( ei = 0; e1 = ev[ei]; ei++ ){ ^ ( ) String.cc:364:18: note: use '==' to turn this assignment into an equality comparison for( ei = 0; e1 = ev[ei]; ei++ ){ ^ == String.cc:371:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; e1 = ev[ei]; ei++ ){ ~~~^~~~~~~~ String.cc:371:18: note: place parentheses around the assignment to silence this warning for( ei = 0; e1 = ev[ei]; ei++ ){ ^ ( ) String.cc:371:18: note: use '==' to turn this assignment into an equality comparison for( ei = 0; e1 = ev[ei]; ei++ ){ ^ == String.cc:445:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(ai = 0; val = av[ai]; ai++) ~~~~^~~~~~~~ String.cc:445:18: note: place parentheses around the assignment to silence this warning for(ai = 0; val = av[ai]; ai++) ^ ( ) String.cc:445:18: note: use '==' to turn this assignment into an equality comparison for(ai = 0; val = av[ai]; ai++) ^ == String.cc:462:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; val = av[ai]; ai++ ){ ~~~~^~~~~~~~ String.cc:462:19: note: place parentheses around the assignment to silence this warning for( ai = 0; val = av[ai]; ai++ ){ ^ ( ) String.cc:462:19: note: use '==' to turn this assignment into an equality comparison for( ai = 0; val = av[ai]; ai++ ){ ^ == String.cc:494:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("STRBUFDEBUG") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~ String.cc:494:11: note: place parentheses around the assignment to silence this warning if( env = getenv("STRBUFDEBUG") ){ ^ ( ) String.cc:494:11: note: use '==' to turn this assignment into an equality comparison if( env = getenv("STRBUFDEBUG") ){ ^ == String.cc:553:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( odd = top % al ) ~~~~^~~~~~~~~~ String.cc:553:11: note: place parentheses around the assignment to silence this warning if( odd = top % al ) ^ ( ) String.cc:553:11: note: use '==' to turn this assignment into an equality comparison if( odd = top % al ) ^ == String.cc:575:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = getStrBuffer(1,size,PTRALIGN) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String.cc:575:9: note: place parentheses around the assignment to silence this warning if( sp = getStrBuffer(1,size,PTRALIGN) ){ ^ ( ) String.cc:575:9: note: use '==' to turn this assignment into an equality comparison if( sp = getStrBuffer(1,size,PTRALIGN) ){ ^ == String.cc:585:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = getStrBuffer(1,len,1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ String.cc:585:9: note: place parentheses around the assignment to silence this warning if( ep = getStrBuffer(1,len,1) ){ ^ ( ) String.cc:585:9: note: use '==' to turn this assignment into an equality comparison if( ep = getStrBuffer(1,len,1) ){ ^ == String.cc:596:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = getStrBuffer(1,strlen(str)+1,1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String.cc:596:9: note: place parentheses around the assignment to silence this warning if( sp = getStrBuffer(1,strlen(str)+1,1) ){ ^ ( ) String.cc:596:9: note: use '==' to turn this assignment into an equality comparison if( sp = getStrBuffer(1,strlen(str)+1,1) ){ ^ == String.cc:626:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ds = *dst ){ ~~~^~~~~~ String.cc:626:9: note: place parentheses around the assignment to silence this warning if( ds = *dst ){ ^ ( ) String.cc:626:9: note: use '==' to turn this assignment into an equality comparison if( ds = *dst ){ ^ == String.cc:754:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ String.cc:754:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) String.cc:754:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == String.cc:765:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; ch = *s; s++){ ~~~^~~~ String.cc:765:11: note: place parentheses around the assignment to silence this warning for(; ch = *s; s++){ ^ ( ) String.cc:765:11: note: use '==' to turn this assignment into an equality comparison for(; ch = *s; s++){ ^ == String.cc:787:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; ch = *s; s++){ ~~~^~~~ String.cc:787:11: note: place parentheses around the assignment to silence this warning for(; ch = *s; s++){ ^ ( ) String.cc:787:11: note: use '==' to turn this assignment into an equality comparison for(; ch = *s; s++){ ^ == String.cc:804:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = src; sc = *sp; sp++ ){ ~~~^~~~~ String.cc:804:20: note: place parentheses around the assignment to silence this warning for( sp = src; sc = *sp; sp++ ){ ^ ( ) String.cc:804:20: note: use '==' to turn this assignment into an equality comparison for( sp = src; sc = *sp; sp++ ){ ^ == String.cc:877:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; ch = *sp; sp++ ) ~~~^~~~~ String.cc:877:12: note: place parentheses around the assignment to silence this warning for(; ch = *sp; sp++ ) ^ ( ) String.cc:877:12: note: use '==' to turn this assignment into an equality comparison for(; ch = *sp; sp++ ) ^ == String.cc:882:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; ch = *sp; sp++ ){ ~~~^~~~~ String.cc:882:12: note: place parentheses around the assignment to silence this warning for(; ch = *sp; sp++ ){ ^ ( ) String.cc:882:12: note: use '==' to turn this assignment into an equality comparison for(; ch = *sp; sp++ ){ ^ == String.cc:935:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( care_quote = (allocm & STR_QUOTE) ){ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ String.cc:935:17: note: place parentheses around the assignment to silence this warning if( care_quote = (allocm & STR_QUOTE) ){ ^ ( ) String.cc:935:17: note: use '==' to turn this assignment into an equality comparison if( care_quote = (allocm & STR_QUOTE) ){ ^ == String.cc:948:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ String.cc:956:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( np = (char*)lp; cch = *np; ){ ~~~~^~~~~ String.cc:956:28: note: place parentheses around the assignment to silence this warning for( np = (char*)lp; cch = *np; ){ ^ ( ) String.cc:956:28: note: use '==' to turn this assignment into an equality comparison for( np = (char*)lp; cch = *np; ){ ^ == String.cc:1082:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strchr(list,'}') ){ ~~~^~~~~~~~~~~~~~~~~~ String.cc:1082:11: note: place parentheses around the assignment to silence this warning if( tp = strchr(list,'}') ){ ^ ( ) String.cc:1082:11: note: use '==' to turn this assignment into an equality comparison if( tp = strchr(list,'}') ){ ^ == String.cc:1191:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( dp = strstr(sp,pat) ){ ~~~^~~~~~~~~~~~~~~~ String.cc:1191:12: note: place parentheses around the assignment to silence this warning while( dp = strstr(sp,pat) ){ ^ ( ) String.cc:1191:12: note: use '==' to turn this assignment into an equality comparison while( dp = strstr(sp,pat) ){ ^ == String.cc:1281:43: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ks = (unsigned char*)key; kc = *ks++; ){ ~~~^~~~~~~ String.cc:1281:43: note: place parentheses around the assignment to silence this warning for( ks = (unsigned char*)key; kc = *ks++; ){ ^ ( ) String.cc:1281:43: note: use '==' to turn this assignment into an equality comparison for( ks = (unsigned char*)key; kc = *ks++; ){ ^ == String.cc:1325:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( dp = str; ch = *dp; dp++ ) ~~~^~~~~ String.cc:1325:20: note: place parentheses around the assignment to silence this warning for( dp = str; ch = *dp; dp++ ) ^ ( ) String.cc:1325:20: note: use '==' to turn this assignment into an equality comparison for( dp = str; ch = *dp; dp++ ) ^ == String.cc:1375:45: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = pat0 = strip_spaces(pattern); sc = *sp; sp++ ){ ~~~^~~~~ String.cc:1375:45: note: place parentheses around the assignment to silence this warning for( sp = pat0 = strip_spaces(pattern); sc = *sp; sp++ ){ ^ ( ) String.cc:1375:45: note: use '==' to turn this assignment into an equality comparison for( sp = pat0 = strip_spaces(pattern); sc = *sp; sp++ ){ ^ == String.cc:1471:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 0; sp = sv[si]; si++ ){ ~~~^~~~~~~~ String.cc:1471:18: note: place parentheses around the assignment to silence this warning for( si = 0; sp = sv[si]; si++ ){ ^ ( ) String.cc:1471:18: note: use '==' to turn this assignment into an equality comparison for( si = 0; sp = sv[si]; si++ ){ ^ == String.cc:1473:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( sc = *sp++ ) ~~~^~~~~~~ String.cc:1473:13: note: place parentheses around the assignment to silence this warning while( sc = *sp++ ) ^ ( ) String.cc:1473:13: note: use '==' to turn this assignment into an equality comparison while( sc = *sp++ ) ^ == String.cc:1664:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( a1 = av[ai]; ch = *a1; a1++ ){ ~~~^~~~~ String.cc:1664:24: note: place parentheses around the assignment to silence this warning for( a1 = av[ai]; ch = *a1; a1++ ){ ^ ( ) String.cc:1664:24: note: use '==' to turn this assignment into an equality comparison for( a1 = av[ai]; ch = *a1; a1++ ){ ^ == String.cc:1685:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = args; ch = *sp; sp++ ){ ~~~^~~~~ String.cc:1685:21: note: place parentheses around the assignment to silence this warning for( sp = args; ch = *sp; sp++ ){ ^ ( ) String.cc:1685:21: note: use '==' to turn this assignment into an equality comparison for( sp = args; ch = *sp; sp++ ){ ^ == String.cc:1972:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = src; sc = *sp; sp++ ){ ~~~^~~~~ String.cc:1972:20: note: place parentheses around the assignment to silence this warning for( sp = src; sc = *sp; sp++ ){ ^ ( ) String.cc:1972:20: note: use '==' to turn this assignment into an equality comparison for( sp = src; sc = *sp; sp++ ){ ^ == String.cc:1977:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( bp = brk; bc = *bp; bp++ ){ ~~~^~~~~ String.cc:1977:21: note: place parentheses around the assignment to silence this warning for( bp = brk; bc = *bp; bp++ ){ ^ ( ) String.cc:1977:21: note: use '==' to turn this assignment into an equality comparison for( bp = brk; bc = *bp; bp++ ){ ^ == String.cc:2112:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ip = dst; ic = *ip; ){ ~~~^~~~~ String.cc:2112:20: note: place parentheses around the assignment to silence this warning for( ip = dst; ic = *ip; ){ ^ ( ) String.cc:2112:20: note: use '==' to turn this assignment into an equality comparison for( ip = dst; ic = *ip; ){ ^ == String.cc:2131:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ String.cc:2154:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ip = src; ic = *ip; ){ ~~~^~~~~ String.cc:2154:20: note: place parentheses around the assignment to silence this warning for( ip = src; ic = *ip; ){ ^ ( ) String.cc:2154:20: note: use '==' to turn this assignment into an equality comparison for( ip = src; ic = *ip; ){ ^ == String.cc:2199:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = fmt; fc = *fp; fp++ ){ ~~~^~~~~ String.cc:2199:20: note: place parentheses around the assignment to silence this warning for( fp = fmt; fc = *fp; fp++ ){ ^ ( ) String.cc:2199:20: note: use '==' to turn this assignment into an equality comparison for( fp = fmt; fc = *fp; fp++ ){ ^ == String.cc:2331:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp++; fc = *fp; fp++ ){ ~~~^~~~~ String.cc:2331:18: note: place parentheses around the assignment to silence this warning for( fp++; fc = *fp; fp++ ){ ^ ( ) String.cc:2331:18: note: use '==' to turn this assignment into an equality comparison for( fp++; fc = *fp; fp++ ){ ^ == String.cc:2377:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp++; ec = *fp; fp++ ){ ~~~^~~~~ String.cc:2377:19: note: place parentheses around the assignment to silence this warning for( fp++; ec = *fp; fp++ ){ ^ ( ) String.cc:2377:19: note: use '==' to turn this assignment into an equality comparison for( fp++; ec = *fp; fp++ ){ ^ == String.cc:2428:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( neg = *fp == '^' ) ~~~~^~~~~~~~~~~~ String.cc:2428:12: note: place parentheses around the assignment to silence this warning if( neg = *fp == '^' ) ^ ( ) String.cc:2428:12: note: use '==' to turn this assignment into an equality comparison if( neg = *fp == '^' ) ^ == String.cc:2434:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( sc = *sp ){ ~~~^~~~~ String.cc:2434:14: note: place parentheses around the assignment to silence this warning while( sc = *sp ){ ^ ( ) String.cc:2434:14: note: use '==' to turn this assignment into an equality comparison while( sc = *sp ){ ^ == String.cc:2488:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bp = getStrBuffer(lev,size,algn) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ String.cc:2488:9: note: place parentheses around the assignment to silence this warning if( bp = getStrBuffer(lev,size,algn) ) ^ ( ) String.cc:2488:9: note: use '==' to turn this assignment into an equality comparison if( bp = getStrBuffer(lev,size,algn) ) ^ == String.cc:2572:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( dp = strrchr(dombuf,dlm) ){ ~~~^~~~~~~~~~~~~~~~~~~~~ String.cc:2572:12: note: place parentheses around the assignment to silence this warning while( dp = strrchr(dombuf,dlm) ){ ^ ( ) String.cc:2572:12: note: use '==' to turn this assignment into an equality comparison while( dp = strrchr(dombuf,dlm) ){ ^ == String.cc:2635:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = (const unsigned char*)str; ch = *sp; sp++ ){ ~~~^~~~~ String.cc:2635:42: note: place parentheses around the assignment to silence this warning for( sp = (const unsigned char*)str; ch = *sp; sp++ ){ ^ ( ) String.cc:2635:42: note: use '==' to turn this assignment into an equality comparison for( sp = (const unsigned char*)str; ch = *sp; sp++ ){ ^ == 51 warnings generated. ../mkcpp ystring.c ystring.cc -- mkcpp set time: 1712064624 -> 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] for( fp = fmt; fc = *fp; fp++ ){ ~~~^~~~~ ystring.cc:459:20: note: place parentheses around the assignment to silence this warning for( fp = fmt; fc = *fp; fp++ ){ ^ ( ) ystring.cc:459:20: note: use '==' to turn this assignment into an equality comparison for( fp = fmt; fc = *fp; fp++ ){ ^ == ystring.cc:643:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("DEBUG_VSTR") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~ ystring.cc:643:10: note: place parentheses around the assignment to silence this warning if( env = getenv("DEBUG_VSTR") ){ ^ ( ) ystring.cc:643:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("DEBUG_VSTR") ){ ^ == ystring.cc:982:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(p = s; ch = *p; p++){ ~~~^~~~ ystring.cc:982:16: note: place parentheses around the assignment to silence this warning for(p = s; ch = *p; p++){ ^ ( ) ystring.cc:982:16: note: use '==' to turn this assignment into an equality comparison for(p = s; ch = *p; p++){ ^ == ystring.cc:1110:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(f = fmt; fc = *f; f++){ ~~~^~~~ ystring.cc:1110:18: note: place parentheses around the assignment to silence this warning for(f = fmt; fc = *f; f++){ ^ ( ) ystring.cc:1110:18: note: use '==' to turn this assignment into an equality comparison for(f = fmt; fc = *f; f++){ ^ == ystring.cc:1365:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = fmt; fc = *fp; fp++ ){ ~~~^~~~~ ystring.cc:1365:20: note: place parentheses around the assignment to silence this warning for( fp = fmt; fc = *fp; fp++ ){ ^ ( ) ystring.cc:1365:20: note: use '==' to turn this assignment into an equality comparison for( fp = fmt; fc = *fp; fp++ ){ ^ == ystring.cc:1369:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( fc = *++fp ){ ~~~^~~~~~~ ystring.cc:1369:14: note: place parentheses around the assignment to silence this warning while( fc = *++fp ){ ^ ( ) ystring.cc:1369:14: note: use '==' to turn this assignment into an equality comparison while( fc = *++fp ){ ^ == 6 warnings generated. ../mkcpp modfmt.c modfmt.cc -- mkcpp set time: 1712064625 -> 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] for( fp = fmt; fc = *fp; ){ ~~~^~~~~ modfmt.cc:71:20: note: place parentheses around the assignment to silence this warning for( fp = fmt; fc = *fp; ){ ^ ( ) modfmt.cc:71:20: note: use '==' to turn this assignment into an equality comparison for( fp = fmt; fc = *fp; ){ ^ == modfmt.cc:77:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp++; fc = *fp; fp++ ){ ~~~^~~~~ modfmt.cc:77:18: note: place parentheses around the assignment to silence this warning for( fp++; fc = *fp; fp++ ){ ^ ( ) modfmt.cc:77:18: note: use '==' to turn this assignment into an equality comparison for( fp++; fc = *fp; fp++ ){ ^ == 2 warnings generated. ../mkcpp TLEX.c TLEX.cc -- mkcpp set time: 1712064625 -> 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] if( nfsp = fsp->Nstat->nvec[ch] ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~ TLEX.cc:90:12: note: place parentheses around the assignment to silence this warning if( nfsp = fsp->Nstat->nvec[ch] ) ^ ( ) TLEX.cc:90:12: note: use '==' to turn this assignment into an equality comparison if( nfsp = fsp->Nstat->nvec[ch] ) ^ == TLEX.cc:106:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nfsp = next1(fsp,ch) ) ~~~~~^~~~~~~~~~~~~~~ TLEX.cc:106:11: note: place parentheses around the assignment to silence this warning if( nfsp = next1(fsp,ch) ) ^ ( ) TLEX.cc:106:11: note: use '==' to turn this assignment into an equality comparison if( nfsp = next1(fsp,ch) ) ^ == TLEX.cc:109:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nfsp = fsp->other ){ ~~~~~^~~~~~~~~~~~ TLEX.cc:109:11: note: place parentheses around the assignment to silence this warning if( nfsp = fsp->other ){ ^ ( ) TLEX.cc:109:11: note: use '==' to turn this assignment into an equality comparison if( nfsp = fsp->other ){ ^ == TLEX.cc:110:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xfsp = next1(nfsp,ch) ){ ~~~~~^~~~~~~~~~~~~~~~ TLEX.cc:110:12: note: place parentheses around the assignment to silence this warning if( xfsp = next1(nfsp,ch) ){ ^ ( ) TLEX.cc:110:12: note: use '==' to turn this assignment into an equality comparison if( xfsp = next1(nfsp,ch) ){ ^ == TLEX.cc:189:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fa_root = fsp ) ~~~~~~~~^~~~~ TLEX.cc:189:14: note: place parentheses around the assignment to silence this warning if( fa_root = fsp ) ^ ( ) TLEX.cc:189:14: note: use '==' to turn this assignment into an equality comparison if( fa_root = fsp ) ^ == TLEX.cc:295:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ss = input; cc = *ss; ss++ ){ ~~~^~~~~ TLEX.cc:295:22: note: place parentheses around the assignment to silence this warning for( ss = input; cc = *ss; ss++ ){ ^ ( ) TLEX.cc:295:22: note: use '==' to turn this assignment into an equality comparison for( ss = input; cc = *ss; ss++ ){ ^ == TLEX.cc:418:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = (unsigned char*)strchr((char*)sp,'>') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TLEX.cc:418:10: note: place parentheses around the assignment to silence this warning if( tp = (unsigned char*)strchr((char*)sp,'>') ){ ^ ( ) TLEX.cc:418:10: note: use '==' to turn this assignment into an equality comparison if( tp = (unsigned char*)strchr((char*)sp,'>') ){ ^ == TLEX.cc:573:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = rexp; ch = *sp; sp++ ){ ~~~^~~~~ TLEX.cc:573:21: note: place parentheses around the assignment to silence this warning for( sp = rexp; ch = *sp; sp++ ){ ^ ( ) TLEX.cc:573:21: note: use '==' to turn this assignment into an equality comparison for( sp = rexp; ch = *sp; sp++ ){ ^ == 8 warnings generated. ../mkcpp JIS.c JIS.cc -- mkcpp set time: 1712064625 -> 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] for( ci = 1; n1 = charsets[ci].cs_formname; ci++ ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:121:18: note: place parentheses around the assignment to silence this warning for( ci = 1; n1 = charsets[ci].cs_formname; ci++ ){ ^ ( ) JIS.cc:121:18: note: use '==' to turn this assignment into an equality comparison for( ci = 1; n1 = charsets[ci].cs_formname; ci++ ){ ^ == JIS.cc:362:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *s++ ){ ~~~^~~~~~ JIS.cc:362:12: note: place parentheses around the assignment to silence this warning while( ch = *s++ ){ ^ ( ) JIS.cc:362:12: note: use '==' to turn this assignment into an equality comparison while( ch = *s++ ){ ^ == JIS.cc:474:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( s = str; ch = *s; s++ ){ ~~~^~~~ JIS.cc:474:19: note: place parentheses around the assignment to silence this warning for( s = str; ch = *s; s++ ){ ^ ( ) JIS.cc:474:19: note: use '==' to turn this assignment into an equality comparison for( s = str; ch = *s; s++ ){ ^ == JIS.cc:497:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch1 = *sp++ ){ ~~~~^~~~~~~ JIS.cc:497:13: note: place parentheses around the assignment to silence this warning while( ch1 = *sp++ ){ ^ ( ) JIS.cc:497:13: note: use '==' to turn this assignment into an equality comparison while( ch1 = *sp++ ){ ^ == JIS.cc:536:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = isHTMLentity(sp,&ech) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:536:12: note: place parentheses around the assignment to silence this warning if( len = isHTMLentity(sp,&ech) ) ^ ( ) JIS.cc:536:12: note: use '==' to turn this assignment into an equality comparison if( len = isHTMLentity(sp,&ech) ) ^ == JIS.cc:546:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = isHTMLentity(sp,&ech) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:546:12: note: place parentheses around the assignment to silence this warning if( len = isHTMLentity(sp,&ech) ) ^ ( ) JIS.cc:546:12: note: use '==' to turn this assignment into an equality comparison if( len = isHTMLentity(sp,&ech) ) ^ == JIS.cc:567:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( cp = euc; ch1 = *cp & 0xFF; cp++ ){ ~~~~^~~~~~~~~~~~ JIS.cc:567:21: note: place parentheses around the assignment to silence this warning for( cp = euc; ch1 = *cp & 0xFF; cp++ ){ ^ ( ) JIS.cc:567:21: note: use '==' to turn this assignment into an equality comparison for( cp = euc; ch1 = *cp & 0xFF; cp++ ){ ^ == JIS.cc:646:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cs = csx2name(ccx->cc_incc1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:646:10: note: place parentheses around the assignment to silence this warning if( cs = csx2name(ccx->cc_incc1) ){ ^ ( ) JIS.cc:646:10: note: use '==' to turn this assignment into an equality comparison if( cs = csx2name(ccx->cc_incc1) ){ ^ == JIS.cc:657:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cs = csx2name(ccx->cc_incc1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:657:10: note: place parentheses around the assignment to silence this warning if( cs = csx2name(ccx->cc_incc1) ){ ^ ( ) JIS.cc:657:10: note: use '==' to turn this assignment into an equality comparison if( cs = csx2name(ccx->cc_incc1) ){ ^ == JIS.cc:816:13: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] if( ch2 & 0x80 == 0 ^~~~~~~~~~~ JIS.cc:816:13: note: place parentheses around the '==' expression to silence this warning if( ch2 & 0x80 == 0 ^ ( ) JIS.cc:816:13: note: place parentheses around the & expression to evaluate it first if( ch2 & 0x80 == 0 ^ ( ) JIS.cc:1170:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cs = csx2name(ccx->cc_incc1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:1170:10: note: place parentheses around the assignment to silence this warning if( cs = csx2name(ccx->cc_incc1) ){ ^ ( ) JIS.cc:1170:10: note: use '==' to turn this assignment into an equality comparison if( cs = csx2name(ccx->cc_incc1) ){ ^ == JIS.cc:1189:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cs = csx2name(ccx->cc_indef) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:1189:10: note: place parentheses around the assignment to silence this warning if( cs = csx2name(ccx->cc_indef) ) ^ ( ) JIS.cc:1189:10: note: use '==' to turn this assignment into an equality comparison if( cs = csx2name(ccx->cc_indef) ) ^ == JIS.cc:1230:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( cx = 1; name = charsets[cx].cs_name; cx++ ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~ JIS.cc:1230:20: note: place parentheses around the assignment to silence this warning for( cx = 1; name = charsets[cx].cs_name; cx++ ){ ^ ( ) JIS.cc:1230:20: note: use '==' to turn this assignment into an equality comparison for( cx = 1; name = charsets[cx].cs_name; cx++ ){ ^ == JIS.cc:1465:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( size = CCXcreate(from,to,&ccxbuf) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:1465:11: note: place parentheses around the assignment to silence this warning if( size = CCXcreate(from,to,&ccxbuf) ){ ^ ( ) JIS.cc:1465:11: note: use '==' to turn this assignment into an equality comparison if( size = CCXcreate(from,to,&ccxbuf) ){ ^ == JIS.cc:1866:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ucs = ANSItoUCS(ch1) ){ ~~~~^~~~~~~~~~~~~~~~ JIS.cc:1866:12: note: place parentheses around the assignment to silence this warning if( ucs = ANSItoUCS(ch1) ){ ^ ( ) JIS.cc:1866:12: note: use '==' to turn this assignment into an equality comparison if( ucs = ANSItoUCS(ch1) ){ ^ == JIS.cc:2661:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fromURL = 0 <= CH3b ){ ~~~~~~~~^~~~~~~~~~~ JIS.cc:2661:16: note: place parentheses around the assignment to silence this warning if( fromURL = 0 <= CH3b ){ ^ ( ) JIS.cc:2661:16: note: use '==' to turn this assignment into an equality comparison if( fromURL = 0 <= CH3b ){ ^ == JIS.cc:2719:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ JIS.cc:2739:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cx = JIS_dakuten(c1,c2,ucs1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:2739:19: note: place parentheses around the assignment to silence this warning if( cx = JIS_dakuten(c1,c2,ucs1) ){ ^ ( ) JIS.cc:2739:19: note: use '==' to turn this assignment into an equality comparison if( cx = JIS_dakuten(c1,c2,ucs1) ){ ^ == JIS.cc:2751:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( op[0] = isUTF8_HANKAKU(ch1,ch2,ch3) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:2751:18: note: place parentheses around the assignment to silence this warning if( op[0] = isUTF8_HANKAKU(ch1,ch2,ch3) ){ ^ ( ) JIS.cc:2751:18: note: use '==' to turn this assignment into an equality comparison if( op[0] = isUTF8_HANKAKU(ch1,ch2,ch3) ){ ^ == JIS.cc:2884:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ JIS.cc:2880:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ JIS.cc:2967:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ JIS.cc:3033:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ JIS.cc:3156:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ JIS.cc:3227:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ JIS.cc:3299:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ JIS.cc:2855:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ JIS.cc:3419:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp++; ){ ~~~^~~~~~~ JIS.cc:3419:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp++; ){ ^ ( ) JIS.cc:3419:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp++; ){ ^ == JIS.cc:3870:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3870:14: note: place parentheses around the assignment to silence this warning if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ^ ( ) JIS.cc:3870:14: note: use '==' to turn this assignment into an equality comparison if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ^ == JIS.cc:3899:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3899:14: note: place parentheses around the assignment to silence this warning if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ^ ( ) JIS.cc:3899:14: note: use '==' to turn this assignment into an equality comparison if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ^ == JIS.cc:3915:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:3915:14: note: place parentheses around the assignment to silence this warning if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ^ ( ) JIS.cc:3915:14: note: use '==' to turn this assignment into an equality comparison if( len = UTF8toSJISX(ccx,op,ox,ucs) ){ ^ == JIS.cc:4069:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mfp = fopen(file,"w") ){ ~~~~^~~~~~~~~~~~~~~~~ JIS.cc:4069:10: note: place parentheses around the assignment to silence this warning if( mfp = fopen(file,"w") ){ ^ ( ) JIS.cc:4069:10: note: use '==' to turn this assignment into an equality comparison if( mfp = fopen(file,"w") ){ ^ == JIS.cc:4072:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( uch = L2Umap[lch] ){ ~~~~^~~~~~~~~~~~~ JIS.cc:4072:11: note: place parentheses around the assignment to silence this warning if( uch = L2Umap[lch] ){ ^ ( ) JIS.cc:4072:11: note: use '==' to turn this assignment into an equality comparison if( uch = L2Umap[lch] ){ ^ == JIS.cc:4090:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mfp = fopen_LIBPATH(file,"r",AVStr(xpath)) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:4090:10: note: place parentheses around the assignment to silence this warning if( mfp = fopen_LIBPATH(file,"r",AVStr(xpath)) ){ ^ ( ) JIS.cc:4090:10: note: use '==' to turn this assignment into an equality comparison if( mfp = fopen_LIBPATH(file,"r",AVStr(xpath)) ){ ^ == JIS.cc:4144:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( desc = strstr(line,"Column #") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:4144:12: note: place parentheses around the assignment to silence this warning if( desc = strstr(line,"Column #") ){ ^ ( ) JIS.cc:4144:12: note: use '==' to turn this assignment into an equality comparison if( desc = strstr(line,"Column #") ){ ^ == JIS.cc:4232:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen_LIBPATH(xfile,"r",AVStr(xpath)) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ JIS.cc:4232:9: note: place parentheses around the assignment to silence this warning if( fp = fopen_LIBPATH(xfile,"r",AVStr(xpath)) ){ ^ ( ) JIS.cc:4232:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen_LIBPATH(xfile,"r",AVStr(xpath)) ){ ^ == JIS.cc:4253:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( map = getenv("MAPUNICODE") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~ JIS.cc:4253:10: note: place parentheses around the assignment to silence this warning if( map = getenv("MAPUNICODE") ) ^ ( ) JIS.cc:4253:10: note: use '==' to turn this assignment into an equality comparison if( map = getenv("MAPUNICODE") ) ^ == 37 warnings generated. ../mkcpp codeconv.c codeconv.cc -- mkcpp set time: 1712064629 -> 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: 1712064629 -> 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: 1712064629 -> 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] for( fp = fmt; fc = *fp; fp++ ){ ~~~^~~~~ str_stdio.cc:225:20: note: place parentheses around the assignment to silence this warning for( fp = fmt; fc = *fp; fp++ ){ ^ ( ) str_stdio.cc:225:20: note: use '==' to turn this assignment into an equality comparison for( fp = fmt; fc = *fp; fp++ ){ ^ == str_stdio.cc:252:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = (Uchar*)fmt; fc = *fp; fp++ ){ ~~~^~~~~ str_stdio.cc:252:28: note: place parentheses around the assignment to silence this warning for( fp = (Uchar*)fmt; fc = *fp; fp++ ){ ^ ( ) str_stdio.cc:252:28: note: use '==' to turn this assignment into an equality comparison for( fp = (Uchar*)fmt; fc = *fp; fp++ ){ ^ == 2 warnings generated. ../mkcpp ccx.c ccx.cc -- mkcpp set time: 1712064629 -> 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: 1712064629 -> 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] for( sp = sym; sc = *sp; sp++ ) ~~~^~~~~ html.cc:162:20: note: place parentheses around the assignment to silence this warning for( sp = sym; sc = *sp; sp++ ) ^ ( ) html.cc:162:20: note: use '==' to turn this assignment into an equality comparison for( sp = sym; sc = *sp; sp++ ) ^ == html.cc:167:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; sym1 = tab[ai]._sym; ai++ ){ ~~~~~^~~~~~~~~~~~~~ html.cc:167:20: note: place parentheses around the assignment to silence this warning for( ai = 0; sym1 = tab[ai]._sym; ai++ ){ ^ ( ) html.cc:167:20: note: use '==' to turn this assignment into an equality comparison for( ai = 0; sym1 = tab[ai]._sym; ai++ ){ ^ == html.cc:206:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; sym1 = tab[ai]._sym; ai++ ) ~~~~~^~~~~~~~~~~~~~ html.cc:206:20: note: place parentheses around the assignment to silence this warning for( ai = 0; sym1 = tab[ai]._sym; ai++ ) ^ ( ) html.cc:206:20: note: use '==' to turn this assignment into an equality comparison for( ai = 0; sym1 = tab[ai]._sym; ai++ ) ^ == html.cc:217:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; id1 = tab[ai]._id; ai++ ) ~~~~^~~~~~~~~~~~~ html.cc:217:19: note: place parentheses around the assignment to silence this warning for( ai = 0; id1 = tab[ai]._id; ai++ ) ^ ( ) html.cc:217:19: note: use '==' to turn this assignment into an equality comparison for( ai = 0; id1 = tab[ai]._id; ai++ ) ^ == html.cc:228:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sym = id2sym0(tab,id) ) ~~~~^~~~~~~~~~~~~~~~~ html.cc:228:10: note: place parentheses around the assignment to silence this warning if( sym = id2sym0(tab,id) ) ^ ( ) html.cc:228:10: note: use '==' to turn this assignment into an equality comparison if( sym = id2sym0(tab,id) ) ^ == html.cc:256:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; ap = tab[ai]._sym; ai++ ){ ~~~^~~~~~~~~~~~~~ html.cc:256:18: note: place parentheses around the assignment to silence this warning for( ai = 0; ap = tab[ai]._sym; ai++ ){ ^ ( ) html.cc:256:18: note: use '==' to turn this assignment into an equality comparison for( ai = 0; ap = tab[ai]._sym; ai++ ){ ^ == html.cc:976:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 2; sym = elemsym[si]._sym; si++ ){ ~~~~^~~~~~~~~~~~~~~~~~ html.cc:976:19: note: place parentheses around the assignment to silence this warning for( si = 2; sym = elemsym[si]._sym; si++ ){ ^ ( ) html.cc:976:19: note: use '==' to turn this assignment into an equality comparison for( si = 2; sym = elemsym[si]._sym; si++ ){ ^ == html.cc:983:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 2; sym = attrsym[si]._sym; si++ ){ ~~~~^~~~~~~~~~~~~~~~~~ html.cc:983:19: note: place parentheses around the assignment to silence this warning for( si = 2; sym = attrsym[si]._sym; si++ ){ ^ ( ) html.cc:983:19: note: use '==' to turn this assignment into an equality comparison for( si = 2; sym = attrsym[si]._sym; si++ ){ ^ == html.cc:1052:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; es = entities[ei].ee; ei++ ){ ~~~^~~~~~~~~~~~~~~~~ html.cc:1052:18: note: place parentheses around the assignment to silence this warning for( ei = 0; es = entities[ei].ee; ei++ ){ ^ ( ) html.cc:1052:18: note: use '==' to turn this assignment into an equality comparison for( ei = 0; es = entities[ei].ee; ei++ ){ ^ == html.cc:1053:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ej = 0; ec = es[off+ej]; ej++ ){ ~~~^~~~~~~~~~~~ html.cc:1053:19: note: place parentheses around the assignment to silence this warning for( ej = 0; ec = es[off+ej]; ej++ ){ ^ ( ) html.cc:1053:19: note: use '==' to turn this assignment into an equality comparison for( ej = 0; ec = es[off+ej]; ej++ ){ ^ == html.cc:1102:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; ee = entities[ei].ee; ei++ ){ ~~~^~~~~~~~~~~~~~~~~ html.cc:1102:20: note: place parentheses around the assignment to silence this warning for( ei = 0; ee = entities[ei].ee; ei++ ){ ^ ( ) html.cc:1102:20: note: use '==' to turn this assignment into an equality comparison for( ei = 0; ee = entities[ei].ee; ei++ ){ ^ == html.cc:1153:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; de = entities[ei].de; ei++ ){ ~~~^~~~~~~~~~~~~~~~~ html.cc:1153:19: note: place parentheses around the assignment to silence this warning for( ei = 0; de = entities[ei].de; ei++ ){ ^ ( ) html.cc:1153:19: note: use '==' to turn this assignment into an equality comparison for( ei = 0; de = entities[ei].de; ei++ ){ ^ == html.cc:1158:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = src; sc = *sp; sp++ ){ ~~~^~~~~ html.cc:1158:20: note: place parentheses around the assignment to silence this warning for( sp = src; sc = *sp; sp++ ){ ^ ( ) html.cc:1158:20: note: use '==' to turn this assignment into an equality comparison for( sp = src; sc = *sp; sp++ ){ ^ == html.cc:1244:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = (char*)src; sch = *sp; ){ ~~~~^~~~~ html.cc:1244:28: note: place parentheses around the assignment to silence this warning for( sp = (char*)src; sch = *sp; ){ ^ ( ) html.cc:1244:28: note: use '==' to turn this assignment into an equality comparison for( sp = (char*)src; sch = *sp; ){ ^ == html.cc:1257:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( bi = 0; bch = brks[bi]; bi++ ) ~~~~^~~~~~~~~~ html.cc:1257:21: note: place parentheses around the assignment to silence this warning for( bi = 0; bch = brks[bi]; bi++ ) ^ ( ) html.cc:1257:21: note: use '==' to turn this assignment into an equality comparison for( bi = 0; bch = brks[bi]; bi++ ) ^ == html.cc:1522:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ 16 warnings generated. ../mkcpp urlesc.c urlesc.cc -- mkcpp set time: 1712064630 -> 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] if( ep = strchr(str,'%') ){ ~~~^~~~~~~~~~~~~~~~~ urlesc.cc:34:9: note: place parentheses around the assignment to silence this warning if( ep = strchr(str,'%') ){ ^ ( ) urlesc.cc:34:9: note: use '==' to turn this assignment into an equality comparison if( ep = strchr(str,'%') ){ ^ == urlesc.cc:62:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = url; ch = *sp; sp++ ){ ~~~^~~~~ urlesc.cc:62:20: note: place parentheses around the assignment to silence this warning for( sp = url; ch = *sp; sp++ ){ ^ ( ) urlesc.cc:62:20: note: use '==' to turn this assignment into an equality comparison for( sp = url; ch = *sp; sp++ ){ ^ == urlesc.cc:106:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( cp = dst; ch = *cp; cp++ ) ~~~^~~~~ urlesc.cc:106:20: note: place parentheses around the assignment to silence this warning for( cp = dst; ch = *cp; cp++ ) ^ ( ) urlesc.cc:106:20: note: use '==' to turn this assignment into an equality comparison for( cp = dst; ch = *cp; cp++ ) ^ == urlesc.cc:156:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = src; ch = *sp; sp++ ){ ~~~^~~~~ urlesc.cc:156:20: note: place parentheses around the assignment to silence this warning for( sp = src; ch = *sp; sp++ ){ ^ ( ) urlesc.cc:156:20: note: use '==' to turn this assignment into an equality comparison for( sp = src; ch = *sp; sp++ ){ ^ == urlesc.cc:283:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( plen = 0; pch = pat[plen]; plen++ ){ ~~~~^~~~~~~~~~~ urlesc.cc:283:21: note: place parentheses around the assignment to silence this warning for( plen = 0; pch = pat[plen]; plen++ ){ ^ ( ) urlesc.cc:283:21: note: use '==' to turn this assignment into an equality comparison for( plen = 0; pch = pat[plen]; plen++ ){ ^ == urlesc.cc:362:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ~~~^~~~~ urlesc.cc:362:42: note: place parentheses around the assignment to silence this warning for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ^ ( ) urlesc.cc:362:42: note: use '==' to turn this assignment into an equality comparison for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ^ == urlesc.cc:417:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ~~~^~~~~ urlesc.cc:417:42: note: place parentheses around the assignment to silence this warning for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ^ ( ) urlesc.cc:417:42: note: use '==' to turn this assignment into an equality comparison for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ^ == urlesc.cc:465:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ~~~^~~~~ urlesc.cc:465:42: note: place parentheses around the assignment to silence this warning for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ^ ( ) urlesc.cc:465:42: note: use '==' to turn this assignment into an equality comparison for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ^ == urlesc.cc:485:42: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ~~~^~~~~ urlesc.cc:485:42: note: place parentheses around the assignment to silence this warning for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ^ ( ) urlesc.cc:485:42: note: use '==' to turn this assignment into an equality comparison for( sp = (const unsigned char*)src; ch = *sp; sp++ ){ ^ == 9 warnings generated. ../mkcpp Strftime.c Strftime.cc -- mkcpp set time: 1712064630 -> 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] for( i = 0; mo = Month[i]; i++ ) ~~~^~~~~~~~~~ Strftime.cc:318:17: note: place parentheses around the assignment to silence this warning for( i = 0; mo = Month[i]; i++ ) ^ ( ) Strftime.cc:318:17: note: use '==' to turn this assignment into an equality comparison for( i = 0; mo = Month[i]; i++ ) ^ == Strftime.cc:327:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( i = 0; mo = Month[i]; i++ ) ~~~^~~~~~~~~~ Strftime.cc:327:17: note: place parentheses around the assignment to silence this warning for( i = 0; mo = Month[i]; i++ ) ^ ( ) Strftime.cc:327:17: note: use '==' to turn this assignment into an equality comparison for( i = 0; mo = Month[i]; i++ ) ^ == Strftime.cc:338:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( i = 0; wd = Wdays[i]; i++ ) ~~~^~~~~~~~~~ Strftime.cc:338:17: note: place parentheses around the assignment to silence this warning for( i = 0; wd = Wdays[i]; i++ ) ^ ( ) Strftime.cc:338:17: note: use '==' to turn this assignment into an equality comparison for( i = 0; wd = Wdays[i]; i++ ) ^ == Strftime.cc:342:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( i = 0; wd = Wdays[i]; i++ ) ~~~^~~~~~~~~~ Strftime.cc:342:17: note: place parentheses around the assignment to silence this warning for( i = 0; wd = Wdays[i]; i++ ) ^ ( ) Strftime.cc:342:17: note: use '==' to turn this assignment into an equality comparison for( i = 0; wd = Wdays[i]; i++ ) ^ == Strftime.cc:345:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( i = 0; wd = WDays[i]; i++ ) ~~~^~~~~~~~~~ Strftime.cc:345:17: note: place parentheses around the assignment to silence this warning for( i = 0; wd = WDays[i]; i++ ) ^ ( ) Strftime.cc:345:17: note: use '==' to turn this assignment into an equality comparison for( i = 0; wd = WDays[i]; i++ ) ^ == Strftime.cc:597:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = fmt; ch = *fp; fp++ ){ ~~~^~~~~ Strftime.cc:597:20: note: place parentheses around the assignment to silence this warning for( fp = fmt; ch = *fp; fp++ ){ ^ ( ) Strftime.cc:597:20: note: use '==' to turn this assignment into an equality comparison for( fp = fmt; ch = *fp; fp++ ){ ^ == Strftime.cc:752:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = fmt; ch = *fp; fp++ ){ ~~~^~~~~ Strftime.cc:752:20: note: place parentheses around the assignment to silence this warning for( fp = fmt; ch = *fp; fp++ ){ ^ ( ) Strftime.cc:752:20: note: use '==' to turn this assignment into an equality comparison for( fp = fmt; ch = *fp; fp++ ){ ^ == 7 warnings generated. ../mkcpp Timeofday.c Timeofday.cc -- mkcpp set time: 1712064631 -> 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: 1712064631 -> 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: 1712064631 -> 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] for( ks = key; kc = *ks++; ) ~~~^~~~~~~ hash.cc:112:20: note: place parentheses around the assignment to silence this warning for( ks = key; kc = *ks++; ) ^ ( ) hash.cc:112:20: note: use '==' to turn this assignment into an equality comparison for( ks = key; kc = *ks++; ) ^ == 1 warning generated. ../mkcpp bsort.c bsort.cc -- mkcpp set time: 1712064632 -> 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: 1712064632 -> 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] for( ep = encs+1; ec1 = *ep; ep += 2 ){ ~~~~^~~~~ codec.cc:96:25: note: place parentheses around the assignment to silence this warning for( ep = encs+1; ec1 = *ep; ep += 2 ){ ^ ( ) codec.cc:96:25: note: use '==' to turn this assignment into an equality comparison for( ep = encs+1; ec1 = *ep; ep += 2 ){ ^ == codec.cc:108:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(srcs,"\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ codec.cc:108:11: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(srcs,"\r\n") ){ ^ ( ) codec.cc:108:11: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(srcs,"\r\n") ){ ^ == 2 warnings generated. ../mkcpp uu.c uu.cc -- mkcpp set time: 1712064632 -> 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: 1712064632 -> 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: 1712064632 -> 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: 1712064632 -> 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: 1712064633 -> 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] if( action = strpbrk(cronspecb,": \t") ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ sched.cc:340:13: note: place parentheses around the assignment to silence this warning if( action = strpbrk(cronspecb,": \t") ){ ^ ( ) sched.cc:340:13: note: use '==' to turn this assignment into an equality comparison if( action = strpbrk(cronspecb,": \t") ){ ^ == sched.cc:472:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( d = v1[i] - v2[i] ) ~~^~~~~~~~~~~~~~~ sched.cc:472:9: note: place parentheses around the assignment to silence this warning if( d = v1[i] - v2[i] ) ^ ( ) sched.cc:472:9: note: use '==' to turn this assignment into an equality comparison if( d = v1[i] - v2[i] ) ^ == 2 warnings generated. ../mkcpp readycc.c readycc.cc -- mkcpp set time: 1712064633 -> 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: 1712064633 -> 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: 1712064634 -> 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: 1712064634 -> 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: 1712064634 -> 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] if( oa = alarm(intvl) ) ~~~^~~~~~~~~~~~~~ timer.cc:120:9: note: place parentheses around the assignment to silence this warning if( oa = alarm(intvl) ) ^ ( ) timer.cc:120:9: note: use '==' to turn this assignment into an equality comparison if( oa = alarm(intvl) ) ^ == timer.cc:141:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( oa = tp->time ){ ~~~^~~~~~~~~~ timer.cc:141:9: note: place parentheses around the assignment to silence this warning if( oa = tp->time ){ ^ ( ) timer.cc:141:9: note: use '==' to turn this assignment into an equality comparison if( oa = tp->time ){ ^ == timer.cc:204:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sec = msec / 1000 ) ~~~~^~~~~~~~~~~~~ timer.cc:204:10: note: place parentheses around the assignment to silence this warning if( sec = msec / 1000 ) ^ ( ) timer.cc:204:10: note: use '==' to turn this assignment into an equality comparison if( sec = msec / 1000 ) ^ == timer.cc:207:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( usec = (msec % 1000)*1000 ) ~~~~~^~~~~~~~~~~~~~~~~~~~ timer.cc:207:11: note: place parentheses around the assignment to silence this warning if( usec = (msec % 1000)*1000 ) ^ ( ) timer.cc:207:11: note: use '==' to turn this assignment into an equality comparison if( usec = (msec % 1000)*1000 ) ^ == 4 warnings generated. ../mkcpp tar.c tar.cc -- mkcpp set time: 1712064634 -> 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] for( fi = 0; file1 = files[fi]; fi++ ){ ~~~~~~^~~~~~~~~~~ tar.cc:166:21: note: place parentheses around the assignment to silence this warning for( fi = 0; file1 = files[fi]; fi++ ){ ^ ( ) tar.cc:166:21: note: use '==' to turn this assignment into an equality comparison for( fi = 0; file1 = files[fi]; fi++ ){ ^ == tar.cc:290:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fi = 0; file1 = files[fi]; fi++ ){ ~~~~~~^~~~~~~~~~~ tar.cc:290:21: note: place parentheses around the assignment to silence this warning for( fi = 0; file1 = files[fi]; fi++ ){ ^ ( ) tar.cc:290:21: note: use '==' to turn this assignment into an equality comparison for( fi = 0; file1 = files[fi]; fi++ ){ ^ == tar.cc:524:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tfp = fopen(arg,"r+") ) ~~~~^~~~~~~~~~~~~~~~~ tar.cc:524:15: note: place parentheses around the assignment to silence this warning if( tfp = fopen(arg,"r+") ) ^ ( ) tar.cc:524:15: note: use '==' to turn this assignment into an equality comparison if( tfp = fopen(arg,"r+") ) ^ == 3 warnings generated. ../mkcpp sed.c sed.cc -- mkcpp set time: 1712064635 -> 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] for(; sc = *sp; sp++ ){ ~~~^~~~~ sed.cc:79:11: note: place parentheses around the assignment to silence this warning for(; sc = *sp; sp++ ){ ^ ( ) sed.cc:79:11: note: use '==' to turn this assignment into an equality comparison for(; sc = *sp; sp++ ){ ^ == sed.cc:95:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = (char*)str; sc = *sp; sp++ ){ ~~~^~~~~ sed.cc:95:27: note: place parentheses around the assignment to silence this warning for( sp = (char*)str; sc = *sp; sp++ ){ ^ ( ) sed.cc:95:27: note: use '==' to turn this assignment into an equality comparison for( sp = (char*)str; sc = *sp; sp++ ){ ^ == sed.cc:148:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = sc->c_outpat; fc = *fp; fp++ ){ ~~~^~~~~ sed.cc:148:29: note: place parentheses around the assignment to silence this warning for( fp = sc->c_outpat; fc = *fp; fp++ ){ ^ ( ) sed.cc:148:29: note: use '==' to turn this assignment into an equality comparison for( fp = sc->c_outpat; fc = *fp; fp++ ){ ^ == sed.cc:172:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( next = frex_matchX(sc->c_matchrex,iline,&start) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sed.cc:172:13: note: place parentheses around the assignment to silence this warning if( next = frex_matchX(sc->c_matchrex,iline,&start) ) ^ ( ) sed.cc:172:13: note: use '==' to turn this assignment into an equality comparison if( next = frex_matchX(sc->c_matchrex,iline,&start) ) ^ == sed.cc:191:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( next = frex_matchX(sc->c_srcrex,ip,&start) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sed.cc:191:16: note: place parentheses around the assignment to silence this warning while( next = frex_matchX(sc->c_srcrex,ip,&start) ){ ^ ( ) sed.cc:191:16: note: use '==' to turn this assignment into an equality comparison while( next = frex_matchX(sc->c_srcrex,ip,&start) ){ ^ == sed.cc:226:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( crp = strpbrk(iline,"\r\n") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~ sed.cc:226:11: note: place parentheses around the assignment to silence this warning if( crp = strpbrk(iline,"\r\n") ){ ^ ( ) sed.cc:226:11: note: use '==' to turn this assignment into an equality comparison if( crp = strpbrk(iline,"\r\n") ){ ^ == 6 warnings generated. ../mkcpp nbio.c nbio.cc -- mkcpp set time: 1712064635 -> 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] if( nready = PollIn(in,1) ) ~~~~~~~^~~~~~~~~~~~~~ nbio.cc:670:14: note: place parentheses around the assignment to silence this warning if( nready = PollIn(in,1) ) ^ ( ) nbio.cc:670:14: note: use '==' to turn this assignment into an equality comparison if( nready = PollIn(in,1) ) ^ == nbio.cc:1060:43: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] double Lastin[32],Now,Timeout,Idlest,Time(); ^~ nbio.cc:1060:43: note: replace parentheses with an initializer to declare a variable double Lastin[32],Now,Timeout,Idlest,Time(); ^~ = 0.0 nbio.cc:1178:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cb = RELAY_idle_cb ){ ~~~^~~~~~~~~~~~~~~ nbio.cc:1178:10: note: place parentheses around the assignment to silence this warning if( cb = RELAY_idle_cb ){ ^ ( ) nbio.cc:1178:10: note: use '==' to turn this assignment into an equality comparison if( cb = RELAY_idle_cb ){ ^ == nbio.cc:1192:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cb = RELAY_idle_cb ){ ~~~^~~~~~~~~~~~~~~ nbio.cc:1192:11: note: place parentheses around the assignment to silence this warning if( cb = RELAY_idle_cb ){ ^ ( ) nbio.cc:1192:11: note: use '==' to turn this assignment into an equality comparison if( cb = RELAY_idle_cb ){ ^ == nbio.cc:1905:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rdy1 = exceptionReady(sock) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~ nbio.cc:1905:13: note: place parentheses around the assignment to silence this warning if( rdy1 = exceptionReady(sock) ){ ^ ( ) nbio.cc:1905:13: note: use '==' to turn this assignment into an equality comparison if( rdy1 = exceptionReady(sock) ){ ^ == 5 warnings generated. ../mkcpp vsaddr.c vsaddr.cc -- mkcpp set time: 1712064636 -> 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] else ^ vsaddr.cc:165:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( root = VSA_afunixroot ){ ~~~~~^~~~~~~~~~~~~~~~ vsaddr.cc:165:11: note: place parentheses around the assignment to silence this warning if( root = VSA_afunixroot ){ ^ ( ) vsaddr.cc:165:11: note: use '==' to turn this assignment into an equality comparison if( root = VSA_afunixroot ){ ^ == vsaddr.cc:206:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = path; ch = *sp; sp++ ){ ~~~^~~~~ vsaddr.cc:206:21: note: place parentheses around the assignment to silence this warning for( sp = path; ch = *sp; sp++ ){ ^ ( ) vsaddr.cc:206:21: note: use '==' to turn this assignment into an equality comparison for( sp = path; ch = *sp; sp++ ){ ^ == vsaddr.cc:334:9: warning: 'inet_ntoa' macro redefined [-Wmacro-redefined] #define inet_ntoa(in) inet_ntoaX(in) ^ /usr/include/arpa/inet.h:130:9: note: previous definition is here #define inet_ntoa __inet_ntoa ^ vsaddr.cc:353:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ vsaddr.cc:413:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ok = inet_ntop(AF_INET6,&((SIN6*)sap)->sin6_addr,hbuf,sizeof(hbuf)) != 0; ^ vsaddr.cc:462:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addr = VSA_ntoa(&vsa) ){ ~~~~~^~~~~~~~~~~~~~~~ vsaddr.cc:462:12: note: place parentheses around the assignment to silence this warning if( addr = VSA_ntoa(&vsa) ){ ^ ( ) vsaddr.cc:462:12: note: use '==' to turn this assignment into an equality comparison if( addr = VSA_ntoa(&vsa) ){ ^ == vsaddr.cc:558:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ap = strtailstr(dst,".ipv6") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ vsaddr.cc:558:9: note: place parentheses around the assignment to silence this warning if( ap = strtailstr(dst,".ipv6") ){ ^ ( ) vsaddr.cc:558:9: note: use '==' to turn this assignment into an equality comparison if( ap = strtailstr(dst,".ipv6") ){ ^ == vsaddr.cc:614:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( np = name; nc = *np; np++ ){ ~~~^~~~~ vsaddr.cc:614:21: note: place parentheses around the assignment to silence this warning for( np = name; nc = *np; np++ ){ ^ ( ) vsaddr.cc:614:21: note: use '==' to turn this assignment into an equality comparison for( np = name; nc = *np; np++ ){ ^ == vsaddr.cc:636:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ap = addr; ac = *ap; ap++ ){ ~~~^~~~~ vsaddr.cc:636:21: note: place parentheses around the assignment to silence this warning for( ap = addr; ac = *ap; ap++ ){ ^ ( ) vsaddr.cc:636:21: note: use '==' to turn this assignment into an equality comparison for( ap = addr; ac = *ap; ap++ ){ ^ == vsaddr.cc:902:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strchr(addr,':') ){ ~~~^~~~~~~~~~~~~~~~~~ vsaddr.cc:902:10: note: place parentheses around the assignment to silence this warning if( pp = strchr(addr,':') ){ ^ ( ) vsaddr.cc:902:10: note: use '==' to turn this assignment into an equality comparison if( pp = strchr(addr,':') ){ ^ == vsaddr.cc:911:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addr = VSA_ntoa(sa) ){ ~~~~~^~~~~~~~~~~~~~ vsaddr.cc:911:11: note: place parentheses around the assignment to silence this warning if( addr = VSA_ntoa(sa) ){ ^ ( ) vsaddr.cc:911:11: note: use '==' to turn this assignment into an equality comparison if( addr = VSA_ntoa(sa) ){ ^ == 12 warnings generated. ../mkcpp pelcgb.c pelcgb.cc -- mkcpp set time: 1712064636 -> 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] out[ox++] = (out[oi++] + ox) + crc; ^ ~~ pelcgb.cc:539:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("CCRYMAP") ) map = atoi(env); ~~~~^~~~~~~~~~~~~~~~~~~ pelcgb.cc:539:10: note: place parentheses around the assignment to silence this warning if( env = getenv("CCRYMAP") ) map = atoi(env); ^ ( ) pelcgb.cc:539:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("CCRYMAP") ) map = atoi(env); ^ == pelcgb.cc:540:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("CCRYLEN") ) bklen = atoi(env); ~~~~^~~~~~~~~~~~~~~~~~~ pelcgb.cc:540:10: note: place parentheses around the assignment to silence this warning if( env = getenv("CCRYLEN") ) bklen = atoi(env); ^ ( ) pelcgb.cc:540:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("CCRYLEN") ) bklen = atoi(env); ^ == pelcgb.cc:541:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("CCRYDEBUG") ) debug = atoi(env); ~~~~^~~~~~~~~~~~~~~~~~~~~ pelcgb.cc:541:10: note: place parentheses around the assignment to silence this warning if( env = getenv("CCRYDEBUG") ) debug = atoi(env); ^ ( ) pelcgb.cc:541:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("CCRYDEBUG") ) debug = atoi(env); ^ == pelcgb.cc:609:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( s = str; ch = *s; s++ ){ ~~~^~~~ pelcgb.cc:609:19: note: place parentheses around the assignment to silence this warning for( s = str; ch = *s; s++ ){ ^ ( ) pelcgb.cc:609:19: note: use '==' to turn this assignment into an equality comparison for( s = str; ch = *s; s++ ){ ^ == 5 warnings generated. ../mkcpp credhy.c credhy.cc -- mkcpp set time: 1712064639 -> 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] if( fp = fopen(CREDHY_CACHE,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ credhy.cc:539:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(CREDHY_CACHE,"r") ){ ^ ( ) credhy.cc:539:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(CREDHY_CACHE,"r") ){ ^ == credhy.cc:732:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( on1 |= N[i] ){ ~~~~^~~~~~~ credhy.cc:732:11: note: place parentheses around the assignment to silence this warning if( on1 |= N[i] ){ ^ ( ) credhy.cc:732:11: note: use '!=' to turn this compound assignment into an inequality comparison if( on1 |= N[i] ){ ^~ != credhy.cc:789:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( on |= M[i] ){ ~~~^~~~~~~ credhy.cc:789:10: note: place parentheses around the assignment to silence this warning if( on |= M[i] ){ ^ ( ) credhy.cc:789:10: note: use '!=' to turn this compound assignment into an inequality comparison if( on |= M[i] ){ ^~ != credhy.cc:1839:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( strenc = (strchr(opts,CTYPEB) != 0) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ credhy.cc:1839:13: note: place parentheses around the assignment to silence this warning if( strenc = (strchr(opts,CTYPEB) != 0) ){ ^ ( ) credhy.cc:1839:13: note: use '==' to turn this assignment into an equality comparison if( strenc = (strchr(opts,CTYPEB) != 0) ){ ^ == credhy.cc:1842:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( b64enc = (strchr(opts,CTYPE64) != 0) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ credhy.cc:1842:13: note: place parentheses around the assignment to silence this warning if( b64enc = (strchr(opts,CTYPE64) != 0) ){ ^ ( ) credhy.cc:1842:13: note: use '==' to turn this assignment into an equality comparison if( b64enc = (strchr(opts,CTYPE64) != 0) ){ ^ == credhy.cc:1845:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( msprea = (strchr(opts,COPTSTS) != 0) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ credhy.cc:1845:13: note: place parentheses around the assignment to silence this warning if( msprea = (strchr(opts,COPTSTS) != 0) ){ ^ ( ) credhy.cc:1845:13: note: use '==' to turn this assignment into an equality comparison if( msprea = (strchr(opts,COPTSTS) != 0) ){ ^ == credhy.cc:2043:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = src; schr = *sp; sp++ ){ ~~~~~^~~~~ credhy.cc:2043:22: note: place parentheses around the assignment to silence this warning for( sp = src; schr = *sp; sp++ ){ ^ ( ) credhy.cc:2043:22: note: use '==' to turn this assignment into an equality comparison for( sp = src; schr = *sp; sp++ ){ ^ == 7 warnings generated. ../mkcpp cksum.c cksum.cc -- mkcpp set time: 1712064648 -> 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] for( li = 0; li < 4; li ){ ^~ cksum.cc:107:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(file,"r") ){ ~~~^~~~~~~~~~~~~~~~~ cksum.cc:107:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"r") ){ ^ ( ) cksum.cc:107:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"r") ){ ^ == cksum.cc:115:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sum = fopen(sumfile,"w") ){ ~~~~^~~~~~~~~~~~~~~~~~~~ cksum.cc:115:11: note: place parentheses around the assignment to silence this warning if( sum = fopen(sumfile,"w") ){ ^ ( ) cksum.cc:115:11: note: use '==' to turn this assignment into an equality comparison if( sum = fopen(sumfile,"w") ){ ^ == cksum.cc:142:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; ch = line[ci]; ci++ ){ ~~~^~~~~~~~~~ cksum.cc:142:20: note: place parentheses around the assignment to silence this warning for( ci = 0; ch = line[ci]; ci++ ){ ^ ( ) cksum.cc:142:20: note: use '==' to turn this assignment into an equality comparison for( ci = 0; ch = line[ci]; ci++ ){ ^ == cksum.cc:207:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(file,"r") ){ ~~~^~~~~~~~~~~~~~~~~ cksum.cc:207:12: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"r") ){ ^ ( ) cksum.cc:207:12: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"r") ){ ^ == cksum.cc:263:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(av[ai],"r") ){ ~~~^~~~~~~~~~~~~~~~~~~ cksum.cc:263:11: note: place parentheses around the assignment to silence this warning if( fp = fopen(av[ai],"r") ){ ^ ( ) cksum.cc:263:11: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(av[ai],"r") ){ ^ == cksum.cc:265:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ cksum.cc:265:13: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"\r\n") ) ^ ( ) cksum.cc:265:13: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"\r\n") ) ^ == 7 warnings generated. ../mkcpp asock.c asock.cc -- mkcpp set time: 1712064649 -> 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: 1712064649 -> 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: 1712064649 -> 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] if( fp = fopen(path,"a") ){ ~~~^~~~~~~~~~~~~~~~~ setutimes.cc:152:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"a") ){ ^ ( ) setutimes.cc:152:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"a") ){ ^ == 1 warning generated. ../mkcpp file.c file.cc -- mkcpp set time: 1712064649 -> 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] if( fp = fopen(path,"w") ){ ~~~^~~~~~~~~~~~~~~~~ file.cc:283:11: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"w") ){ ^ ( ) file.cc:283:11: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"w") ){ ^ == file.cc:840:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = buff; sc = *sp; sp++ ){ ~~~^~~~~ file.cc:840:21: note: place parentheses around the assignment to silence this warning for( sp = buff; sc = *sp; sp++ ){ ^ ( ) file.cc:840:21: note: use '==' to turn this assignment into an equality comparison for( sp = buff; sc = *sp; sp++ ){ ^ == file.cc:946:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( size = *sizep ){ ~~~~~^~~~~~~~ file.cc:946:11: note: place parentheses around the assignment to silence this warning if( size = *sizep ){ ^ ( ) file.cc:946:11: note: use '==' to turn this assignment into an equality comparison if( size = *sizep ){ ^ == file.cc:969:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(str,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ file.cc:969:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(str,"\r\n") ) ^ ( ) file.cc:969:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(str,"\r\n") ) ^ == file.cc:1131:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( li = 0; dir1 = pathv[li]; li++ ){ ~~~~~^~~~~~~~~~~ file.cc:1131:20: note: place parentheses around the assignment to silence this warning for( li = 0; dir1 = pathv[li]; li++ ){ ^ ( ) file.cc:1131:20: note: use '==' to turn this assignment into an equality comparison for( li = 0; dir1 = pathv[li]; li++ ){ ^ == file.cc:1208:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(file,mode) ) ~~~^~~~~~~~~~~~~~~~~~ file.cc:1208:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,mode) ) ^ ( ) file.cc:1208:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,mode) ) ^ == file.cc:1212:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( libpath = getenv("LIBPATH") ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~ file.cc:1212:14: note: place parentheses around the assignment to silence this warning if( libpath = getenv("LIBPATH") ) ^ ( ) file.cc:1212:14: note: use '==' to turn this assignment into an equality comparison if( libpath = getenv("LIBPATH") ) ^ == file.cc:1238:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen_LIBPATH(file,"r",AVStr(xfile)) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.cc:1238:9: note: place parentheses around the assignment to silence this warning if( fp = fopen_LIBPATH(file,"r",AVStr(xfile)) ){ ^ ( ) file.cc:1238:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen_LIBPATH(file,"r",AVStr(xfile)) ){ ^ == file.cc:1480:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ file.cc:1618:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = isFullpath(go) ){ ~~~~^~~~~~~~~~~~~~~~ file.cc:1618:10: note: place parentheses around the assignment to silence this warning if( len = isFullpath(go) ){ ^ ( ) file.cc:1618:10: note: use '==' to turn this assignment into an equality comparison if( len = isFullpath(go) ){ ^ == file.cc:1648:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = FindRDirSep(cwd) ){ ~~~^~~~~~~~~~~~~~~~~~ file.cc:1648:12: note: place parentheses around the assignment to silence this warning if( cp = FindRDirSep(cwd) ){ ^ ( ) file.cc:1648:12: note: use '==' to turn this assignment into an equality comparison if( cp = FindRDirSep(cwd) ){ ^ == file.cc:1656:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = FindDirSep(go) ) ~~~^~~~~~~~~~~~~~~~ file.cc:1656:11: note: place parentheses around the assignment to silence this warning if( cp = FindDirSep(go) ) ^ ( ) file.cc:1656:11: note: use '==' to turn this assignment into an equality comparison if( cp = FindDirSep(go) ) ^ == 12 warnings generated. ../mkcpp fstat.c fstat.cc -- mkcpp set time: 1712064650 -> 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] if( vp = strrpbrk(vdir,"/\\") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ fstat.cc:574:9: note: place parentheses around the assignment to silence this warning if( vp = strrpbrk(vdir,"/\\") ){ ^ ( ) fstat.cc:574:9: note: use '==' to turn this assignment into an equality comparison if( vp = strrpbrk(vdir,"/\\") ){ ^ == fstat.cc:668:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strrchr(name,'.') ) ~~~^~~~~~~~~~~~~~~~~~~ fstat.cc:668:10: note: place parentheses around the assignment to silence this warning if( ep = strrchr(name,'.') ) ^ ( ) fstat.cc:668:10: note: use '==' to turn this assignment into an equality comparison if( ep = strrchr(name,'.') ) ^ == fstat.cc:683:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( f1 = strpbrk(fact1,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~ fstat.cc:683:10: note: place parentheses around the assignment to silence this warning if( f1 = strpbrk(fact1,"\r\n") ) ^ ( ) fstat.cc:683:10: note: use '==' to turn this assignment into an equality comparison if( f1 = strpbrk(fact1,"\r\n") ) ^ == fstat.cc:692:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xp = strrpbrk(xpath,"/\\") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ fstat.cc:692:11: note: place parentheses around the assignment to silence this warning if( xp = strrpbrk(xpath,"/\\") ){ ^ ( ) fstat.cc:692:11: note: use '==' to turn this assignment into an equality comparison if( xp = strrpbrk(xpath,"/\\") ){ ^ == fstat.cc:781:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = fmt; sc = *sp; sp++ ){ ~~~^~~~~ fstat.cc:781:20: note: place parentheses around the assignment to silence this warning for( sp = fmt; sc = *sp; sp++ ){ ^ ( ) fstat.cc:781:20: note: use '==' to turn this assignment into an equality comparison for( sp = fmt; sc = *sp; sp++ ){ ^ == fstat.cc:893:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(path,"r") ){ ~~~^~~~~~~~~~~~~~~~~ fstat.cc:893:12: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"r") ){ ^ ( ) fstat.cc:893:12: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"r") ){ ^ == fstat.cc:956:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( diff = e2->s_ikey - e1->s_ikey ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ fstat.cc:956:11: note: place parentheses around the assignment to silence this warning if( diff = e2->s_ikey - e1->s_ikey ) ^ ( ) fstat.cc:956:11: note: use '==' to turn this assignment into an equality comparison if( diff = e2->s_ikey - e1->s_ikey ) ^ == fstat.cc:1061:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(vbase,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~ fstat.cc:1061:13: note: place parentheses around the assignment to silence this warning if( dp = strrchr(vbase,'/') ) ^ ( ) fstat.cc:1061:13: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(vbase,'/') ) ^ == fstat.cc:1071:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(dirpath,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ fstat.cc:1071:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(dirpath,'/') ){ ^ ( ) fstat.cc:1071:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(dirpath,'/') ){ ^ == fstat.cc:1111:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(fmt,"%D") ) ~~~^~~~~~~~~~~~~~~~~~ fstat.cc:1111:10: note: place parentheses around the assignment to silence this warning if( dp = strstr(fmt,"%D") ) ^ ( ) fstat.cc:1111:10: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(fmt,"%D") ) ^ == fstat.cc:1056:20: warning: expression result unused [-Wunused-value] while( op[1] ) *op++; /* skip remaining */ ^~~~~ fstat.cc:1177:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tail = strpbrk(ls,"\r\n") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~ fstat.cc:1177:11: note: place parentheses around the assignment to silence this warning if( tail = strpbrk(ls,"\r\n") ){ ^ ( ) fstat.cc:1177:11: note: use '==' to turn this assignment into an equality comparison if( tail = strpbrk(ls,"\r\n") ){ ^ == 12 warnings generated. ../mkcpp pam.c pam.cc -- mkcpp set time: 1712064650 -> 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] if( sp = strstr(line,"/*BEGIN_STAB") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../filters/mkstab.c:76:10: note: place parentheses around the assignment to silence this warning if( sp = strstr(line,"/*BEGIN_STAB") ){ ^ ( ) ../filters/mkstab.c:76:10: note: use '==' to turn this assignment into an equality comparison if( sp = strstr(line,"/*BEGIN_STAB") ){ ^ == ../filters/mkstab.c:102:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = line; ch = *sp; sp++ ){ ~~~^~~~~ ../filters/mkstab.c:102:22: note: place parentheses around the assignment to silence this warning for( sp = line; ch = *sp; sp++ ){ ^ ( ) ../filters/mkstab.c:102:22: note: use '==' to turn this assignment into an equality comparison for( sp = line; ch = *sp; sp++ ){ ^ == ../filters/mkstab.c:106:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *sp ){ ~~~^~~~~ ../filters/mkstab.c:106:13: note: place parentheses around the assignment to silence this warning while( ch = *sp ){ ^ ( ) ../filters/mkstab.c:106:13: note: use '==' to turn this assignment into an equality comparison while( ch = *sp ){ ^ == ../filters/mkstab.c:156:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( op = strstr(line,"/*OPT(") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ ../filters/mkstab.c:156:10: note: place parentheses around the assignment to silence this warning if( op = strstr(line,"/*OPT(") ){ ^ ( ) ../filters/mkstab.c:156:10: note: use '==' to turn this assignment into an equality comparison if( op = strstr(line,"/*OPT(") ){ ^ == 4 warnings generated. ../filters/mkstab < libpam.c > libpam_dl.c ../mkcpp libpam_dl.c libpam_dl.cc -- mkcpp set time: 1712064651 -> 1712064651 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: 1712064651 -> 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] if( passwd = GETpwuid(uid) ) ~~~~~~~^~~~~~~~~~~~~~~ passwd.cc:87:13: note: place parentheses around the assignment to silence this warning if( passwd = GETpwuid(uid) ) ^ ( ) passwd.cc:87:13: note: use '==' to turn this assignment into an equality comparison if( passwd = GETpwuid(uid) ) ^ == passwd.cc:126:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( passwd = GETpwuid(uid) ) ~~~~~~~^~~~~~~~~~~~~~~ passwd.cc:126:13: note: place parentheses around the assignment to silence this warning if( passwd = GETpwuid(uid) ) ^ ( ) passwd.cc:126:13: note: use '==' to turn this assignment into an equality comparison if( passwd = GETpwuid(uid) ) ^ == passwd.cc:133:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( passwd = GETpwuid(uid) ){ ~~~~~~~^~~~~~~~~~~~~~~ passwd.cc:133:13: note: place parentheses around the assignment to silence this warning if( passwd = GETpwuid(uid) ){ ^ ( ) passwd.cc:133:13: note: use '==' to turn this assignment into an equality comparison if( passwd = GETpwuid(uid) ){ ^ == passwd.cc:142:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( group = GETgrgid(gid) ) ~~~~~~^~~~~~~~~~~~~~~ passwd.cc:142:12: note: place parentheses around the assignment to silence this warning if( group = GETgrgid(gid) ) ^ ( ) passwd.cc:142:12: note: use '==' to turn this assignment into an equality comparison if( group = GETgrgid(gid) ) ^ == passwd.cc:168:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( passwd = GETpwnam(user) ) ~~~~~~~^~~~~~~~~~~~~~~~ passwd.cc:168:13: note: place parentheses around the assignment to silence this warning if( passwd = GETpwnam(user) ) ^ ( ) passwd.cc:168:13: note: use '==' to turn this assignment into an equality comparison if( passwd = GETpwnam(user) ) ^ == passwd.cc:175:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( group = GETgrnam(gname) ) ~~~~~~^~~~~~~~~~~~~~~~~ passwd.cc:175:12: note: place parentheses around the assignment to silence this warning if( group = GETgrnam(gname) ) ^ ( ) passwd.cc:175:12: note: use '==' to turn this assignment into an equality comparison if( group = GETgrnam(gname) ) ^ == passwd.cc:217:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(user_group,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ passwd.cc:217:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(user_group,'/') ){ ^ ( ) passwd.cc:217:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(user_group,'/') ){ ^ == passwd.cc:218:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = dp - user_group ){ ~~~~^~~~~~~~~~~~~~~~~ passwd.cc:218:11: note: place parentheses around the assignment to silence this warning if( len = dp - user_group ){ ^ ( ) passwd.cc:218:11: note: use '==' to turn this assignment into an equality comparison if( len = dp - user_group ){ ^ == passwd.cc:231:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pw = GETpwuid(uid) ) ~~~^~~~~~~~~~~~~~~ passwd.cc:231:10: note: place parentheses around the assignment to silence this warning if( pw = GETpwuid(uid) ) ^ ( ) passwd.cc:231:10: note: use '==' to turn this assignment into an equality comparison if( pw = GETpwuid(uid) ) ^ == passwd.cc:234:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pw = GETpwnam(user) ){ ~~~^~~~~~~~~~~~~~~~ passwd.cc:234:9: note: place parentheses around the assignment to silence this warning if( pw = GETpwnam(user) ){ ^ ( ) passwd.cc:234:9: note: use '==' to turn this assignment into an equality comparison if( pw = GETpwnam(user) ){ ^ == passwd.cc:242:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( gr = GETgrnam(group) ) ~~~^~~~~~~~~~~~~~~~~ passwd.cc:242:9: note: place parentheses around the assignment to silence this warning if( gr = GETgrnam(group) ) ^ ( ) passwd.cc:242:9: note: use '==' to turn this assignment into an equality comparison if( gr = GETgrnam(group) ) ^ == passwd.cc:294:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = strchr(vp,':') ){ ~~~^~~~~~~~~~~~~~~~ passwd.cc:294:9: note: place parentheses around the assignment to silence this warning if( vp = strchr(vp,':') ){ ^ ( ) passwd.cc:294:9: note: use '==' to turn this assignment into an equality comparison if( vp = strchr(vp,':') ){ ^ == passwd.cc:297:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = strchr(vp,':') ){ ~~~^~~~~~~~~~~~~~~~ passwd.cc:297:9: note: place parentheses around the assignment to silence this warning if( vp = strchr(vp,':') ){ ^ ( ) passwd.cc:297:9: note: use '==' to turn this assignment into an equality comparison if( vp = strchr(vp,':') ){ ^ == passwd.cc:300:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = strchr(vp,':') ){ ~~~^~~~~~~~~~~~~~~~ passwd.cc:300:9: note: place parentheses around the assignment to silence this warning if( vp = strchr(vp,':') ){ ^ ( ) passwd.cc:300:9: note: use '==' to turn this assignment into an equality comparison if( vp = strchr(vp,':') ){ ^ == passwd.cc:303:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = strchr(vp,':') ){ ~~~^~~~~~~~~~~~~~~~ passwd.cc:303:9: note: place parentheses around the assignment to silence this warning if( vp = strchr(vp,':') ){ ^ ( ) passwd.cc:303:9: note: use '==' to turn this assignment into an equality comparison if( vp = strchr(vp,':') ){ ^ == passwd.cc:306:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = strchr(vp,':') ){ ~~~^~~~~~~~~~~~~~~~ passwd.cc:306:9: note: place parentheses around the assignment to silence this warning if( vp = strchr(vp,':') ){ ^ ( ) passwd.cc:306:9: note: use '==' to turn this assignment into an equality comparison if( vp = strchr(vp,':') ){ ^ == passwd.cc:309:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = strchr(vp,':') ){ ~~~^~~~~~~~~~~~~~~~ passwd.cc:309:9: note: place parentheses around the assignment to silence this warning if( vp = strchr(vp,':') ){ ^ ( ) passwd.cc:309:9: note: use '==' to turn this assignment into an equality comparison if( vp = strchr(vp,':') ){ ^ == passwd.cc:319:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pw = getpwuid(uid) ) ~~~^~~~~~~~~~~~~~~ passwd.cc:319:9: note: place parentheses around the assignment to silence this warning if( pw = getpwuid(uid) ) ^ ( ) passwd.cc:319:9: note: use '==' to turn this assignment into an equality comparison if( pw = getpwuid(uid) ) ^ == 18 warnings generated. ../mkcpp syslog.c syslog.cc -- mkcpp set time: 1712064651 -> 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: 1712064651 -> 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: 1712064652 -> 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] if( val = getv(MAIN_argv,name) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~ dglibs.cc:32:11: note: place parentheses around the assignment to silence this warning if( val = getv(MAIN_argv,name) ) ^ ( ) dglibs.cc:32:11: note: use '==' to turn this assignment into an equality comparison if( val = getv(MAIN_argv,name) ) ^ == 1 warning generated. ../mkcpp forkspawn.c forkspawn.cc -- mkcpp set time: 1712064652 -> 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] if( env = getenv("PATH") ) ~~~~^~~~~~~~~~~~~~~~ forkspawn.cc:480:10: note: place parentheses around the assignment to silence this warning if( env = getenv("PATH") ) ^ ( ) forkspawn.cc:480:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("PATH") ) ^ == 1 warning generated. ../mkcpp Thread.c Thread.cc -- mkcpp set time: 1712064652 -> 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] if( tid = tp->t_id ){ ~~~~^~~~~~~~~~ Thread.cc:320:11: note: place parentheses around the assignment to silence this warning if( tid = tp->t_id ){ ^ ( ) Thread.cc:320:11: note: use '==' to turn this assignment into an equality comparison if( tid = tp->t_id ){ ^ == Thread.cc:344:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tid = tp->t_id ){ ~~~~^~~~~~~~~~ Thread.cc:344:11: note: place parentheses around the assignment to silence this warning if( tid = tp->t_id ){ ^ ( ) Thread.cc:344:11: note: use '==' to turn this assignment into an equality comparison if( tid = tp->t_id ){ ^ == Thread.cc:438:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( gid = getthreadgid(tid) ){ ~~~~^~~~~~~~~~~~~~~~~~~ Thread.cc:438:10: note: place parentheses around the assignment to silence this warning if( gid = getthreadgid(tid) ){ ^ ( ) Thread.cc:438:10: note: use '==' to turn this assignment into an equality comparison if( gid = getthreadgid(tid) ){ ^ == Thread.cc:786:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tid = threads[ix].t_id ){ ~~~~^~~~~~~~~~~~~~~~~~ Thread.cc:786:11: note: place parentheses around the assignment to silence this warning if( tid = threads[ix].t_id ){ ^ ( ) Thread.cc:786:11: note: use '==' to turn this assignment into an equality comparison if( tid = threads[ix].t_id ){ ^ == Thread.cc:803:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tid = threads[ix].t_id ){ ~~~~^~~~~~~~~~~~~~~~~~ Thread.cc:803:11: note: place parentheses around the assignment to silence this warning if( tid = threads[ix].t_id ){ ^ ( ) Thread.cc:803:11: note: use '==' to turn this assignment into an equality comparison if( tid = threads[ix].t_id ){ ^ == 5 warnings generated. ../mkcpp randstack.c randstack.cc -- mkcpp set time: 1712064653 -> 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] for( ei = 0; es = environ[ei]; ei++ ); ~~~^~~~~~~~~~~~~ randstack.cc:286:18: note: place parentheses around the assignment to silence this warning for( ei = 0; es = environ[ei]; ei++ ); ^ ( ) randstack.cc:286:18: note: use '==' to turn this assignment into an equality comparison for( ei = 0; es = environ[ei]; ei++ ); ^ == randstack.cc:289:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; es = environ[ei]; ei++ ){ ~~~^~~~~~~~~~~~~ randstack.cc:289:18: note: place parentheses around the assignment to silence this warning for( ei = 0; es = environ[ei]; ei++ ){ ^ ( ) randstack.cc:289:18: note: use '==' to turn this assignment into an equality comparison for( ei = 0; es = environ[ei]; ei++ ){ ^ == 2 warnings generated. ../mkcpp rawcopy.c rawcopy.cc -- mkcpp set time: 1712064653 -> 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: 1712064653 -> 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: 1712064653 -> 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] PK->p_port = (GETPC() << 8) | GETPC(); ^ ~~~~~~~ socks5.cc:99:40: note: expanded from macro 'GETPC' #define GETPC() ((rcc <= pi)?-1:pack[pi++]) ^ socks5.cc:995:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( clport = VSA_port(&clnt) ) ~~~~~~~^~~~~~~~~~~~~~~~~ socks5.cc:995:15: note: place parentheses around the assignment to silence this warning if( clport = VSA_port(&clnt) ) ^ ( ) socks5.cc:995:15: note: use '==' to turn this assignment into an equality comparison if( clport = VSA_port(&clnt) ) ^ == socks5.cc:1018:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( viaSocks = selectSockServ(ctx,&PK,&viaSocksb) ){ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks5.cc:1018:17: note: place parentheses around the assignment to silence this warning if( viaSocks = selectSockServ(ctx,&PK,&viaSocksb) ){ ^ ( ) socks5.cc:1018:17: note: use '==' to turn this assignment into an equality comparison if( viaSocks = selectSockServ(ctx,&PK,&viaSocksb) ){ ^ == socks5.cc:1127:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bp = strrchr(bhost,':') ){ ~~~^~~~~~~~~~~~~~~~~~~~ socks5.cc:1127:9: note: place parentheses around the assignment to silence this warning if( bp = strrchr(bhost,':') ){ ^ ( ) socks5.cc:1127:9: note: use '==' to turn this assignment into an equality comparison if( bp = strrchr(bhost,':') ){ ^ == socks5.cc:1166:17: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] int idlethreads(); ^~ socks5.cc:1166:17: note: replace parentheses with an initializer to declare a variable int idlethreads(); ^~ = 0 socks5.cc:1191:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lp = strtailstr(local,ACCONN) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ socks5.cc:1191:9: note: place parentheses around the assignment to silence this warning if( lp = strtailstr(local,ACCONN) ){ ^ ( ) socks5.cc:1191:9: note: use '==' to turn this assignment into an equality comparison if( lp = strtailstr(local,ACCONN) ){ ^ == socks5.cc:1455:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( viasocks = GetViaSocks(ctx,host,port) ){ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks5.cc:1455:16: note: place parentheses around the assignment to silence this warning if( viasocks = GetViaSocks(ctx,host,port) ){ ^ ( ) socks5.cc:1455:16: note: use '==' to turn this assignment into an equality comparison if( viasocks = GetViaSocks(ctx,host,port) ){ ^ == socks5.cc:1463:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sifset = CTX_VSA_SRCIFfor(ctx,"socks-udp-tocl",&sif) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks5.cc:1463:14: note: place parentheses around the assignment to silence this warning if( sifset = CTX_VSA_SRCIFfor(ctx,"socks-udp-tocl",&sif) ){ ^ ( ) socks5.cc:1463:14: note: use '==' to turn this assignment into an equality comparison if( sifset = CTX_VSA_SRCIFfor(ctx,"socks-udp-tocl",&sif) ){ ^ == 8 warnings generated. ../mkcpp cfilib.c cfilib.cc -- mkcpp set time: 1712064654 -> 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] if( env = getenv(name) ) ~~~~^~~~~~~~~~~~~~ cfilib.cc:43:10: note: place parentheses around the assignment to silence this warning if( env = getenv(name) ) ^ ( ) cfilib.cc:43:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv(name) ) ^ == cfilib.cc:82:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("CFI_SHARED_LOCK") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ cfilib.cc:82:11: note: place parentheses around the assignment to silence this warning if( env = getenv("CFI_SHARED_LOCK") ){ ^ ( ) cfilib.cc:82:11: note: use '==' to turn this assignment into an equality comparison if( env = getenv("CFI_SHARED_LOCK") ){ ^ == cfilib.cc:83:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(env,"r+") ){ ~~~^~~~~~~~~~~~~~~~~ cfilib.cc:83:11: note: place parentheses around the assignment to silence this warning if( fp = fopen(env,"r+") ){ ^ ( ) cfilib.cc:83:11: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(env,"r+") ){ ^ == cfilib.cc:128:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("CFI_FILTER_ID") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cfilib.cc:128:10: note: place parentheses around the assignment to silence this warning if( env = getenv("CFI_FILTER_ID") ){ ^ ( ) cfilib.cc:128:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("CFI_FILTER_ID") ){ ^ == cfilib.cc:135:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("CFI_SHARED_FD") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cfilib.cc:135:10: note: place parentheses around the assignment to silence this warning if( env = getenv("CFI_SHARED_FD") ){ ^ ( ) cfilib.cc:135:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("CFI_SHARED_FD") ){ ^ == 5 warnings generated. ../mkcpp netsh.c netsh.cc -- mkcpp set time: 1712064654 -> 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] if( env = getenv("LINES") ){ ~~~~^~~~~~~~~~~~~~~~~ netsh.cc:288:10: note: place parentheses around the assignment to silence this warning if( env = getenv("LINES") ){ ^ ( ) netsh.cc:288:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("LINES") ){ ^ == netsh.cc:291:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("COLUMNS") ){ ~~~~^~~~~~~~~~~~~~~~~~~ netsh.cc:291:10: note: place parentheses around the assignment to silence this warning if( env = getenv("COLUMNS") ){ ^ ( ) netsh.cc:291:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("COLUMNS") ){ ^ == netsh.cc:409:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(dstdesc,"a") ){ ~~~^~~~~~~~~~~~~~~~~~~~ netsh.cc:409:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(dstdesc,"a") ){ ^ ( ) netsh.cc:409:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(dstdesc,"a") ){ ^ == netsh.cc:737:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rdy = PollIns(0,2,fdv,rdv) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~ netsh.cc:737:12: note: place parentheses around the assignment to silence this warning if( rdy = PollIns(0,2,fdv,rdv) ){ ^ ( ) netsh.cc:737:12: note: use '==' to turn this assignment into an equality comparison if( rdy = PollIns(0,2,fdv,rdv) ){ ^ == netsh.cc:830:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rdy = PollIns(0,2,fdv,rdv) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~ netsh.cc:830:12: note: place parentheses around the assignment to silence this warning if( rdy = PollIns(0,2,fdv,rdv) ){ ^ ( ) netsh.cc:830:12: note: use '==' to turn this assignment into an equality comparison if( rdy = PollIns(0,2,fdv,rdv) ){ ^ == netsh.cc:1402:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen("C:/DeleGate/dgpty.log","a") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ netsh.cc:1402:10: note: place parentheses around the assignment to silence this warning if( fp = fopen("C:/DeleGate/dgpty.log","a") ){ ^ ( ) netsh.cc:1402:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen("C:/DeleGate/dgpty.log","a") ){ ^ == 6 warnings generated. ../mkcpp wince.c wince.cc -- mkcpp set time: 1712064655 -> 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] int WCE_DEBUGS = flDBG(DBG_ERR); ^~~~~~~~~~~~~~ wince.cc:274:27: note: expanded from macro 'flDBG' #define flDBG(f) (1 << (f)-'A') ~~ ~~~^~~~ wince.cc:292:18: note: place parentheses around the '-' expression to silence this warning int WCE_DEBUGS = flDBG(DBG_ERR); ^~~~~~~~~~~~~~ wince.cc:274:27: note: expanded from macro 'flDBG' #define flDBG(f) (1 << (f)-'A') ~~~^~~~ wince.cc:293:26: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] int WCE_sDEBUG(){ return inDBG(DBG_SOCK); } ^~~~~~~~~~~~~~~ wince.cc:275:32: note: expanded from macro 'inDBG' #define inDBG(f) (WCE_DEBUGS & flDBG(f)) ^~~~~~~~ wince.cc:274:27: note: expanded from macro 'flDBG' #define flDBG(f) (1 << (f)-'A') ~~ ~~~^~~~ wince.cc:293:26: note: place parentheses around the '-' expression to silence this warning int WCE_sDEBUG(){ return inDBG(DBG_SOCK); } ^~~~~~~~~~~~~~~ wince.cc:275:32: note: expanded from macro 'inDBG' #define inDBG(f) (WCE_DEBUGS & flDBG(f)) ^~~~~~~~ wince.cc:274:27: note: expanded from macro 'flDBG' #define flDBG(f) (1 << (f)-'A') ~~~^~~~ 2 warnings generated. ../mkcpp winmo.c winmo.cc -- mkcpp set time: 1712064655 -> 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: 1712064655 -> 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: 1712064655 -> 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: 1712064655 -> 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: 1712064656 -> 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] if( name = ttyname(fd) ){ ~~~~~^~~~~~~~~~~~~ unix.cc:390:12: note: place parentheses around the assignment to silence this warning if( name = ttyname(fd) ){ ^ ( ) unix.cc:390:12: note: use '==' to turn this assignment into an equality comparison if( name = ttyname(fd) ){ ^ == In file included from unix.cc:734: ./windows0.c:100:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( path = tmpfiles[ti] ){ ~~~~~^~~~~~~~~~~~~~ ./windows0.c:100:15: note: place parentheses around the assignment to silence this warning if( path = tmpfiles[ti] ){ ^ ( ) ./windows0.c:100:15: note: use '==' to turn this assignment into an equality comparison if( path = tmpfiles[ti] ){ ^ == ./windows0.c:128:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( opath = tmpfiles[fd] ){ ~~~~~~^~~~~~~~~~~~~~ ./windows0.c:128:12: note: place parentheses around the assignment to silence this warning if( opath = tmpfiles[fd] ){ ^ ( ) ./windows0.c:128:12: note: use '==' to turn this assignment into an equality comparison if( opath = tmpfiles[fd] ){ ^ == ./windows0.c:144:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(path,"w+") ){ ~~~^~~~~~~~~~~~~~~~~~ ./windows0.c:144:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"w+") ){ ^ ( ) ./windows0.c:144:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"w+") ){ ^ == ./windows0.c:160:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(path,FOPEN_RWB) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~ ./windows0.c:160:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,FOPEN_RWB) ) ^ ( ) ./windows0.c:160:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,FOPEN_RWB) ) ^ == ./windows0.c:166:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fdopen(fd,FOPEN_RWB) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ ./windows0.c:166:11: note: place parentheses around the assignment to silence this warning if( fp = fdopen(fd,FOPEN_RWB) ){ ^ ( ) ./windows0.c:166:11: note: use '==' to turn this assignment into an equality comparison if( fp = fdopen(fd,FOPEN_RWB) ){ ^ == 6 warnings generated. ../mkcpp windows.c windows.cc -- mkcpp set time: 1712064656 -> 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: 1712064656 -> 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 "gmake" libx MAKE="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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/gates @pkg-builder.dan.net.uk 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/gates] creating Makefile.go cpyfile Makefile[1-0][0-2026d9] > 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][201659-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: 1712064657 -> 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 "gmake" libx MAKE="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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters @pkg-builder.dan.net.uk 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/filters] creating Makefile.go cpyfile Makefile[1-0][0-2026d9] > 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][201659-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: 1712064658 -> 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] if( p1 = strrchr(pat1,'*') ) ~~~^~~~~~~~~~~~~~~~~~~ dl.cc:124:10: note: place parentheses around the assignment to silence this warning if( p1 = strrchr(pat1,'*') ) ^ ( ) dl.cc:124:10: note: use '==' to turn this assignment into an equality comparison if( p1 = strrchr(pat1,'*') ) ^ == dl.cc:154:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ldpath = getenv(LDPATHENV) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~ dl.cc:154:13: note: place parentheses around the assignment to silence this warning if( ldpath = getenv(LDPATHENV) ){ ^ ( ) dl.cc:154:13: note: use '==' to turn this assignment into an equality comparison if( ldpath = getenv(LDPATHENV) ){ ^ == dl.cc:228:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( i = 0; pat1 = libpat[i]; i++ ){ ~~~~~^~~~~~~~~~~ dl.cc:228:20: note: place parentheses around the assignment to silence this warning for( i = 0; pat1 = libpat[i]; i++ ){ ^ ( ) dl.cc:228:20: note: use '==' to turn this assignment into an equality comparison for( i = 0; pat1 = libpat[i]; i++ ){ ^ == dl.cc:242:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pat1 = getenv(dlpathe) ){ ~~~~~^~~~~~~~~~~~~~~~~ dl.cc:242:11: note: place parentheses around the assignment to silence this warning if( pat1 = getenv(dlpathe) ){ ^ ( ) dl.cc:242:11: note: use '==' to turn this assignment into an equality comparison if( pat1 = getenv(dlpathe) ){ ^ == dl.cc:258:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( i = 0; pat1 = libpat[i]; i++ ){ ~~~~~^~~~~~~~~~~ dl.cc:258:19: note: place parentheses around the assignment to silence this warning for( i = 0; pat1 = libpat[i]; i++ ){ ^ ( ) dl.cc:258:19: note: use '==' to turn this assignment into an equality comparison for( i = 0; pat1 = libpat[i]; i++ ){ ^ == dl.cc:287:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( handle = dlopen(xpath,RTLD_NOW) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ dl.cc:287:15: note: place parentheses around the assignment to silence this warning if( handle = dlopen(xpath,RTLD_NOW) ){ ^ ( ) dl.cc:287:15: note: use '==' to turn this assignment into an equality comparison if( handle = dlopen(xpath,RTLD_NOW) ){ ^ == dl.cc:303:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( err = dlerror() ){ ~~~~^~~~~~~~~~~ dl.cc:303:12: note: place parentheses around the assignment to silence this warning if( err = dlerror() ){ ^ ( ) dl.cc:303:12: note: use '==' to turn this assignment into an equality comparison if( err = dlerror() ){ ^ == dl.cc:325:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( i = 0; name= dl[i].name; i++ ){ ~~~~^~~~~~~~~~~~ dl.cc:325:18: note: place parentheses around the assignment to silence this warning for( i = 0; name= dl[i].name; i++ ){ ^ ( ) dl.cc:325:18: note: use '==' to turn this assignment into an equality comparison for( i = 0; name= dl[i].name; i++ ){ ^ == 8 warnings generated. ../mkcpp cfi.c cfi.cc -- mkcpp set time: 1712064659 -> 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] for( np = name; ch = *np; np++ ){ ~~~^~~~~ cfi.cc:255:21: note: place parentheses around the assignment to silence this warning for( np = name; ch = *np; np++ ){ ^ ( ) cfi.cc:255:21: note: use '==' to turn this assignment into an equality comparison for( np = name; ch = *np; np++ ){ ^ == cfi.cc:269:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = spec; sc = *sp; ){ ~~~^~~~~ cfi.cc:269:21: note: place parentheses around the assignment to silence this warning for( sp = spec; sc = *sp; ){ ^ ( ) cfi.cc:269:21: note: use '==' to turn this assignment into an equality comparison for( sp = spec; sc = *sp; ){ ^ == cfi.cc:446:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = getFieldValue(spec,field,value,size) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfi.cc:446:9: note: place parentheses around the assignment to silence this warning if( vp = getFieldValue(spec,field,value,size) ) ^ ( ) cfi.cc:446:9: note: use '==' to turn this assignment into an equality comparison if( vp = getFieldValue(spec,field,value,size) ) ^ == cfi.cc:450:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = getFieldValue(spec,field,value,size) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cfi.cc:450:9: note: place parentheses around the assignment to silence this warning if( vp = getFieldValue(spec,field,value,size) ) ^ ( ) cfi.cc:450:9: note: use '==' to turn this assignment into an equality comparison if( vp = getFieldValue(spec,field,value,size) ) ^ == cfi.cc:466:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = fvalue; sc = *sp; sp++ ){ ~~~^~~~~ cfi.cc:466:23: note: place parentheses around the assignment to silence this warning for( sp = fvalue; sc = *sp; sp++ ){ ^ ( ) cfi.cc:466:23: note: use '==' to turn this assignment into an equality comparison for( sp = fvalue; sc = *sp; sp++ ){ ^ == cfi.cc:667:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( crlf = strpbrk(statline,"\r\n") ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cfi.cc:667:14: note: place parentheses around the assignment to silence this warning if( crlf = strpbrk(statline,"\r\n") ) ^ ( ) cfi.cc:667:14: note: use '==' to turn this assignment into an equality comparison if( crlf = strpbrk(statline,"\r\n") ) ^ == 6 warnings generated. ../mkcpp cafe.c cafe.cc -- mkcpp set time: 1712064659 -> 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] for( dp = dir; dc = *dp; dp++ ){ ~~~^~~~~ cafe.cc:158:21: note: place parentheses around the assignment to silence this warning for( dp = dir; dc = *dp; dp++ ){ ^ ( ) cafe.cc:158:21: note: use '==' to turn this assignment into an equality comparison for( dp = dir; dc = *dp; dp++ ){ ^ == cafe.cc:189:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(xpath,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~ cafe.cc:189:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(xpath,'/') ) ^ ( ) cafe.cc:189:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(xpath,'/') ) ^ == cafe.cc:294:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ix = 0; dev1 = ICs[ix].ic_dev; ix++ ){ ~~~~~^~~~~~~~~~~~~~~~ cafe.cc:294:20: note: place parentheses around the assignment to silence this warning for( ix = 0; dev1 = ICs[ix].ic_dev; ix++ ){ ^ ( ) cafe.cc:294:20: note: use '==' to turn this assignment into an equality comparison for( ix = 0; dev1 = ICs[ix].ic_dev; ix++ ){ ^ == cafe.cc:420:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( diff = (*i1)->i_atime - (*i2)->i_atime ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cafe.cc:420:11: note: place parentheses around the assignment to silence this warning if( diff = (*i1)->i_atime - (*i2)->i_atime ) ^ ( ) cafe.cc:420:11: note: use '==' to turn this assignment into an equality comparison if( diff = (*i1)->i_atime - (*i2)->i_atime ) ^ == cafe.cc:422:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( diff = (*i2)->i_blks - (*i1)->i_blks ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cafe.cc:422:11: note: place parentheses around the assignment to silence this warning if( diff = (*i2)->i_blks - (*i1)->i_blks ) ^ ( ) cafe.cc:422:11: note: use '==' to turn this assignment into an equality comparison if( diff = (*i2)->i_blks - (*i1)->i_blks ) ^ == cafe.cc:612:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else match = 0; ^ cafe.cc:629:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strrpbrk(file,"/") ){ ~~~^~~~~~~~~~~~~~~~~~~~ cafe.cc:629:10: note: place parentheses around the assignment to silence this warning if( np = strrpbrk(file,"/") ){ ^ ( ) cafe.cc:629:10: note: use '==' to turn this assignment into an equality comparison if( np = strrpbrk(file,"/") ){ ^ == 7 warnings generated. ../mkcpp backup.c backup.cc -- mkcpp set time: 1712064660 -> 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] if( sfp = fopen(src,"r") ){ ~~~~^~~~~~~~~~~~~~~~ backup.cc:99:11: note: place parentheses around the assignment to silence this warning if( sfp = fopen(src,"r") ){ ^ ( ) backup.cc:99:11: note: use '==' to turn this assignment into an equality comparison if( sfp = fopen(src,"r") ){ ^ == backup.cc:134:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strpbrk(src1,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ backup.cc:134:10: note: place parentheses around the assignment to silence this warning if( sp = strpbrk(src1,"\r\n") ) ^ ( ) backup.cc:134:10: note: use '==' to turn this assignment into an equality comparison if( sp = strpbrk(src1,"\r\n") ) ^ == 2 warnings generated. ../mkcpp dping.c dping.cc -- mkcpp set time: 1712064660 -> 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] for( oi = 0; oc = outstr[oi]; oi++ ){ ~~~^~~~~~~~~~~~ dping.cc:28:18: note: place parentheses around the assignment to silence this warning for( oi = 0; oc = outstr[oi]; oi++ ){ ^ ( ) dping.cc:28:18: note: use '==' to turn this assignment into an equality comparison for( oi = 0; oc = outstr[oi]; oi++ ){ ^ == 1 warning generated. ../mkcpp swft.c swft.cc -- mkcpp set time: 1712064660 -> 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] if( rp = swf->s_path_base ){ ~~~^~~~~~~~~~~~~~~~~~ swft.cc:109:10: note: place parentheses around the assignment to silence this warning if( rp = swf->s_path_base ){ ^ ( ) swft.cc:109:10: note: use '==' to turn this assignment into an equality comparison if( rp = swf->s_path_base ){ ^ == 1 warning generated. ../mkcpp pdft.c pdft.cc -- mkcpp set time: 1712064661 -> 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] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ pdft.cc:507:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) pdft.cc:507:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == pdft.cc:603:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ) ~~~^~~~~ pdft.cc:603:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ) ^ ( ) pdft.cc:603:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ) ^ == pdft.cc:792:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strstr(line,"/P ") ){ ~~~^~~~~~~~~~~~~~~~~~~~ pdft.cc:792:10: note: place parentheses around the assignment to silence this warning if( sp = strstr(line,"/P ") ){ ^ ( ) pdft.cc:792:10: note: use '==' to turn this assignment into an equality comparison if( sp = strstr(line,"/P ") ){ ^ == pdft.cc:794:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strstr(line,"/ID[<") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ pdft.cc:794:10: note: place parentheses around the assignment to silence this warning if( sp = strstr(line,"/ID[<") ){ ^ ( ) pdft.cc:794:10: note: use '==' to turn this assignment into an equality comparison if( sp = strstr(line,"/ID[<") ){ ^ == pdft.cc:814:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strstr(pdf->p_objsrc,"/O") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:814:9: note: place parentheses around the assignment to silence this warning if( sp = strstr(pdf->p_objsrc,"/O") ){ ^ ( ) pdft.cc:814:9: note: use '==' to turn this assignment into an equality comparison if( sp = strstr(pdf->p_objsrc,"/O") ){ ^ == pdft.cc:821:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strstr(pdf->p_objsrc,"/U") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:821:9: note: place parentheses around the assignment to silence this warning if( sp = strstr(pdf->p_objsrc,"/U") ){ ^ ( ) pdft.cc:821:9: note: use '==' to turn this assignment into an equality comparison if( sp = strstr(pdf->p_objsrc,"/U") ){ ^ == pdft.cc:827:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strstr(pdf->p_objsrc,"/V") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:827:9: note: place parentheses around the assignment to silence this warning if( sp = strstr(pdf->p_objsrc,"/V") ){ ^ ( ) pdft.cc:827:9: note: use '==' to turn this assignment into an equality comparison if( sp = strstr(pdf->p_objsrc,"/V") ){ ^ == pdft.cc:830:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strstr(pdf->p_objsrc,"/R") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:830:9: note: place parentheses around the assignment to silence this warning if( sp = strstr(pdf->p_objsrc,"/R") ){ ^ ( ) pdft.cc:830:9: note: use '==' to turn this assignment into an equality comparison if( sp = strstr(pdf->p_objsrc,"/R") ){ ^ == pdft.cc:833:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strstr(pdf->p_objsrc,"/P") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:833:9: note: place parentheses around the assignment to silence this warning if( sp = strstr(pdf->p_objsrc,"/P") ){ ^ ( ) pdft.cc:833:9: note: use '==' to turn this assignment into an equality comparison if( sp = strstr(pdf->p_objsrc,"/P") ){ ^ == pdft.cc:836:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strstr(pdf->p_objsrc,"/Length") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:836:9: note: place parentheses around the assignment to silence this warning if( sp = strstr(pdf->p_objsrc,"/Length") ){ ^ ( ) pdft.cc:836:9: note: use '==' to turn this assignment into an equality comparison if( sp = strstr(pdf->p_objsrc,"/Length") ){ ^ == pdft.cc:1042:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strstr(token,"/FlateDecode") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:1042:10: note: place parentheses around the assignment to silence this warning if( sp = strstr(token,"/FlateDecode") ){ ^ ( ) pdft.cc:1042:10: note: use '==' to turn this assignment into an equality comparison if( sp = strstr(token,"/FlateDecode") ){ ^ == pdft.cc:1088:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strstr(token,"stream") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ pdft.cc:1088:10: note: place parentheses around the assignment to silence this warning if( sp = strstr(token,"stream") ){ ^ ( ) pdft.cc:1088:10: note: use '==' to turn this assignment into an equality comparison if( sp = strstr(token,"stream") ){ ^ == 12 warnings generated. ./mkstab < sslway.c > sslway_dl.c ../mkcpp sslway_dl.c sslway_dl.cc -- mkcpp set time: 1712064661 -> 1712064661 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] if( op = strstr(val,"wait") ){ ~~~^~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:680:10: note: place parentheses around the assignment to silence this warning if( op = strstr(val,"wait") ){ ^ ( ) sslway_dl.cc:680:10: note: use '==' to turn this assignment into an equality comparison if( op = strstr(val,"wait") ){ ^ == sslway_dl.cc:851:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("CFI_IDENT") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:851:10: note: place parentheses around the assignment to silence this warning if( env = getenv("CFI_IDENT") ){ ^ ( ) sslway_dl.cc:851:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("CFI_IDENT") ){ ^ == sslway_dl.cc:854:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fdopen(dup(fd),"w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:854:11: note: place parentheses around the assignment to silence this warning if( fp = fdopen(dup(fd),"w") ){ ^ ( ) sslway_dl.cc:854:11: note: use '==' to turn this assignment into an equality comparison if( fp = fdopen(dup(fd),"w") ){ ^ == sslway_dl.cc:873:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( peer = SSL_get_peer_certificate(ssl) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:873:11: note: place parentheses around the assignment to silence this warning if( peer = SSL_get_peer_certificate(ssl) ){ ^ ( ) sslway_dl.cc:873:11: note: use '==' to turn this assignment into an equality comparison if( peer = SSL_get_peer_certificate(ssl) ){ ^ == sslway_dl.cc:883:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = (char*)strcasestr(sb,"/emailAddress=") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:883:10: note: place parentheses around the assignment to silence this warning if( dp = (char*)strcasestr(sb,"/emailAddress=") ) ^ ( ) sslway_dl.cc:883:10: note: use '==' to turn this assignment into an equality comparison if( dp = (char*)strcasestr(sb,"/emailAddress=") ) ^ == sslway_dl.cc:886:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = (char*)strcasestr(sb,"/email=") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:886:10: note: place parentheses around the assignment to silence this warning if( dp = (char*)strcasestr(sb,"/email=") ) ^ ( ) sslway_dl.cc:886:10: note: use '==' to turn this assignment into an equality comparison if( dp = (char*)strcasestr(sb,"/email=") ) ^ == sslway_dl.cc:913:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( code = ERR_get_error() ){ ~~~~~^~~~~~~~~~~~~~~~~ sslway_dl.cc:913:15: note: place parentheses around the assignment to silence this warning while( code = ERR_get_error() ){ ^ ( ) sslway_dl.cc:913:15: note: use '==' to turn this assignment into an equality comparison while( code = ERR_get_error() ){ ^ == sslway_dl.cc:934:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sc = SSL_get_current_cipher(ssl) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:934:9: note: place parentheses around the assignment to silence this warning if( sc = SSL_get_current_cipher(ssl) ){ ^ ( ) sslway_dl.cc:934:9: note: use '==' to turn this assignment into an equality comparison if( sc = SSL_get_current_cipher(ssl) ){ ^ == sslway_dl.cc:935:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( descp = SSL_CIPHER_description(sc,desc,sizeof(desc)) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:935:13: note: place parentheses around the assignment to silence this warning if( descp = SSL_CIPHER_description(sc,desc,sizeof(desc)) ){ ^ ( ) sslway_dl.cc:935:13: note: use '==' to turn this assignment into an equality comparison if( descp = SSL_CIPHER_description(sc,desc,sizeof(desc)) ){ ^ == sslway_dl.cc:1018:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strtailstr(xpath,".pem") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1018:10: note: place parentheses around the assignment to silence this warning if( dp = strtailstr(xpath,".pem") ){ ^ ( ) sslway_dl.cc:1018:10: note: use '==' to turn this assignment into an equality comparison if( dp = strtailstr(xpath,".pem") ){ ^ == sslway_dl.cc:1184:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sslver = serv ? cl_sslver : sv_sslver ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1184:13: note: place parentheses around the assignment to silence this warning if( sslver = serv ? cl_sslver : sv_sslver ){ ^ ( ) sslway_dl.cc:1184:13: note: use '==' to turn this assignment into an equality comparison if( sslver = serv ? cl_sslver : sv_sslver ){ ^ == sslway_dl.cc:1219:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sslnover = serv ? cl_sslnover : sv_sslnover ){ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1219:15: note: place parentheses around the assignment to silence this warning if( sslnover = serv ? cl_sslnover : sv_sslnover ){ ^ ( ) sslway_dl.cc:1219:15: note: use '==' to turn this assignment into an equality comparison if( sslnover = serv ? cl_sslnover : sv_sslnover ){ ^ == sslway_dl.cc:1237:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrpbrk(passfile,"/\\") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1237:10: note: place parentheses around the assignment to silence this warning if( dp = strrpbrk(passfile,"/\\") ) ^ ( ) sslway_dl.cc:1237:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrpbrk(passfile,"/\\") ) ^ == sslway_dl.cc:1256:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1256:9: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"\r\n") ) ^ ( ) sslway_dl.cc:1256:9: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"\r\n") ) ^ == sslway_dl.cc:1290:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("REMOTE_ADDR") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1290:10: note: place parentheses around the assignment to silence this warning if( env = getenv("REMOTE_ADDR") ){ ^ ( ) sslway_dl.cc:1290:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("REMOTE_ADDR") ){ ^ == sslway_dl.cc:1293:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("SERVER_ADDR") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1293:10: note: place parentheses around the assignment to silence this warning if( env = getenv("SERVER_ADDR") ){ ^ ( ) sslway_dl.cc:1293:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("SERVER_ADDR") ){ ^ == sslway_dl.cc:1333:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cert = SSL_get_certificate(ssl) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1333:11: note: place parentheses around the assignment to silence this warning if( cert = SSL_get_certificate(ssl) ){ ^ ( ) sslway_dl.cc:1333:11: note: use '==' to turn this assignment into an equality comparison if( cert = SSL_get_certificate(ssl) ){ ^ == sslway_dl.cc:1405:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(fid,'\n') ) ~~~^~~~~~~~~~~~~~~~~~ sslway_dl.cc:1405:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(fid,'\n') ) ^ ( ) sslway_dl.cc:1405:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(fid,'\n') ) ^ == sslway_dl.cc:1636:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lkfp = CFI_LockFp() ){ ~~~~~^~~~~~~~~~~~~~ sslway_dl.cc:1636:11: note: place parentheses around the assignment to silence this warning if( lkfp = CFI_LockFp() ){ ^ ( ) sslway_dl.cc:1636:11: note: use '==' to turn this assignment into an equality comparison if( lkfp = CFI_LockFp() ){ ^ == sslway_dl.cc:1811:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lkfp = CFI_LockFp() ){ ~~~~~^~~~~~~~~~~~~~ sslway_dl.cc:1811:11: note: place parentheses around the assignment to silence this warning if( lkfp = CFI_LockFp() ){ ^ ( ) sslway_dl.cc:1811:11: note: use '==' to turn this assignment into an equality comparison if( lkfp = CFI_LockFp() ){ ^ == sslway_dl.cc:1814:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = CFI_fopenShared("r+") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1814:10: note: place parentheses around the assignment to silence this warning if( fp = CFI_fopenShared("r+") ){ ^ ( ) sslway_dl.cc:1814:10: note: use '==' to turn this assignment into an equality comparison if( fp = CFI_fopenShared("r+") ){ ^ == sslway_dl.cc:1865:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( yp = strrchr(ykeyfile,'.') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1865:10: note: place parentheses around the assignment to silence this warning if( yp = strrchr(ykeyfile,'.') ){ ^ ( ) sslway_dl.cc:1865:10: note: use '==' to turn this assignment into an equality comparison if( yp = strrchr(ykeyfile,'.') ){ ^ == sslway_dl.cc:1872:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(keyfile,'.') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:1872:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(keyfile,'.') ){ ^ ( ) sslway_dl.cc:1872:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(keyfile,'.') ){ ^ == sslway_dl.cc:2128:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Bp = BIO_new_file(path,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2128:10: note: place parentheses around the assignment to silence this warning if( Bp = BIO_new_file(path,"r") ){ ^ ( ) sslway_dl.cc:2128:10: note: use '==' to turn this assignment into an equality comparison if( Bp = BIO_new_file(path,"r") ){ ^ == sslway_dl.cc:2129:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dh = PEM_read_bio_DHparams(Bp,NULL,NULL,NULL) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2129:11: note: place parentheses around the assignment to silence this warning if( dh = PEM_read_bio_DHparams(Bp,NULL,NULL,NULL) ){ ^ ( ) sslway_dl.cc:2129:11: note: use '==' to turn this assignment into an equality comparison if( dh = PEM_read_bio_DHparams(Bp,NULL,NULL,NULL) ){ ^ == sslway_dl.cc:2562:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(buf,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2562:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(buf,"\r\n") ) ^ ( ) sslway_dl.cc:2562:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(buf,"\r\n") ) ^ == sslway_dl.cc:2681:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(buf,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:2681:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(buf,"\r\n") ) ^ ( ) sslway_dl.cc:2681:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(buf,"\r\n") ) ^ == sslway_dl.cc:3060:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("CFI_FILTER_ID") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3060:10: note: place parentheses around the assignment to silence this warning if( env = getenv("CFI_FILTER_ID") ) ^ ( ) sslway_dl.cc:3060:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("CFI_FILTER_ID") ) ^ == sslway_dl.cc:3069:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("CFI_TYPE") ){ ~~~~^~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3069:10: note: place parentheses around the assignment to silence this warning if( env = getenv("CFI_TYPE") ){ ^ ( ) sslway_dl.cc:3069:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("CFI_TYPE") ){ ^ == sslway_dl.cc:3079:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("CFI_STAT") ){ ~~~~^~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3079:10: note: place parentheses around the assignment to silence this warning if( env = getenv("CFI_STAT") ){ ^ ( ) sslway_dl.cc:3079:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("CFI_STAT") ){ ^ == sslway_dl.cc:3086:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("CFI_SYNC") ){ ~~~~^~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3086:10: note: place parentheses around the assignment to silence this warning if( env = getenv("CFI_SYNC") ){ ^ ( ) sslway_dl.cc:3086:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("CFI_SYNC") ){ ^ == sslway_dl.cc:3093:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = GetEnv("SSL_KEY_PASSWD") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3093:10: note: place parentheses around the assignment to silence this warning if( env = GetEnv("SSL_KEY_PASSWD") ) ^ ( ) sslway_dl.cc:3093:10: note: use '==' to turn this assignment into an equality comparison if( env = GetEnv("SSL_KEY_PASSWD") ) ^ == sslway_dl.cc:3095:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = GetEnv("SSL_CLIENT_KEY_PASSWD") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3095:10: note: place parentheses around the assignment to silence this warning if( env = GetEnv("SSL_CLIENT_KEY_PASSWD") ) ^ ( ) sslway_dl.cc:3095:10: note: use '==' to turn this assignment into an equality comparison if( env = GetEnv("SSL_CLIENT_KEY_PASSWD") ) ^ == sslway_dl.cc:3097:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = GetEnv("SSL_SERVER_KEY_PASSWD") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3097:10: note: place parentheses around the assignment to silence this warning if( env = GetEnv("SSL_SERVER_KEY_PASSWD") ) ^ ( ) sslway_dl.cc:3097:10: note: use '==' to turn this assignment into an equality comparison if( env = GetEnv("SSL_SERVER_KEY_PASSWD") ) ^ == sslway_dl.cc:3114:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = GetEnv("SSL_CIPHER") ) cipher_list = env; ~~~~^~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3114:10: note: place parentheses around the assignment to silence this warning if( env = GetEnv("SSL_CIPHER") ) cipher_list = env; ^ ( ) sslway_dl.cc:3114:10: note: use '==' to turn this assignment into an equality comparison if( env = GetEnv("SSL_CIPHER") ) cipher_list = env; ^ == sslway_dl.cc:3116:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = GetEnv("SSL_CERT_FILE") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3116:10: note: place parentheses around the assignment to silence this warning if( env = GetEnv("SSL_CERT_FILE") ) ^ ( ) sslway_dl.cc:3116:10: note: use '==' to turn this assignment into an equality comparison if( env = GetEnv("SSL_CERT_FILE") ) ^ == sslway_dl.cc:3119:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = GetEnv("SSL_SERVER_KEY_FILE" ) ) sv_key = env; ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3119:10: note: place parentheses around the assignment to silence this warning if( env = GetEnv("SSL_SERVER_KEY_FILE" ) ) sv_key = env; ^ ( ) sslway_dl.cc:3119:10: note: use '==' to turn this assignment into an equality comparison if( env = GetEnv("SSL_SERVER_KEY_FILE" ) ) sv_key = env; ^ == sslway_dl.cc:3120:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = GetEnv("SSL_SERVER_CERT_FILE") ) sv_cert = env; ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3120:10: note: place parentheses around the assignment to silence this warning if( env = GetEnv("SSL_SERVER_CERT_FILE") ) sv_cert = env; ^ ( ) sslway_dl.cc:3120:10: note: use '==' to turn this assignment into an equality comparison if( env = GetEnv("SSL_SERVER_CERT_FILE") ) sv_cert = env; ^ == sslway_dl.cc:3122:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = GetEnv("SSL_CLIENT_KEY_FILE" ) ) cl_key = env; ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3122:10: note: place parentheses around the assignment to silence this warning if( env = GetEnv("SSL_CLIENT_KEY_FILE" ) ) cl_key = env; ^ ( ) sslway_dl.cc:3122:10: note: use '==' to turn this assignment into an equality comparison if( env = GetEnv("SSL_CLIENT_KEY_FILE" ) ) cl_key = env; ^ == sslway_dl.cc:3123:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = GetEnv("SSL_CLIENT_CERT_FILE") ) cl_cert = env; ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sslway_dl.cc:3123:10: note: place parentheses around the assignment to silence this warning if( env = GetEnv("SSL_CLIENT_CERT_FILE") ) cl_cert = env; ^ ( ) sslway_dl.cc:3123:10: note: use '==' to turn this assignment into an equality comparison if( env = GetEnv("SSL_CLIENT_CERT_FILE") ) cl_cert = env; ^ == sslway_dl.cc:3299:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( do_acc = do_accSSL ){ ~~~~~~~^~~~~~~~~~~ sslway_dl.cc:3299:13: note: place parentheses around the assignment to silence this warning if( do_acc = do_accSSL ){ ^ ( ) sslway_dl.cc:3299:13: note: use '==' to turn this assignment into an equality comparison if( do_acc = do_accSSL ){ ^ == sslway_dl.cc:3303:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( do_con = do_conSSL ){ ~~~~~~~^~~~~~~~~~~ sslway_dl.cc:3303:13: note: place parentheses around the assignment to silence this warning if( do_con = do_conSSL ){ ^ ( ) sslway_dl.cc:3303:13: note: use '==' to turn this assignment into an equality comparison if( do_con = do_conSSL ){ ^ == sslway_dl.cc:3642:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ok = sslway_dl0() ){ ~~~^~~~~~~~~~~~~~ sslway_dl.cc:3642:9: note: place parentheses around the assignment to silence this warning if( ok = sslway_dl0() ){ ^ ( ) sslway_dl.cc:3642:9: note: use '==' to turn this assignment into an equality comparison if( ok = sslway_dl0() ){ ^ == 43 warnings generated. ./mkstab < gzip.c > gzip_dl.c ../mkcpp gzip_dl.c gzip_dl.cc -- mkcpp set time: 1712064663 -> 1712064663 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] if( sock = SocketOf(fd) ){ ~~~~~^~~~~~~~~~~~~~ gzip_dl.cc:253:11: note: place parentheses around the assignment to silence this warning if( sock = SocketOf(fd) ){ ^ ( ) gzip_dl.cc:253:11: note: use '==' to turn this assignment into an equality comparison if( sock = SocketOf(fd) ){ ^ == gzip_dl.cc:451:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( _gzfuncs = (GZFUNCS)mydlsym("gzfuncs") ){ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gzip_dl.cc:451:16: note: place parentheses around the assignment to silence this warning if( _gzfuncs = (GZFUNCS)mydlsym("gzfuncs") ){ ^ ( ) gzip_dl.cc:451:16: note: use '==' to turn this assignment into an equality comparison if( _gzfuncs = (GZFUNCS)mydlsym("gzfuncs") ){ ^ == gzip_dl.cc:961:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ready = inputReady(fd,&rd) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~ gzip_dl.cc:961:14: note: place parentheses around the assignment to silence this warning if( ready = inputReady(fd,&rd) ){ ^ ( ) gzip_dl.cc:961:14: note: use '==' to turn this assignment into an equality comparison if( ready = inputReady(fd,&rd) ){ ^ == gzip_dl.cc:965:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ 4 warnings generated. ./mkstab < regex.c > regex_dl.c ../mkcpp regex_dl.c regex_dl.cc -- mkcpp set time: 1712064663 -> 1712064663 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: 1712064663 -> 1712064663 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 "gmake" libx MAKE="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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/fsx @pkg-builder.dan.net.uk 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/fsx] creating Makefile.go cpyfile Makefile[1-0][0-2026d9] > 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][201659-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: 1712064664 -> 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] for( xi = 0; cext = types[xi].ext; xi++ ){ ~~~~~^~~~~~~~~~~~~~~ any2fdif.cc:345:20: note: place parentheses around the assignment to silence this warning for( xi = 0; cext = types[xi].ext; xi++ ){ ^ ( ) any2fdif.cc:345:20: note: use '==' to turn this assignment into an equality comparison for( xi = 0; cext = types[xi].ext; xi++ ){ ^ == any2fdif.cc:374:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( xi = 0; cext = types[xi].ext; xi++ ){ ~~~~~^~~~~~~~~~~~~~~ any2fdif.cc:374:20: note: place parentheses around the assignment to silence this warning for( xi = 0; cext = types[xi].ext; xi++ ){ ^ ( ) any2fdif.cc:374:20: note: use '==' to turn this assignment into an equality comparison for( xi = 0; cext = types[xi].ext; xi++ ){ ^ == any2fdif.cc:392:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strtailstr(url,"/@") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:392:9: note: place parentheses around the assignment to silence this warning if( cp = strtailstr(url,"/@") ){ ^ ( ) any2fdif.cc:392:9: note: use '==' to turn this assignment into an equality comparison if( cp = strtailstr(url,"/@") ){ ^ == any2fdif.cc:396:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strtailstr(url,"/=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:396:9: note: place parentheses around the assignment to silence this warning if( cp = strtailstr(url,"/=") ){ ^ ( ) any2fdif.cc:396:9: note: use '==' to turn this assignment into an equality comparison if( cp = strtailstr(url,"/=") ){ ^ == any2fdif.cc:400:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( qp = strchr(url,'?') ) ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:400:9: note: place parentheses around the assignment to silence this warning if( qp = strchr(url,'?') ) ^ ( ) any2fdif.cc:400:9: note: use '==' to turn this assignment into an equality comparison if( qp = strchr(url,'?') ) ^ == any2fdif.cc:407:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(url,'/') ){ ~~~^~~~~~~~~~~~~~~~~~ any2fdif.cc:407:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(url,'/') ){ ^ ( ) any2fdif.cc:407:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(url,'/') ){ ^ == any2fdif.cc:408:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(dp+1,'.') ) ~~~^~~~~~~~~~~~~~~~~~~ any2fdif.cc:408:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(dp+1,'.') ) ^ ( ) any2fdif.cc:408:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(dp+1,'.') ) ^ == any2fdif.cc:417:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( xi = 0; cext = types[xi].ext; xi++ ){ ~~~~~^~~~~~~~~~~~~~~ any2fdif.cc:417:20: note: place parentheses around the assignment to silence this warning for( xi = 0; cext = types[xi].ext; xi++ ){ ^ ( ) any2fdif.cc:417:20: note: use '==' to turn this assignment into an equality comparison for( xi = 0; cext = types[xi].ext; xi++ ){ ^ == any2fdif.cc:542:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( xi = 0; cext = types[xi].ext; xi++ ){ ~~~~~^~~~~~~~~~~~~~~ any2fdif.cc:542:20: note: place parentheses around the assignment to silence this warning for( xi = 0; cext = types[xi].ext; xi++ ){ ^ ( ) any2fdif.cc:542:20: note: use '==' to turn this assignment into an equality comparison for( xi = 0; cext = types[xi].ext; xi++ ){ ^ == any2fdif.cc:548:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( xi = 0; cext = types[xi].ext; xi++ ){ ~~~~~^~~~~~~~~~~~~~~ any2fdif.cc:548:20: note: place parentheses around the assignment to silence this warning for( xi = 0; cext = types[xi].ext; xi++ ){ ^ ( ) any2fdif.cc:548:20: note: use '==' to turn this assignment into an equality comparison for( xi = 0; cext = types[xi].ext; xi++ ){ ^ == any2fdif.cc:549:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cnt = types[xi].cnt ){ ~~~~^~~~~~~~~~~~~~~ any2fdif.cc:549:11: note: place parentheses around the assignment to silence this warning if( cnt = types[xi].cnt ){ ^ ( ) any2fdif.cc:549:11: note: use '==' to turn this assignment into an equality comparison if( cnt = types[xi].cnt ){ ^ == any2fdif.cc:833:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ref = Urls[i].u_referer ){ ~~~~^~~~~~~~~~~~~~~~~~~ any2fdif.cc:833:12: note: place parentheses around the assignment to silence this warning if( ref = Urls[i].u_referer ){ ^ ( ) any2fdif.cc:833:12: note: use '==' to turn this assignment into an equality comparison if( ref = Urls[i].u_referer ){ ^ == any2fdif.cc:854:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(login,':') ){ ~~~^~~~~~~~~~~~~~~~~~~~ any2fdif.cc:854:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(login,':') ){ ^ ( ) any2fdif.cc:854:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(login,':') ){ ^ == any2fdif.cc:858:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(upath,'#') ) ~~~^~~~~~~~~~~~~~~~~~~ any2fdif.cc:858:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(upath,'#') ) ^ ( ) any2fdif.cc:858:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(upath,'#') ) ^ == any2fdif.cc:932:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( up = strrchr(upath,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~ any2fdif.cc:932:9: note: place parentheses around the assignment to silence this warning if( up = strrchr(upath,'/') ) ^ ( ) any2fdif.cc:932:9: note: use '==' to turn this assignment into an equality comparison if( up = strrchr(upath,'/') ) ^ == any2fdif.cc:954:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(basedir,"//") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:954:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(basedir,"//") ){ ^ ( ) any2fdif.cc:954:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(basedir,"//") ){ ^ == any2fdif.cc:957:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strpbrk(dp,"?") ) ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:957:10: note: place parentheses around the assignment to silence this warning if( tp = strpbrk(dp,"?") ) ^ ( ) any2fdif.cc:957:10: note: use '==' to turn this assignment into an equality comparison if( tp = strpbrk(dp,"?") ) ^ == any2fdif.cc:959:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strchr(dp,'/') ) ~~~^~~~~~~~~~~~~~~~ any2fdif.cc:959:10: note: place parentheses around the assignment to silence this warning if( tp = strchr(dp,'/') ) ^ ( ) any2fdif.cc:959:10: note: use '==' to turn this assignment into an equality comparison if( tp = strchr(dp,'/') ) ^ == any2fdif.cc:962:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strrchr(dp,'/') ) ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:962:10: note: place parentheses around the assignment to silence this warning if( tp = strrchr(dp,'/') ) ^ ( ) any2fdif.cc:962:10: note: use '==' to turn this assignment into an equality comparison if( tp = strrchr(dp,'/') ) ^ == any2fdif.cc:986:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lp = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:986:10: note: place parentheses around the assignment to silence this warning if( lp = strpbrk(line,"\r\n") ) ^ ( ) any2fdif.cc:986:10: note: use '==' to turn this assignment into an equality comparison if( lp = strpbrk(line,"\r\n") ) ^ == any2fdif.cc:1121:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(url,'#') ) ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:1121:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(url,'#') ) ^ ( ) any2fdif.cc:1121:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(url,'#') ) ^ == any2fdif.cc:1279:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(url,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:1279:12: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(url,"\r\n") ) ^ ( ) any2fdif.cc:1279:12: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(url,"\r\n") ) ^ == any2fdif.cc:1297:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(url,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:1297:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(url,"\r\n") ) ^ ( ) any2fdif.cc:1297:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(url,"\r\n") ) ^ == any2fdif.cc:1481:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("FSXHOME") ){ ~~~~^~~~~~~~~~~~~~~~~~~ any2fdif.cc:1481:12: note: place parentheses around the assignment to silence this warning if( env = getenv("FSXHOME") ){ ^ ( ) any2fdif.cc:1481:12: note: use '==' to turn this assignment into an equality comparison if( env = getenv("FSXHOME") ){ ^ == any2fdif.cc:1500:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(outdir,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:1500:11: note: place parentheses around the assignment to silence this warning if( dp = strrchr(outdir,'/') ){ ^ ( ) any2fdif.cc:1500:11: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(outdir,'/') ){ ^ == any2fdif.cc:1666:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ocode = get_CHARCODE(0) ){ ~~~~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:1666:12: note: place parentheses around the assignment to silence this warning if( ocode = get_CHARCODE(0) ){ ^ ( ) any2fdif.cc:1666:12: note: use '==' to turn this assignment into an equality comparison if( ocode = get_CHARCODE(0) ){ ^ == any2fdif.cc:1692:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(execpath,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:1692:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(execpath,'/') ){ ^ ( ) any2fdif.cc:1692:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(execpath,'/') ){ ^ == any2fdif.cc:1698:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(rx,'/') ) ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:1698:11: note: place parentheses around the assignment to silence this warning if( dp = strrchr(rx,'/') ) ^ ( ) any2fdif.cc:1698:11: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(rx,'/') ) ^ == any2fdif.cc:1759:28: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] struct sed_env *sed_new(); ^~ any2fdif.cc:1759:28: note: replace parentheses with an initializer to declare a variable struct sed_env *sed_new(); ^~ = NULL any2fdif.cc:2012:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = src; ch = *sp; sp++ ){ ~~~^~~~~ any2fdif.cc:2012:20: note: place parentheses around the assignment to silence this warning for( sp = src; ch = *sp; sp++ ){ ^ ( ) any2fdif.cc:2012:20: note: use '==' to turn this assignment into an equality comparison for( sp = src; ch = *sp; sp++ ){ ^ == any2fdif.cc:2111:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( lp = line; ch = *lp; lp++ ){ ~~~^~~~~ any2fdif.cc:2111:21: note: place parentheses around the assignment to silence this warning for( lp = line; ch = *lp; lp++ ){ ^ ( ) any2fdif.cc:2111:21: note: use '==' to turn this assignment into an equality comparison for( lp = line; ch = *lp; lp++ ){ ^ == any2fdif.cc:2148:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(line,':') ) ~~~^~~~~~~~~~~~~~~~~~ any2fdif.cc:2148:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(line,':') ) ^ ( ) any2fdif.cc:2148:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(line,':') ) ^ == any2fdif.cc:2149:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(dp+1,'(') ) ~~~^~~~~~~~~~~~~~~~~~ any2fdif.cc:2149:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(dp+1,'(') ) ^ ( ) any2fdif.cc:2149:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(dp+1,'(') ) ^ == any2fdif.cc:2150:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(dp+1,')') ) ~~~^~~~~~~~~~~~~~~~~~ any2fdif.cc:2150:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(dp+1,')') ) ^ ( ) any2fdif.cc:2150:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(dp+1,')') ) ^ == any2fdif.cc:2163:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( dp = line; ch = *dp; dp++ ){ ~~~^~~~~ any2fdif.cc:2163:21: note: place parentheses around the assignment to silence this warning for( dp = line; ch = *dp; dp++ ){ ^ ( ) any2fdif.cc:2163:21: note: use '==' to turn this assignment into an equality comparison for( dp = line; ch = *dp; dp++ ){ ^ == any2fdif.cc:2195:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ip = inb; ch = *ip; ip++ ){ ~~~^~~~~ any2fdif.cc:2195:21: note: place parentheses around the assignment to silence this warning for( ip = inb; ch = *ip; ip++ ){ ^ ( ) any2fdif.cc:2195:21: note: use '==' to turn this assignment into an equality comparison for( ip = inb; ch = *ip; ip++ ){ ^ == any2fdif.cc:2199:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ any2fdif.cc:2221:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ip = inb; ch = *ip; ip++ ){ ~~~^~~~~ any2fdif.cc:2221:22: note: place parentheses around the assignment to silence this warning for( ip = inb; ch = *ip; ip++ ){ ^ ( ) any2fdif.cc:2221:22: note: use '==' to turn this assignment into an equality comparison for( ip = inb; ch = *ip; ip++ ){ ^ == any2fdif.cc:2241:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( issp = isspace(ch) ) ~~~~~^~~~~~~~~~~~~ any2fdif.cc:2241:14: note: place parentheses around the assignment to silence this warning if( issp = isspace(ch) ) ^ ( ) any2fdif.cc:2241:14: note: use '==' to turn this assignment into an equality comparison if( issp = isspace(ch) ) ^ == any2fdif.cc:2405:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( nb = 0; rcc = fread(inb,1,sizeof(inb)-1,in); nb++ ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2405:19: note: place parentheses around the assignment to silence this warning for( nb = 0; rcc = fread(inb,1,sizeof(inb)-1,in); nb++ ){ ^ ( ) any2fdif.cc:2405:19: note: use '==' to turn this assignment into an equality comparison for( nb = 0; rcc = fread(inb,1,sizeof(inb)-1,in); nb++ ){ ^ == any2fdif.cc:2474:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrpbrk(path,"/\\") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2474:9: note: place parentheses around the assignment to silence this warning if( dp = strrpbrk(path,"/\\") ) ^ ( ) any2fdif.cc:2474:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrpbrk(path,"/\\") ) ^ == any2fdif.cc:2516:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrpbrk(xpath,"/\\") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2516:10: note: place parentheses around the assignment to silence this warning if( dp = strrpbrk(xpath,"/\\") ){ ^ ( ) any2fdif.cc:2516:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrpbrk(xpath,"/\\") ){ ^ == any2fdif.cc:2738:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strchr(fval,';') ) ~~~^~~~~~~~~~~~~~~~~~ any2fdif.cc:2738:12: note: place parentheses around the assignment to silence this warning if( sp = strchr(fval,';') ) ^ ( ) any2fdif.cc:2738:12: note: use '==' to turn this assignment into an equality comparison if( sp = strchr(fval,';') ) ^ == any2fdif.cc:2818:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ecode = scanText(in,Tmp0,AVStr(charset),apath) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2818:13: note: place parentheses around the assignment to silence this warning if( ecode = scanText(in,Tmp0,AVStr(charset),apath) ) ^ ( ) any2fdif.cc:2818:13: note: use '==' to turn this assignment into an equality comparison if( ecode = scanText(in,Tmp0,AVStr(charset),apath) ) ^ == any2fdif.cc:2829:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ecode = scanText(Tmp0,Tmp1,AVStr(charset),apath) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2829:14: note: place parentheses around the assignment to silence this warning if( ecode = scanText(Tmp0,Tmp1,AVStr(charset),apath) ) ^ ( ) any2fdif.cc:2829:14: note: use '==' to turn this assignment into an equality comparison if( ecode = scanText(Tmp0,Tmp1,AVStr(charset),apath) ) ^ == any2fdif.cc:2917:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ap = strchr(Author,'<') ){ ~~~^~~~~~~~~~~~~~~~~~~~ any2fdif.cc:2917:11: note: place parentheses around the assignment to silence this warning if( ap = strchr(Author,'<') ){ ^ ( ) any2fdif.cc:2917:11: note: use '==' to turn this assignment into an equality comparison if( ap = strchr(Author,'<') ){ ^ == any2fdif.cc:2946:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ip = inb; ch = *ip; ip++ ){ ~~~^~~~~ any2fdif.cc:2946:21: note: place parentheses around the assignment to silence this warning for( ip = inb; ch = *ip; ip++ ){ ^ ( ) any2fdif.cc:2946:21: note: use '==' to turn this assignment into an equality comparison for( ip = inb; ch = *ip; ip++ ){ ^ == any2fdif.cc:2950:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ any2fdif.cc:3012:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ip = inb; ch = *ip; ip++ ){ ~~~^~~~~ any2fdif.cc:3012:23: note: place parentheses around the assignment to silence this warning for( ip = inb; ch = *ip; ip++ ){ ^ ( ) any2fdif.cc:3012:23: note: use '==' to turn this assignment into an equality comparison for( ip = inb; ch = *ip; ip++ ){ ^ == any2fdif.cc:3038:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( issp = isspace(ch) ) ~~~~~^~~~~~~~~~~~~ any2fdif.cc:3038:15: note: place parentheses around the assignment to silence this warning if( issp = isspace(ch) ) ^ ( ) any2fdif.cc:3038:15: note: use '==' to turn this assignment into an equality comparison if( issp = isspace(ch) ) ^ == any2fdif.cc:3075:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ap = strcasestr(Address,"mail") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3075:10: note: place parentheses around the assignment to silence this warning if( ap = strcasestr(Address,"mail") ){ ^ ( ) any2fdif.cc:3075:10: note: use '==' to turn this assignment into an equality comparison if( ap = strcasestr(Address,"mail") ){ ^ == any2fdif.cc:3083:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ap = strcasestr(Address," by ") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3083:10: note: place parentheses around the assignment to silence this warning if( ap = strcasestr(Address," by ") ){ ^ ( ) any2fdif.cc:3083:10: note: use '==' to turn this assignment into an equality comparison if( ap = strcasestr(Address," by ") ){ ^ == any2fdif.cc:3325:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(xline,"') ){ ~~~^~~~~~~~~~~~~~~~ any2fdif.cc:3327:12: note: place parentheses around the assignment to silence this warning if( ep = strchr(dp,'>') ){ ^ ( ) any2fdif.cc:3327:12: note: use '==' to turn this assignment into an equality comparison if( ep = strchr(dp,'>') ){ ^ == any2fdif.cc:3493:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xp = strstr(authcand,"--") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3493:12: note: place parentheses around the assignment to silence this warning if( xp = strstr(authcand,"--") ) ^ ( ) any2fdif.cc:3493:12: note: use '==' to turn this assignment into an equality comparison if( xp = strstr(authcand,"--") ) ^ == any2fdif.cc:3512:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( end = (ch == '/') ){ ~~~~^~~~~~~~~~~~~ any2fdif.cc:3512:11: note: place parentheses around the assignment to silence this warning if( end = (ch == '/') ){ ^ ( ) any2fdif.cc:3512:11: note: use '==' to turn this assignment into an equality comparison if( end = (ch == '/') ){ ^ == any2fdif.cc:3581:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( adp = strchr(Author,'?') ) ~~~~^~~~~~~~~~~~~~~~~~~~ any2fdif.cc:3581:13: note: place parentheses around the assignment to silence this warning if( adp = strchr(Author,'?') ) ^ ( ) any2fdif.cc:3581:13: note: use '==' to turn this assignment into an equality comparison if( adp = strchr(Author,'?') ) ^ == any2fdif.cc:3661:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else{ ^ any2fdif.cc:3669:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( qp = strchr(con,'?') ) ~~~^~~~~~~~~~~~~~~~~ any2fdif.cc:3669:12: note: place parentheses around the assignment to silence this warning if( qp = strchr(con,'?') ) ^ ( ) any2fdif.cc:3669:12: note: use '==' to turn this assignment into an equality comparison if( qp = strchr(con,'?') ) ^ == any2fdif.cc:4044:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strstr(s,p) ) ~~~^~~~~~~~~~~~~ any2fdif.cc:4044:9: note: place parentheses around the assignment to silence this warning if( tp = strstr(s,p) ) ^ ( ) any2fdif.cc:4044:9: note: use '==' to turn this assignment into an equality comparison if( tp = strstr(s,p) ) ^ == any2fdif.cc:4094:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strcasestr(fval,"charset=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4094:9: note: place parentheses around the assignment to silence this warning if( dp = strcasestr(fval,"charset=") ){ ^ ( ) any2fdif.cc:4094:9: note: use '==' to turn this assignment into an equality comparison if( dp = strcasestr(fval,"charset=") ){ ^ == any2fdif.cc:4119:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( cp = author; ch = *cp; cp++ ){ ~~~^~~~~ any2fdif.cc:4119:23: note: place parentheses around the assignment to silence this warning for( cp = author; ch = *cp; cp++ ){ ^ ( ) any2fdif.cc:4119:23: note: use '==' to turn this assignment into an equality comparison for( cp = author; ch = *cp; cp++ ){ ^ == any2fdif.cc:4131:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strcasestr(author,"All Right") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4131:9: note: place parentheses around the assignment to silence this warning if( cp = strcasestr(author,"All Right") ) ^ ( ) any2fdif.cc:4131:9: note: use '==' to turn this assignment into an equality comparison if( cp = strcasestr(author,"All Right") ) ^ == any2fdif.cc:4196:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strstr(copyr,"©") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4196:9: note: place parentheses around the assignment to silence this warning if( cp = strstr(copyr,"©") ){ ^ ( ) any2fdif.cc:4196:9: note: use '==' to turn this assignment into an equality comparison if( cp = strstr(copyr,"©") ){ ^ == any2fdif.cc:4210:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strcasestr(copyr,"Copyright") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4210:9: note: place parentheses around the assignment to silence this warning if( cp = strcasestr(copyr,"Copyright") ){ ^ ( ) any2fdif.cc:4210:9: note: use '==' to turn this assignment into an equality comparison if( cp = strcasestr(copyr,"Copyright") ){ ^ == any2fdif.cc:4237:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strcasestr(cp,"Copyright") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4237:11: note: place parentheses around the assignment to silence this warning if( np = strcasestr(cp,"Copyright") ){ ^ ( ) any2fdif.cc:4237:11: note: use '==' to turn this assignment into an equality comparison if( np = strcasestr(cp,"Copyright") ){ ^ == any2fdif.cc:4256:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strcasestr(copyr,"All Rights") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4256:9: note: place parentheses around the assignment to silence this warning if( cp = strcasestr(copyr,"All Rights") ){ ^ ( ) any2fdif.cc:4256:9: note: use '==' to turn this assignment into an equality comparison if( cp = strcasestr(copyr,"All Rights") ){ ^ == any2fdif.cc:4259:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strcasestr(cp,"Reserved by") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4259:10: note: place parentheses around the assignment to silence this warning if( cp = strcasestr(cp,"Reserved by") ){ ^ ( ) any2fdif.cc:4259:10: note: use '==' to turn this assignment into an equality comparison if( cp = strcasestr(cp,"Reserved by") ){ ^ == any2fdif.cc:4325:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cleng = isMultiBytesChar(sp) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4325:13: note: place parentheses around the assignment to silence this warning if( cleng = isMultiBytesChar(sp) ){ ^ ( ) any2fdif.cc:4325:13: note: use '==' to turn this assignment into an equality comparison if( cleng = isMultiBytesChar(sp) ){ ^ == any2fdif.cc:4371:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xfp = fopen_PATH(vpath,file,mode,AVStr(fullpath)/*,size*/) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4371:10: note: place parentheses around the assignment to silence this warning if( xfp = fopen_PATH(vpath,file,mode,AVStr(fullpath)/*,size*/) ){ ^ ( ) any2fdif.cc:4371:10: note: use '==' to turn this assignment into an equality comparison if( xfp = fopen_PATH(vpath,file,mode,AVStr(fullpath)/*,size*/) ){ ^ == any2fdif.cc:4390:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("PATH") ){ ~~~~^~~~~~~~~~~~~~~~ any2fdif.cc:4390:10: note: place parentheses around the assignment to silence this warning if( env = getenv("PATH") ){ ^ ( ) any2fdif.cc:4390:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("PATH") ){ ^ == any2fdif.cc:4406:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(rpath,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4406:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(rpath,'/') ){ ^ ( ) any2fdif.cc:4406:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(rpath,'/') ){ ^ == any2fdif.cc:4427:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ufrom = (strncmp(head,"From ",5) == 0) ){ /* Unix mailbox format */ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ any2fdif.cc:4427:12: note: place parentheses around the assignment to silence this warning if( ufrom = (strncmp(head,"From ",5) == 0) ){ /* Unix mailbox format */ ^ ( ) any2fdif.cc:4427:12: note: use '==' to turn this assignment into an equality comparison if( ufrom = (strncmp(head,"From ",5) == 0) ){ /* Unix mailbox format */ ^ == any2fdif.cc:4564:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( s = (char*)str; ch = *s; s++ ){ ~~~^~~~ any2fdif.cc:4564:26: note: place parentheses around the assignment to silence this warning for( s = (char*)str; ch = *s; s++ ){ ^ ( ) any2fdif.cc:4564:26: note: use '==' to turn this assignment into an equality comparison for( s = (char*)str; ch = *s; s++ ){ ^ == 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: 1712064666 -> 1712064667 ../gen/htaccept.h ../mkcpp opt_s_htaccept.c opt_s_htaccept._.c -- mkcpp set time: 1712064666 -> 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] ACCEPT http://host:port/path -->> MOUNT="/path/* http://client/*" ^ opt_s_htaccept._.c:66:71: warning: '/*' within block comment [-Wcomment] ACCEPT http://host:port/path -->> MOUNT="/path/* http://client/*" ^ 2 warnings generated. cp -p sox.c opt_s_sox.c ../mkcpp sox.c ../gen/sox.h -sign -- mkcpp set time: 1712064666 -> 1712064667 ../gen/sox.h ../mkcpp opt_s_sox.c opt_s_sox._.c -- mkcpp set time: 1712064666 -> 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: 1712064667 -> 1712064668 ../gen/stls.h ../mkcpp opt_s_stls.c opt_s_stls._.c -- mkcpp set time: 1712064667 -> 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: 1712064667 -> 1712064668 ../gen/vsap.h ../mkcpp opt_s_vsap.c opt_s_vsap._.c -- mkcpp set time: 1712064667 -> 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] ... 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: 1712064667 -> 1712064668 ../gen/caps.h ../mkcpp opt_s_caps.c opt_s_caps._.c -- mkcpp set time: 1712064667 -> 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 "gmake" libx MAKE="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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker @pkg-builder.dan.net.uk 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker] creating Makefile.go cpyfile Makefile[1-0][0-2026d9] > 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][201659-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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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: C++ requires a type specifier for all declarations ##ERROR## main(){ } ##ERROR## ^ ##ERROR## 1 error generated. ##ERROR## FATAL!!!!: Something wrong in the CFLAGS. -- checking LDLIBS = ../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libgates.a ../lib/libmimekit.a ../lib/libfsx.a -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-builder.dan.net.uk 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk 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: 1712064683 gmake[5]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' ../mkcpp dummy.c dummy.cc -- mkcpp set time: 1712064683 -> 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: 1712064683 -> 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: 1712064683 -> 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: 1712064683 -> 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: 1712064684 -> 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: 1712064684 -> 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: 1712064684 -> 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: 1712064684 -> 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: 1712064684 -> 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: 1712064684 -> 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: 1712064684 -> 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: 1712064684 -> 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: 1712064684 -> 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: 1712064685 -> 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: 1712064685 -> 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: 1712064685 -> 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: 1712064685 -> 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: 1712064685 -> 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: 1712064685 -> 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: 1712064685 -> 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: 1712064685 -> 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: 1712064685 -> 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: 1712064685 -> 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: 1712064685 -> 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: 1712064686 -> 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: 1712064686 -> 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: 1712064686 -> 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: 1712064686 -> 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: 1712064686 -> 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: 1712064686 -> 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: 1712064686 -> 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: 1712064687 -> 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: 1712064687 -> 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: 1712064687 -> 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: 1712064687 -> 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: 1712064687 -> 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: 1712064687 -> 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: 1712064688 -> 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: 1712064688 -> 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: 1712064688 -> 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: 1712064688 -> 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: 1712064688 -> 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: 1712064688 -> 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: 1712064688 -> 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: 1712064688 -> 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: 1712064689 -> 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: 1712064689 -> 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: 1712064689 -> 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: 1712064689 -> 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: 1712064689 -> 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: 1712064689 -> 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: 1712064689 -> 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: 1712064689 -> 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: 1712064689 -> 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: 1712064690 -> 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: 1712064690 -> 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: 1712064690 -> 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: 1712064690 -> 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: 1712064690 -> 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: 1712064690 -> 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: 1712064690 -> 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: 1712064690 -> 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: 1712064690 -> 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: 1712064691 -> 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: 1712064691 -> 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: 1712064691 -> 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: 1712064691 -> 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: 1712064691 -> 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: 1712064691 -> 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: 1712064691 -> 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: 1712064691 -> 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: 1712064691 -> 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: 1712064691 -> 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: 1712064691 -> 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: 1712064691 -> 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: 1712064692 -> 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: 1712064692 -> 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: 1712064692 -> 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: 1712064692 -> 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: 1712064692 -> 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: 1712064692 -> 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: 1712064692 -> 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: 1712064692 -> 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: 1712064692 -> 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: 1712064692 -> 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: 1712064692 -> 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: 1712064692 -> 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: 1712064692 -> 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: 1712064692 -> 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: 1712064692 -> 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: 1712064693 -> 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: 1712064693 -> 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: 1712064693 -> 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: 1712064693 -> 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: 1712064693 -> 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: 1712064693 -> 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: 1712064693 -> 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: 1712064693 -> 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: 1712064693 -> 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: 1712064693 -> 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: 1712064693 -> 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: 1712064694 -> 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: 1712064694 -> 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: 1712064694 -> 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: 1712064694 -> 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: 1712064694 -> 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: 1712064695 -> 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: 1712064695 -> 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: 1712064695 -> 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: 1712064695 -> 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: 1712064695 -> 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: 1712064695 -> 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: 1712064695 -> 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: 1712064695 -> 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: 1712064696 -> 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: 1712064696 -> 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: 1712064696 -> 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: 1712064696 -> 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: 1712064696 -> 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: 1712064696 -> 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: 1712064696 -> 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: 1712064696 -> 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: 1712064696 -> 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: 1712064696 -> 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: 1712064696 -> 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: 1712064697 -> 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: 1712064697 -> 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: 1712064697 -> 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: 1712064697 -> 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: 1712064697 -> 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: 1712064697 -> 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: 1712064697 -> 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: 1712064697 -> 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: 1712064697 -> 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: 1712064697 -> 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: 1712064697 -> 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: 1712064698 -> 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: 1712064698 -> 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: 1712064698 -> 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: 1712064698 -> 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: 1712064698 -> 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: 1712064698 -> 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: 1712064698 -> 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: 1712064698 -> 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: 1712064699 -> 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: 1712064699 -> 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: 1712064699 -> 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: 1712064699 -> 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: 1712064699 -> 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: 1712064699 -> 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: 1712064699 -> 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: 1712064699 -> 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: 1712064699 -> 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: 1712064700 -> 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: 1712064700 -> 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: 1712064700 -> 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: 1712064700 -> 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: 1712064700 -> 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: 1712064700 -> 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: 1712064700 -> 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: 1712064700 -> 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: 1712064700 -> 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: 1712064701 -> 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: 1712064701 -> 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: 1712064701 -> 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: 1712064701 -> 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: 1712064701 -> 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: 1712064701 -> 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: 1712064701 -> 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: 1712064701 -> 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: 1712064701 -> 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: 1712064702 -> 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: 1712064702 -> 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: 1712064702 -> 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: 1712064702 -> 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk 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: 1712064702 -> 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] if( xsign = strrchr(DELEGATE_srcsign(),':') ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ version._.c:203:12: note: place parentheses around the assignment to silence this warning if( xsign = strrchr(DELEGATE_srcsign(),':') ) ^ ( ) version._.c:203:12: note: use '==' to turn this assignment into an equality comparison if( xsign = strrchr(DELEGATE_srcsign(),':') ) ^ == version._.c:223:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = vsign; oct = *fp; fp++ ){ ~~~~^~~~~ version._.c:223:23: note: place parentheses around the assignment to silence this warning for( fp = vsign; oct = *fp; fp++ ){ ^ ( ) version._.c:223:23: note: use '==' to turn this assignment into an equality comparison for( fp = vsign; oct = *fp; fp++ ){ ^ == 2 warnings generated. ../mkcpp ../srcsign.c ../srcsign._.c -- mkcpp set time: 1712064703 -> 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] }\n"+10; ~~~~^~~ ../srcsign._.c:8:5: note: use array indexing to silence this warning }\n"+10; ^ [ ] ../srcsign._.c:17:5: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] }\n"+10; ~~~~^~~ ../srcsign._.c:17:5: note: use array indexing to silence this warning }\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: 1712064703 -> 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] if( dp = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ editconf._.c:43:9: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"\r\n") ) ^ ( ) editconf._.c:43:9: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"\r\n") ) ^ == editconf._.c:111:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnvADMIN() ) ~~~~^~~~~~~~~~~~~~~ editconf._.c:111:10: note: place parentheses around the assignment to silence this warning if( env = getEnvADMIN() ) ^ ( ) editconf._.c:111:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnvADMIN() ) ^ == editconf._.c:120:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( admin = getADMIN1() ) ~~~~~~^~~~~~~~~~~~~ editconf._.c:120:12: note: place parentheses around the assignment to silence this warning if( admin = getADMIN1() ) ^ ( ) editconf._.c:120:12: note: use '==' to turn this assignment into an equality comparison if( admin = getADMIN1() ) ^ == editconf._.c:180:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( admin = getADMIN() ) ~~~~~~^~~~~~~~~~~~ editconf._.c:180:12: note: place parentheses around the assignment to silence this warning if( admin = getADMIN() ) ^ ( ) editconf._.c:180:12: note: use '==' to turn this assignment into an equality comparison if( admin = getADMIN() ) ^ == editconf._.c:199:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pass = get_builtin_ADMINPASS() ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ editconf._.c:199:11: note: place parentheses around the assignment to silence this warning if( pass = get_builtin_ADMINPASS() ){ ^ ( ) editconf._.c:199:11: note: use '==' to turn this assignment into an equality comparison if( pass = get_builtin_ADMINPASS() ){ ^ == editconf._.c:289:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(admin,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~ editconf._.c:289:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(admin,"\r\n") ) ^ ( ) editconf._.c:289:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(admin,"\r\n") ) ^ == editconf._.c:411:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(test,"w") ){ ~~~^~~~~~~~~~~~~~~~~ editconf._.c:411:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(test,"w") ){ ^ ( ) editconf._.c:411:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(test,"w") ){ ^ == 7 warnings generated. ../mkcpp admin.c admin._.c -- mkcpp set time: 1712064703 -> 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] if( env = admin_genv[sp] ){ ~~~~^~~~~~~~~~~~~~~~ admin._.c:94:10: note: place parentheses around the assignment to silence this warning if( env = admin_genv[sp] ){ ^ ( ) admin._.c:94:10: note: use '==' to turn this assignment into an equality comparison if( env = admin_genv[sp] ){ ^ == admin._.c:249:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(vurl,'*') ) if( dp[1] == 0 ) truncVStr(dp); ~~~^~~~~~~~~~~~~~~~~~~ admin._.c:249:11: note: place parentheses around the assignment to silence this warning if( dp = strrchr(vurl,'*') ) if( dp[1] == 0 ) truncVStr(dp); ^ ( ) admin._.c:249:11: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(vurl,'*') ) if( dp[1] == 0 ) truncVStr(dp); ^ == admin._.c:266:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(rurl,'*') ) if( dp[1] == 0 ) truncVStr(dp); ~~~^~~~~~~~~~~~~~~~~~~ admin._.c:266:11: note: place parentheses around the assignment to silence this warning if( dp = strrchr(rurl,'*') ) if( dp[1] == 0 ) truncVStr(dp); ^ ( ) admin._.c:266:11: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(rurl,'*') ) if( dp[1] == 0 ) truncVStr(dp); ^ == admin._.c:375:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = getv(Form_argv,"vurl-path") ) strcat(froms,val); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:375:11: note: place parentheses around the assignment to silence this warning if( val = getv(Form_argv,"vurl-path") ) strcat(froms,val); ^ ( ) admin._.c:375:11: note: use '==' to turn this assignment into an equality comparison if( val = getv(Form_argv,"vurl-path") ) strcat(froms,val); ^ == admin._.c:377:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = getv(Form_argv,"vurl-tail") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:377:12: note: place parentheses around the assignment to silence this warning if( val = getv(Form_argv,"vurl-tail") ) ^ ( ) admin._.c:377:12: note: use '==' to turn this assignment into an equality comparison if( val = getv(Form_argv,"vurl-tail") ) ^ == admin._.c:385:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = getv(Form_argv,"rurl-proto") ) strcat(tos,val); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:385:11: note: place parentheses around the assignment to silence this warning if( val = getv(Form_argv,"rurl-proto") ) strcat(tos,val); ^ ( ) admin._.c:385:11: note: use '==' to turn this assignment into an equality comparison if( val = getv(Form_argv,"rurl-proto") ) strcat(tos,val); ^ == admin._.c:386:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = getv(Form_argv,"rurl-login") ) strcat(tos,val); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:386:11: note: place parentheses around the assignment to silence this warning if( val = getv(Form_argv,"rurl-login") ) strcat(tos,val); ^ ( ) admin._.c:386:11: note: use '==' to turn this assignment into an equality comparison if( val = getv(Form_argv,"rurl-login") ) strcat(tos,val); ^ == admin._.c:387:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = getv(Form_argv,"rurl-tail") ) strcat(tos,val); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:387:11: note: place parentheses around the assignment to silence this warning if( val = getv(Form_argv,"rurl-tail") ) strcat(tos,val); ^ ( ) admin._.c:387:11: note: use '==' to turn this assignment into an equality comparison if( val = getv(Form_argv,"rurl-tail") ) strcat(tos,val); ^ == admin._.c:422:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; from1 = Form_argv[ai]; ai++ ){ ~~~~~~^~~~~~~~~~~~~~~ admin._.c:422:23: note: place parentheses around the assignment to silence this warning for( ai = 0; from1 = Form_argv[ai]; ai++ ){ ^ ( ) admin._.c:422:23: note: use '==' to turn this assignment into an equality comparison for( ai = 0; from1 = Form_argv[ai]; ai++ ){ ^ == admin._.c:539:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strtailstr(path,".pem") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:539:9: note: place parentheses around the assignment to silence this warning if( dp = strtailstr(path,".pem") ) ^ ( ) admin._.c:539:9: note: use '==' to turn this assignment into an equality comparison if( dp = strtailstr(path,".pem") ) ^ == admin._.c:560:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen("dgca.cnf","w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ admin._.c:560:9: note: place parentheses around the assignment to silence this warning if( fp = fopen("dgca.cnf","w") ){ ^ ( ) admin._.c:560:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen("dgca.cnf","w") ){ ^ == admin._.c:575:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen("dgcaidx.txt","w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:575:9: note: place parentheses around the assignment to silence this warning if( fp = fopen("dgcaidx.txt","w") ){ ^ ( ) admin._.c:575:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen("dgcaidx.txt","w") ){ ^ == admin._.c:579:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen("dgcaidx.txt.attr","w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:579:9: note: place parentheses around the assignment to silence this warning if( fp = fopen("dgcaidx.txt.attr","w") ){ ^ ( ) admin._.c:579:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen("dgcaidx.txt.attr","w") ){ ^ == admin._.c:585:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen("serial","w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ admin._.c:585:9: note: place parentheses around the assignment to silence this warning if( fp = fopen("serial","w") ){ ^ ( ) admin._.c:585:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen("serial","w") ){ ^ == admin._.c:808:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( conf = fopen("dgca.cnf","r") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ admin._.c:808:11: note: place parentheses around the assignment to silence this warning if( conf = fopen("dgca.cnf","r") ){ ^ ( ) admin._.c:808:11: note: use '==' to turn this assignment into an equality comparison if( conf = fopen("dgca.cnf","r") ){ ^ == admin._.c:840:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; a1 = Form_argv[ai]; ai++ ){ ~~~^~~~~~~~~~~~~~~ admin._.c:840:19: note: place parentheses around the assignment to silence this warning for( ai = 0; a1 = Form_argv[ai]; ai++ ){ ^ ( ) admin._.c:840:19: note: use '==' to turn this assignment into an equality comparison for( ai = 0; a1 = Form_argv[ai]; ai++ ){ ^ == admin._.c:953:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(out,'%') ){ ~~~^~~~~~~~~~~~~~~~~ admin._.c:953:15: note: place parentheses around the assignment to silence this warning if( dp = strchr(out,'%') ){ ^ ( ) admin._.c:953:15: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(out,'%') ){ ^ == admin._.c:995:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strcasestr(out,"up ") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~ admin._.c:995:12: note: place parentheses around the assignment to silence this warning if( dp = strcasestr(out,"up ") ) ^ ( ) admin._.c:995:12: note: use '==' to turn this assignment into an equality comparison if( dp = strcasestr(out,"up ") ) ^ == admin._.c:997:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strcasestr(out,"load ") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:997:12: note: place parentheses around the assignment to silence this warning if( dp = strcasestr(out,"load ") ){ ^ ( ) admin._.c:997:12: note: use '==' to turn this assignment into an equality comparison if( dp = strcasestr(out,"load ") ){ ^ == admin._.c:998:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(dp,':') ) ~~~^~~~~~~~~~~~~~~~ admin._.c:998:13: note: place parentheses around the assignment to silence this warning if( dp = strchr(dp,':') ) ^ ( ) admin._.c:998:13: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(dp,':') ) ^ == admin._.c:1005:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(out,':') ){ ~~~^~~~~~~~~~~~~~~~~~ admin._.c:1005:13: note: place parentheses around the assignment to silence this warning if( dp = strrchr(out,':') ){ ^ ( ) admin._.c:1005:13: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(out,':') ){ ^ == admin._.c:1061:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strstr(line,"UID") ){ ~~~^~~~~~~~~~~~~~~~~~~~ admin._.c:1061:13: note: place parentheses around the assignment to silence this warning if( tp = strstr(line,"UID") ){ ^ ( ) admin._.c:1061:13: note: use '==' to turn this assignment into an equality comparison if( tp = strstr(line,"UID") ){ ^ == admin._.c:1113:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen_authlog(proto,host,"a") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:1113:9: note: place parentheses around the assignment to silence this warning if( fp = fopen_authlog(proto,host,"a") ){ ^ ( ) admin._.c:1113:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen_authlog(proto,host,"a") ){ ^ == admin._.c:1124:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen_authlog(proto,"ALL","a") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:1124:10: note: place parentheses around the assignment to silence this warning if( fp = fopen_authlog(proto,"ALL","a") ){ ^ ( ) admin._.c:1124:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen_authlog(proto,"ALL","a") ){ ^ == admin._.c:1173:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen_authlog(proto,host,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:1173:9: note: place parentheses around the assignment to silence this warning if( fp = fopen_authlog(proto,host,"r") ){ ^ ( ) admin._.c:1173:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen_authlog(proto,host,"r") ){ ^ == admin._.c:1236:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(upath,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~ admin._.c:1236:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(upath,'/') ){ ^ ( ) admin._.c:1236:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(upath,'/') ){ ^ == admin._.c:1241:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(upath,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~ admin._.c:1241:12: note: place parentheses around the assignment to silence this warning if( dp = strrchr(upath,'/') ) ^ ( ) admin._.c:1241:12: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(upath,'/') ) ^ == admin._.c:1417:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = fmt; ch = (0xFF & *sp); sp++ ){ ~~~^~~~~~~~~~~~~~ admin._.c:1417:20: note: place parentheses around the assignment to silence this warning for( sp = fmt; ch = (0xFF & *sp); sp++ ){ ^ ( ) admin._.c:1417:20: note: use '==' to turn this assignment into an equality comparison for( sp = fmt; ch = (0xFF & *sp); sp++ ){ ^ == admin._.c:1636:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mod = strchr(param,'-') ){ ~~~~^~~~~~~~~~~~~~~~~~~ admin._.c:1636:11: note: place parentheses around the assignment to silence this warning if( mod = strchr(param,'-') ){ ^ ( ) admin._.c:1636:11: note: use '==' to turn this assignment into an equality comparison if( mod = strchr(param,'-') ){ ^ == admin._.c:1756:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ctype = filename2ctype(url) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ admin._.c:1756:14: note: place parentheses around the assignment to silence this warning if( ctype = filename2ctype(url) ){ ^ ( ) admin._.c:1756:14: note: use '==' to turn this assignment into an equality comparison if( ctype = filename2ctype(url) ){ ^ == admin._.c:1844:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strtailstr(mp,pat) ) ~~~^~~~~~~~~~~~~~~~~~~~ admin._.c:1844:10: note: place parentheses around the assignment to silence this warning if( dp = strtailstr(mp,pat) ) ^ ( ) admin._.c:1844:10: note: use '==' to turn this assignment into an equality comparison if( dp = strtailstr(mp,pat) ) ^ == admin._.c:1878:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cfp = fopen(path,"r") ){ ~~~~^~~~~~~~~~~~~~~~~ admin._.c:1878:11: note: place parentheses around the assignment to silence this warning if( cfp = fopen(path,"r") ){ ^ ( ) admin._.c:1878:11: note: use '==' to turn this assignment into an equality comparison if( cfp = fopen(path,"r") ){ ^ == admin._.c:1893:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cfp = fopen(path,"r") ){ ~~~~^~~~~~~~~~~~~~~~~ admin._.c:1893:11: note: place parentheses around the assignment to silence this warning if( cfp = fopen(path,"r") ){ ^ ( ) admin._.c:1893:11: note: use '==' to turn this assignment into an equality comparison if( cfp = fopen(path,"r") ){ ^ == admin._.c:1932:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cfp = fopen(path,"w") ){ ~~~~^~~~~~~~~~~~~~~~~ admin._.c:1932:12: note: place parentheses around the assignment to silence this warning if( cfp = fopen(path,"w") ){ ^ ( ) admin._.c:1932:12: note: use '==' to turn this assignment into an equality comparison if( cfp = fopen(path,"w") ){ ^ == admin._.c:1962:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sfp = fopen(path,"w") ){ ~~~~^~~~~~~~~~~~~~~~~ admin._.c:1962:11: note: place parentheses around the assignment to silence this warning if( sfp = fopen(path,"w") ){ ^ ( ) admin._.c:1962:11: note: use '==' to turn this assignment into an equality comparison if( sfp = fopen(path,"w") ){ ^ == admin._.c:1982:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sfp = fopen(path,"r") ){ ~~~~^~~~~~~~~~~~~~~~~ admin._.c:1982:10: note: place parentheses around the assignment to silence this warning if( sfp = fopen(path,"r") ){ ^ ( ) admin._.c:1982:10: note: use '==' to turn this assignment into an equality comparison if( sfp = fopen(path,"r") ){ ^ == admin._.c:2007:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen(what,AVStr(path),"r+") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2007:9: note: place parentheses around the assignment to silence this warning if( fp = dirfopen(what,AVStr(path),"r+") ){ ^ ( ) admin._.c:2007:9: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen(what,AVStr(path),"r+") ){ ^ == admin._.c:2010:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen(what,AVStr(path),mode) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2010:9: note: place parentheses around the assignment to silence this warning if( fp = dirfopen(what,AVStr(path),mode) ){ ^ ( ) admin._.c:2010:9: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen(what,AVStr(path),mode) ){ ^ == admin._.c:2019:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = TMPFILE(what) ){ ~~~^~~~~~~~~~~~~~~ admin._.c:2019:10: note: place parentheses around the assignment to silence this warning if( fp = TMPFILE(what) ){ ^ ( ) admin._.c:2019:10: note: use '==' to turn this assignment into an equality comparison if( fp = TMPFILE(what) ){ ^ == admin._.c:2043:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fdopen(dup(LOG_initFd),mode) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2043:10: note: place parentheses around the assignment to silence this warning if( fp = fdopen(dup(LOG_initFd),mode) ){ ^ ( ) admin._.c:2043:10: note: use '==' to turn this assignment into an equality comparison if( fp = fdopen(dup(LOG_initFd),mode) ){ ^ == admin._.c:2087:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(cv[ci],'\r') ) ~~~^~~~~~~~~~~~~~~~~~~~~ admin._.c:2087:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(cv[ci],'\r') ) ^ ( ) admin._.c:2087:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(cv[ci],'\r') ) ^ == admin._.c:2092:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(cv[ci],',') ) truncVStr(dp); ~~~^~~~~~~~~~~~~~~~~~~~ admin._.c:2092:12: note: place parentheses around the assignment to silence this warning if( dp = strchr(cv[ci],',') ) truncVStr(dp); ^ ( ) admin._.c:2092:12: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(cv[ci],',') ) truncVStr(dp); ^ == admin._.c:2093:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(cv[ci],'/') ) truncVStr(dp); ~~~^~~~~~~~~~~~~~~~~~~~ admin._.c:2093:12: note: place parentheses around the assignment to silence this warning if( dp = strchr(cv[ci],'/') ) truncVStr(dp); ^ ( ) admin._.c:2093:12: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(cv[ci],'/') ) truncVStr(dp); ^ == admin._.c:2296:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(cv[ci],'\r') ) ~~~^~~~~~~~~~~~~~~~~~~~~ admin._.c:2296:12: note: place parentheses around the assignment to silence this warning if( dp = strchr(cv[ci],'\r') ) ^ ( ) admin._.c:2296:12: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(cv[ci],'\r') ) ^ == admin._.c:2299:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dgroot = getv(cv,"DGROOT") ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~ admin._.c:2299:15: note: place parentheses around the assignment to silence this warning if( dgroot = getv(cv,"DGROOT") ){ ^ ( ) admin._.c:2299:15: note: use '==' to turn this assignment into an equality comparison if( dgroot = getv(cv,"DGROOT") ){ ^ == admin._.c:2302:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = getv(cv,"CHROOT") ){ ~~~^~~~~~~~~~~~~~~~~~~ admin._.c:2302:11: note: place parentheses around the assignment to silence this warning if( dp = getv(cv,"CHROOT") ){ ^ ( ) admin._.c:2302:11: note: use '==' to turn this assignment into an equality comparison if( dp = getv(cv,"CHROOT") ){ ^ == admin._.c:2309:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ilfp = fopenInitLog(serv,"r+") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2309:14: note: place parentheses around the assignment to silence this warning if( ilfp = fopenInitLog(serv,"r+") ){ ^ ( ) admin._.c:2309:14: note: use '==' to turn this assignment into an equality comparison if( ilfp = fopenInitLog(serv,"r+") ){ ^ == admin._.c:2314:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( stfp = fopenSvstats(serv,"r+") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2314:14: note: place parentheses around the assignment to silence this warning if( stfp = fopenSvstats(serv,"r+") ){ ^ ( ) admin._.c:2314:14: note: use '==' to turn this assignment into an equality comparison if( stfp = fopenSvstats(serv,"r+") ){ ^ == admin._.c:2566:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strtailstr(save,".cnf") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2566:10: note: place parentheses around the assignment to silence this warning if( dp = strtailstr(save,".cnf") ) ^ ( ) admin._.c:2566:10: note: use '==' to turn this assignment into an equality comparison if( dp = strtailstr(save,".cnf") ) ^ == admin._.c:2600:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( oconf = getConfigData(Conn,to,"",&odate) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2600:12: note: place parentheses around the assignment to silence this warning if( oconf = getConfigData(Conn,to,"",&odate) ){ ^ ( ) admin._.c:2600:12: note: use '==' to turn this assignment into an equality comparison if( oconf = getConfigData(Conn,to,"",&odate) ){ ^ == admin._.c:2635:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen_lockconf(BVStr(msg),serv,mode,AVStr(path),1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2635:9: note: place parentheses around the assignment to silence this warning if( fp = fopen_lockconf(BVStr(msg),serv,mode,AVStr(path),1) ){ ^ ( ) admin._.c:2635:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen_lockconf(BVStr(msg),serv,mode,AVStr(path),1) ){ ^ == admin._.c:2700:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strtailstr(orig,".sav") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2700:9: note: place parentheses around the assignment to silence this warning if( dp = strtailstr(orig,".sav") ) ^ ( ) admin._.c:2700:9: note: use '==' to turn this assignment into an equality comparison if( dp = strtailstr(orig,".sav") ) ^ == admin._.c:2722:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; a1 = Form_argv[ai]; ai++ ){ ~~~^~~~~~~~~~~~~~~ admin._.c:2722:18: note: place parentheses around the assignment to silence this warning for( ai = 0; a1 = Form_argv[ai]; ai++ ){ ^ ( ) admin._.c:2722:18: note: use '==' to turn this assignment into an equality comparison for( ai = 0; a1 = Form_argv[ai]; ai++ ){ ^ == admin._.c:2788:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen_lockconf(BVStr(msg),name,"r+",AVStr(path),1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2788:9: note: place parentheses around the assignment to silence this warning if( fp = fopen_lockconf(BVStr(msg),name,"r+",AVStr(path),1) ){ ^ ( ) admin._.c:2788:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen_lockconf(BVStr(msg),name,"r+",AVStr(path),1) ){ ^ == admin._.c:2911:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ln = getv(argv,"ln") ){ ~~~^~~~~~~~~~~~~~~~~ admin._.c:2911:10: note: place parentheses around the assignment to silence this warning if( ln = getv(argv,"ln") ){ ^ ( ) admin._.c:2911:10: note: use '==' to turn this assignment into an equality comparison if( ln = getv(argv,"ln") ){ ^ == admin._.c:2914:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( com = getv(argv,"com") ){ ~~~~^~~~~~~~~~~~~~~~~~ admin._.c:2914:12: note: place parentheses around the assignment to silence this warning if( com = getv(argv,"com") ){ ^ ( ) admin._.c:2914:12: note: use '==' to turn this assignment into an equality comparison if( com = getv(argv,"com") ){ ^ == admin._.c:2943:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( name = admin_getv("confname") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:2943:15: note: place parentheses around the assignment to silence this warning if( name = admin_getv("confname") ){ ^ ( ) admin._.c:2943:15: note: use '==' to turn this assignment into an equality comparison if( name = admin_getv("confname") ){ ^ == admin._.c:3335:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( v1 = admin_getv("capsec") ) csc = atoi(v1); ~~~^~~~~~~~~~~~~~~~~~~~~~ admin._.c:3335:9: note: place parentheses around the assignment to silence this warning if( v1 = admin_getv("capsec") ) csc = atoi(v1); ^ ( ) admin._.c:3335:9: note: use '==' to turn this assignment into an equality comparison if( v1 = admin_getv("capsec") ) csc = atoi(v1); ^ == admin._.c:3336:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( v1 = admin_getv("caplns") ) cln = atoi(v1); ~~~^~~~~~~~~~~~~~~~~~~~~~ admin._.c:3336:9: note: place parentheses around the assignment to silence this warning if( v1 = admin_getv("caplns") ) cln = atoi(v1); ^ ( ) admin._.c:3336:9: note: use '==' to turn this assignment into an equality comparison if( v1 = admin_getv("caplns") ) cln = atoi(v1); ^ == admin._.c:3344:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( v1 = admin_getv("opt") ){ ~~~^~~~~~~~~~~~~~~~~~~ admin._.c:3344:9: note: place parentheses around the assignment to silence this warning if( v1 = admin_getv("opt") ){ ^ ( ) admin._.c:3344:9: note: use '==' to turn this assignment into an equality comparison if( v1 = admin_getv("opt") ){ ^ == admin._.c:3513:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( aus = getAdminAuthorizer(Conn,AVStr(tmp),sizeof(tmp),1) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:3513:10: note: place parentheses around the assignment to silence this warning if( aus = getAdminAuthorizer(Conn,AVStr(tmp),sizeof(tmp),1) ){ ^ ( ) admin._.c:3513:10: note: use '==' to turn this assignment into an equality comparison if( aus = getAdminAuthorizer(Conn,AVStr(tmp),sizeof(tmp),1) ){ ^ == admin._.c:3535:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(aus,'@') ){ ~~~^~~~~~~~~~~~~~~~~~ admin._.c:3535:11: note: place parentheses around the assignment to silence this warning if( dp = strrchr(aus,'@') ){ ^ ( ) admin._.c:3535:11: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(aus,'@') ){ ^ == admin._.c:3907:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lfp = get_authlog(Conn,"admin","ALL",size,1) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:3907:11: note: place parentheses around the assignment to silence this warning if( lfp = get_authlog(Conn,"admin","ALL",size,1) ){ ^ ( ) admin._.c:3907:11: note: use '==' to turn this assignment into an equality comparison if( lfp = get_authlog(Conn,"admin","ALL",size,1) ){ ^ == admin._.c:3991:7: warning: address of array 'pma2' will always evaluate to 'true' [-Wpointer-bool-conversion] if( pma2 && streq(pma2,"check") ){ ^~~~ ~~ admin._.c:4225:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strpbrk(cp,"\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~ admin._.c:4225:10: note: place parentheses around the assignment to silence this warning if( np = strpbrk(cp,"\r\n") ){ ^ ( ) admin._.c:4225:10: note: use '==' to turn this assignment into an equality comparison if( np = strpbrk(cp,"\r\n") ){ ^ == admin._.c:4310:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ ~~~~^~~~~~~~~~~~~~~~~~~ admin._.c:4310:20: note: place parentheses around the assignment to silence this warning for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ ^ ( ) admin._.c:4310:20: note: use '==' to turn this assignment into an equality comparison for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ ^ == admin._.c:4311:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(dsttxt,src) ){ ~~~^~~~~~~~~~~~~~~~~~~~ admin._.c:4311:11: note: place parentheses around the assignment to silence this warning if( dp = strstr(dsttxt,src) ){ ^ ( ) admin._.c:4311:11: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(dsttxt,src) ){ ^ == admin._.c:4335:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ ~~~~^~~~~~~~~~~~~~~~~~~ admin._.c:4335:20: note: place parentheses around the assignment to silence this warning for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ ^ ( ) admin._.c:4335:20: note: use '==' to turn this assignment into an equality comparison for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ ^ == admin._.c:4336:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(fmt,src) ) ~~~^~~~~~~~~~~~~~~~~ admin._.c:4336:11: note: place parentheses around the assignment to silence this warning if( dp = strstr(fmt,src) ) ^ ( ) admin._.c:4336:11: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(fmt,src) ) ^ == admin._.c:4350:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ ~~~~^~~~~~~~~~~~~~~~~~~ admin._.c:4350:20: note: place parentheses around the assignment to silence this warning for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ ^ ( ) admin._.c:4350:20: note: use '==' to turn this assignment into an equality comparison for( cx = 0; src = mssgmap[cx].m_src; cx++ ){ ^ == admin._.c:4351:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(mp,src) ){ ~~~^~~~~~~~~~~~~~~~ admin._.c:4351:11: note: place parentheses around the assignment to silence this warning if( dp = strstr(mp,src) ){ ^ ( ) admin._.c:4351:11: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(mp,src) ){ ^ == admin._.c:4443:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( qryp = strchr(command,'?') ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~ admin._.c:4443:10: note: place parentheses around the assignment to silence this warning if( qryp = strchr(command,'?') ){ ^ ( ) admin._.c:4443:10: note: use '==' to turn this assignment into an equality comparison if( qryp = strchr(command,'?') ){ ^ == admin._.c:4449:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( qryp = strchr(xcommand,'?') ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~ admin._.c:4449:11: note: place parentheses around the assignment to silence this warning if( qryp = strchr(xcommand,'?') ) ^ ( ) admin._.c:4449:11: note: use '==' to turn this assignment into an equality comparison if( qryp = strchr(xcommand,'?') ) ^ == admin._.c:4476:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( act = getv(argv,"action") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~ admin._.c:4476:10: note: place parentheses around the assignment to silence this warning if( act = getv(argv,"action") ){ ^ ( ) admin._.c:4476:10: note: use '==' to turn this assignment into an equality comparison if( act = getv(argv,"action") ){ ^ == admin._.c:4554:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(who,'{') ) ~~~^~~~~~~~~~~~~~~~~ admin._.c:4554:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(who,'{') ) ^ ( ) admin._.c:4554:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(who,'{') ) ^ == admin._.c:4900:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( v1 = admin_getv("ioconf-sock-sndbuf") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:4900:9: note: place parentheses around the assignment to silence this warning if( v1 = admin_getv("ioconf-sock-sndbuf") ){ ^ ( ) admin._.c:4900:9: note: use '==' to turn this assignment into an equality comparison if( v1 = admin_getv("ioconf-sock-sndbuf") ){ ^ == admin._.c:4907:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( v1 = admin_getv("ioconf-sock-sndmutex") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:4907:9: note: place parentheses around the assignment to silence this warning if( v1 = admin_getv("ioconf-sock-sndmutex") ){ ^ ( ) admin._.c:4907:9: note: use '==' to turn this assignment into an equality comparison if( v1 = admin_getv("ioconf-sock-sndmutex") ){ ^ == admin._.c:4912:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( v1 = admin_getv("ioconf-sock-sndnodelay") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:4912:9: note: place parentheses around the assignment to silence this warning if( v1 = admin_getv("ioconf-sock-sndnodelay") ){ ^ ( ) admin._.c:4912:9: note: use '==' to turn this assignment into an equality comparison if( v1 = admin_getv("ioconf-sock-sndnodelay") ){ ^ == admin._.c:4917:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( v1 = admin_getv("ioconf-sock-sndwait") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ admin._.c:4917:9: note: place parentheses around the assignment to silence this warning if( v1 = admin_getv("ioconf-sock-sndwait") ){ ^ ( ) admin._.c:4917:9: note: use '==' to turn this assignment into an equality comparison if( v1 = admin_getv("ioconf-sock-sndwait") ){ ^ == 79 warnings generated. ../mkcpp notify.c notify._.c -- mkcpp set time: 1712064707 -> 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: 1712064708 -> 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] 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)? bzero(Conn,sizeof(Conn)); ^~~~ shutter._.c:354:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(reason,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ shutter._.c:354:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(reason,"\r\n") ) ^ ( ) shutter._.c:354:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(reason,"\r\n") ) ^ == 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] 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)? bzero(Conn,sizeof(Conn)); ^~~~ 3 warnings generated. ../mkcpp abort.c abort._.c -- mkcpp set time: 1712064708 -> 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: 1712064708 -> 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] for( sp = src; ch = *sp; sp++ ){ ~~~^~~~~ form2conf._.c:35:20: note: place parentheses around the assignment to silence this warning for( sp = src; ch = *sp; sp++ ){ ^ ( ) form2conf._.c:35:20: note: use '==' to turn this assignment into an equality comparison for( sp = src; ch = *sp; sp++ ){ ^ == form2conf._.c:184:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; name = conf_params[ci]; ci++ ){ ~~~~~^~~~~~~~~~~~~~~~~ form2conf._.c:184:20: note: place parentheses around the assignment to silence this warning for( ci = 0; name = conf_params[ci]; ci++ ){ ^ ( ) form2conf._.c:184:20: note: use '==' to turn this assignment into an equality comparison for( ci = 0; name = conf_params[ci]; ci++ ){ ^ == form2conf._.c:216:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 1; name = conf_params[ci]; ci++ ){ ~~~~~^~~~~~~~~~~~~~~~~ form2conf._.c:216:21: note: place parentheses around the assignment to silence this warning for( ci = 1; name = conf_params[ci]; ci++ ){ ^ ( ) form2conf._.c:216:21: note: use '==' to turn this assignment into an equality comparison for( ci = 1; name = conf_params[ci]; ci++ ){ ^ == form2conf._.c:727:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(p2,"/admin") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ form2conf._.c:727:15: note: place parentheses around the assignment to silence this warning if( dp = strstr(p2,"/admin") ){ ^ ( ) form2conf._.c:727:15: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(p2,"/admin") ){ ^ == form2conf._.c:733:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(p1,':') ){ ~~~^~~~~~~~~~~~~~~~ form2conf._.c:733:12: note: place parentheses around the assignment to silence this warning if( dp = strchr(p1,':') ){ ^ ( ) form2conf._.c:733:12: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(p1,':') ){ ^ == form2conf._.c:739:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(p1,"/admin") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ form2conf._.c:739:12: note: place parentheses around the assignment to silence this warning if( dp = strstr(p1,"/admin") ){ ^ ( ) form2conf._.c:739:12: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(p1,"/admin") ){ ^ == form2conf._.c:918:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = strchr(av1,'=') ){ ~~~^~~~~~~~~~~~~~~~~ form2conf._.c:918:10: note: place parentheses around the assignment to silence this warning if( vp = strchr(av1,'=') ){ ^ ( ) form2conf._.c:918:10: note: use '==' to turn this assignment into an equality comparison if( vp = strchr(av1,'=') ){ ^ == form2conf._.c:1100:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( data = getConfigData(Conn,name,"",&date) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ form2conf._.c:1100:13: note: place parentheses around the assignment to silence this warning if( data = getConfigData(Conn,name,"",&date) ){ ^ ( ) form2conf._.c:1100:13: note: use '==' to turn this assignment into an equality comparison if( data = getConfigData(Conn,name,"",&date) ){ ^ == form2conf._.c:1222:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lfp = fopen_lockconf(VStrNULL,a1,"r+",AVStr(path),0) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ form2conf._.c:1222:11: note: place parentheses around the assignment to silence this warning if( lfp = fopen_lockconf(VStrNULL,a1,"r+",AVStr(path),0) ){ ^ ( ) form2conf._.c:1222:11: note: use '==' to turn this assignment into an equality comparison if( lfp = fopen_lockconf(VStrNULL,a1,"r+",AVStr(path),0) ){ ^ == form2conf._.c:1419:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( a1 = admin_getv(pma2) ){ ~~~^~~~~~~~~~~~~~~~~~ form2conf._.c:1419:10: note: place parentheses around the assignment to silence this warning if( a1 = admin_getv(pma2) ){ ^ ( ) form2conf._.c:1419:10: note: use '==' to turn this assignment into an equality comparison if( a1 = admin_getv(pma2) ){ ^ == 10 warnings generated. ../mkcpp process.c process._.c -- mkcpp set time: 1712064709 -> 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] 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)? bzero(Conn,sizeof(Conn)); /* dumped in initABORT() */ ^~~~ process._.c:260:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Conn->fi_issock = file_ISSOCK(sock) ){ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ process._.c:260:22: note: place parentheses around the assignment to silence this warning if( Conn->fi_issock = file_ISSOCK(sock) ){ ^ ( ) process._.c:260:22: note: use '==' to turn this assignment into an equality comparison if( Conn->fi_issock = file_ISSOCK(sock) ){ ^ == 2 warnings generated. ../mkcpp vaddr.c vaddr._.c -- mkcpp set time: 1712064709 -> 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: 1712064709 -> 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] if( pp = strstr(dir,subst) ){ ~~~^~~~~~~~~~~~~~~~~~~ conf._.c:245:9: note: place parentheses around the assignment to silence this warning if( pp = strstr(dir,subst) ){ ^ ( ) conf._.c:245:9: note: use '==' to turn this assignment into an equality comparison if( pp = strstr(dir,subst) ){ ^ == conf._.c:250:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(pat,'}') ) ~~~^~~~~~~~~~~~~~~~~ conf._.c:250:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(pat,'}') ) ^ ( ) conf._.c:250:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(pat,'}') ) ^ == conf._.c:324:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cl_proxy = isSetProxyOfClient(Conn,AVStr(cl_proto)) ){ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:324:16: note: place parentheses around the assignment to silence this warning if( cl_proxy = isSetProxyOfClient(Conn,AVStr(cl_proto)) ){ ^ ( ) conf._.c:324:16: note: use '==' to turn this assignment into an equality comparison if( cl_proxy = isSetProxyOfClient(Conn,AVStr(cl_proto)) ){ ^ == conf._.c:431:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = ipath; sc = *sp; sp++ ){ ~~~^~~~~ conf._.c:431:22: note: place parentheses around the assignment to silence this warning for( sp = ipath; sc = *sp; sp++ ){ ^ ( ) conf._.c:431:22: note: use '==' to turn this assignment into an equality comparison for( sp = ipath; sc = *sp; sp++ ){ ^ == conf._.c:525:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( isdir = fileIsdir(dir) ){ ~~~~~~^~~~~~~~~~~~~~~~ conf._.c:525:12: note: place parentheses around the assignment to silence this warning if( isdir = fileIsdir(dir) ){ ^ ( ) conf._.c:525:12: note: use '==' to turn this assignment into an equality comparison if( isdir = fileIsdir(dir) ){ ^ == conf._.c:552:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( isdir = (mkdirRX(dir) == 0) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ conf._.c:552:12: note: place parentheses around the assignment to silence this warning if( isdir = (mkdirRX(dir) == 0) ){ ^ ( ) conf._.c:552:12: note: use '==' to turn this assignment into an equality comparison if( isdir = (mkdirRX(dir) == 0) ){ ^ == conf._.c:568:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = DELEGATE_getEnv(P_DGROOT) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:568:11: note: place parentheses around the assignment to silence this warning if( env = DELEGATE_getEnv(P_DGROOT) ) ^ ( ) conf._.c:568:11: note: use '==' to turn this assignment into an equality comparison if( env = DELEGATE_getEnv(P_DGROOT) ) ^ == conf._.c:603:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( umasks = DELEGATE_getEnv(P_UMASK) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:603:13: note: place parentheses around the assignment to silence this warning if( umasks = DELEGATE_getEnv(P_UMASK) ){ ^ ( ) conf._.c:603:13: note: use '==' to turn this assignment into an equality comparison if( umasks = DELEGATE_getEnv(P_UMASK) ){ ^ == conf._.c:612:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dgroot = DELEGATE_getEnv(P_DGROOT) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:612:13: note: place parentheses around the assignment to silence this warning if( dgroot = DELEGATE_getEnv(P_DGROOT) ){ ^ ( ) conf._.c:612:13: note: use '==' to turn this assignment into an equality comparison if( dgroot = DELEGATE_getEnv(P_DGROOT) ){ ^ == conf._.c:740:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("PATH") ){ ~~~~^~~~~~~~~~~~~~~~ conf._.c:740:10: note: place parentheses around the assignment to silence this warning if( env = getenv("PATH") ){ ^ ( ) conf._.c:740:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("PATH") ){ ^ == conf._.c:827:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(cpath,"r") ){ ~~~^~~~~~~~~~~~~~~~~~ conf._.c:827:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(cpath,"r") ){ ^ ( ) conf._.c:827:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(cpath,"r") ){ ^ == conf._.c:852:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen_PATHX(PATHv[li],path,mode,ftype,BVStr(xpath)) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:852:9: note: place parentheses around the assignment to silence this warning if( fp = fopen_PATHX(PATHv[li],path,mode,ftype,BVStr(xpath)) ){ ^ ( ) conf._.c:852:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen_PATHX(PATHv[li],path,mode,ftype,BVStr(xpath)) ){ ^ == conf._.c:929:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = findFieldValue(info,"MemTotal") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:929:11: note: place parentheses around the assignment to silence this warning if( val = findFieldValue(info,"MemTotal") ) ^ ( ) conf._.c:929:11: note: use '==' to turn this assignment into an equality comparison if( val = findFieldValue(info,"MemTotal") ) ^ == conf._.c:931:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = findFieldValue(info,"MemFree") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:931:11: note: place parentheses around the assignment to silence this warning if( val = findFieldValue(info,"MemFree") ) ^ ( ) conf._.c:931:11: note: use '==' to turn this assignment into an equality comparison if( val = findFieldValue(info,"MemFree") ) ^ == conf._.c:933:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = findFieldValue(info,"Active") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:933:11: note: place parentheses around the assignment to silence this warning if( val = findFieldValue(info,"Active") ) ^ ( ) conf._.c:933:11: note: use '==' to turn this assignment into an equality comparison if( val = findFieldValue(info,"Active") ) ^ == conf._.c:935:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = findFieldValue(info,"Inactive") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:935:11: note: place parentheses around the assignment to silence this warning if( val = findFieldValue(info,"Inactive") ) ^ ( ) conf._.c:935:11: note: use '==' to turn this assignment into an equality comparison if( val = findFieldValue(info,"Inactive") ) ^ == conf._.c:1091:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( usp = UDP_Socketpair(usv) == 0 ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ conf._.c:1091:11: note: place parentheses around the assignment to silence this warning if( usp = UDP_Socketpair(usv) == 0 ){ ^ ( ) conf._.c:1091:11: note: use '==' to turn this assignment into an equality comparison if( usp = UDP_Socketpair(usv) == 0 ){ ^ == conf._.c:1154:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ conf._.c:1154:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) conf._.c:1154:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == conf._.c:1240:26: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] int with_gethostbyname2(); ^~ conf._.c:1240:26: note: replace parentheses with an initializer to declare a variable int with_gethostbyname2(); ^~ = 0 19 warnings generated. ../mkcpp svport.c svport._.c -- mkcpp set time: 1712064710 -> 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] if( fix = host[0] == '-' ){ ~~~~^~~~~~~~~~~~~~~~ svport._.c:130:10: note: place parentheses around the assignment to silence this warning if( fix = host[0] == '-' ){ ^ ( ) svport._.c:130:10: note: use '==' to turn this assignment into an equality comparison if( fix = host[0] == '-' ){ ^ == svport._.c:255:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mp = strtailstr(portspec,"/rident") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport._.c:255:11: note: place parentheses around the assignment to silence this warning if( mp = strtailstr(portspec,"/rident") ){ ^ ( ) svport._.c:255:11: note: use '==' to turn this assignment into an equality comparison if( mp = strtailstr(portspec,"/rident") ){ ^ == svport._.c:258:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mp = strtailstr(portspec,"/private") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport._.c:258:11: note: place parentheses around the assignment to silence this warning if( mp = strtailstr(portspec,"/private") ){ ^ ( ) svport._.c:258:11: note: use '==' to turn this assignment into an equality comparison if( mp = strtailstr(portspec,"/private") ){ ^ == svport._.c:261:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mp = strtailstr(portspec,"/local") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport._.c:261:11: note: place parentheses around the assignment to silence this warning if( mp = strtailstr(portspec,"/local") ){ ^ ( ) svport._.c:261:11: note: use '==' to turn this assignment into an equality comparison if( mp = strtailstr(portspec,"/local") ){ ^ == svport._.c:264:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mp = strtailstr(portspec,"/remote") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport._.c:264:11: note: place parentheses around the assignment to silence this warning if( mp = strtailstr(portspec,"/remote") ){ ^ ( ) svport._.c:264:11: note: use '==' to turn this assignment into an equality comparison if( mp = strtailstr(portspec,"/remote") ){ ^ == svport._.c:267:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mp = strtailstr(portspec,"/stls") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport._.c:267:11: note: place parentheses around the assignment to silence this warning if( mp = strtailstr(portspec,"/stls") ){ ^ ( ) svport._.c:267:11: note: use '==' to turn this assignment into an equality comparison if( mp = strtailstr(portspec,"/stls") ){ ^ == svport._.c:270:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mp = strtailstr(portspec,"/ssl") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport._.c:270:11: note: place parentheses around the assignment to silence this warning if( mp = strtailstr(portspec,"/ssl") ){ ^ ( ) svport._.c:270:11: note: use '==' to turn this assignment into an equality comparison if( mp = strtailstr(portspec,"/ssl") ){ ^ == svport._.c:303:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( stdport = serviceport(mod) ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~ svport._.c:303:15: note: place parentheses around the assignment to silence this warning if( stdport = serviceport(mod) ){ ^ ( ) svport._.c:303:15: note: use '==' to turn this assignment into an equality comparison if( stdport = serviceport(mod) ){ ^ == svport._.c:993:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( htmux = DELEGATE_getEnv(P_HTMUX) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ svport._.c:993:12: note: place parentheses around the assignment to silence this warning if( htmux = DELEGATE_getEnv(P_HTMUX) ){ ^ ( ) svport._.c:993:12: note: use '==' to turn this assignment into an equality comparison if( htmux = DELEGATE_getEnv(P_HTMUX) ){ ^ == svport._.c:1125:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( delegate = serverHostPort ) ~~~~~~~~~^~~~~~~~~~~~~~~~ svport._.c:1125:15: note: place parentheses around the assignment to silence this warning if( delegate = serverHostPort ) ^ ( ) svport._.c:1125:15: note: use '==' to turn this assignment into an equality comparison if( delegate = serverHostPort ) ^ == svport._.c:1130:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addr = gethostaddr(myhost) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~ svport._.c:1130:12: note: place parentheses around the assignment to silence this warning if( addr = gethostaddr(myhost) ) ^ ( ) svport._.c:1130:12: note: use '==' to turn this assignment into an equality comparison if( addr = gethostaddr(myhost) ) ^ == svport._.c:1225:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = strchr(host,'%') ){ ~~~^~~~~~~~~~~~~~~~~~ svport._.c:1225:9: note: place parentheses around the assignment to silence this warning if( hp = strchr(host,'%') ){ ^ ( ) svport._.c:1225:9: note: use '==' to turn this assignment into an equality comparison if( hp = strchr(host,'%') ){ ^ == svport._.c:1484:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ap = a1; ac = *ap; ap++ ){ ~~~^~~~~ svport._.c:1484:19: note: place parentheses around the assignment to silence this warning for( ap = a1; ac = *ap; ap++ ){ ^ ( ) svport._.c:1484:19: note: use '==' to turn this assignment into an equality comparison for( ap = a1; ac = *ap; ap++ ){ ^ == svport._.c:1510:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(hostport,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~~~ svport._.c:1510:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(hostport,'/') ) ^ ( ) svport._.c:1510:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(hostport,'/') ) ^ == svport._.c:1512:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(hostport,':') ) ~~~^~~~~~~~~~~~~~~~~~~~~~ svport._.c:1512:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(hostport,':') ) ^ ( ) svport._.c:1512:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(hostport,':') ) ^ == svport._.c:1869:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( iport = 0xFFFF & (SvType(sx) >> 16) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ svport._.c:1869:14: note: place parentheses around the assignment to silence this warning if( iport = 0xFFFF & (SvType(sx) >> 16) ){ ^ ( ) svport._.c:1869:14: note: use '==' to turn this assignment into an equality comparison if( iport = 0xFFFF & (SvType(sx) >> 16) ){ ^ == 16 warnings generated. ../mkcpp ddi.c ddi._.c -- mkcpp set time: 1712064710 -> 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] if( nready = fPollIn(fp,to1) ){ ~~~~~~~^~~~~~~~~~~~~~~~~ ddi._.c:52:14: note: place parentheses around the assignment to silence this warning if( nready = fPollIn(fp,to1) ){ ^ ( ) ddi._.c:52:14: note: use '==' to turn this assignment into an equality comparison if( nready = fPollIn(fp,to1) ){ ^ == ddi._.c:626:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = fgets(str,size,fp) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~ ddi._.c:626:12: note: place parentheses around the assignment to silence this warning if( rcode = fgets(str,size,fp) ) ^ ( ) ddi._.c:626:12: note: use '==' to turn this assignment into an equality comparison if( rcode = fgets(str,size,fp) ) ^ == ddi._.c:879:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( port = getFROM(Conn,AVStr(user),AVStr(host),AVStr(ver)) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ddi._.c:879:11: note: place parentheses around the assignment to silence this warning if( port = getFROM(Conn,AVStr(user),AVStr(host),AVStr(ver)) ) ^ ( ) ddi._.c:879:11: note: use '==' to turn this assignment into an equality comparison if( port = getFROM(Conn,AVStr(user),AVStr(host),AVStr(ver)) ) ^ == ddi._.c:893:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(tmp,'!') ){ ~~~^~~~~~~~~~~~~~~~~~ ddi._.c:893:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(tmp,'!') ){ ^ ( ) ddi._.c:893:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(tmp,'!') ){ ^ == ddi._.c:895:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(tmp,'!') ){ ~~~^~~~~~~~~~~~~~~~~~ ddi._.c:895:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(tmp,'!') ){ ^ ( ) ddi._.c:895:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(tmp,'!') ){ ^ == ddi._.c:1117:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strrchr(path,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~ ddi._.c:1117:11: note: place parentheses around the assignment to silence this warning if( pp = strrchr(path,'/') ){ ^ ( ) ddi._.c:1117:11: note: use '==' to turn this assignment into an equality comparison if( pp = strrchr(path,'/') ){ ^ == ddi._.c:1280:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(tmp,'.') ) ~~~^~~~~~~~~~~~~~~~~~ ddi._.c:1280:11: note: place parentheses around the assignment to silence this warning if( dp = strrchr(tmp,'.') ) ^ ( ) ddi._.c:1280:11: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(tmp,'.') ) ^ == ddi._.c:1373:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(tmp," for ") ) ~~~^~~~~~~~~~~~~~~~~~~~~ ddi._.c:1373:11: note: place parentheses around the assignment to silence this warning if( dp = strstr(tmp," for ") ) ^ ( ) ddi._.c:1373:11: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(tmp," for ") ) ^ == ddi._.c:1588:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = parameq(opt,OPT_AVSERV) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ddi._.c:1588:10: note: place parentheses around the assignment to silence this warning if( val = parameq(opt,OPT_AVSERV) ) ^ ( ) ddi._.c:1588:10: note: use '==' to turn this assignment into an equality comparison if( val = parameq(opt,OPT_AVSERV) ) ^ == ddi._.c:1591:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = parameq(opt,OPT_NVSERV) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ddi._.c:1591:10: note: place parentheses around the assignment to silence this warning if( val = parameq(opt,OPT_NVSERV) ){ ^ ( ) ddi._.c:1591:10: note: use '==' to turn this assignment into an equality comparison if( val = parameq(opt,OPT_NVSERV) ){ ^ == ddi._.c:1806:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ ddi._.c:1964:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tid = ServerFilter.f_tid ){ ~~~~^~~~~~~~~~~~~~~~~~~~ ddi._.c:1964:10: note: place parentheses around the assignment to silence this warning if( tid = ServerFilter.f_tid ){ ^ ( ) ddi._.c:1964:10: note: use '==' to turn this assignment into an equality comparison if( tid = ServerFilter.f_tid ){ ^ == ddi._.c:2191:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tid = curServ.p_filter[0].f_tid ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ddi._.c:2191:12: note: place parentheses around the assignment to silence this warning if( tid = curServ.p_filter[0].f_tid ){ ^ ( ) ddi._.c:2191:12: note: use '==' to turn this assignment into an equality comparison if( tid = curServ.p_filter[0].f_tid ){ ^ == ddi._.c:2225:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = Efiles[ei].e_fp ){ ~~~^~~~~~~~~~~~~~~~~ ddi._.c:2225:10: note: place parentheses around the assignment to silence this warning if( fp = Efiles[ei].e_fp ){ ^ ( ) ddi._.c:2225:10: note: use '==' to turn this assignment into an equality comparison if( fp = Efiles[ei].e_fp ){ ^ == ddi._.c:2402:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else rcode = XXfcloseFILE(FL_BAR,fp2); ^ 15 warnings generated. ../mkcpp textconv.c textconv._.c -- mkcpp set time: 1712064712 -> 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] if( dp = strchr(ccb,'/') ){ ~~~^~~~~~~~~~~~~~~~~ textconv._.c:115:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(ccb,'/') ){ ^ ( ) textconv._.c:115:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(ccb,'/') ){ ^ == textconv._.c:120:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(ccb,'.') ){ ~~~^~~~~~~~~~~~~~~~~ textconv._.c:120:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(ccb,'.') ){ ^ ( ) textconv._.c:120:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(ccb,'.') ){ ^ == textconv._.c:276:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(spec,'.') ){ ~~~^~~~~~~~~~~~~~~~~~ textconv._.c:276:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(spec,'.') ){ ^ ( ) textconv._.c:276:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(spec,'.') ){ ^ == textconv._.c:513:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tocl = CTX_cur_codeconvCL(Conn,AVStr(cvenv)) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ textconv._.c:513:11: note: place parentheses around the assignment to silence this warning if( tocl = CTX_cur_codeconvCL(Conn,AVStr(cvenv)) ){ ^ ( ) textconv._.c:513:11: note: use '==' to turn this assignment into an equality comparison if( tocl = CTX_cur_codeconvCL(Conn,AVStr(cvenv)) ){ ^ == textconv._.c:608:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( in = ins[inx] ) ~~~^~~~~~~~~~ textconv._.c:608:9: note: place parentheses around the assignment to silence this warning if( in = ins[inx] ) ^ ( ) textconv._.c:608:9: note: use '==' to turn this assignment into an equality comparison if( in = ins[inx] ) ^ == textconv._.c:631:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( in = ins[inx] ){ ~~~^~~~~~~~~~ textconv._.c:631:11: note: place parentheses around the assignment to silence this warning if( in = ins[inx] ){ ^ ( ) textconv._.c:631:11: note: use '==' to turn this assignment into an equality comparison if( in = ins[inx] ){ ^ == 6 warnings generated. ../mkcpp script.c script._.c -- mkcpp set time: 1712064712 -> 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] for( sp = line; ch = *sp; sp++ ) ~~~^~~~~ script._.c:106:21: note: place parentheses around the assignment to silence this warning for( sp = line; ch = *sp; sp++ ) ^ ( ) script._.c:106:21: note: use '==' to turn this assignment into an equality comparison for( sp = line; ch = *sp; sp++ ) ^ == script._.c:110:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *sp ){ ~~~^~~~~ script._.c:110:12: note: place parentheses around the assignment to silence this warning while( ch = *sp ){ ^ ( ) script._.c:110:12: note: use '==' to turn this assignment into an equality comparison while( ch = *sp ){ ^ == script._.c:136:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = popen(command,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~ script._.c:136:11: note: place parentheses around the assignment to silence this warning if( fp = popen(command,"r") ){ ^ ( ) script._.c:136:11: note: use '==' to turn this assignment into an equality comparison if( fp = popen(command,"r") ){ ^ == script._.c:139:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(command,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ script._.c:139:12: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(command,"\r\n") ) ^ ( ) script._.c:139:12: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(command,"\r\n") ) ^ == script._.c:228:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(valueb,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ script._.c:228:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(valueb,"\r\n") ) ^ ( ) script._.c:228:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(valueb,"\r\n") ) ^ == script._.c:419:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( psfp = scripts[ii].sf_sfp ){ ~~~~~^~~~~~~~~~~~~~~~~~~~ script._.c:419:12: note: place parentheses around the assignment to silence this warning if( psfp = scripts[ii].sf_sfp ){ ^ ( ) script._.c:419:12: note: use '==' to turn this assignment into an equality comparison if( psfp = scripts[ii].sf_sfp ){ ^ == script._.c:552:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( pi = 0; path1 = pathv[pi]; pi++ ){ ~~~~~~^~~~~~~~~~~ script._.c:552:21: note: place parentheses around the assignment to silence this warning for( pi = 0; path1 = pathv[pi]; pi++ ){ ^ ( ) script._.c:552:21: note: use '==' to turn this assignment into an equality comparison for( pi = 0; path1 = pathv[pi]; pi++ ){ ^ == script._.c:686:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lp = loadListFile(url) ){ ~~~^~~~~~~~~~~~~~~~~~~ script._.c:686:12: note: place parentheses around the assignment to silence this warning if( lp = loadListFile(url) ){ ^ ( ) script._.c:686:12: note: use '==' to turn this assignment into an equality comparison if( lp = loadListFile(url) ){ ^ == script._.c:827:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strstr(com,INC_SYM) ){ ~~~^~~~~~~~~~~~~~~~~~~~~ script._.c:827:11: note: place parentheses around the assignment to silence this warning if( cp = strstr(com,INC_SYM) ){ ^ ( ) script._.c:827:11: note: use '==' to turn this assignment into an equality comparison if( cp = strstr(com,INC_SYM) ){ ^ == 9 warnings generated. ../mkcpp param.c param._.c -- mkcpp set time: 1712064713 -> 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] for( fi = 1; name = params[fi].p_name; fi++ ) ~~~~~^~~~~~~~~~~~~~~~~~~ param._.c:437:20: note: place parentheses around the assignment to silence this warning for( fi = 1; name = params[fi].p_name; fi++ ) ^ ( ) param._.c:437:20: note: use '==' to turn this assignment into an equality comparison for( fi = 1; name = params[fi].p_name; fi++ ) ^ == param._.c:446:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strheadstrX(param,PFX_LOCK,0) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ param._.c:446:9: note: place parentheses around the assignment to silence this warning if( pp = strheadstrX(param,PFX_LOCK,0) ){ ^ ( ) param._.c:446:9: note: use '==' to turn this assignment into an equality comparison if( pp = strheadstrX(param,PFX_LOCK,0) ){ ^ == param._.c:466:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strheadstrX(param,name1,0) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ param._.c:466:10: note: place parentheses around the assignment to silence this warning if( dp = strheadstrX(param,name1,0) ){ ^ ( ) param._.c:466:10: note: use '==' to turn this assignment into an equality comparison if( dp = strheadstrX(param,name1,0) ){ ^ == param._.c:476:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pi = paramX(param,nameonly) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ param._.c:476:9: note: place parentheses around the assignment to silence this warning if( pi = paramX(param,nameonly) ){ ^ ( ) param._.c:476:9: note: use '==' to turn this assignment into an equality comparison if( pi = paramX(param,nameonly) ){ ^ == param._.c:492:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = paramp(param,1) ){ ~~~^~~~~~~~~~~~~~~~~ param._.c:492:10: note: place parentheses around the assignment to silence this warning if( p1 = paramp(param,1) ){ ^ ( ) param._.c:492:10: note: use '==' to turn this assignment into an equality comparison if( p1 = paramp(param,1) ){ ^ == param._.c:501:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = paramp(param,1) ){ ~~~^~~~~~~~~~~~~~~~~ param._.c:501:9: note: place parentheses around the assignment to silence this warning if( p1 = paramp(param,1) ){ ^ ( ) param._.c:501:9: note: use '==' to turn this assignment into an equality comparison if( p1 = paramp(param,1) ){ ^ == param._.c:531:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = paramp(param,dolock) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ param._.c:531:9: note: place parentheses around the assignment to silence this warning if( pp = paramp(param,dolock) ){ ^ ( ) param._.c:531:9: note: use '==' to turn this assignment into an equality comparison if( pp = paramp(param,dolock) ){ ^ == param._.c:561:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = paramp(param,dolock) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ param._.c:561:9: note: place parentheses around the assignment to silence this warning if( pp = paramp(param,dolock) ){ ^ ( ) param._.c:561:9: note: use '==' to turn this assignment into an equality comparison if( pp = paramp(param,dolock) ){ ^ == param._.c:578:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( pi = 0; name = params[pi].p_name; pi++ ){ ~~~~~^~~~~~~~~~~~~~~~~~~ param._.c:578:20: note: place parentheses around the assignment to silence this warning for( pi = 0; name = params[pi].p_name; pi++ ){ ^ ( ) param._.c:578:20: note: use '==' to turn this assignment into an equality comparison for( pi = 0; name = params[pi].p_name; pi++ ){ ^ == param._.c:605:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(param,'=') ){ ~~~^~~~~~~~~~~~~~~~~~~ param._.c:605:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(param,'=') ){ ^ ( ) param._.c:605:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(param,'=') ){ ^ == param._.c:610:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( pi = 0; pn = params[pi].p_name; pi++ ){ ~~~^~~~~~~~~~~~~~~~~~~ param._.c:610:18: note: place parentheses around the assignment to silence this warning for( pi = 0; pn = params[pi].p_name; pi++ ){ ^ ( ) param._.c:610:18: note: use '==' to turn this assignment into an equality comparison for( pi = 0; pn = params[pi].p_name; pi++ ){ ^ == param._.c:614:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pm = params[pi].p_mssg ) ~~~^~~~~~~~~~~~~~~~~~~ param._.c:614:11: note: place parentheses around the assignment to silence this warning if( pm = params[pi].p_mssg ) ^ ( ) param._.c:614:11: note: use '==' to turn this assignment into an equality comparison if( pm = params[pi].p_mssg ) ^ == param._.c:687:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sai = 0; name = sav[sai]; sai++ ){ ~~~~~^~~~~~~~~~ param._.c:687:25: note: place parentheses around the assignment to silence this warning for( sai = 0; name = sav[sai]; sai++ ){ ^ ( ) param._.c:687:25: note: use '==' to turn this assignment into an equality comparison for( sai = 0; name = sav[sai]; sai++ ){ ^ == param._.c:696:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sai = 0; name = sav[sai]; sai++ ){ ~~~~~^~~~~~~~~~ param._.c:696:25: note: place parentheses around the assignment to silence this warning for( sai = 0; name = sav[sai]; sai++ ){ ^ ( ) param._.c:696:25: note: use '==' to turn this assignment into an equality comparison for( sai = 0; name = sav[sai]; sai++ ){ ^ == param._.c:716:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dav[dai] = paramAbsPath(sav[sai]) ){ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ param._.c:716:17: note: place parentheses around the assignment to silence this warning if( dav[dai] = paramAbsPath(sav[sai]) ){ ^ ( ) param._.c:716:17: note: use '==' to turn this assignment into an equality comparison if( dav[dai] = paramAbsPath(sav[sai]) ){ ^ == 15 warnings generated. ../mkcpp env.c env._.c -- mkcpp set time: 1712064713 -> 1712064599 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] if( value = getv(gen_environ,name) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ env._.c:106:12: note: place parentheses around the assignment to silence this warning if( value = getv(gen_environ,name) ) ^ ( ) env._.c:106:12: note: use '==' to turn this assignment into an equality comparison if( value = getv(gen_environ,name) ) ^ == env._.c:110:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( value = getv(extovw_argv,name) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ env._.c:110:12: note: place parentheses around the assignment to silence this warning if( value = getv(extovw_argv,name) ) ^ ( ) env._.c:110:12: note: use '==' to turn this assignment into an equality comparison if( value = getv(extovw_argv,name) ) ^ == env._.c:114:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( value = getv(main_argv,name) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ env._.c:114:12: note: place parentheses around the assignment to silence this warning if( value = getv(main_argv,name) ) ^ ( ) env._.c:114:12: note: use '==' to turn this assignment into an equality comparison if( value = getv(main_argv,name) ) ^ == env._.c:118:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( value = getv(ext_argv,name) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~ env._.c:118:12: note: place parentheses around the assignment to silence this warning if( value = getv(ext_argv,name) ) ^ ( ) env._.c:118:12: note: use '==' to turn this assignment into an equality comparison if( value = getv(ext_argv,name) ) ^ == env._.c:123:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( value = getenv(xname) ) ~~~~~~^~~~~~~~~~~~~~~ env._.c:123:12: note: place parentheses around the assignment to silence this warning if( value = getenv(xname) ) ^ ( ) env._.c:123:12: note: use '==' to turn this assignment into an equality comparison if( value = getenv(xname) ) ^ == env._.c:127:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( value = getenv(name) ) ~~~~~~^~~~~~~~~~~~~~ env._.c:127:12: note: place parentheses around the assignment to silence this warning if( value = getenv(name) ) ^ ( ) env._.c:127:12: note: use '==' to turn this assignment into an equality comparison if( value = getenv(name) ) ^ == env._.c:133:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( value = getEnvBin(name) ) ~~~~~~^~~~~~~~~~~~~~~~~ env._.c:133:12: note: place parentheses around the assignment to silence this warning if( value = getEnvBin(name) ) ^ ( ) env._.c:133:12: note: use '==' to turn this assignment into an equality comparison if( value = getEnvBin(name) ) ^ == env._.c:140:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnvBin(name) ) ~~~~^~~~~~~~~~~~~~~~~ env._.c:140:10: note: place parentheses around the assignment to silence this warning if( env = getEnvBin(name) ) ^ ( ) env._.c:140:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnvBin(name) ) ^ == env._.c:365:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pv = parameq(arg1,"MYAUTH") ){ arg1 = "MYAUTH="; } ~~~^~~~~~~~~~~~~~~~~~~~~~~~ env._.c:365:10: note: place parentheses around the assignment to silence this warning if( pv = parameq(arg1,"MYAUTH") ){ arg1 = "MYAUTH="; } ^ ( ) env._.c:365:10: note: use '==' to turn this assignment into an equality comparison if( pv = parameq(arg1,"MYAUTH") ){ arg1 = "MYAUTH="; } ^ == env._.c:366:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pv = parameq(arg1,"PASSWD") ){ arg1 = "PASSWD="; } ~~~^~~~~~~~~~~~~~~~~~~~~~~~ env._.c:366:10: note: place parentheses around the assignment to silence this warning if( pv = parameq(arg1,"PASSWD") ){ arg1 = "PASSWD="; } ^ ( ) env._.c:366:10: note: use '==' to turn this assignment into an equality comparison if( pv = parameq(arg1,"PASSWD") ){ arg1 = "PASSWD="; } ^ == env._.c:367:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pv = parameq(arg1,"CRYPT" ) ){ arg1 = "CRYPT="; } ~~~^~~~~~~~~~~~~~~~~~~~~~~~ env._.c:367:10: note: place parentheses around the assignment to silence this warning if( pv = parameq(arg1,"CRYPT" ) ){ arg1 = "CRYPT="; } ^ ( ) env._.c:367:10: note: use '==' to turn this assignment into an equality comparison if( pv = parameq(arg1,"CRYPT" ) ){ arg1 = "CRYPT="; } ^ == env._.c:397:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; env = environ[ai]; ai++ ) ~~~~^~~~~~~~~~~~~ env._.c:397:19: note: place parentheses around the assignment to silence this warning for( ai = 0; env = environ[ai]; ai++ ) ^ ( ) env._.c:397:19: note: use '==' to turn this assignment into an equality comparison for( ai = 0; env = environ[ai]; ai++ ) ^ == env._.c:399:44: warning: add explicit braces to avoid dangling else [-Wdangling-else] if( !showidx ) CFput0(fp,"env %s\n",env) else ^ env._.c:408:54: warning: add explicit braces to avoid dangling else [-Wdangling-else] if( !showidx ) CFput0(fp,"arg %s\n",main_argv[ai]) else ^ env._.c:413:56: warning: add explicit braces to avoid dangling else [-Wdangling-else] if( !showidx ) CFput0(fp,"gen %s\n",gen_environ[ai]) else ^ env._.c:806:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( func = Me->m_func ) ~~~~~^~~~~~~~~~~~ env._.c:806:12: note: place parentheses around the assignment to silence this warning if( func = Me->m_func ) ^ ( ) env._.c:806:12: note: use '==' to turn this assignment into an equality comparison if( func = Me->m_func ) ^ == env._.c:833:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( arg = strstr(arg,")") ) ~~~~^~~~~~~~~~~~~~~~~ env._.c:833:11: note: place parentheses around the assignment to silence this warning if( arg = strstr(arg,")") ) ^ ( ) env._.c:833:11: note: use '==' to turn this assignment into an equality comparison if( arg = strstr(arg,")") ) ^ == env._.c:885:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(arg,'=') ){ ~~~^~~~~~~~~~~~~~~~~ env._.c:885:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(arg,'=') ){ ^ ( ) env._.c:885:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(arg,'=') ){ ^ == env._.c:976:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; e1 = ov[ei]; ei++ ) ~~~^~~~~~~~ env._.c:976:18: note: place parentheses around the assignment to silence this warning for( ei = 0; e1 = ov[ei]; ei++ ) ^ ( ) env._.c:976:18: note: use '==' to turn this assignment into an equality comparison for( ei = 0; e1 = ov[ei]; ei++ ) ^ == env._.c:1016:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; e1 = ev[ei]; ei++ ){ ~~~^~~~~~~~ env._.c:1016:18: note: place parentheses around the assignment to silence this warning for( ei = 0; e1 = ev[ei]; ei++ ){ ^ ( ) env._.c:1016:18: note: use '==' to turn this assignment into an equality comparison for( ei = 0; e1 = ev[ei]; ei++ ){ ^ == env._.c:1471:34: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] LOG_bugs |= (1 << atoi(&arg[2])-1); ~~ ~~~~~~~~~~~~~^~ env._.c:1471:34: note: place parentheses around the '-' expression to silence this warning LOG_bugs |= (1 << atoi(&arg[2])-1); ^ ( ) env._.c:1728:24: warning: 'sizeof' call operates on objects of type 'DefData *' while the size is based on a different type 'DefData **' [-Wsizeof-pointer-memaccess] 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)? bzero(defData,sizeof(defData)); ^~~~~~~ env._.c:1792:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( pp = pat; pc = *pp; pp++ ){ ~~~^~~~~ env._.c:1792:20: note: place parentheses around the assignment to silence this warning for( pp = pat; pc = *pp; pp++ ){ ^ ( ) env._.c:1792:20: note: use '==' to turn this assignment into an equality comparison for( pp = pat; pc = *pp; pp++ ){ ^ == env._.c:1940:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = parameq(line,"SERVER") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ env._.c:1940:9: note: place parentheses around the assignment to silence this warning if( vp = parameq(line,"SERVER") ){ ^ ( ) env._.c:1940:9: note: use '==' to turn this assignment into an equality comparison if( vp = parameq(line,"SERVER") ){ ^ == env._.c:2066:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cfp = fopen(DC->dc_file,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ env._.c:2066:10: note: place parentheses around the assignment to silence this warning if( cfp = fopen(DC->dc_file,"r") ){ ^ ( ) env._.c:2066:10: note: use '==' to turn this assignment into an equality comparison if( cfp = fopen(DC->dc_file,"r") ){ ^ == env._.c:2083:6: warning: comparison of array 'esock' not equal to a null pointer is always true [-Wtautological-pointer-compare] if( esock != NULL ){ ^~~~~ ~~~~ 26 warnings generated. ../mkcpp thmain.c thmain._.c -- mkcpp set time: 1712064714 -> 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] if( err = thread_wait(tid,1000) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~ thmain._.c:450:11: note: place parentheses around the assignment to silence this warning if( err = thread_wait(tid,1000) ){ ^ ( ) thmain._.c:450:11: note: use '==' to turn this assignment into an equality comparison if( err = thread_wait(tid,1000) ){ ^ == thmain._.c:464:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( err = thread_wait(tids[ti],30*1000) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ thmain._.c:464:11: note: place parentheses around the assignment to silence this warning if( err = thread_wait(tids[ti],30*1000) ){ ^ ( ) thmain._.c:464:11: note: use '==' to turn this assignment into an equality comparison if( err = thread_wait(tids[ti],30*1000) ){ ^ == 2 warnings generated. ../mkcpp syslog.c syslog._.c -- mkcpp set time: 1712064714 -> 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] for( fi = 0; fn = Severity[fi]; fi++ ){ ~~~^~~~~~~~~~~~~~ syslog._.c:58:18: note: place parentheses around the assignment to silence this warning for( fi = 0; fn = Severity[fi]; fi++ ){ ^ ( ) syslog._.c:58:18: note: use '==' to turn this assignment into an equality comparison for( fi = 0; fn = Severity[fi]; fi++ ){ ^ == syslog._.c:95:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fi = 0; fn = Facility[fi]; fi++ ){ ~~~^~~~~~~~~~~~~~ syslog._.c:95:18: note: place parentheses around the assignment to silence this warning for( fi = 0; fn = Facility[fi]; fi++ ){ ^ ( ) syslog._.c:95:18: note: use '==' to turn this assignment into an equality comparison for( fi = 0; fn = Facility[fi]; fi++ ){ ^ == syslog._.c:314:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lfp = fopen(url+5,"a") ){ ~~~~^~~~~~~~~~~~~~~~~~ syslog._.c:314:11: note: place parentheses around the assignment to silence this warning if( lfp = fopen(url+5,"a") ){ ^ ( ) syslog._.c:314:11: note: use '==' to turn this assignment into an equality comparison if( lfp = fopen(url+5,"a") ){ ^ == syslog._.c:322:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lfp = fopen(url,"a") ){ ~~~~^~~~~~~~~~~~~~~~ syslog._.c:322:11: note: place parentheses around the assignment to silence this warning if( lfp = fopen(url,"a") ){ ^ ( ) syslog._.c:322:11: note: use '==' to turn this assignment into an equality comparison if( lfp = fopen(url,"a") ){ ^ == 4 warnings generated. ../mkcpp log.c log._.c -- mkcpp set time: 1712064715 -> 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] if( buff = getStrBuffer(SB_PROC,MAXLENG,1) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log._.c:200:12: note: place parentheses around the assignment to silence this warning if( buff = getStrBuffer(SB_PROC,MAXLENG,1) ){ ^ ( ) log._.c:200:12: note: use '==' to turn this assignment into an equality comparison if( buff = getStrBuffer(SB_PROC,MAXLENG,1) ){ ^ == log._.c:272:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( plog = pplog ){ ~~~~~^~~~~~~ log._.c:272:11: note: place parentheses around the assignment to silence this warning if( plog = pplog ){ ^ ( ) log._.c:272:11: note: use '==' to turn this assignment into an equality comparison if( plog = pplog ){ ^ == log._.c:564:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ldp = strstr(link,tag) ){ ~~~~^~~~~~~~~~~~~~~~~~ log._.c:564:13: note: place parentheses around the assignment to silence this warning while( ldp = strstr(link,tag) ){ ^ ( ) log._.c:564:13: note: use '==' to turn this assignment into an equality comparison while( ldp = strstr(link,tag) ){ ^ == log._.c:565:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strchr(link,']') ){ ~~~^~~~~~~~~~~~~~~~~~ log._.c:565:10: note: place parentheses around the assignment to silence this warning if( tp = strchr(link,']') ){ ^ ( ) log._.c:565:10: note: use '==' to turn this assignment into an equality comparison if( tp = strchr(link,']') ){ ^ == log._.c:573:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( fdp = strstr(file,tag) ){ ~~~~^~~~~~~~~~~~~~~~~~ log._.c:573:13: note: place parentheses around the assignment to silence this warning while( fdp = strstr(file,tag) ){ ^ ( ) log._.c:573:13: note: use '==' to turn this assignment into an equality comparison while( fdp = strstr(file,tag) ){ ^ == log._.c:576:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strchr(format,']') ){ ~~~^~~~~~~~~~~~~~~~~~~~ log._.c:576:10: note: place parentheses around the assignment to silence this warning if( tp = strchr(format,']') ){ ^ ( ) log._.c:576:10: note: use '==' to turn this assignment into an equality comparison if( tp = strchr(format,']') ){ ^ == log._.c:755:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tfp = fopen(current,"a") ){ ~~~~^~~~~~~~~~~~~~~~~~~~ log._.c:755:11: note: place parentheses around the assignment to silence this warning if( tfp = fopen(current,"a") ){ ^ ( ) log._.c:755:11: note: use '==' to turn this assignment into an equality comparison if( tfp = fopen(current,"a") ){ ^ == log._.c:921:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( filters = logF->l_filters ){ ~~~~~~~~^~~~~~~~~~~~~~~~~ log._.c:921:15: note: place parentheses around the assignment to silence this warning if( filters = logF->l_filters ){ ^ ( ) log._.c:921:15: note: use '==' to turn this assignment into an equality comparison if( filters = logF->l_filters ){ ^ == log._.c:1078:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ex = LogF->l_ex ){ ~~~^~~~~~~~~~~~ log._.c:1078:9: note: place parentheses around the assignment to silence this warning if( ex = LogF->l_ex ){ ^ ( ) log._.c:1078:9: note: use '==' to turn this assignment into an equality comparison if( ex = LogF->l_ex ){ ^ == log._.c:1272:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fdopen(fd,"a") ) ~~~^~~~~~~~~~~~~~~~ log._.c:1272:10: note: place parentheses around the assignment to silence this warning if( fp = fdopen(fd,"a") ) ^ ( ) log._.c:1272:10: note: use '==' to turn this assignment into an equality comparison if( fp = fdopen(fd,"a") ) ^ == log._.c:2040:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen("PortFile",AVStr(PortF.l_path),"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log._.c:2040:10: note: place parentheses around the assignment to silence this warning if( fp = dirfopen("PortFile",AVStr(PortF.l_path),"r") ){ ^ ( ) log._.c:2040:10: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen("PortFile",AVStr(PortF.l_path),"r") ){ ^ == log._.c:2092:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ep = strstr(bgn,end) ){ ~~~^~~~~~~~~~~~~~~~~ log._.c:2092:13: note: place parentheses around the assignment to silence this warning while( ep = strstr(bgn,end) ){ ^ ( ) log._.c:2092:13: note: use '==' to turn this assignment into an equality comparison while( ep = strstr(bgn,end) ){ ^ == log._.c:2145:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( LogF = LOG_which("ftp",LF_PROTOLOG,0) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log._.c:2145:11: note: place parentheses around the assignment to silence this warning if( LogF = LOG_which("ftp",LF_PROTOLOG,0) ){ ^ ( ) log._.c:2145:11: note: use '==' to turn this assignment into an equality comparison if( LogF = LOG_which("ftp",LF_PROTOLOG,0) ){ ^ == log._.c:2297:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strchr(lp,'\n') ){ ~~~^~~~~~~~~~~~~~~~~ log._.c:2297:10: note: place parentheses around the assignment to silence this warning if( np = strchr(lp,'\n') ){ ^ ( ) log._.c:2297:10: note: use '==' to turn this assignment into an equality comparison if( np = strchr(lp,'\n') ){ ^ == log._.c:2370:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(unlinkv[ui],"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ log._.c:2370:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(unlinkv[ui],"r") ){ ^ ( ) log._.c:2370:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(unlinkv[ui],"r") ){ ^ == log._.c:2753:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( rp = reason; rc = *rp; rp++ ){ ~~~^~~~~ log._.c:2753:23: note: place parentheses around the assignment to silence this warning for( rp = reason; rc = *rp; rp++ ){ ^ ( ) log._.c:2753:23: note: use '==' to turn this assignment into an equality comparison for( rp = reason; rc = *rp; rp++ ){ ^ == log._.c:2778:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen("MBOXMUID",AVStr(path),"w+") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log._.c:2778:10: note: place parentheses around the assignment to silence this warning if( fp = dirfopen("MBOXMUID",AVStr(path),"w+") ) ^ ( ) log._.c:2778:10: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen("MBOXMUID",AVStr(path),"w+") ) ^ == log._.c:2782:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen("MBOXMUID",AVStr(path),"r+") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log._.c:2782:10: note: place parentheses around the assignment to silence this warning if( fp = dirfopen("MBOXMUID",AVStr(path),"r+") ){ ^ ( ) log._.c:2782:10: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen("MBOXMUID",AVStr(path),"r+") ){ ^ == log._.c:2799:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ufp = openMuid(1,muid,AVStr(mbox)) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log._.c:2799:12: note: place parentheses around the assignment to silence this warning if( ufp = openMuid(1,muid,AVStr(mbox)) ) ^ ( ) log._.c:2799:12: note: use '==' to turn this assignment into an equality comparison if( ufp = openMuid(1,muid,AVStr(mbox)) ) ^ == log._.c:2997:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(path,HS_SET) ) ~~~^~~~~~~~~~~~~~~~~~~~~ log._.c:2997:12: note: place parentheses around the assignment to silence this warning if( dp = strchr(path,HS_SET) ) ^ ( ) log._.c:2997:12: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(path,HS_SET) ) ^ == log._.c:3054:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(addr,HS_SET) ) ~~~^~~~~~~~~~~~~~~~~~~~~ log._.c:3054:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(addr,HS_SET) ) ^ ( ) log._.c:3054:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(addr,HS_SET) ) ^ == log._.c:3176:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addr = gethostaddr(host) ){ ~~~~~^~~~~~~~~~~~~~~~~~~ log._.c:3176:15: note: place parentheses around the assignment to silence this warning if( addr = gethostaddr(host) ){ ^ ( ) log._.c:3176:15: note: use '==' to turn this assignment into an equality comparison if( addr = gethostaddr(host) ){ ^ == log._.c:3290:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lkfp = dirfopen("LOCALLOCK",AVStr(lkpath),"w+") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log._.c:3290:11: note: place parentheses around the assignment to silence this warning if( lkfp = dirfopen("LOCALLOCK",AVStr(lkpath),"w+") ){ ^ ( ) log._.c:3290:11: note: use '==' to turn this assignment into an equality comparison if( lkfp = dirfopen("LOCALLOCK",AVStr(lkpath),"w+") ){ ^ == log._.c:3310:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( file = getenv("DELEGATE_LOGLOG") ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ log._.c:3310:11: note: place parentheses around the assignment to silence this warning if( file = getenv("DELEGATE_LOGLOG") ) ^ ( ) log._.c:3310:11: note: use '==' to turn this assignment into an equality comparison if( file = getenv("DELEGATE_LOGLOG") ) ^ == log._.c:3311:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( logfp = fopen(file,"a") ){ ~~~~~~^~~~~~~~~~~~~~~~~ log._.c:3311:12: note: place parentheses around the assignment to silence this warning if( logfp = fopen(file,"a") ){ ^ ( ) log._.c:3311:12: note: use '==' to turn this assignment into an equality comparison if( logfp = fopen(file,"a") ){ ^ == log._.c:3456:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pfp = fopen(path,"a") ){ ~~~~^~~~~~~~~~~~~~~~~ log._.c:3456:10: note: place parentheses around the assignment to silence this warning if( pfp = fopen(path,"a") ){ ^ ( ) log._.c:3456:10: note: use '==' to turn this assignment into an equality comparison if( pfp = fopen(path,"a") ){ ^ == log._.c:3477:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pfp = proc_fp ){ ~~~~^~~~~~~~~ log._.c:3477:10: note: place parentheses around the assignment to silence this warning if( pfp = proc_fp ){ ^ ( ) log._.c:3477:10: note: use '==' to turn this assignment into an equality comparison if( pfp = proc_fp ){ ^ == log._.c:3490:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strrchr(path,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~ log._.c:3490:10: note: place parentheses around the assignment to silence this warning if( pp = strrchr(path,'/') ){ ^ ( ) log._.c:3490:10: note: use '==' to turn this assignment into an equality comparison if( pp = strrchr(path,'/') ){ ^ == 28 warnings generated. ../mkcpp svstat.c svstat._.c -- mkcpp set time: 1712064716 -> 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] while( fc = *fp++ ){ ~~~^~~~~~~ svstat._.c:341:12: note: place parentheses around the assignment to silence this warning while( fc = *fp++ ){ ^ ( ) svstat._.c:341:12: note: use '==' to turn this assignment into an equality comparison while( fc = *fp++ ){ ^ == svstat._.c:523:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strchr(fp,']') ){ ~~~^~~~~~~~~~~~~~~~ svstat._.c:523:12: note: place parentheses around the assignment to silence this warning if( tp = strchr(fp,']') ){ ^ ( ) svstat._.c:523:12: note: use '==' to turn this assignment into an equality comparison if( tp = strchr(fp,']') ){ ^ == 2 warnings generated. ../mkcpp iotimeout.c iotimeout._.c -- mkcpp set time: 1712064716 -> 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] if( closed = checkCloseOnTimeout(1) ) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ iotimeout._.c:65:14: note: place parentheses around the assignment to silence this warning if( closed = checkCloseOnTimeout(1) ) ^ ( ) iotimeout._.c:65:14: note: use '==' to turn this assignment into an equality comparison if( closed = checkCloseOnTimeout(1) ) ^ == 1 warning generated. ../mkcpp misc.c misc._.c -- mkcpp set time: 1712064717 -> 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] if( dp = strrchr(dir,'/') ){ ~~~^~~~~~~~~~~~~~~~~~ misc._.c:224:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(dir,'/') ){ ^ ( ) misc._.c:224:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(dir,'/') ){ ^ == misc._.c:232:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sfp = dgfopen("copyFile-src","",src,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc._.c:232:11: note: place parentheses around the assignment to silence this warning if( sfp = dgfopen("copyFile-src","",src,"r") ){ ^ ( ) misc._.c:232:11: note: use '==' to turn this assignment into an equality comparison if( sfp = dgfopen("copyFile-src","",src,"r") ){ ^ == misc._.c:234:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dfp = dgfopen("copyFile-append","",dst,mode) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc._.c:234:12: note: place parentheses around the assignment to silence this warning if( dfp = dgfopen("copyFile-append","",dst,mode) ){ ^ ( ) misc._.c:234:12: note: use '==' to turn this assignment into an equality comparison if( dfp = dgfopen("copyFile-append","",dst,mode) ){ ^ == misc._.c:245:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dfp = dgfopen("copyFile-create","",xnew,"w") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc._.c:245:12: note: place parentheses around the assignment to silence this warning if( dfp = dgfopen("copyFile-create","",xnew,"w") ){ ^ ( ) misc._.c:245:12: note: use '==' to turn this assignment into an equality comparison if( dfp = dgfopen("copyFile-create","",xnew,"w") ){ ^ == 4 warnings generated. ../mkcpp msg.c msg._.c -- mkcpp set time: 1712064717 -> 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] for( sp = status; ch = *sp; sp++ ){ ~~~^~~~~ msg._.c:46:23: note: place parentheses around the assignment to silence this warning for( sp = status; ch = *sp; sp++ ){ ^ ( ) msg._.c:46:23: note: use '==' to turn this assignment into an equality comparison for( sp = status; ch = *sp; sp++ ){ ^ == msg._.c:63:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *sp++ ){ ~~~^~~~~~~ msg._.c:63:12: note: place parentheses around the assignment to silence this warning while( ch = *sp++ ){ ^ ( ) msg._.c:63:12: note: use '==' to turn this assignment into an equality comparison while( ch = *sp++ ){ ^ == msg._.c:94:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xsize = putmsghead("putMessage",ser,buff,size,dstf,encode,AVStr(xbuff)) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg._.c:94:12: note: place parentheses around the assignment to silence this warning if( xsize = putmsghead("putMessage",ser,buff,size,dstf,encode,AVStr(xbuff)) ){ ^ ( ) msg._.c:94:12: note: use '==' to turn this assignment into an equality comparison if( xsize = putmsghead("putMessage",ser,buff,size,dstf,encode,AVStr(xbuff)) ){ ^ == msg._.c:159:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ser = 1; rcc = freadIntime(AVStr(buff),1,sizeof(buff),srcf,MSG_TIMEOUT); ser++ ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg._.c:159:20: note: place parentheses around the assignment to silence this warning for( ser = 1; rcc = freadIntime(AVStr(buff),1,sizeof(buff),srcf,MSG_TIMEOUT); ser++ ){ ^ ( ) msg._.c:159:20: note: use '==' to turn this assignment into an equality comparison for( ser = 1; rcc = freadIntime(AVStr(buff),1,sizeof(buff),srcf,MSG_TIMEOUT); ser++ ){ ^ == msg._.c:263:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pending = Pending ){ ~~~~~~~~^~~~~~~~~ msg._.c:263:14: note: place parentheses around the assignment to silence this warning if( pending = Pending ){ ^ ( ) msg._.c:263:14: note: use '==' to turn this assignment into an equality comparison if( pending = Pending ){ ^ == msg._.c:426:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xsize = putmsghead("cpy1",ser,buff,leng,dst,encode,AVStr(xbuff)) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ msg._.c:426:12: note: place parentheses around the assignment to silence this warning if( xsize = putmsghead("cpy1",ser,buff,leng,dst,encode,AVStr(xbuff)) ){ ^ ( ) msg._.c:426:12: note: use '==' to turn this assignment into an equality comparison if( xsize = putmsghead("cpy1",ser,buff,leng,dst,encode,AVStr(xbuff)) ){ ^ == 6 warnings generated. ../mkcpp yshell.c yshell._.c -- mkcpp set time: 1712064718 -> 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] if( lfp = _logMonFp ){ ~~~~^~~~~~~~~~~ yshell._.c:235:10: note: place parentheses around the assignment to silence this warning if( lfp = _logMonFp ){ ^ ( ) yshell._.c:235:10: note: use '==' to turn this assignment into an equality comparison if( lfp = _logMonFp ){ ^ == yshell._.c:391:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( rp = buf; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); } ~~~^~~~~ yshell._.c:391:20: note: place parentheses around the assignment to silence this warning for( rp = buf; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); } ^ ( ) yshell._.c:391:20: note: use '==' to turn this assignment into an equality comparison for( rp = buf; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); } ^ == yshell._.c:392:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( rp = req; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); } ~~~^~~~~ yshell._.c:392:20: note: place parentheses around the assignment to silence this warning for( rp = req; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); } ^ ( ) yshell._.c:392:20: note: use '==' to turn this assignment into an equality comparison for( rp = req; ch = *rp; rp++ ){ hputc(Ysh,pch = ch); } ^ == yshell._.c:556:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(curl,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~ yshell._.c:556:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(curl,'/') ){ ^ ( ) yshell._.c:556:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(curl,'/') ){ ^ == yshell._.c:608:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(upath,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~ yshell._.c:608:11: note: place parentheses around the assignment to silence this warning if( dp = strrchr(upath,'/') ) ^ ( ) yshell._.c:608:11: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(upath,'/') ) ^ == yshell._.c:617:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(lpath,"w+") ){ ~~~^~~~~~~~~~~~~~~~~~~ yshell._.c:617:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(lpath,"w+") ){ ^ ( ) yshell._.c:617:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(lpath,"w+") ){ ^ == yshell._.c:642:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(Args,' ') ){ ~~~^~~~~~~~~~~~~~~~~~ yshell._.c:642:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(Args,' ') ){ ^ ( ) yshell._.c:642:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(Args,' ') ){ ^ == yshell._.c:751:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp1 = fopen(path1,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~ yshell._.c:751:12: note: place parentheses around the assignment to silence this warning if( fp1 = fopen(path1,"r") ){ ^ ( ) yshell._.c:751:12: note: use '==' to turn this assignment into an equality comparison if( fp1 = fopen(path1,"r") ){ ^ == yshell._.c:762:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp1 = fopen(path1,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~ yshell._.c:762:11: note: place parentheses around the assignment to silence this warning if( fp1 = fopen(path1,"r") ){ ^ ( ) yshell._.c:762:11: note: use '==' to turn this assignment into an equality comparison if( fp1 = fopen(path1,"r") ){ ^ == yshell._.c:774:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp1 = fopen(path1,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~ yshell._.c:774:11: note: place parentheses around the assignment to silence this warning if( fp1 = fopen(path1,"r") ){ ^ ( ) yshell._.c:774:11: note: use '==' to turn this assignment into an equality comparison if( fp1 = fopen(path1,"r") ){ ^ == yshell._.c:793:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp1 = fopen(path1,"w") ){ ~~~~^~~~~~~~~~~~~~~~~~ yshell._.c:793:11: note: place parentheses around the assignment to silence this warning if( fp1 = fopen(path1,"w") ){ ^ ( ) yshell._.c:793:11: note: use '==' to turn this assignment into an equality comparison if( fp1 = fopen(path1,"w") ){ ^ == yshell._.c:802:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp1 = fopen(path1,"a") ){ ~~~~^~~~~~~~~~~~~~~~~~ yshell._.c:802:11: note: place parentheses around the assignment to silence this warning if( fp1 = fopen(path1,"a") ){ ^ ( ) yshell._.c:802:11: note: use '==' to turn this assignment into an equality comparison if( fp1 = fopen(path1,"a") ){ ^ == yshell._.c:810:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp1 = fopen(path1,"a") ){ ~~~~^~~~~~~~~~~~~~~~~~ yshell._.c:810:11: note: place parentheses around the assignment to silence this warning if( fp1 = fopen(path1,"a") ){ ^ ( ) yshell._.c:810:11: note: use '==' to turn this assignment into an equality comparison if( fp1 = fopen(path1,"a") ){ ^ == yshell._.c:820:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp1 = fopen(path1,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~ yshell._.c:820:11: note: place parentheses around the assignment to silence this warning if( fp1 = fopen(path1,"r") ){ ^ ( ) yshell._.c:820:11: note: use '==' to turn this assignment into an equality comparison if( fp1 = fopen(path1,"r") ){ ^ == yshell._.c:821:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp2 = fopen(path2,"w") ){ ~~~~^~~~~~~~~~~~~~~~~~ yshell._.c:821:12: note: place parentheses around the assignment to silence this warning if( fp2 = fopen(path2,"w") ){ ^ ( ) yshell._.c:821:12: note: use '==' to turn this assignment into an equality comparison if( fp2 = fopen(path2,"w") ){ ^ == yshell._.c:933:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strheadstrX(head,"Authorization:",0) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ yshell._.c:933:10: note: place parentheses around the assignment to silence this warning if( dp = strheadstrX(head,"Authorization:",0) ){ ^ ( ) yshell._.c:933:10: note: use '==' to turn this assignment into an equality comparison if( dp = strheadstrX(head,"Authorization:",0) ){ ^ == yshell._.c:1177:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ts = fdopen(sock,"w") ){ ~~~^~~~~~~~~~~~~~~~~~ yshell._.c:1177:9: note: place parentheses around the assignment to silence this warning if( ts = fdopen(sock,"w") ){ ^ ( ) yshell._.c:1177:9: note: use '==' to turn this assignment into an equality comparison if( ts = fdopen(sock,"w") ){ ^ == yshell._.c:1182:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fs = fdopen(dup(sock),"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ yshell._.c:1182:10: note: place parentheses around the assignment to silence this warning if( fs = fdopen(dup(sock),"r") ){ ^ ( ) yshell._.c:1182:10: note: use '==' to turn this assignment into an equality comparison if( fs = fdopen(dup(sock),"r") ){ ^ == yshell._.c:1247:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strcasestr(OREQ_MSG,"win_wid=") ) sscanf(pp,"win_wid=%X",&win_wid); ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ yshell._.c:1247:10: note: place parentheses around the assignment to silence this warning if( pp = strcasestr(OREQ_MSG,"win_wid=") ) sscanf(pp,"win_wid=%X",&win_wid); ^ ( ) yshell._.c:1247:10: note: use '==' to turn this assignment into an equality comparison if( pp = strcasestr(OREQ_MSG,"win_wid=") ) sscanf(pp,"win_wid=%X",&win_wid); ^ == yshell._.c:1248:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strcasestr(OREQ_MSG,"win_title=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ yshell._.c:1248:10: note: place parentheses around the assignment to silence this warning if( pp = strcasestr(OREQ_MSG,"win_title=") ){ ^ ( ) yshell._.c:1248:10: note: use '==' to turn this assignment into an equality comparison if( pp = strcasestr(OREQ_MSG,"win_title=") ){ ^ == yshell._.c:1297:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strstr(stat,"WINDOWID=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ yshell._.c:1297:9: note: place parentheses around the assignment to silence this warning if( pp = strstr(stat,"WINDOWID=") ){ ^ ( ) yshell._.c:1297:9: note: use '==' to turn this assignment into an equality comparison if( pp = strstr(stat,"WINDOWID=") ){ ^ == yshell._.c:1299:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strstr(stat,"TITLE=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ yshell._.c:1299:10: note: place parentheses around the assignment to silence this warning if( pp = strstr(stat,"TITLE=") ){ ^ ( ) yshell._.c:1299:10: note: use '==' to turn this assignment into an equality comparison if( pp = strstr(stat,"TITLE=") ){ ^ == yshell._.c:1308:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strstr(stat,"SCRSIZE=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ yshell._.c:1308:9: note: place parentheses around the assignment to silence this warning if( pp = strstr(stat,"SCRSIZE=") ){ ^ ( ) yshell._.c:1308:9: note: use '==' to turn this assignment into an equality comparison if( pp = strstr(stat,"SCRSIZE=") ){ ^ == yshell._.c:1424:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( query = strchr(Com,'?') ){ ~~~~~~^~~~~~~~~~~~~~~~~ yshell._.c:1424:14: note: place parentheses around the assignment to silence this warning if( query = strchr(Com,'?') ){ ^ ( ) yshell._.c:1424:14: note: use '==' to turn this assignment into an equality comparison if( query = strchr(Com,'?') ){ ^ == yshell._.c:1455:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( v1 = getenv(Arg1+1) ){ ~~~^~~~~~~~~~~~~~~~ yshell._.c:1455:13: note: place parentheses around the assignment to silence this warning if( v1 = getenv(Arg1+1) ){ ^ ( ) yshell._.c:1455:13: note: use '==' to turn this assignment into an equality comparison if( v1 = getenv(Arg1+1) ){ ^ == yshell._.c:1706:24: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] int SortCachedHosts(); ^~ yshell._.c:1706:24: note: replace parentheses with an initializer to declare a variable int SortCachedHosts(); ^~ = 0 26 warnings generated. ../mkcpp shio.c shio._.c -- mkcpp set time: 1712064719 -> 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] if( fp = fopen(file,"r") ){ ~~~^~~~~~~~~~~~~~~~~ shio._.c:149:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"r") ){ ^ ( ) shio._.c:149:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"r") ){ ^ == shio._.c:150:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( rc = fread(buff,1,sizeof(buff),fp) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shio._.c:150:13: note: place parentheses around the assignment to silence this warning while( rc = fread(buff,1,sizeof(buff),fp) ) ^ ( ) shio._.c:150:13: note: use '==' to turn this assignment into an equality comparison while( rc = fread(buff,1,sizeof(buff),fp) ) ^ == shio._.c:159:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( rc = read(in,buff,sizeof(buff)) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ shio._.c:159:13: note: place parentheses around the assignment to silence this warning while( rc = read(in,buff,sizeof(buff)) ){ ^ ( ) shio._.c:159:13: note: use '==' to turn this assignment into an equality comparison while( rc = read(in,buff,sizeof(buff)) ){ ^ == shio._.c:189:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(si = 0; sl = script[si]; si++){ ~~~^~~~~~~~~~~~ shio._.c:189:17: note: place parentheses around the assignment to silence this warning for(si = 0; sl = script[si]; si++){ ^ ( ) shio._.c:189:17: note: use '==' to turn this assignment into an equality comparison for(si = 0; sl = script[si]; si++){ ^ == 4 warnings generated. ../mkcpp db.c db._.c -- mkcpp set time: 1712064719 -> 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: 1712064719 -> 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] if( noresolv = *dname == '-' ) ~~~~~~~~~^~~~~~~~~~~~~~~ hostlist._.c:166:15: note: place parentheses around the assignment to silence this warning if( noresolv = *dname == '-' ) ^ ( ) hostlist._.c:166:15: note: use '==' to turn this assignment into an equality comparison if( noresolv = *dname == '-' ) ^ == hostlist._.c:168:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( aflags = strchr(dname,'/') ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~ hostlist._.c:168:13: note: place parentheses around the assignment to silence this warning if( aflags = strchr(dname,'/') ){ ^ ( ) hostlist._.c:168:13: note: use '==' to turn this assignment into an equality comparison if( aflags = strchr(dname,'/') ){ ^ == hostlist._.c:309:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( pi = 0; proto1 = protolist[pi]; pi++ ){ ~~~~~~~^~~~~~~~~~~~~~~ hostlist._.c:309:22: note: place parentheses around the assignment to silence this warning for( pi = 0; proto1 = protolist[pi]; pi++ ){ ^ ( ) hostlist._.c:309:22: note: use '==' to turn this assignment into an equality comparison for( pi = 0; proto1 = protolist[pi]; pi++ ){ ^ == hostlist._.c:355:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ui = 0; user = userlist[ui]; ui++ ){ ~~~~~^~~~~~~~~~~~~~ hostlist._.c:355:20: note: place parentheses around the assignment to silence this warning for( ui = 0; user = userlist[ui]; ui++ ){ ^ ( ) hostlist._.c:355:20: note: use '==' to turn this assignment into an equality comparison for( ui = 0; user = userlist[ui]; ui++ ){ ^ == hostlist._.c:364:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rexp = rexplist[ui] ){ ~~~~~^~~~~~~~~~~~~~ hostlist._.c:364:12: note: place parentheses around the assignment to silence this warning if( rexp = rexplist[ui] ){ ^ ( ) hostlist._.c:364:12: note: use '==' to turn this assignment into an equality comparison if( rexp = rexplist[ui] ){ ^ == hostlist._.c:394:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( pi = 0; ports = portlist[pi]; pi++ ){ ~~~~~~^~~~~~~~~~~~~~ hostlist._.c:394:21: note: place parentheses around the assignment to silence this warning for( pi = 0; ports = portlist[pi]; pi++ ){ ^ ( ) hostlist._.c:394:21: note: use '==' to turn this assignment into an equality comparison for( pi = 0; ports = portlist[pi]; pi++ ){ ^ == hostlist._.c:492:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 0; sc = st[si]; si++ ){ ~~~^~~~~~~~ hostlist._.c:492:18: note: place parentheses around the assignment to silence this warning for( si = 0; sc = st[si]; si++ ){ ^ ( ) hostlist._.c:492:18: note: use '==' to turn this assignment into an equality comparison for( si = 0; sc = st[si]; si++ ){ ^ == hostlist._.c:600:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( vp += 2; ch = *vp; vp++ ){ ~~~^~~~~ hostlist._.c:600:19: note: place parentheses around the assignment to silence this warning for( vp += 2; ch = *vp; vp++ ){ ^ ( ) hostlist._.c:600:19: note: use '==' to turn this assignment into an equality comparison for( vp += 2; ch = *vp; vp++ ){ ^ == hostlist._.c:609:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( *(char*)sp++ = *vp++ ); ~~~~~~~~~~~~~^~~~~~~ hostlist._.c:609:22: note: place parentheses around the assignment to silence this warning while( *(char*)sp++ = *vp++ ); ^ ( ) hostlist._.c:609:22: note: use '==' to turn this assignment into an equality comparison while( *(char*)sp++ = *vp++ ); ^ == hostlist._.c:676:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( byauth = (hostlist->hl_flags & HL_BYAUTH) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hostlist._.c:676:13: note: place parentheses around the assignment to silence this warning if( byauth = (hostlist->hl_flags & HL_BYAUTH) ){ ^ ( ) hostlist._.c:676:13: note: use '==' to turn this assignment into an equality comparison if( byauth = (hostlist->hl_flags & HL_BYAUTH) ){ ^ == hostlist._.c:1074:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vdom = scanVdomain(hostname,AVStr(hostnameb),AVStr(vdomb)) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hostlist._.c:1074:11: note: place parentheses around the assignment to silence this warning if( vdom = scanVdomain(hostname,AVStr(hostnameb),AVStr(vdomb)) ) ^ ( ) hostlist._.c:1074:11: note: use '==' to turn this assignment into an equality comparison if( vdom = scanVdomain(hostname,AVStr(hostnameb),AVStr(vdomb)) ) ^ == hostlist._.c:1168:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(ap,'.') ){ ~~~^~~~~~~~~~~~~~~~ hostlist._.c:1168:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(ap,'.') ){ ^ ( ) hostlist._.c:1168:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(ap,'.') ){ ^ == hostlist._.c:1205:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(hostmask,'@') ) ~~~^~~~~~~~~~~~~~~~~~~~~~ hostlist._.c:1205:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(hostmask,'@') ) ^ ( ) hostlist._.c:1205:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(hostmask,'@') ) ^ == hostlist._.c:1226:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = hostpart(list,1) ){ ~~~^~~~~~~~~~~~~~~~~~ hostlist._.c:1226:9: note: place parentheses around the assignment to silence this warning if( dp = hostpart(list,1) ){ ^ ( ) hostlist._.c:1226:9: note: use '==' to turn this assignment into an equality comparison if( dp = hostpart(list,1) ){ ^ == hostlist._.c:1317:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *hp ){ ~~~^~~~~ hostlist._.c:1317:14: note: place parentheses around the assignment to silence this warning while( ch = *hp ){ ^ ( ) hostlist._.c:1317:14: note: use '==' to turn this assignment into an equality comparison while( ch = *hp ){ ^ == hostlist._.c:1383:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( route = strstr(hostmask,"//") ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ hostlist._.c:1383:12: note: place parentheses around the assignment to silence this warning if( route = strstr(hostmask,"//") ){ ^ ( ) hostlist._.c:1383:12: note: use '==' to turn this assignment into an equality comparison if( route = strstr(hostmask,"//") ){ ^ == hostlist._.c:1442:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mp = strchr(hostmask,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ hostlist._.c:1442:9: note: place parentheses around the assignment to silence this warning if( mp = strchr(hostmask,'/') ){ ^ ( ) hostlist._.c:1442:9: note: use '==' to turn this assignment into an equality comparison if( mp = strchr(hostmask,'/') ){ ^ == hostlist._.c:1447:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( submask = isnetmasklen(mp) ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~ hostlist._.c:1447:15: note: place parentheses around the assignment to silence this warning if( submask = isnetmasklen(mp) ){ ^ ( ) hostlist._.c:1447:15: note: use '==' to turn this assignment into an equality comparison if( submask = isnetmasklen(mp) ){ ^ == hostlist._.c:1467:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( submask = atoi(&mp[2]) ) ~~~~~~~~^~~~~~~~~~~~~~ hostlist._.c:1467:16: note: place parentheses around the assignment to silence this warning if( submask = atoi(&mp[2]) ) ^ ( ) hostlist._.c:1467:16: note: use '==' to turn this assignment into an equality comparison if( submask = atoi(&mp[2]) ) ^ == hostlist._.c:1493:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(hostnameb,'@') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ hostlist._.c:1493:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(hostnameb,'@') ){ ^ ( ) hostlist._.c:1493:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(hostnameb,'@') ){ ^ == hostlist._.c:1497:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strchr(users,'}') ) ~~~^~~~~~~~~~~~~~~~~~~ hostlist._.c:1497:12: note: place parentheses around the assignment to silence this warning if( pp = strchr(users,'}') ) ^ ( ) hostlist._.c:1497:12: note: use '==' to turn this assignment into an equality comparison if( pp = strchr(users,'}') ) ^ == hostlist._.c:1896:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ 22 warnings generated. ../mkcpp cond.c cond._.c -- mkcpp set time: 1712064720 -> 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: 1712064720 -> 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] for( si = 1; nm = services[si].s_name; si++ ){ ~~~^~~~~~~~~~~~~~~~~~~~~ service._.c:76:18: note: place parentheses around the assignment to silence this warning for( si = 1; nm = services[si].s_name; si++ ){ ^ ( ) service._.c:76:18: note: use '==' to turn this assignment into an equality comparison for( si = 1; nm = services[si].s_name; si++ ){ ^ == service._.c:110:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( si = servicex(proto) ){ ~~~^~~~~~~~~~~~~~~~~ service._.c:110:10: note: place parentheses around the assignment to silence this warning if( si = servicex(proto) ){ ^ ( ) service._.c:110:10: note: use '==' to turn this assignment into an equality comparison if( si = servicex(proto) ){ ^ == service._.c:119:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( si = servicex(proto) ){ ~~~^~~~~~~~~~~~~~~~~ service._.c:119:9: note: place parentheses around the assignment to silence this warning if( si = servicex(proto) ){ ^ ( ) service._.c:119:9: note: use '==' to turn this assignment into an equality comparison if( si = servicex(proto) ){ ^ == service._.c:129:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fi = 1; name = services[fi].s_name; fi++ ) ~~~~~^~~~~~~~~~~~~~~~~~~~~ service._.c:129:20: note: place parentheses around the assignment to silence this warning for( fi = 1; name = services[fi].s_name; fi++ ) ^ ( ) service._.c:129:20: note: use '==' to turn this assignment into an equality comparison for( fi = 1; name = services[fi].s_name; fi++ ) ^ == service._.c:190:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sx = servicex(proto) ) ~~~^~~~~~~~~~~~~~~~~ service._.c:190:9: note: place parentheses around the assignment to silence this warning if( sx = servicex(proto) ) ^ ( ) service._.c:190:9: note: use '==' to turn this assignment into an equality comparison if( sx = servicex(proto) ) ^ == service._.c:191:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( svfunc = services[sx].s_client ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ service._.c:191:13: note: place parentheses around the assignment to silence this warning if( svfunc = services[sx].s_client ){ ^ ( ) service._.c:191:13: note: use '==' to turn this assignment into an equality comparison if( svfunc = services[sx].s_client ){ ^ == service._.c:193:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 1; name = services[si].s_name; si++ ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~ service._.c:193:21: note: place parentheses around the assignment to silence this warning for( si = 1; name = services[si].s_name; si++ ){ ^ ( ) service._.c:193:21: note: use '==' to turn this assignment into an equality comparison for( si = 1; name = services[si].s_name; si++ ){ ^ == service._.c:205:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( si = servicex(service) ) ~~~^~~~~~~~~~~~~~~~~~~ service._.c:205:9: note: place parentheses around the assignment to silence this warning if( si = servicex(service) ) ^ ( ) service._.c:205:9: note: use '==' to turn this assignment into an equality comparison if( si = servicex(service) ) ^ == service._.c:212:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( si = servicex(proto) ) ~~~^~~~~~~~~~~~~~~~~ service._.c:212:9: note: place parentheses around the assignment to silence this warning if( si = servicex(proto) ) ^ ( ) service._.c:212:9: note: use '==' to turn this assignment into an equality comparison if( si = servicex(proto) ) ^ == service._.c:219:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( si = servicex(service) ) ~~~^~~~~~~~~~~~~~~~~~~ service._.c:219:9: note: place parentheses around the assignment to silence this warning if( si = servicex(service) ) ^ ( ) service._.c:219:9: note: use '==' to turn this assignment into an equality comparison if( si = servicex(service) ) ^ == service._.c:225:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( si = servicex(DST_PROTO) ) ~~~^~~~~~~~~~~~~~~~~~~~~ service._.c:225:9: note: place parentheses around the assignment to silence this warning if( si = servicex(DST_PROTO) ) ^ ( ) service._.c:225:9: note: use '==' to turn this assignment into an equality comparison if( si = servicex(DST_PROTO) ) ^ == service._.c:297:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 1; pn = services[si].s_name; si++ ){ ~~~^~~~~~~~~~~~~~~~~~~~~ service._.c:297:18: note: place parentheses around the assignment to silence this warning for( si = 1; pn = services[si].s_name; si++ ){ ^ ( ) service._.c:297:18: note: use '==' to turn this assignment into an equality comparison for( si = 1; pn = services[si].s_name; si++ ){ ^ == service._.c:936:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( diff = v1[vi] - v2[vi] ) ~~~~~^~~~~~~~~~~~~~~~~ service._.c:936:12: note: place parentheses around the assignment to silence this warning if( diff = v1[vi] - v2[vi] ) ^ ( ) service._.c:936:12: note: use '==' to turn this assignment into an equality comparison if( diff = v1[vi] - v2[vi] ) ^ == service._.c:1023:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( wa = CTX_withAuth(Conn) ){ ~~~^~~~~~~~~~~~~~~~~~~~ service._.c:1023:9: note: place parentheses around the assignment to silence this warning if( wa = CTX_withAuth(Conn) ){ ^ ( ) service._.c:1023:9: note: use '==' to turn this assignment into an equality comparison if( wa = CTX_withAuth(Conn) ){ ^ == service._.c:1250:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( map = Conn->sv_portmap ){ ~~~~^~~~~~~~~~~~~~~~~~ service._.c:1250:10: note: place parentheses around the assignment to silence this warning if( map = Conn->sv_portmap ){ ^ ( ) service._.c:1250:10: note: use '==' to turn this assignment into an equality comparison if( map = Conn->sv_portmap ){ ^ == service._.c:1409:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(login,':') ){ ~~~^~~~~~~~~~~~~~~~~~~~ service._.c:1409:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(login,':') ){ ^ ( ) service._.c:1409:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(login,':') ){ ^ == service._.c:1676:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( crlfp = strpbrk(line,"\r\n") ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ service._.c:1676:13: note: place parentheses around the assignment to silence this warning if( crlfp = strpbrk(line,"\r\n") ){ ^ ( ) service._.c:1676:13: note: use '==' to turn this assignment into an equality comparison if( crlfp = strpbrk(line,"\r\n") ){ ^ == service._.c:1720:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( value = strpbrk(line,"\r\n\t ") ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ service._.c:1720:13: note: place parentheses around the assignment to silence this warning if( value = strpbrk(line,"\r\n\t ") ){ ^ ( ) service._.c:1720:13: note: use '==' to turn this assignment into an equality comparison if( value = strpbrk(line,"\r\n\t ") ){ ^ == service._.c:1943:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(path+len,me) ){ ~~~^~~~~~~~~~~~~~~~~~~~~ service._.c:1943:10: note: place parentheses around the assignment to silence this warning if( dp = strstr(path+len,me) ){ ^ ( ) service._.c:1943:10: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(path+len,me) ){ ^ == service._.c:2271:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( filter = getFSV(Conn) ){ ~~~~~~~^~~~~~~~~~~~~~ service._.c:2271:13: note: place parentheses around the assignment to silence this warning if( filter = getFSV(Conn) ){ ^ ( ) service._.c:2271:13: note: use '==' to turn this assignment into an equality comparison if( filter = getFSV(Conn) ){ ^ == service._.c:2405:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ service._.c:2497:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addr = gethostaddr(host) ){ ~~~~~^~~~~~~~~~~~~~~~~~~ service._.c:2497:14: note: place parentheses around the assignment to silence this warning if( addr = gethostaddr(host) ){ ^ ( ) service._.c:2497:14: note: use '==' to turn this assignment into an equality comparison if( addr = gethostaddr(host) ){ ^ == service._.c:2680:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( server = strchr(host,'@') ) ~~~~~~~^~~~~~~~~~~~~~~~~~ service._.c:2680:13: note: place parentheses around the assignment to silence this warning if( server = strchr(host,'@') ) ^ ( ) service._.c:2680:13: note: use '==' to turn this assignment into an equality comparison if( server = strchr(host,'@') ) ^ == service._.c:3118:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = strchr(server,'@') ) ~~~^~~~~~~~~~~~~~~~~~~~ service._.c:3118:9: note: place parentheses around the assignment to silence this warning if( hp = strchr(server,'@') ) ^ ( ) service._.c:3118:9: note: use '==' to turn this assignment into an equality comparison if( hp = strchr(server,'@') ) ^ == service._.c:3330:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( si = servicex(proto) ) ~~~^~~~~~~~~~~~~~~~~ service._.c:3330:9: note: place parentheses around the assignment to silence this warning if( si = servicex(proto) ) ^ ( ) service._.c:3330:9: note: use '==' to turn this assignment into an equality comparison if( si = servicex(proto) ) ^ == service._.c:3345:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( si = servicex(proto) ) ~~~^~~~~~~~~~~~~~~~~ service._.c:3345:9: note: place parentheses around the assignment to silence this warning if( si = servicex(proto) ) ^ ( ) service._.c:3345:9: note: use '==' to turn this assignment into an equality comparison if( si = servicex(proto) ) ^ == service._.c:3593:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strstr(host,"..") ){ ~~~^~~~~~~~~~~~~~~~~~~ service._.c:3593:9: note: place parentheses around the assignment to silence this warning if( pp = strstr(host,"..") ){ ^ ( ) service._.c:3593:9: note: use '==' to turn this assignment into an equality comparison if( pp = strstr(host,"..") ){ ^ == 27 warnings generated. ../mkcpp svconf.c svconf._.c -- mkcpp set time: 1712064722 -> 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: 1712064722 -> 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] for( i = 1; fname1 = tab_filters[i].f_name; i++ ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ filter._.c:119:21: note: place parentheses around the assignment to silence this warning for( i = 1; fname1 = tab_filters[i].f_name; i++ ){ ^ ( ) filter._.c:119:21: note: use '==' to turn this assignment into an equality comparison for( i = 1; fname1 = tab_filters[i].f_name; i++ ){ ^ == filter._.c:185:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(command,']') ){ ~~~^~~~~~~~~~~~~~~~~~~~~ filter._.c:185:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(command,']') ){ ^ ( ) filter._.c:185:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(command,']') ){ ^ == filter._.c:559:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("GZIP_PATH") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~ filter._.c:559:10: note: place parentheses around the assignment to silence this warning if( env = getenv("GZIP_PATH") ){ ^ ( ) filter._.c:559:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("GZIP_PATH") ){ ^ == filter._.c:568:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("GUNZIP_PATH") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~ filter._.c:568:10: note: place parentheses around the assignment to silence this warning if( env = getenv("GUNZIP_PATH") ){ ^ ( ) filter._.c:568:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("GUNZIP_PATH") ){ ^ == filter._.c:817:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(filterb,',') ){ ~~~^~~~~~~~~~~~~~~~~~~~~ filter._.c:817:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(filterb,',') ){ ^ ( ) filter._.c:817:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(filterb,',') ){ ^ == filter._.c:842:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( mx = 0; map = getCMAPiMap(mx); mx++ ){ ~~~~^~~~~~~~~~~~~~~~~ filter._.c:842:19: note: place parentheses around the assignment to silence this warning for( mx = 0; map = getCMAPiMap(mx); mx++ ){ ^ ( ) filter._.c:842:19: note: use '==' to turn this assignment into an equality comparison for( mx = 0; map = getCMAPiMap(mx); mx++ ){ ^ == filter._.c:1250:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(line,'\r') ) ~~~^~~~~~~~~~~~~~~~~~~ filter._.c:1250:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(line,'\r') ) ^ ( ) filter._.c:1250:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(line,'\r') ) ^ == filter._.c:1518:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( port = HTTP_ClientIF_H(Conn,AVStr(host)) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filter._.c:1518:11: note: place parentheses around the assignment to silence this warning if( port = HTTP_ClientIF_H(Conn,AVStr(host)) ){ ^ ( ) filter._.c:1518:11: note: use '==' to turn this assignment into an equality comparison if( port = HTTP_ClientIF_H(Conn,AVStr(host)) ){ ^ == filter._.c:1530:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addr = gethostaddr(serv) ) ~~~~~^~~~~~~~~~~~~~~~~~~ filter._.c:1530:11: note: place parentheses around the assignment to silence this warning if( addr = gethostaddr(serv) ) ^ ( ) filter._.c:1530:11: note: use '==' to turn this assignment into an equality comparison if( addr = gethostaddr(serv) ) ^ == filter._.c:1596:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( command = strchr(pathcom,']') ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ filter._.c:1596:15: note: place parentheses around the assignment to silence this warning if( command = strchr(pathcom,']') ) ^ ( ) filter._.c:1596:15: note: use '==' to turn this assignment into an equality comparison if( command = strchr(pathcom,']') ) ^ == filter._.c:1769:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("CFI_SYNC") ){ ~~~~^~~~~~~~~~~~~~~~~~~~ filter._.c:1769:10: note: place parentheses around the assignment to silence this warning if( env = getenv("CFI_SYNC") ){ ^ ( ) filter._.c:1769:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("CFI_SYNC") ){ ^ == filter._.c:2005:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = Conn->xf_fp[fid] ){ ~~~^~~~~~~~~~~~~~~~~~ filter._.c:2005:10: note: place parentheses around the assignment to silence this warning if( fp = Conn->xf_fp[fid] ){ ^ ( ) filter._.c:2005:10: note: use '==' to turn this assignment into an equality comparison if( fp = Conn->xf_fp[fid] ){ ^ == filter._.c:2101:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fid = 1; name = filters[fid].f_name; fid++ ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~ filter._.c:2101:21: note: place parentheses around the assignment to silence this warning for( fid = 1; name = filters[fid].f_name; fid++ ){ ^ ( ) filter._.c:2101:21: note: use '==' to turn this assignment into an equality comparison for( fid = 1; name = filters[fid].f_name; fid++ ){ ^ == filter._.c:2341:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nready = PollIn(fd,to1) ){ ~~~~~~~^~~~~~~~~~~~~~~~ filter._.c:2341:14: note: place parentheses around the assignment to silence this warning if( nready = PollIn(fd,to1) ){ ^ ( ) filter._.c:2341:14: note: use '==' to turn this assignment into an equality comparison if( nready = PollIn(fd,to1) ){ ^ == filter._.c:2507:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rstat = filters[fid].f_stat ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~ filter._.c:2507:12: note: place parentheses around the assignment to silence this warning if( rstat = filters[fid].f_stat ) ^ ( ) filter._.c:2507:12: note: use '==' to turn this assignment into an equality comparison if( rstat = filters[fid].f_stat ) ^ == filter._.c:2605:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rstat = filters[fid].f_stat ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~ filter._.c:2605:12: note: place parentheses around the assignment to silence this warning if( rstat = filters[fid].f_stat ) ^ ( ) filter._.c:2605:12: note: use '==' to turn this assignment into an equality comparison if( rstat = filters[fid].f_stat ) ^ == filter._.c:2800:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ filter._.c:2823:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ filter._.c:3422:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ filter._.c:3443:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ filter._.c:3466:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( a1 = command; ch = *a1; a1++ ){ ~~~^~~~~ filter._.c:3466:24: note: place parentheses around the assignment to silence this warning for( a1 = command; ch = *a1; a1++ ){ ^ ( ) filter._.c:3466:24: note: use '==' to turn this assignment into an equality comparison for( a1 = command; ch = *a1; a1++ ){ ^ == 21 warnings generated. ../mkcpp master.c master._.c -- mkcpp set time: 1712064723 -> 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] if( neg = *proto1 == '-' ) ~~~~^~~~~~~~~~~~~~~~ master._.c:228:11: note: place parentheses around the assignment to silence this warning if( neg = *proto1 == '-' ) ^ ( ) master._.c:228:11: note: use '==' to turn this assignment into an equality comparison if( neg = *proto1 == '-' ) ^ == master._.c:268:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ni = 0; proto1 = protoV[ni].p_name; ni++ ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~ master._.c:268:22: note: place parentheses around the assignment to silence this warning for( ni = 0; proto1 = protoV[ni].p_name; ni++ ){ ^ ( ) master._.c:268:22: note: use '==' to turn this assignment into an equality comparison for( ni = 0; proto1 = protoV[ni].p_name; ni++ ){ ^ == master._.c:275:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = protoV[ni].p_portN ){ ~~~^~~~~~~~~~~~~~~~~~~~ master._.c:275:10: note: place parentheses around the assignment to silence this warning if( np = protoV[ni].p_portN ){ ^ ( ) master._.c:275:10: note: use '==' to turn this assignment into an equality comparison if( np = protoV[ni].p_portN ){ ^ == master._.c:290:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mp = protoV[ni].p_methods ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ master._.c:290:10: note: place parentheses around the assignment to silence this warning if( mp = protoV[ni].p_methods ){ ^ ( ) master._.c:290:10: note: use '==' to turn this assignment into an equality comparison if( mp = protoV[ni].p_methods ){ ^ == master._.c:312:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( pi = 0; proto1 = pv[pi]; pi++ ){ ~~~~~~~^~~~~~~~ master._.c:312:22: note: place parentheses around the assignment to silence this warning for( pi = 0; proto1 = pv[pi]; pi++ ){ ^ ( ) master._.c:312:22: note: use '==' to turn this assignment into an equality comparison for( pi = 0; proto1 = pv[pi]; pi++ ){ ^ == master._.c:381:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( match = (strcasecmp(proto,tv[ti])==0) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ master._.c:381:14: note: place parentheses around the assignment to silence this warning if( match = (strcasecmp(proto,tv[ti])==0) ) ^ ( ) master._.c:381:14: note: use '==' to turn this assignment into an equality comparison if( match = (strcasecmp(proto,tv[ti])==0) ) ^ == master._.c:430:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( px = 0; aproto = protoV[px].p_name; px++ ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~ master._.c:430:22: note: place parentheses around the assignment to silence this warning for( px = 0; aproto = protoV[px].p_name; px++ ){ ^ ( ) master._.c:430:22: note: use '==' to turn this assignment into an equality comparison for( px = 0; aproto = protoV[px].p_name; px++ ){ ^ == master._.c:437:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else{ ^ master._.c:467:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( px = 0; aproto = protoV[px].p_name; px++ ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~ master._.c:467:22: note: place parentheses around the assignment to silence this warning for( px = 0; aproto = protoV[px].p_name; px++ ){ ^ ( ) master._.c:467:22: note: use '==' to turn this assignment into an equality comparison for( px = 0; aproto = protoV[px].p_name; px++ ){ ^ == master._.c:499:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( px = 0; aproto = protoV[px].p_name; px++ ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~ master._.c:499:22: note: place parentheses around the assignment to silence this warning for( px = 0; aproto = protoV[px].p_name; px++ ){ ^ ( ) master._.c:499:22: note: use '==' to turn this assignment into an equality comparison for( px = 0; aproto = protoV[px].p_name; px++ ){ ^ == master._.c:782:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pl = protoMatch1(Conn,Rp->m_protoV,proto,dport) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ master._.c:782:11: note: place parentheses around the assignment to silence this warning if( pl = protoMatch1(Conn,Rp->m_protoV,proto,dport) ){ ^ ( ) master._.c:782:11: note: use '==' to turn this assignment into an equality comparison if( pl = protoMatch1(Conn,Rp->m_protoV,proto,dport) ){ ^ == master._.c:910:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ master._.c:939:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strchr(dp,':') ){ ~~~^~~~~~~~~~~~~~~~ master._.c:939:10: note: place parentheses around the assignment to silence this warning if( np = strchr(dp,':') ){ ^ ( ) master._.c:939:10: note: use '==' to turn this assignment into an equality comparison if( np = strchr(dp,':') ){ ^ == master._.c:1004:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(forward,DELMARK) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ master._.c:1004:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(forward,DELMARK) ){ ^ ( ) master._.c:1004:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(forward,DELMARK) ){ ^ == master._.c:1015:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ master._.c:1131:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( pi = 0; pprotov[pi] = RemittableV[pi].p_name; pi++ ){ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ master._.c:1131:28: note: place parentheses around the assignment to silence this warning for( pi = 0; pprotov[pi] = RemittableV[pi].p_name; pi++ ){ ^ ( ) master._.c:1131:28: note: use '==' to turn this assignment into an equality comparison for( pi = 0; pprotov[pi] = RemittableV[pi].p_name; pi++ ){ ^ == master._.c:1322:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ master._.c:1622:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( expire = strchr(conn,'/') ){ ~~~~~~~^~~~~~~~~~~~~~~~~~ master._.c:1622:15: note: place parentheses around the assignment to silence this warning if( expire = strchr(conn,'/') ){ ^ ( ) master._.c:1622:15: note: use '==' to turn this assignment into an equality comparison if( expire = strchr(conn,'/') ){ ^ == master._.c:1632:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(conn,'/') ) ~~~^~~~~~~~~~~~~~~~~~ master._.c:1632:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(conn,'/') ) ^ ( ) master._.c:1632:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(conn,'/') ) ^ == master._.c:1637:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(conn,'/') ){ ~~~^~~~~~~~~~~~~~~~~~ master._.c:1637:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(conn,'/') ){ ^ ( ) master._.c:1637:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(conn,'/') ){ ^ == master._.c:2030:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(options,"proto=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ master._.c:2030:10: note: place parentheses around the assignment to silence this warning if( dp = strstr(options,"proto=") ){ ^ ( ) master._.c:2030:10: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(options,"proto=") ){ ^ == master._.c:2092:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else{ ^ master._.c:2224:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(ports,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~ master._.c:2224:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(ports,'/') ){ ^ ( ) master._.c:2224:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(ports,'/') ){ ^ == master._.c:2396:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tid = mySoxTid ){ ~~~~^~~~~~~~~~ master._.c:2396:10: note: place parentheses around the assignment to silence this warning if( tid = mySoxTid ){ ^ ( ) master._.c:2396:10: note: use '==' to turn this assignment into an equality comparison if( tid = mySoxTid ){ ^ == 24 warnings generated. ../mkcpp qstest.c qstest._.c -- mkcpp set time: 1712064725 -> 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: 1712064725 -> 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: 1712064725 -> 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] if( mfp = dirfopen("exeid",AVStr(idpath),"r+") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ caps._.c:104:10: note: place parentheses around the assignment to silence this warning if( mfp = dirfopen("exeid",AVStr(idpath),"r+") ){ ^ ( ) caps._.c:104:10: note: use '==' to turn this assignment into an equality comparison if( mfp = dirfopen("exeid",AVStr(idpath),"r+") ){ ^ == caps._.c:316:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv(REMOTE_ADDR) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~ caps._.c:316:10: note: place parentheses around the assignment to silence this warning if( env = getenv(REMOTE_ADDR) ){ ^ ( ) caps._.c:316:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv(REMOTE_ADDR) ){ ^ == 2 warnings generated. ../mkcpp spinach.c spinach._.c -- mkcpp set time: 1712064726 -> 1712064599 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] if( isWindowsCE() || 1 ){ ^ ~ spinach._.c:837:20: note: use '|' for a bitwise operation if( isWindowsCE() || 1 ){ ^~ | spinach._.c:863:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(OREQ,' ') ){ ~~~^~~~~~~~~~~~~~~~~~ spinach._.c:863:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(OREQ,' ') ){ ^ ( ) spinach._.c:863:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(OREQ,' ') ){ ^ == spinach._.c:1421:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( qp = req; ch = *qp; qp++ ){ ~~~^~~~~ spinach._.c:1421:20: note: place parentheses around the assignment to silence this warning for( qp = req; ch = *qp; qp++ ){ ^ ( ) spinach._.c:1421:20: note: use '==' to turn this assignment into an equality comparison for( qp = req; ch = *qp; qp++ ){ ^ == spinach._.c:1431:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( isCONN = strcmp(method,"CONNECT")==0 ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spinach._.c:1431:13: note: place parentheses around the assignment to silence this warning if( isCONN = strcmp(method,"CONNECT")==0 ){ ^ ( ) spinach._.c:1431:13: note: use '==' to turn this assignment into an equality comparison if( isCONN = strcmp(method,"CONNECT")==0 ){ ^ == spinach._.c:1449:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; ch = *qp; qp++ ){ ~~~^~~~~ spinach._.c:1449:11: note: place parentheses around the assignment to silence this warning for(; ch = *qp; qp++ ){ ^ ( ) spinach._.c:1449:11: note: use '==' to turn this assignment into an equality comparison for(; ch = *qp; qp++ ){ ^ == spinach._.c:1462:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; ch = *qp; qp++ ){ ~~~^~~~~ spinach._.c:1462:11: note: place parentheses around the assignment to silence this warning for(; ch = *qp; qp++ ){ ^ ( ) spinach._.c:1462:11: note: use '==' to turn this assignment into an equality comparison for(; ch = *qp; qp++ ){ ^ == spinach._.c:1487:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; ch = *qp; qp++ ){ ~~~^~~~~ spinach._.c:1487:12: note: place parentheses around the assignment to silence this warning for(; ch = *qp; qp++ ){ ^ ( ) spinach._.c:1487:12: note: use '==' to turn this assignment into an equality comparison for(; ch = *qp; qp++ ){ ^ == spinach._.c:1498:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( qp++; ch = *qp; qp++ ){ ~~~^~~~~ spinach._.c:1498:17: note: place parentheses around the assignment to silence this warning for( qp++; ch = *qp; qp++ ){ ^ ( ) spinach._.c:1498:17: note: use '==' to turn this assignment into an equality comparison for( qp++; ch = *qp; qp++ ){ ^ == spinach._.c:1523:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( qp++; ch = *qp; qp++ ){ ~~~^~~~~ spinach._.c:1523:17: note: place parentheses around the assignment to silence this warning for( qp++; ch = *qp; qp++ ){ ^ ( ) spinach._.c:1523:17: note: use '==' to turn this assignment into an equality comparison for( qp++; ch = *qp; qp++ ){ ^ == spinach._.c:1633:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; ch = *qp; qp++ ){ ~~~^~~~~ spinach._.c:1633:12: note: place parentheses around the assignment to silence this warning for(; ch = *qp; qp++ ){ ^ ( ) spinach._.c:1633:12: note: use '==' to turn this assignment into an equality comparison for(; ch = *qp; qp++ ){ ^ == spinach._.c:1738:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( qp = req; ch = *qp; qp++ ){ ~~~^~~~~ spinach._.c:1738:20: note: place parentheses around the assignment to silence this warning for( qp = req; ch = *qp; qp++ ){ ^ ( ) spinach._.c:1738:20: note: use '==' to turn this assignment into an equality comparison for( qp = req; ch = *qp; qp++ ){ ^ == spinach._.c:1753:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( qp = req; ch = *qp; qp++ ){ ~~~^~~~~ spinach._.c:1753:20: note: place parentheses around the assignment to silence this warning for( qp = req; ch = *qp; qp++ ){ ^ ( ) spinach._.c:1753:20: note: use '==' to turn this assignment into an equality comparison for( qp = req; ch = *qp; qp++ ){ ^ == spinach._.c:2626:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,iSock) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spinach._.c:2626:11: note: place parentheses around the assignment to silence this warning if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,iSock) ){ ^ ( ) spinach._.c:2626:11: note: use '==' to turn this assignment into an equality comparison if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,iSock) ){ ^ == spinach._.c:2709:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(cr->cr_buf,'\n') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ spinach._.c:2709:14: note: place parentheses around the assignment to silence this warning if( dp = strchr(cr->cr_buf,'\n') ) ^ ( ) spinach._.c:2709:14: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(cr->cr_buf,'\n') ) ^ == spinach._.c:3441:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ocstat = cr1->cr_cstat ){ ~~~~~~~^~~~~~~~~~~~~~~ spinach._.c:3441:15: note: place parentheses around the assignment to silence this warning if( ocstat = cr1->cr_cstat ){ ^ ( ) spinach._.c:3441:15: note: use '==' to turn this assignment into an equality comparison if( ocstat = cr1->cr_cstat ){ ^ == spinach._.c:3687:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,FD_INVALID(-1)) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spinach._.c:3687:10: note: place parentheses around the assignment to silence this warning if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,FD_INVALID(-1)) ){ ^ ( ) spinach._.c:3687:10: note: use '==' to turn this assignment into an equality comparison if( cr1 = addConn(cx->cx_Pv,cx->cx_crn,cx->cx_crs,FD_INVALID(-1)) ){ ^ == spinach._.c:4315:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pid = Fork("CCSV-server") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~ spinach._.c:4315:11: note: place parentheses around the assignment to silence this warning if( pid = Fork("CCSV-server") ){ ^ ( ) spinach._.c:4315:11: note: use '==' to turn this assignment into an equality comparison if( pid = Fork("CCSV-server") ){ ^ == spinach._.c:4377:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("CCSV_PORT") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~ spinach._.c:4377:11: note: place parentheses around the assignment to silence this warning if( env = getenv("CCSV_PORT") ){ ^ ( ) spinach._.c:4377:11: note: use '==' to turn this assignment into an equality comparison if( env = getenv("CCSV_PORT") ){ ^ == 18 warnings generated. ../mkcpp stls.c stls._.c -- mkcpp set time: 1712064728 -> 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] if( op = strchr(opt1,'/') ){ ~~~^~~~~~~~~~~~~~~~~~ stls._.c:133:10: note: place parentheses around the assignment to silence this warning if( op = strchr(opt1,'/') ){ ^ ( ) stls._.c:133:10: note: use '==' to turn this assignment into an equality comparison if( op = strchr(opt1,'/') ){ ^ == stls._.c:371:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ 2 warnings generated. ../mkcpp tsp.c tsp._.c -- mkcpp set time: 1712064728 -> 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: 1712064728 -> 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] if( isUDP = isUDPsock(svsock) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~ sudo._.c:93:12: note: place parentheses around the assignment to silence this warning if( isUDP = isUDPsock(svsock) ){ ^ ( ) sudo._.c:93:12: note: use '==' to turn this assignment into an equality comparison if( isUDP = isUDPsock(svsock) ){ ^ == sudo._.c:316:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(que,"\r\n") ) *((char*)dp) = 0; ~~~^~~~~~~~~~~~~~~~~~~~~ sudo._.c:316:9: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(que,"\r\n") ) *((char*)dp) = 0; ^ ( ) sudo._.c:316:9: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(que,"\r\n") ) *((char*)dp) = 0; ^ == sudo._.c:317:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(ans,"\r\n") ) *((char*)dp) = 0; ~~~^~~~~~~~~~~~~~~~~~~~~ sudo._.c:317:9: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(ans,"\r\n") ) *((char*)dp) = 0; ^ ( ) sudo._.c:317:9: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(ans,"\r\n") ) *((char*)dp) = 0; ^ == sudo._.c:579:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; name = sucaps[ci].c_name; ci++ ) ~~~~~^~~~~~~~~~~~~~~~~~~ sudo._.c:579:20: note: place parentheses around the assignment to silence this warning for( ci = 0; name = sucaps[ci].c_name; ci++ ) ^ ( ) sudo._.c:579:20: note: use '==' to turn this assignment into an equality comparison for( ci = 0; name = sucaps[ci].c_name; ci++ ) ^ == sudo._.c:618:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cap = findcap(c1) ){ ~~~~^~~~~~~~~~~~~ sudo._.c:618:11: note: place parentheses around the assignment to silence this warning if( cap = findcap(c1) ){ ^ ( ) sudo._.c:618:11: note: use '==' to turn this assignment into an equality comparison if( cap = findcap(c1) ){ ^ == 5 warnings generated. ../mkcpp gacl.c gacl._.c -- mkcpp set time: 1712064729 -> 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] if( ap = strchr(adminid,'-') ) ~~~^~~~~~~~~~~~~~~~~~~~~ gacl._.c:46:9: note: place parentheses around the assignment to silence this warning if( ap = strchr(adminid,'-') ) ^ ( ) gacl._.c:46:9: note: use '==' to turn this assignment into an equality comparison if( ap = strchr(adminid,'-') ) ^ == gacl._.c:67:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( acl = openAclFile(0,DST_PROTO,DST_HOST,DST_PORT,newsgroup) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gacl._.c:67:10: note: place parentheses around the assignment to silence this warning if( acl = openAclFile(0,DST_PROTO,DST_HOST,DST_PORT,newsgroup) ){ ^ ( ) gacl._.c:67:10: note: use '==' to turn this assignment into an equality comparison if( acl = openAclFile(0,DST_PROTO,DST_HOST,DST_PORT,newsgroup) ){ ^ == gacl._.c:135:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strchr(ctl,'#') ) ~~~^~~~~~~~~~~~~~~~~ gacl._.c:135:10: note: place parentheses around the assignment to silence this warning if( cp = strchr(ctl,'#') ) ^ ( ) gacl._.c:135:10: note: use '==' to turn this assignment into an equality comparison if( cp = strchr(ctl,'#') ) ^ == gacl._.c:216:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xp = strstr(ac1,admid) ){ ~~~^~~~~~~~~~~~~~~~~~~ gacl._.c:216:12: note: place parentheses around the assignment to silence this warning if( xp = strstr(ac1,admid) ){ ^ ( ) gacl._.c:216:12: note: use '==' to turn this assignment into an equality comparison if( xp = strstr(ac1,admid) ){ ^ == gacl._.c:301:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strstr(search,"USER=") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ gacl._.c:301:9: note: place parentheses around the assignment to silence this warning if( np = strstr(search,"USER=") ) ^ ( ) gacl._.c:301:9: note: use '==' to turn this assignment into an equality comparison if( np = strstr(search,"USER=") ) ^ == gacl._.c:305:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strstr(search,"ADMINID=") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ gacl._.c:305:9: note: place parentheses around the assignment to silence this warning if( np = strstr(search,"ADMINID=") ) ^ ( ) gacl._.c:305:9: note: use '==' to turn this assignment into an equality comparison if( np = strstr(search,"ADMINID=") ) ^ == gacl._.c:309:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strstr(search,"URL=") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~ gacl._.c:309:9: note: place parentheses around the assignment to silence this warning if( np = strstr(search,"URL=") ) ^ ( ) gacl._.c:309:9: note: use '==' to turn this assignment into an equality comparison if( np = strstr(search,"URL=") ) ^ == gacl._.c:332:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ 8 warnings generated. ../mkcpp access.c access._.c -- mkcpp set time: 1712064729 -> 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] if( bp = strchr(buf,'/') ){ ~~~^~~~~~~~~~~~~~~~~ access._.c:184:11: note: place parentheses around the assignment to silence this warning if( bp = strchr(buf,'/') ){ ^ ( ) access._.c:184:11: note: use '==' to turn this assignment into an equality comparison if( bp = strchr(buf,'/') ){ ^ == access._.c:257:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pa = find_auth("pass",xauth) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:257:9: note: place parentheses around the assignment to silence this warning if( pa = find_auth("pass",xauth) ){ ^ ( ) access._.c:257:9: note: use '==' to turn this assignment into an equality comparison if( pa = find_auth("pass",xauth) ){ ^ == access._.c:286:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fmt = find_auth(A_ADMIN,NULL) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:286:10: note: place parentheses around the assignment to silence this warning if( fmt = find_auth(A_ADMIN,NULL) ){ ^ ( ) access._.c:286:10: note: use '==' to turn this assignment into an equality comparison if( fmt = find_auth(A_ADMIN,NULL) ){ ^ == access._.c:373:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fmt = find_auth(A_VIAGEN,NULL) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:373:10: note: place parentheses around the assignment to silence this warning if( fmt = find_auth(A_VIAGEN,NULL) ){ ^ ( ) access._.c:373:10: note: use '==' to turn this assignment into an equality comparison if( fmt = find_auth(A_VIAGEN,NULL) ){ ^ == access._.c:448:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afmt = strchr(atype,':') ){ ~~~~~^~~~~~~~~~~~~~~~~~~ access._.c:448:11: note: place parentheses around the assignment to silence this warning if( afmt = strchr(atype,':') ){ ^ ( ) access._.c:448:11: note: use '==' to turn this assignment into an equality comparison if( afmt = strchr(atype,':') ){ ^ == access._.c:465:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(eauth,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~ access._.c:465:9: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(eauth,"\r\n") ) ^ ( ) access._.c:465:9: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(eauth,"\r\n") ) ^ == access._.c:512:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fmt = find_auth(A_LOG,NULL) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~ access._.c:512:10: note: place parentheses around the assignment to silence this warning if( fmt = find_auth(A_LOG,NULL) ){ ^ ( ) access._.c:512:10: note: use '==' to turn this assignment into an equality comparison if( fmt = find_auth(A_LOG,NULL) ){ ^ == access._.c:932:18: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] int getthreadid(); ^~ access._.c:932:18: note: replace parentheses with an initializer to declare a variable int getthreadid(); ^~ = 0 access._.c:979:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(domain,"//") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ access._.c:979:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(domain,"//") ){ ^ ( ) access._.c:979:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(domain,"//") ){ ^ == access._.c:982:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(serv,"..") ){ ~~~^~~~~~~~~~~~~~~~~~~ access._.c:982:10: note: place parentheses around the assignment to silence this warning if( dp = strstr(serv,"..") ){ ^ ( ) access._.c:982:10: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(serv,"..") ){ ^ == access._.c:1031:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(pass,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ access._.c:1031:11: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(pass,"\r\n") ) ^ ( ) access._.c:1031:11: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(pass,"\r\n") ) ^ == access._.c:1103:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afp = dirfopen("AUTH",AVStr(path),"w") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1103:11: note: place parentheses around the assignment to silence this warning if( afp = dirfopen("AUTH",AVStr(path),"w") ){ ^ ( ) access._.c:1103:11: note: use '==' to turn this assignment into an equality comparison if( afp = dirfopen("AUTH",AVStr(path),"w") ){ ^ == access._.c:1122:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afp = dirfopen("AUTH",AVStr(path),"r") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1122:11: note: place parentheses around the assignment to silence this warning if( afp = dirfopen("AUTH",AVStr(path),"r") ){ ^ ( ) access._.c:1122:11: note: use '==' to turn this assignment into an equality comparison if( afp = dirfopen("AUTH",AVStr(path),"r") ){ ^ == access._.c:1177:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afp = dirfopen("AUTH",AVStr(apath),"r+") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1177:11: note: place parentheses around the assignment to silence this warning if( afp = dirfopen("AUTH",AVStr(apath),"r+") ){ ^ ( ) access._.c:1177:11: note: use '==' to turn this assignment into an equality comparison if( afp = dirfopen("AUTH",AVStr(apath),"r+") ){ ^ == access._.c:1205:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afp = dirfopen("AUTH",AVStr(apath),"w") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1205:11: note: place parentheses around the assignment to silence this warning if( afp = dirfopen("AUTH",AVStr(apath),"w") ){ ^ ( ) access._.c:1205:11: note: use '==' to turn this assignment into an equality comparison if( afp = dirfopen("AUTH",AVStr(apath),"w") ){ ^ == access._.c:1212:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afp = fopen(lapath,"r") ) ~~~~^~~~~~~~~~~~~~~~~~~ access._.c:1212:11: note: place parentheses around the assignment to silence this warning if( afp = fopen(lapath,"r") ) ^ ( ) access._.c:1212:11: note: use '==' to turn this assignment into an equality comparison if( afp = fopen(lapath,"r") ) ^ == access._.c:1308:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( iuser = getClientHostPortUser(Conn,AVStr(clhost),NULL) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1308:12: note: place parentheses around the assignment to silence this warning if( iuser = getClientHostPortUser(Conn,AVStr(clhost),NULL) ){ ^ ( ) access._.c:1308:12: note: use '==' to turn this assignment into an equality comparison if( iuser = getClientHostPortUser(Conn,AVStr(clhost),NULL) ){ ^ == access._.c:1433:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else{ ^ access._.c:1473:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(ident.i_Host,':') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1473:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(ident.i_Host,':') ){ ^ ( ) access._.c:1473:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(ident.i_Host,':') ){ ^ == access._.c:1575:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(proto,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~ access._.c:1575:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(proto,'/') ){ ^ ( ) access._.c:1575:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(proto,'/') ){ ^ == access._.c:1649:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( wa = getMountAuthorizer(Conn,AVStr(asv),asiz) != NULL ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1649:9: note: place parentheses around the assignment to silence this warning if( wa = getMountAuthorizer(Conn,AVStr(asv),asiz) != NULL ){ ^ ( ) access._.c:1649:9: note: use '==' to turn this assignment into an equality comparison if( wa = getMountAuthorizer(Conn,AVStr(asv),asiz) != NULL ){ ^ == access._.c:1719:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(ident->i_Host,"..") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1719:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(ident->i_Host,"..") ){ ^ ( ) access._.c:1719:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(ident->i_Host,"..") ){ ^ == access._.c:1723:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(ident->i_Host,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1723:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(ident->i_Host,'/') ){ ^ ( ) access._.c:1723:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(ident->i_Host,'/') ){ ^ == access._.c:1925:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = connect_auth(Conn,"ftp", host,21,user,pass,path,svfp) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:1925:12: note: place parentheses around the assignment to silence this warning if( rcode = connect_auth(Conn,"ftp", host,21,user,pass,path,svfp) ) ^ ( ) access._.c:1925:12: note: use '==' to turn this assignment into an equality comparison if( rcode = connect_auth(Conn,"ftp", host,21,user,pass,path,svfp) ) ^ == access._.c:2000:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(svhost,"..") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ access._.c:2000:11: note: place parentheses around the assignment to silence this warning if( dp = strstr(svhost,"..") ){ ^ ( ) access._.c:2000:11: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(svhost,"..") ){ ^ == access._.c:2093:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( port = scanAuthServPort(dom,AVStr(serv)) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2093:11: note: place parentheses around the assignment to silence this warning if( port = scanAuthServPort(dom,AVStr(serv)) ){ ^ ( ) access._.c:2093:11: note: use '==' to turn this assignment into an equality comparison if( port = scanAuthServPort(dom,AVStr(serv)) ){ ^ == access._.c:2118:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(authBASIC,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2118:9: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(authBASIC,"\r\n") ) ^ ( ) access._.c:2118:9: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(authBASIC,"\r\n") ) ^ == access._.c:2122:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2122:12: note: place parentheses around the assignment to silence this warning if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) ) ^ ( ) access._.c:2122:12: note: use '==' to turn this assignment into an equality comparison if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) ) ^ == access._.c:2141:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2141:12: note: place parentheses around the assignment to silence this warning if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) ) ^ ( ) access._.c:2141:12: note: use '==' to turn this assignment into an equality comparison if( rcode = connect_auth(Conn,"http",host,80,user,pass,path,svfp) ) ^ == access._.c:2227:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strchrX(up,':',"{(",")}") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2227:10: note: place parentheses around the assignment to silence this warning if( pp = strchrX(up,':',"{(",")}") ){ ^ ( ) access._.c:2227:10: note: use '==' to turn this assignment into an equality comparison if( pp = strchrX(up,':',"{(",")}") ){ ^ == access._.c:2255:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strheadstrX(auth,"-cmd{",0) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2255:9: note: place parentheses around the assignment to silence this warning if( dp = strheadstrX(auth,"-cmd{",0) ){ ^ ( ) access._.c:2255:9: note: use '==' to turn this assignment into an equality comparison if( dp = strheadstrX(auth,"-cmd{",0) ){ ^ == access._.c:2456:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ej = 0; e1 = environ[ej]; ej++ ){ ~~~^~~~~~~~~~~~~ access._.c:2456:18: note: place parentheses around the assignment to silence this warning for( ej = 0; e1 = environ[ej]; ej++ ){ ^ ( ) access._.c:2456:18: note: use '==' to turn this assignment into an equality comparison for( ej = 0; e1 = environ[ej]; ej++ ){ ^ == access._.c:2577:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = strheadstrX(opt1,"expire=",1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2577:10: note: place parentheses around the assignment to silence this warning if( vp = strheadstrX(opt1,"expire=",1) ){ ^ ( ) access._.c:2577:10: note: use '==' to turn this assignment into an equality comparison if( vp = strheadstrX(opt1,"expire=",1) ){ ^ == access._.c:2580:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = strheadstrX(opt1,"user=",1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2580:10: note: place parentheses around the assignment to silence this warning if( vp = strheadstrX(opt1,"user=",1) ){ ^ ( ) access._.c:2580:10: note: use '==' to turn this assignment into an equality comparison if( vp = strheadstrX(opt1,"user=",1) ){ ^ == access._.c:2583:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = strheadstrX(opt1,"userpfx=",1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2583:10: note: place parentheses around the assignment to silence this warning if( vp = strheadstrX(opt1,"userpfx=",1) ){ ^ ( ) access._.c:2583:10: note: use '==' to turn this assignment into an equality comparison if( vp = strheadstrX(opt1,"userpfx=",1) ){ ^ == access._.c:2655:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(ident->i_user,'@') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2655:11: note: place parentheses around the assignment to silence this warning if( dp = strrchr(ident->i_user,'@') ){ ^ ( ) access._.c:2655:11: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(ident->i_user,'@') ){ ^ == access._.c:2682:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(ident->i_user,'@') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2682:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(ident->i_user,'@') ){ ^ ( ) access._.c:2682:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(ident->i_user,'@') ){ ^ == access._.c:2704:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( realm = strchrX(servs,'@',"{(",")}") ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2704:12: note: place parentheses around the assignment to silence this warning if( realm = strchrX(servs,'@',"{(",")}") ){ ^ ( ) access._.c:2704:12: note: use '==' to turn this assignment into an equality comparison if( realm = strchrX(servs,'@',"{(",")}") ){ ^ == access._.c:2728:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(sv[si],'(') ){ ~~~^~~~~~~~~~~~~~~~~~~~~ access._.c:2728:11: note: place parentheses around the assignment to silence this warning if( dp = strrchr(sv[si],'(') ){ ^ ( ) access._.c:2728:11: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(sv[si],'(') ){ ^ == access._.c:2907:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; afunc = authenticators[ai].a_func; ai++ ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:2907:21: note: place parentheses around the assignment to silence this warning for( ai = 0; afunc = authenticators[ai].a_func; ai++ ){ ^ ( ) access._.c:2907:21: note: use '==' to turn this assignment into an equality comparison for( ai = 0; afunc = authenticators[ai].a_func; ai++ ){ ^ == access._.c:2960:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrpbrk(email,"%") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ access._.c:2960:9: note: place parentheses around the assignment to silence this warning if( dp = strrpbrk(email,"%") ){ ^ ( ) access._.c:2960:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrpbrk(email,"%") ){ ^ == access._.c:3151:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strchr(clhost,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~ access._.c:3151:9: note: place parentheses around the assignment to silence this warning if( cp = strchr(clhost,'/') ){ ^ ( ) access._.c:3151:9: note: use '==' to turn this assignment into an equality comparison if( cp = strchr(clhost,'/') ){ ^ == access._.c:3162:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addr = gethostaddr(clhost) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~ access._.c:3162:11: note: place parentheses around the assignment to silence this warning if( addr = gethostaddr(clhost) ){ ^ ( ) access._.c:3162:11: note: use '==' to turn this assignment into an equality comparison if( addr = gethostaddr(clhost) ){ ^ == access._.c:3182:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ok = service_permitted2(Conn,DST_PROTO,2) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ access._.c:3182:9: note: place parentheses around the assignment to silence this warning if( ok = service_permitted2(Conn,DST_PROTO,2) ) ^ ( ) access._.c:3182:9: note: use '==' to turn this assignment into an equality comparison if( ok = service_permitted2(Conn,DST_PROTO,2) ) ^ == access._.c:3275:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopenAuthMan("w") ){ ~~~^~~~~~~~~~~~~~~~~~~ access._.c:3275:9: note: place parentheses around the assignment to silence this warning if( fp = fopenAuthMan("w") ){ ^ ( ) access._.c:3275:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopenAuthMan("w") ){ ^ == access._.c:3284:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopenAuthMan("r") ){ ~~~^~~~~~~~~~~~~~~~~~~ access._.c:3284:9: note: place parentheses around the assignment to silence this warning if( fp = fopenAuthMan("r") ){ ^ ( ) access._.c:3284:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopenAuthMan("r") ){ ^ == 46 warnings generated. ../mkcpp ident.c ident._.c -- mkcpp set time: 1712064731 -> 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: 1712064731 -> 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] if( kfp = fopen(data,"r") ){ ~~~~^~~~~~~~~~~~~~~~~ dgauth._.c:50:11: note: place parentheses around the assignment to silence this warning if( kfp = fopen(data,"r") ){ ^ ( ) dgauth._.c:50:11: note: use '==' to turn this assignment into an equality comparison if( kfp = fopen(data,"r") ){ ^ == dgauth._.c:164:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen("CKey",AVStr(path),"w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:164:10: note: place parentheses around the assignment to silence this warning if( fp = dirfopen("CKey",AVStr(path),"w") ){ ^ ( ) dgauth._.c:164:10: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen("CKey",AVStr(path),"w") ){ ^ == dgauth._.c:211:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(path,"r") ){ ~~~^~~~~~~~~~~~~~~~~ dgauth._.c:211:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"r") ){ ^ ( ) dgauth._.c:211:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"r") ){ ^ == dgauth._.c:295:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strheadstrX(main_argv[ai],param,0) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:295:10: note: place parentheses around the assignment to silence this warning if( dp = strheadstrX(main_argv[ai],param,0) ) ^ ( ) dgauth._.c:295:10: note: use '==' to turn this assignment into an equality comparison if( dp = strheadstrX(main_argv[ai],param,0) ) ^ == dgauth._.c:306:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ck = getCKeyMainArg(MainConn(),param,dom,user) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:306:9: note: place parentheses around the assignment to silence this warning if( ck = getCKeyMainArg(MainConn(),param,dom,user) ){ ^ ( ) dgauth._.c:306:9: note: use '==' to turn this assignment into an equality comparison if( ck = getCKeyMainArg(MainConn(),param,dom,user) ){ ^ == dgauth._.c:364:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(ekey,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:364:9: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(ekey,"\r\n") ) ^ ( ) dgauth._.c:364:9: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(ekey,"\r\n") ) ^ == dgauth._.c:382:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cryptspec = getCKeyArg(Conn,param,dom,user) ){ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:382:16: note: place parentheses around the assignment to silence this warning if( cryptspec = getCKeyArg(Conn,param,dom,user) ){ ^ ( ) dgauth._.c:382:16: note: use '==' to turn this assignment into an equality comparison if( cryptspec = getCKeyArg(Conn,param,dom,user) ){ ^ == dgauth._.c:432:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( spec = getCKeyMainArg(Conn,param,dom,user) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:432:12: note: place parentheses around the assignment to silence this warning if( spec = getCKeyMainArg(Conn,param,dom,user) ){ ^ ( ) dgauth._.c:432:12: note: use '==' to turn this assignment into an equality comparison if( spec = getCKeyMainArg(Conn,param,dom,user) ){ ^ == dgauth._.c:495:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(domain,',') ) ~~~^~~~~~~~~~~~~~~~~~~~ dgauth._.c:495:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(domain,',') ) ^ ( ) dgauth._.c:495:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(domain,',') ) ^ == dgauth._.c:497:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(domain,'@') ) ~~~^~~~~~~~~~~~~~~~~~~~ dgauth._.c:497:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(domain,'@') ) ^ ( ) dgauth._.c:497:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(domain,'@') ) ^ == dgauth._.c:499:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(domain,'(') ){ ~~~^~~~~~~~~~~~~~~~~~~~ dgauth._.c:499:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(domain,'(') ){ ^ ( ) dgauth._.c:499:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(domain,'(') ){ ^ == dgauth._.c:639:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(host,':') ){ ~~~^~~~~~~~~~~~~~~~~~ dgauth._.c:639:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(host,':') ){ ^ ( ) dgauth._.c:639:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(host,':') ){ ^ == dgauth._.c:657:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( port = scanAuthServPort(dom,AVStr(host)) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:657:11: note: place parentheses around the assignment to silence this warning if( port = scanAuthServPort(dom,AVStr(host)) ) ^ ( ) dgauth._.c:657:11: note: use '==' to turn this assignment into an equality comparison if( port = scanAuthServPort(dom,AVStr(host)) ) ^ == dgauth._.c:811:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(nonce,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:811:9: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(nonce,"\r\n") ) ^ ( ) dgauth._.c:811:9: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(nonce,"\r\n") ) ^ == dgauth._.c:867:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(authserv,'@') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:867:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(authserv,'@') ){ ^ ( ) dgauth._.c:867:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(authserv,'@') ){ ^ == dgauth._.c:872:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(authserv,',') ) ~~~^~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:872:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(authserv,',') ) ^ ( ) dgauth._.c:872:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(authserv,',') ) ^ == dgauth._.c:875:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(authserv,"//") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:875:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(authserv,"//") ) ^ ( ) dgauth._.c:875:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(authserv,"//") ) ^ == dgauth._.c:881:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ dgauth._.c:946:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strheadstrX(user,up,igncase) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:946:10: note: place parentheses around the assignment to silence this warning if( pp = strheadstrX(user,up,igncase) ){ ^ ( ) dgauth._.c:946:10: note: use '==' to turn this assignment into an equality comparison if( pp = strheadstrX(user,up,igncase) ){ ^ == dgauth._.c:975:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(list,'}') ) ~~~^~~~~~~~~~~~~~~~~~ dgauth._.c:975:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(list,'}') ) ^ ( ) dgauth._.c:975:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(list,'}') ) ^ == dgauth._.c:1007:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vrealm = strchr(dom,'@') ){ /* -dgauth[.realm]@vrealm */ ~~~~~~~^~~~~~~~~~~~~~~~~ dgauth._.c:1007:13: note: place parentheses around the assignment to silence this warning if( vrealm = strchr(dom,'@') ){ /* -dgauth[.realm]@vrealm */ ^ ( ) dgauth._.c:1007:13: note: use '==' to turn this assignment into an equality comparison if( vrealm = strchr(dom,'@') ){ /* -dgauth[.realm]@vrealm */ ^ == dgauth._.c:1012:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xrealm = strchr(dom,'.') ) ~~~~~~~^~~~~~~~~~~~~~~~~ dgauth._.c:1012:13: note: place parentheses around the assignment to silence this warning if( xrealm = strchr(dom,'.') ) ^ ( ) dgauth._.c:1012:13: note: use '==' to turn this assignment into an equality comparison if( xrealm = strchr(dom,'.') ) ^ == dgauth._.c:1174:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(path,"r") ){ ~~~^~~~~~~~~~~~~~~~~ dgauth._.c:1174:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"r") ){ ^ ( ) dgauth._.c:1174:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"r") ){ ^ == dgauth._.c:1428:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(req,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ dgauth._.c:1428:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(req,"\r\n") ) ^ ( ) dgauth._.c:1428:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(req,"\r\n") ) ^ == dgauth._.c:1775:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen("NonceKey",AVStr(path),"w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:1775:10: note: place parentheses around the assignment to silence this warning if( fp = dirfopen("NonceKey",AVStr(path),"w") ){ ^ ( ) dgauth._.c:1775:10: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen("NonceKey",AVStr(path),"w") ){ ^ == dgauth._.c:1784:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(path,"r") ){ ~~~^~~~~~~~~~~~~~~~~ dgauth._.c:1784:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"r") ){ ^ ( ) dgauth._.c:1784:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"r") ){ ^ == dgauth._.c:1879:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = atoi(wf) ){ ~~~~^~~~~~~~~~ dgauth._.c:1879:10: note: place parentheses around the assignment to silence this warning if( len = atoi(wf) ){ ^ ( ) dgauth._.c:1879:10: note: use '==' to turn this assignment into an equality comparison if( len = atoi(wf) ){ ^ == dgauth._.c:1930:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strcasestr(host,dom1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ dgauth._.c:1930:10: note: place parentheses around the assignment to silence this warning if( dp = strcasestr(host,dom1) ){ ^ ( ) dgauth._.c:1930:10: note: use '==' to turn this assignment into an equality comparison if( dp = strcasestr(host,dom1) ){ ^ == dgauth._.c:1976:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(attrn,'@') ){ ~~~^~~~~~~~~~~~~~~~~~~ dgauth._.c:1976:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(attrn,'@') ){ ^ ( ) dgauth._.c:1976:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(attrn,'@') ){ ^ == 29 warnings generated. ../mkcpp dgsign.c dgsign._.c -- mkcpp set time: 1712064732 -> 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] if( fin = fopen(fname,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~ dgsign._.c:91:10: note: place parentheses around the assignment to silence this warning if( fin = fopen(fname,"r") ){ ^ ( ) dgsign._.c:91:10: note: use '==' to turn this assignment into an equality comparison if( fin = fopen(fname,"r") ){ ^ == dgsign._.c:141:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrpbrk(fnam,"/\\") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:141:11: note: place parentheses around the assignment to silence this warning if( dp = strrpbrk(fnam,"/\\") ){ ^ ( ) dgsign._.c:141:11: note: use '==' to turn this assignment into an equality comparison if( dp = strrpbrk(fnam,"/\\") ){ ^ == dgsign._.c:222:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(av[ai],"r") ){ ~~~^~~~~~~~~~~~~~~~~~~ dgsign._.c:222:12: note: place parentheses around the assignment to silence this warning if( fp = fopen(av[ai],"r") ){ ^ ( ) dgsign._.c:222:12: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(av[ai],"r") ){ ^ == dgsign._.c:226:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lp = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:226:14: note: place parentheses around the assignment to silence this warning if( lp = strpbrk(line,"\r\n") ) ^ ( ) dgsign._.c:226:14: note: use '==' to turn this assignment into an equality comparison if( lp = strpbrk(line,"\r\n") ) ^ == dgsign._.c:280:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(ofile,"w") ) ~~~^~~~~~~~~~~~~~~~~~ dgsign._.c:280:11: note: place parentheses around the assignment to silence this warning if( fp = fopen(ofile,"w") ) ^ ( ) dgsign._.c:280:11: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(ofile,"w") ) ^ == dgsign._.c:316:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(path,"r") ){ ~~~^~~~~~~~~~~~~~~~~ dgsign._.c:316:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"r") ){ ^ ( ) dgsign._.c:316:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"r") ){ ^ == dgsign._.c:518:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strstr(dp,"}\"") ){ ~~~^~~~~~~~~~~~~~~~~~ dgsign._.c:518:11: note: place parentheses around the assignment to silence this warning if( ep = strstr(dp,"}\"") ){ ^ ( ) dgsign._.c:518:11: note: use '==' to turn this assignment into an equality comparison if( ep = strstr(dp,"}\"") ){ ^ == dgsign._.c:532:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(buf,"}\"") ){ ~~~^~~~~~~~~~~~~~~~~~~ dgsign._.c:532:13: note: place parentheses around the assignment to silence this warning if( dp = strstr(buf,"}\"") ){ ^ ( ) dgsign._.c:532:13: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(buf,"}\"") ){ ^ == dgsign._.c:596:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strstr(dp,"}\"") ){ ~~~^~~~~~~~~~~~~~~~~~ dgsign._.c:596:11: note: place parentheses around the assignment to silence this warning if( ep = strstr(dp,"}\"") ){ ^ ( ) dgsign._.c:596:11: note: use '==' to turn this assignment into an equality comparison if( ep = strstr(dp,"}\"") ){ ^ == dgsign._.c:605:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(buf,"}\"") ){ ~~~^~~~~~~~~~~~~~~~~~~ dgsign._.c:605:13: note: place parentheses around the assignment to silence this warning if( dp = strstr(buf,"}\"") ){ ^ ( ) dgsign._.c:605:13: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(buf,"}\"") ){ ^ == dgsign._.c:651:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strchr(fsig->s_signb,'}') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:651:11: note: place parentheses around the assignment to silence this warning if( ep = strchr(fsig->s_signb,'}') ){ ^ ( ) dgsign._.c:651:11: note: use '==' to turn this assignment into an equality comparison if( ep = strchr(fsig->s_signb,'}') ){ ^ == dgsign._.c:667:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strchr(dp,'}') ){ ~~~^~~~~~~~~~~~~~~~ dgsign._.c:667:11: note: place parentheses around the assignment to silence this warning if( ep = strchr(dp,'}') ){ ^ ( ) dgsign._.c:667:11: note: use '==' to turn this assignment into an equality comparison if( ep = strchr(dp,'}') ){ ^ == dgsign._.c:705:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ dgsign._.c:754:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ dgsign._.c:718:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ dgsign._.c:959:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(md5,"=\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:959:9: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(md5,"=\r\n") ) ^ ( ) dgsign._.c:959:9: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(md5,"=\r\n") ) ^ == dgsign._.c:1134:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ov = getv(oav,_P_IMPLAST) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:1134:9: note: place parentheses around the assignment to silence this warning if( ov = getv(oav,_P_IMPLAST) ){ ^ ( ) dgsign._.c:1134:9: note: use '==' to turn this assignment into an equality comparison if( ov = getv(oav,_P_IMPLAST) ){ ^ == dgsign._.c:1138:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ov = getv(oav,_P_IMPORIG) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:1138:9: note: place parentheses around the assignment to silence this warning if( ov = getv(oav,_P_IMPORIG) ){ ^ ( ) dgsign._.c:1138:9: note: use '==' to turn this assignment into an equality comparison if( ov = getv(oav,_P_IMPORIG) ){ ^ == dgsign._.c:1149:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; ov = oav[ai]; ai++ ){ ~~~^~~~~~~~~ dgsign._.c:1149:18: note: place parentheses around the assignment to silence this warning for( ai = 0; ov = oav[ai]; ai++ ){ ^ ( ) dgsign._.c:1149:18: note: use '==' to turn this assignment into an equality comparison for( ai = 0; ov = oav[ai]; ai++ ){ ^ == dgsign._.c:1172:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pv = strchr(ov,'=') ) ~~~^~~~~~~~~~~~~~~~ dgsign._.c:1172:12: note: place parentheses around the assignment to silence this warning if( pv = strchr(ov,'=') ) ^ ( ) dgsign._.c:1172:12: note: use '==' to turn this assignment into an equality comparison if( pv = strchr(ov,'=') ) ^ == dgsign._.c:1182:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ov = getv(oav,P_SUDOAUTH) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:1182:9: note: place parentheses around the assignment to silence this warning if( ov = getv(oav,P_SUDOAUTH) ){ ^ ( ) dgsign._.c:1182:9: note: use '==' to turn this assignment into an equality comparison if( ov = getv(oav,P_SUDOAUTH) ){ ^ == dgsign._.c:1189:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ov = getv(oav,P_EXECAUTH) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:1189:9: note: place parentheses around the assignment to silence this warning if( ov = getv(oav,P_EXECAUTH) ){ ^ ( ) dgsign._.c:1189:9: note: use '==' to turn this assignment into an equality comparison if( ov = getv(oav,P_EXECAUTH) ){ ^ == dgsign._.c:1378:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ii = 0; p2 = PS->_iav[ii]; ii++ ){ ~~~^~~~~~~~~~~~~~ dgsign._.c:1378:22: note: place parentheses around the assignment to silence this warning for( ii = 0; p2 = PS->_iav[ii]; ii++ ){ ^ ( ) dgsign._.c:1378:22: note: use '==' to turn this assignment into an equality comparison for( ii = 0; p2 = PS->_iav[ii]; ii++ ){ ^ == dgsign._.c:1531:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sfp = fopen(save,"w") ){ ~~~~^~~~~~~~~~~~~~~~~ dgsign._.c:1531:11: note: place parentheses around the assignment to silence this warning if( sfp = fopen(save,"w") ){ ^ ( ) dgsign._.c:1531:11: note: use '==' to turn this assignment into an equality comparison if( sfp = fopen(save,"w") ){ ^ == dgsign._.c:1580:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; a1 = av[ai]; ai++ ){ ~~~^~~~~~~~ dgsign._.c:1580:18: note: place parentheses around the assignment to silence this warning for( ai = 0; a1 = av[ai]; ai++ ){ ^ ( ) dgsign._.c:1580:18: note: use '==' to turn this assignment into an equality comparison for( ai = 0; a1 = av[ai]; ai++ ){ ^ == dgsign._.c:1630:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( a1=getv(av,P_SUDOAUTH) ){ bp=putParam1(AVStr(bp),P_SUDOAUTH,a1); } ~~^~~~~~~~~~~~~~~~~~~~ dgsign._.c:1630:8: note: place parentheses around the assignment to silence this warning if( a1=getv(av,P_SUDOAUTH) ){ bp=putParam1(AVStr(bp),P_SUDOAUTH,a1); } ^ ( ) dgsign._.c:1630:8: note: use '==' to turn this assignment into an equality comparison if( a1=getv(av,P_SUDOAUTH) ){ bp=putParam1(AVStr(bp),P_SUDOAUTH,a1); } ^ == dgsign._.c:1631:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( a1=getv(av,P_EXECAUTH) ){ bp=putParam1(AVStr(bp),P_EXECAUTH,a1); } ~~^~~~~~~~~~~~~~~~~~~~ dgsign._.c:1631:8: note: place parentheses around the assignment to silence this warning if( a1=getv(av,P_EXECAUTH) ){ bp=putParam1(AVStr(bp),P_EXECAUTH,a1); } ^ ( ) dgsign._.c:1631:8: note: use '==' to turn this assignment into an equality comparison if( a1=getv(av,P_EXECAUTH) ){ bp=putParam1(AVStr(bp),P_EXECAUTH,a1); } ^ == dgsign._.c:1632:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( a1=getv(av,_P_IMPLAST) ){ bp=putParam1(AVStr(bp),_P_IMPLAST,a1); } ~~^~~~~~~~~~~~~~~~~~~~ dgsign._.c:1632:8: note: place parentheses around the assignment to silence this warning if( a1=getv(av,_P_IMPLAST) ){ bp=putParam1(AVStr(bp),_P_IMPLAST,a1); } ^ ( ) dgsign._.c:1632:8: note: use '==' to turn this assignment into an equality comparison if( a1=getv(av,_P_IMPLAST) ){ bp=putParam1(AVStr(bp),_P_IMPLAST,a1); } ^ == dgsign._.c:1633:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( a1=getv(av,_P_IMPORIG) ){ bp=putParam1(AVStr(bp),_P_IMPORIG,a1); } ~~^~~~~~~~~~~~~~~~~~~~ dgsign._.c:1633:8: note: place parentheses around the assignment to silence this warning if( a1=getv(av,_P_IMPORIG) ){ bp=putParam1(AVStr(bp),_P_IMPORIG,a1); } ^ ( ) dgsign._.c:1633:8: note: use '==' to turn this assignment into an equality comparison if( a1=getv(av,_P_IMPORIG) ){ bp=putParam1(AVStr(bp),_P_IMPORIG,a1); } ^ == dgsign._.c:1940:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lfp = fopen(load,"r") ){ ~~~~^~~~~~~~~~~~~~~~~ dgsign._.c:1940:12: note: place parentheses around the assignment to silence this warning if( lfp = fopen(load,"r") ){ ^ ( ) dgsign._.c:1940:12: note: use '==' to turn this assignment into an equality comparison if( lfp = fopen(load,"r") ){ ^ == dgsign._.c:2359:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ dgsign._.c:2552:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = strheadstrX(a1,_P_IMPORIG,0) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:2552:10: note: place parentheses around the assignment to silence this warning if( vp = strheadstrX(a1,_P_IMPORIG,0) ){ ^ ( ) dgsign._.c:2552:10: note: use '==' to turn this assignment into an equality comparison if( vp = strheadstrX(a1,_P_IMPORIG,0) ){ ^ == dgsign._.c:2711:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( auth = getEnvBin1st(P_EXECAUTH) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:2711:11: note: place parentheses around the assignment to silence this warning if( auth = getEnvBin1st(P_EXECAUTH) ){ ^ ( ) dgsign._.c:2711:11: note: use '==' to turn this assignment into an equality comparison if( auth = getEnvBin1st(P_EXECAUTH) ){ ^ == dgsign._.c:2718:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( auth = getEnvBin1st(P_SUDOAUTH) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:2718:12: note: place parentheses around the assignment to silence this warning if( auth = getEnvBin1st(P_SUDOAUTH) ){ ^ ( ) dgsign._.c:2718:12: note: use '==' to turn this assignment into an equality comparison if( auth = getEnvBin1st(P_SUDOAUTH) ){ ^ == dgsign._.c:2732:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( auth = getEnvBin1st(P_EXECAUTH) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:2732:11: note: place parentheses around the assignment to silence this warning if( auth = getEnvBin1st(P_EXECAUTH) ){ ^ ( ) dgsign._.c:2732:11: note: use '==' to turn this assignment into an equality comparison if( auth = getEnvBin1st(P_EXECAUTH) ){ ^ == dgsign._.c:2922:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( enc = strstr(ibuf,head) ){ ~~~~^~~~~~~~~~~~~~~~~~~ dgsign._.c:2922:11: note: place parentheses around the assignment to silence this warning if( enc = strstr(ibuf,head) ){ ^ ( ) dgsign._.c:2922:11: note: use '==' to turn this assignment into an equality comparison if( enc = strstr(ibuf,head) ){ ^ == dgsign._.c:3051:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ifp = fopen(ipath,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~ dgsign._.c:3051:14: note: place parentheses around the assignment to silence this warning if( ifp = fopen(ipath,"r") ){ ^ ( ) dgsign._.c:3051:14: note: use '==' to turn this assignment into an equality comparison if( ifp = fopen(ipath,"r") ){ ^ == dgsign._.c:3106:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strtailstr(opath,".enc") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:3106:11: note: place parentheses around the assignment to silence this warning if( dp = strtailstr(opath,".enc") ) ^ ( ) dgsign._.c:3106:11: note: use '==' to turn this assignment into an equality comparison if( dp = strtailstr(opath,".enc") ) ^ == dgsign._.c:3178:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( enc = strstr(line,head) ){ ~~~~^~~~~~~~~~~~~~~~~~~ dgsign._.c:3178:11: note: place parentheses around the assignment to silence this warning if( enc = strstr(line,head) ){ ^ ( ) dgsign._.c:3178:11: note: use '==' to turn this assignment into an equality comparison if( enc = strstr(line,head) ){ ^ == dgsign._.c:3452:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcc = fread(buf,1,QVSSize(buf,bsize),ifp) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dgsign._.c:3452:11: note: place parentheses around the assignment to silence this warning if( rcc = fread(buf,1,QVSSize(buf,bsize),ifp) ) ^ ( ) dgsign._.c:3452:11: note: use '==' to turn this assignment into an equality comparison if( rcc = fread(buf,1,QVSSize(buf,bsize),ifp) ) ^ == dgsign._.c:3471:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pfp = popen(com,"r") ){ ~~~~^~~~~~~~~~~~~~~~ dgsign._.c:3471:13: note: place parentheses around the assignment to silence this warning if( pfp = popen(com,"r") ){ ^ ( ) dgsign._.c:3471:13: note: use '==' to turn this assignment into an equality comparison if( pfp = popen(com,"r") ){ ^ == dgsign._.c:3710:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ dgsign._.c:3710:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) dgsign._.c:3710:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == dgsign._.c:3751:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ dgsign._.c:3751:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) dgsign._.c:3751:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == 43 warnings generated. ../mkcpp ccache.c ccache._.c -- mkcpp set time: 1712064733 -> 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] if( ccfp = fopenCC(server,"r+",AVStr(path)) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ccache._.c:93:12: note: place parentheses around the assignment to silence this warning if( ccfp = fopenCC(server,"r+",AVStr(path)) ){ ^ ( ) ccache._.c:93:12: note: use '==' to turn this assignment into an equality comparison if( ccfp = fopenCC(server,"r+",AVStr(path)) ){ ^ == ccache._.c:273:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ccfp = fopen(path,"a") ) ~~~~~^~~~~~~~~~~~~~~~~ ccache._.c:273:11: note: place parentheses around the assignment to silence this warning if( ccfp = fopen(path,"a") ) ^ ( ) ccache._.c:273:11: note: use '==' to turn this assignment into an equality comparison if( ccfp = fopen(path,"a") ) ^ == 2 warnings generated. ../mkcpp cache.c cache._.c -- mkcpp set time: 1712064734 -> 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] if( dp = strrpbrk(xdir,"/\\") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ cache._.c:102:9: note: place parentheses around the assignment to silence this warning if( dp = strrpbrk(xdir,"/\\") ) ^ ( ) cache._.c:102:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrpbrk(xdir,"/\\") ) ^ == cache._.c:172:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( dp = strchr(dp,'/') ){ ~~~^~~~~~~~~~~~~~~~ cache._.c:172:12: note: place parentheses around the assignment to silence this warning while( dp = strchr(dp,'/') ){ ^ ( ) cache._.c:172:12: note: use '==' to turn this assignment into an equality comparison while( dp = strchr(dp,'/') ){ ^ == cache._.c:196:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(dir,'/') ){ ~~~^~~~~~~~~~~~~~~~~~ cache._.c:196:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(dir,'/') ){ ^ ( ) cache._.c:196:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(dir,'/') ){ ^ == cache._.c:226:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(dir,'/') ){ ~~~^~~~~~~~~~~~~~~~~~ cache._.c:226:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(dir,'/') ){ ^ ( ) cache._.c:226:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(dir,'/') ){ ^ == cache._.c:275:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(file,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~ cache._.c:275:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(file,'/') ){ ^ ( ) cache._.c:275:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(file,'/') ){ ^ == cache._.c:407:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = surl; sc = *sp; sp++ ){ ~~~^~~~~ cache._.c:407:21: note: place parentheses around the assignment to silence this warning for( sp = surl; sc = *sp; sp++ ){ ^ ( ) cache._.c:407:21: note: use '==' to turn this assignment into an equality comparison for( sp = surl; sc = *sp; sp++ ){ ^ == cache._.c:471:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nvport = strchr(nvserv,':') ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~ cache._.c:471:14: note: place parentheses around the assignment to silence this warning if( nvport = strchr(nvserv,':') ){ ^ ( ) cache._.c:471:14: note: use '==' to turn this assignment into an equality comparison if( nvport = strchr(nvserv,':') ){ ^ == cache._.c:498:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rp = strpbrk(path1,"\r\n\t ") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cache._.c:498:9: note: place parentheses around the assignment to silence this warning if( rp = strpbrk(path1,"\r\n\t ") ){ ^ ( ) cache._.c:498:9: note: use '==' to turn this assignment into an equality comparison if( rp = strpbrk(path1,"\r\n\t ") ){ ^ == cache._.c:610:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( dp = strrchr(cpath,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~ cache._.c:610:12: note: place parentheses around the assignment to silence this warning while( dp = strrchr(cpath,'/') ){ ^ ( ) cache._.c:610:12: note: use '==' to turn this assignment into an equality comparison while( dp = strrchr(cpath,'/') ){ ^ == cache._.c:630:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = path; ch = *sp; sp++ ){ ~~~^~~~~ cache._.c:630:21: note: place parentheses around the assignment to silence this warning for( sp = path; ch = *sp; sp++ ){ ^ ( ) cache._.c:630:21: note: use '==' to turn this assignment into an equality comparison for( sp = path; ch = *sp; sp++ ){ ^ == cache._.c:761:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tomd5 = (fp[0] == 'm') && (fp[1] != 0) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cache._.c:761:13: note: place parentheses around the assignment to silence this warning if( tomd5 = (fp[0] == 'm') && (fp[1] != 0) ) ^ ( ) cache._.c:761:13: note: use '==' to turn this assignment into an equality comparison if( tomd5 = (fp[0] == 'm') && (fp[1] != 0) ) ^ == cache._.c:880:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fi = 0; bsym = formats[fi].f_begin; fi++ ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~ cache._.c:880:21: note: place parentheses around the assignment to silence this warning for( fi = 0; bsym = formats[fi].f_begin; fi++ ){ ^ ( ) cache._.c:880:21: note: use '==' to turn this assignment into an equality comparison for( fi = 0; bsym = formats[fi].f_begin; fi++ ){ ^ == cache._.c:964:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strstr(bp,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~ cache._.c:964:10: note: place parentheses around the assignment to silence this warning if( np = strstr(bp,"\r\n") ) ^ ( ) cache._.c:964:10: note: use '==' to turn this assignment into an equality comparison if( np = strstr(bp,"\r\n") ) ^ == 13 warnings generated. ../mkcpp distrib.c distrib._.c -- mkcpp set time: 1712064734 -> 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] if( dp = strpbrk(stat,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ distrib._.c:109:9: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(stat,"\r\n") ) ^ ( ) distrib._.c:109:9: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(stat,"\r\n") ) ^ == 1 warning generated. ../mkcpp bcounter.c bcounter._.c -- mkcpp set time: 1712064735 -> 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] if( dp = strchr(cpath,'?') ) ~~~^~~~~~~~~~~~~~~~~~~ bcounter._.c:309:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(cpath,'?') ) ^ ( ) bcounter._.c:309:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(cpath,'?') ) ^ == bcounter._.c:556:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strchr(host,':') ){ ~~~^~~~~~~~~~~~~~~~~~ bcounter._.c:556:10: note: place parentheses around the assignment to silence this warning if( pp = strchr(host,':') ){ ^ ( ) bcounter._.c:556:10: note: use '==' to turn this assignment into an equality comparison if( pp = strchr(host,':') ){ ^ == bcounter._.c:565:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(up,'#') ){ ~~~^~~~~~~~~~~~~~~~ bcounter._.c:565:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(up,'#') ){ ^ ( ) bcounter._.c:565:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(up,'#') ){ ^ == bcounter._.c:569:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(up,'?') ){ ~~~^~~~~~~~~~~~~~~~ bcounter._.c:569:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(up,'?') ){ ^ ( ) bcounter._.c:569:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(up,'?') ){ ^ == bcounter._.c:712:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(url,"#{") ){ ~~~^~~~~~~~~~~~~~~~~~ bcounter._.c:712:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(url,"#{") ){ ^ ( ) bcounter._.c:712:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(url,"#{") ){ ^ == bcounter._.c:715:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(urlb,"#{") ){ ~~~^~~~~~~~~~~~~~~~~~~ bcounter._.c:715:10: note: place parentheses around the assignment to silence this warning if( dp = strstr(urlb,"#{") ){ ^ ( ) bcounter._.c:715:10: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(urlb,"#{") ){ ^ == bcounter._.c:771:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( iscum = streq(url,"##cumget") ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ bcounter._.c:771:12: note: place parentheses around the assignment to silence this warning if( iscum = streq(url,"##cumget") ){ ^ ( ) bcounter._.c:771:12: note: use '==' to turn this assignment into an equality comparison if( iscum = streq(url,"##cumget") ){ ^ == bcounter._.c:780:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = fmt; fc = *fp; fp++ ){ ~~~^~~~~ bcounter._.c:780:20: note: place parentheses around the assignment to silence this warning for( fp = fmt; fc = *fp; fp++ ){ ^ ( ) bcounter._.c:780:20: note: use '==' to turn this assignment into an equality comparison for( fp = fmt; fc = *fp; fp++ ){ ^ == bcounter._.c:834:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mean = (fc == 'm') ){ ~~~~~^~~~~~~~~~~~~ bcounter._.c:834:12: note: place parentheses around the assignment to silence this warning if( mean = (fc == 'm') ){ ^ ( ) bcounter._.c:834:12: note: use '==' to turn this assignment into an equality comparison if( mean = (fc == 'm') ){ ^ == 9 warnings generated. ../mkcpp ipno.c ipno._.c -- mkcpp set time: 1712064735 -> 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] while( ni = fread(cands,ADDRLEN,BLKSIZE,fp) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipno._.c:34:12: note: place parentheses around the assignment to silence this warning while( ni = fread(cands,ADDRLEN,BLKSIZE,fp) ){ ^ ( ) ipno._.c:34:12: note: use '==' to turn this assignment into an equality comparison while( ni = fread(cands,ADDRLEN,BLKSIZE,fp) ){ ^ == 1 warning generated. ../mkcpp inets.c inets._.c -- mkcpp set time: 1712064735 -> 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] if( hp = gethostbyname(host) ) ~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:318:9: note: place parentheses around the assignment to silence this warning if( hp = gethostbyname(host) ) ^ ( ) inets._.c:318:9: note: use '==' to turn this assignment into an equality comparison if( hp = gethostbyname(host) ) ^ == inets._.c:402:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(host+2,'.') ){ ~~~^~~~~~~~~~~~~~~~~~~~ inets._.c:402:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(host+2,'.') ){ ^ ( ) inets._.c:402:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(host+2,'.') ){ ^ == inets._.c:792:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ri = 0; ri = RES_next_res(resolvers,ri,AVStr(res1),AVStr(arg)); ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:792:18: note: place parentheses around the assignment to silence this warning for( ri = 0; ri = RES_next_res(resolvers,ri,AVStr(res1),AVStr(arg)); ){ ^ ( ) inets._.c:792:18: note: use '==' to turn this assignment into an equality comparison for( ri = 0; ri = RES_next_res(resolvers,ri,AVStr(res1),AVStr(arg)); ){ ^ == inets._.c:842:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( res_logf = fopen(log,"a") ){ ~~~~~~~~~^~~~~~~~~~~~~~~~ inets._.c:842:16: note: place parentheses around the assignment to silence this warning if( res_logf = fopen(log,"a") ){ ^ ( ) inets._.c:842:16: note: use '==' to turn this assignment into an equality comparison if( res_logf = fopen(log,"a") ){ ^ == inets._.c:862:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( roe = getenv("RES_ORDER") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:862:11: note: place parentheses around the assignment to silence this warning if( roe = getenv("RES_ORDER") ){ ^ ( ) inets._.c:862:11: note: use '==' to turn this assignment into an equality comparison if( roe = getenv("RES_ORDER") ){ ^ == inets._.c:908:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( hi = 0; haddr = hp->h_addr_list[hi+1]; hi++ ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ inets._.c:908:22: note: place parentheses around the assignment to silence this warning for( hi = 0; haddr = hp->h_addr_list[hi+1]; hi++ ) ^ ( ) inets._.c:908:22: note: use '==' to turn this assignment into an equality comparison for( hi = 0; haddr = hp->h_addr_list[hi+1]; hi++ ) ^ == inets._.c:937:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ) ~~~~~~^~~~~~~~~~~~~~~~~~~ inets._.c:937:21: note: place parentheses around the assignment to silence this warning for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ) ^ ( ) inets._.c:937:21: note: use '==' to turn this assignment into an equality comparison for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ) ^ == inets._.c:946:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; addr1 = hp->h_addr_list[ai]; ai++ ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:946:21: note: place parentheses around the assignment to silence this warning for( ai = 0; addr1 = hp->h_addr_list[ai]; ai++ ) ^ ( ) inets._.c:946:21: note: use '==' to turn this assignment into an equality comparison for( ai = 0; addr1 = hp->h_addr_list[ai]; ai++ ) ^ == inets._.c:1023:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( si = 0; sc = sv[si]; si++ ){ ~~~^~~~~~~~ inets._.c:1023:18: note: place parentheses around the assignment to silence this warning for( si = 0; sc = sv[si]; si++ ){ ^ ( ) inets._.c:1023:18: note: use '==' to turn this assignment into an equality comparison for( si = 0; sc = sv[si]; si++ ){ ^ == inets._.c:1053:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:1053:19: note: place parentheses around the assignment to silence this warning for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ){ ^ ( ) inets._.c:1053:19: note: use '==' to turn this assignment into an equality comparison for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ){ ^ == inets._.c:1054:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sx = isinlist(hp2->h_addr_list,a1,alen) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:1054:11: note: place parentheses around the assignment to silence this warning if( sx = isinlist(hp2->h_addr_list,a1,alen) ){ ^ ( ) inets._.c:1054:11: note: use '==' to turn this assignment into an equality comparison if( sx = isinlist(hp2->h_addr_list,a1,alen) ){ ^ == inets._.c:1065:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; a1 = hp1->h_aliases[ai]; ai++ ){ ~~~^~~~~~~~~~~~~~~~~~~~ inets._.c:1065:19: note: place parentheses around the assignment to silence this warning for( ai = 0; a1 = hp1->h_aliases[ai]; ai++ ){ ^ ( ) inets._.c:1065:19: note: use '==' to turn this assignment into an equality comparison for( ai = 0; a1 = hp1->h_aliases[ai]; ai++ ){ ^ == inets._.c:1066:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sx = isinlist(hp2->h_aliases,a1,0) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:1066:11: note: place parentheses around the assignment to silence this warning if( sx = isinlist(hp2->h_aliases,a1,0) ){ ^ ( ) inets._.c:1066:11: note: use '==' to turn this assignment into an equality comparison if( sx = isinlist(hp2->h_aliases,a1,0) ){ ^ == inets._.c:1157:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ){ ~~~~~~^~~~~~~~~~~~~~~~~~~ inets._.c:1157:21: note: place parentheses around the assignment to silence this warning for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ){ ^ ( ) inets._.c:1157:21: note: use '==' to turn this assignment into an equality comparison for( ai = 0; name1 = hp->h_aliases[ai]; ai++ ){ ^ == inets._.c:1356:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; addr = hp->h_addr_list[ai]; ai++ ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:1356:21: note: place parentheses around the assignment to silence this warning for( ai = 0; addr = hp->h_addr_list[ai]; ai++ ){ ^ ( ) inets._.c:1356:21: note: use '==' to turn this assignment into an equality comparison for( ai = 0; addr = hp->h_addr_list[ai]; ai++ ){ ^ == inets._.c:1373:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; name = hp->h_aliases[ai]; ai++ ) ~~~~~^~~~~~~~~~~~~~~~~~~ inets._.c:1373:21: note: place parentheses around the assignment to silence this warning for( ai = 0; name = hp->h_aliases[ai]; ai++ ) ^ ( ) inets._.c:1373:21: note: use '==' to turn this assignment into an equality comparison for( ai = 0; name = hp->h_aliases[ai]; ai++ ) ^ == inets._.c:1457:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Hp = HostsCache[ci] ){ ~~~^~~~~~~~~~~~~~~~ inets._.c:1457:10: note: place parentheses around the assignment to silence this warning if( Hp = HostsCache[ci] ){ ^ ( ) inets._.c:1457:10: note: use '==' to turn this assignment into an equality comparison if( Hp = HostsCache[ci] ){ ^ == inets._.c:1528:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strchr(np,'}') ) ~~~^~~~~~~~~~~~~~~~ inets._.c:1528:11: note: place parentheses around the assignment to silence this warning if( tp = strchr(np,'}') ) ^ ( ) inets._.c:1528:11: note: use '==' to turn this assignment into an equality comparison if( tp = strchr(np,'}') ) ^ == inets._.c:1537:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(np,',') ){ ~~~^~~~~~~~~~~~~~~~ inets._.c:1537:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(np,',') ){ ^ ( ) inets._.c:1537:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(np,',') ){ ^ == inets._.c:1597:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = Dgethostbyname(name) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:1597:9: note: place parentheses around the assignment to silence this warning if( hp = Dgethostbyname(name) ){ ^ ( ) inets._.c:1597:9: note: use '==' to turn this assignment into an equality comparison if( hp = Dgethostbyname(name) ){ ^ == inets._.c:1643:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addrs = strchr(names,'/') ){ ~~~~~~^~~~~~~~~~~~~~~~~~~ inets._.c:1643:12: note: place parentheses around the assignment to silence this warning if( addrs = strchr(names,'/') ){ ^ ( ) inets._.c:1643:12: note: use '==' to turn this assignment into an equality comparison if( addrs = strchr(names,'/') ){ ^ == inets._.c:1645:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( opts = strchr(addrs+1,'/') ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:1645:12: note: place parentheses around the assignment to silence this warning if( opts = strchr(addrs+1,'/') ){ ^ ( ) inets._.c:1645:12: note: use '==' to turn this assignment into an equality comparison if( opts = strchr(addrs+1,'/') ){ ^ == inets._.c:1789:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ inets._.c:2017:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( CHp = findHostentInCache(hp,&chp,&dif) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:2017:12: note: place parentheses around the assignment to silence this warning if( CHp = findHostentInCache(hp,&chp,&dif) ){ ^ ( ) inets._.c:2017:12: note: use '==' to turn this assignment into an equality comparison if( CHp = findHostentInCache(hp,&chp,&dif) ){ ^ == inets._.c:2058:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addr = VSA_ntoa(sa) ) ~~~~~^~~~~~~~~~~~~~ inets._.c:2058:11: note: place parentheses around the assignment to silence this warning if( addr = VSA_ntoa(sa) ) ^ ( ) inets._.c:2058:11: note: use '==' to turn this assignment into an equality comparison if( addr = VSA_ntoa(sa) ) ^ == inets._.c:2083:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = form; fc = *fp; fp++ ){ ~~~^~~~~ inets._.c:2083:21: note: place parentheses around the assignment to silence this warning for( fp = form; fc = *fp; fp++ ){ ^ ( ) inets._.c:2083:21: note: use '==' to turn this assignment into an equality comparison for( fp = form; fc = *fp; fp++ ){ ^ == inets._.c:2345:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nready = PollIn(sock,to1) ) ~~~~~~~^~~~~~~~~~~~~~~~~~ inets._.c:2345:14: note: place parentheses around the assignment to silence this warning if( nready = PollIn(sock,to1) ) ^ ( ) inets._.c:2345:14: note: use '==' to turn this assignment into an equality comparison if( nready = PollIn(sock,to1) ) ^ == inets._.c:2447:16: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] DGC *MainConn(); ^~ inets._.c:2447:16: note: replace parentheses with an initializer to declare a variable DGC *MainConn(); ^~ = NULL inets._.c:2531:13: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] double Time(),Start; ^~ inets._.c:2531:13: note: replace parentheses with an initializer to declare a variable double Time(),Start; ^~ = 0.0 inets._.c:2587:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ds = ConRetry(sock,sap,what,portname,hostname,iport,ntry) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:2587:10: note: place parentheses around the assignment to silence this warning if( ds = ConRetry(sock,sap,what,portname,hostname,iport,ntry) ){ ^ ( ) inets._.c:2587:10: note: use '==' to turn this assignment into an equality comparison if( ds = ConRetry(sock,sap,what,portname,hostname,iport,ntry) ){ ^ == inets._.c:2706:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( hi = 0; haddr = hp->h_addr_list[hi]; hi++ ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:2706:21: note: place parentheses around the assignment to silence this warning for( hi = 0; haddr = hp->h_addr_list[hi]; hi++ ){ ^ ( ) inets._.c:2706:21: note: use '==' to turn this assignment into an equality comparison for( hi = 0; haddr = hp->h_addr_list[hi]; hi++ ){ ^ == inets._.c:2747:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ inets._.c:2808:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = gethostbyNameAddr(cache_only,host,NULL,0,0) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:2808:9: note: place parentheses around the assignment to silence this warning if( hp = gethostbyNameAddr(cache_only,host,NULL,0,0) ) ^ ( ) inets._.c:2808:9: note: use '==' to turn this assignment into an equality comparison if( hp = gethostbyNameAddr(cache_only,host,NULL,0,0) ) ^ == inets._.c:2818:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addr = _gethostaddr(host,0) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:2818:11: note: place parentheses around the assignment to silence this warning if( addr = _gethostaddr(host,0) ) ^ ( ) inets._.c:2818:11: note: use '==' to turn this assignment into an equality comparison if( addr = _gethostaddr(host,0) ) ^ == inets._.c:2853:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = gethostbyNameAddr(cacheonly,host,NULL,0,0) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:2853:9: note: place parentheses around the assignment to silence this warning if( hp = gethostbyNameAddr(cacheonly,host,NULL,0,0) ){ ^ ( ) inets._.c:2853:9: note: use '==' to turn this assignment into an equality comparison if( hp = gethostbyNameAddr(cacheonly,host,NULL,0,0) ){ ^ == inets._.c:2942:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( found = getHost_nbo(0,host,VStrNULL,&sab) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:2942:12: note: place parentheses around the assignment to silence this warning if( found = getHost_nbo(0,host,VStrNULL,&sab) ){ ^ ( ) inets._.c:2942:12: note: use '==' to turn this assignment into an equality comparison if( found = getHost_nbo(0,host,VStrNULL,&sab) ){ ^ == inets._.c:3033:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( n2 = 0; a2 = hp2->h_addr_list[n2]; n2++ ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:3033:18: note: place parentheses around the assignment to silence this warning for( n2 = 0; a2 = hp2->h_addr_list[n2]; n2++ ){ ^ ( ) inets._.c:3033:18: note: use '==' to turn this assignment into an equality comparison for( n2 = 0; a2 = hp2->h_addr_list[n2]; n2++ ){ ^ == inets._.c:3034:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( n1 = 0; a1 = hp1->h_addr_list[n1]; n1++ ) ~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:3034:19: note: place parentheses around the assignment to silence this warning for( n1 = 0; a1 = hp1->h_addr_list[n1]; n1++ ) ^ ( ) inets._.c:3034:19: note: use '==' to turn this assignment into an equality comparison for( n1 = 0; a1 = hp1->h_addr_list[n1]; n1++ ) ^ == inets._.c:3122:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( aaddr = gethostaddr(hostname) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ inets._.c:3122:12: note: place parentheses around the assignment to silence this warning if( aaddr = gethostaddr(hostname) ){ ^ ( ) inets._.c:3122:12: note: use '==' to turn this assignment into an equality comparison if( aaddr = gethostaddr(hostname) ){ ^ == inets._.c:3428:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ inets._.c:3590:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = gethostbyNameAddr(0,host,NULL,0,0) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:3590:10: note: place parentheses around the assignment to silence this warning if( hp = gethostbyNameAddr(0,host,NULL,0,0) ) ^ ( ) inets._.c:3590:10: note: use '==' to turn this assignment into an equality comparison if( hp = gethostbyNameAddr(0,host,NULL,0,0) ) ^ == inets._.c:3698:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = gethostbyNameAddr(0,hostname,NULL,0,0) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:3698:10: note: place parentheses around the assignment to silence this warning if( hp = gethostbyNameAddr(0,hostname,NULL,0,0) ){ ^ ( ) inets._.c:3698:10: note: use '==' to turn this assignment into an equality comparison if( hp = gethostbyNameAddr(0,hostname,NULL,0,0) ){ ^ == inets._.c:3747:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addr = gethostaddr(host) ){ ~~~~~^~~~~~~~~~~~~~~~~~~ inets._.c:3747:12: note: place parentheses around the assignment to silence this warning if( addr = gethostaddr(host) ){ ^ ( ) inets._.c:3747:12: note: use '==' to turn this assignment into an equality comparison if( addr = gethostaddr(host) ){ ^ == inets._.c:3779:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( nx = 0; cname = names[nx] ; nx++ ){ ~~~~~~^~~~~~~~~~~ inets._.c:3779:21: note: place parentheses around the assignment to silence this warning for( nx = 0; cname = names[nx] ; nx++ ){ ^ ( ) inets._.c:3779:21: note: use '==' to turn this assignment into an equality comparison for( nx = 0; cname = names[nx] ; nx++ ){ ^ == inets._.c:3814:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Hp = findHostCache(host,NULL,0,0) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:3814:9: note: place parentheses around the assignment to silence this warning if( Hp = findHostCache(host,NULL,0,0) ) ^ ( ) inets._.c:3814:9: note: use '==' to turn this assignment into an equality comparison if( Hp = findHostCache(host,NULL,0,0) ) ^ == inets._.c:3845:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ox = 0; ox = RES_next_res(sorder,ox,AVStr(order1),VStrNULL); ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:3845:18: note: place parentheses around the assignment to silence this warning for( ox = 0; ox = RES_next_res(sorder,ox,AVStr(order1),VStrNULL); ){ ^ ( ) inets._.c:3845:18: note: use '==' to turn this assignment into an equality comparison for( ox = 0; ox = RES_next_res(sorder,ox,AVStr(order1),VStrNULL); ){ ^ == inets._.c:3886:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Hp = findHostCache(name,addr,len,type) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:3886:9: note: place parentheses around the assignment to silence this warning if( Hp = findHostCache(name,addr,len,type) ) ^ ( ) inets._.c:3886:9: note: use '==' to turn this assignment into an equality comparison if( Hp = findHostCache(name,addr,len,type) ) ^ == inets._.c:3895:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Hp = findHostCacheByaddr(name) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:3895:10: note: place parentheses around the assignment to silence this warning if( Hp = findHostCacheByaddr(name) ){ ^ ( ) inets._.c:3895:10: note: use '==' to turn this assignment into an equality comparison if( Hp = findHostCacheByaddr(name) ){ ^ == inets._.c:4091:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(sockname,':') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:4091:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(sockname,':') ){ ^ ( ) inets._.c:4091:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(sockname,':') ){ ^ == inets._.c:4165:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(sockname,':') ) ~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:4165:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(sockname,':') ) ^ ( ) inets._.c:4165:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(sockname,':') ) ^ == inets._.c:4180:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( aaddr = gethostaddr(server) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:4180:12: note: place parentheses around the assignment to silence this warning if( aaddr = gethostaddr(server) ){ ^ ( ) inets._.c:4180:12: note: use '==' to turn this assignment into an equality comparison if( aaddr = gethostaddr(server) ){ ^ == inets._.c:4357:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( viaNAT = setupDATAviaNAT(Conn,&svsock,&svpeer,BVStr(mport)) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4357:13: note: place parentheses around the assignment to silence this warning if( viaNAT = setupDATAviaNAT(Conn,&svsock,&svpeer,BVStr(mport)) ){ ^ ( ) inets._.c:4357:13: note: use '==' to turn this assignment into an equality comparison if( viaNAT = setupDATAviaNAT(Conn,&svsock,&svpeer,BVStr(mport)) ){ ^ == inets._.c:4553:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = gethostbyNameAddr(0,host,NULL,0,0) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4553:10: note: place parentheses around the assignment to silence this warning if( hp = gethostbyNameAddr(0,host,NULL,0,0) ) ^ ( ) inets._.c:4553:10: note: use '==' to turn this assignment into an equality comparison if( hp = gethostbyNameAddr(0,host,NULL,0,0) ) ^ == inets._.c:4632:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp0 = gethostbyNameAddr(nocache,host1,NULL,0,0) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4632:10: note: place parentheses around the assignment to silence this warning if( hp0 = gethostbyNameAddr(nocache,host1,NULL,0,0) ){ ^ ( ) inets._.c:4632:10: note: use '==' to turn this assignment into an equality comparison if( hp0 = gethostbyNameAddr(nocache,host1,NULL,0,0) ){ ^ == inets._.c:4634:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp2 = gethostbyNameAddr(nocache,host2,NULL,0,0) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4634:11: note: place parentheses around the assignment to silence this warning if( hp2 = gethostbyNameAddr(nocache,host2,NULL,0,0) ) ^ ( ) inets._.c:4634:11: note: use '==' to turn this assignment into an equality comparison if( hp2 = gethostbyNameAddr(nocache,host2,NULL,0,0) ) ^ == inets._.c:4640:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){ ~~~^~~~~~~~~~~~~~~~~~~~ inets._.c:4640:20: note: place parentheses around the assignment to silence this warning for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){ ^ ( ) inets._.c:4640:20: note: use '==' to turn this assignment into an equality comparison for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){ ^ == inets._.c:4645:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; n1 = hp1->h_aliases[ai]; ai++ ) ~~~^~~~~~~~~~~~~~~~~~~~ inets._.c:4645:20: note: place parentheses around the assignment to silence this warning for( ai = 0; n1 = hp1->h_aliases[ai]; ai++ ) ^ ( ) inets._.c:4645:20: note: use '==' to turn this assignment into an equality comparison for( ai = 0; n1 = hp1->h_aliases[ai]; ai++ ) ^ == inets._.c:4646:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){ ~~~^~~~~~~~~~~~~~~~~~~~ inets._.c:4646:20: note: place parentheses around the assignment to silence this warning for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){ ^ ( ) inets._.c:4646:20: note: use '==' to turn this assignment into an equality comparison for( aj = 0; n2 = hp2->h_aliases[aj]; aj++ ){ ^ == inets._.c:4651:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ) ~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:4651:20: note: place parentheses around the assignment to silence this warning for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ) ^ ( ) inets._.c:4651:20: note: use '==' to turn this assignment into an equality comparison for( ai = 0; a1 = hp1->h_addr_list[ai]; ai++ ) ^ == inets._.c:4652:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( aj = 0; a2 = hp2->h_addr_list[aj]; aj++ ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:4652:20: note: place parentheses around the assignment to silence this warning for( aj = 0; a2 = hp2->h_addr_list[aj]; aj++ ){ ^ ( ) inets._.c:4652:20: note: use '==' to turn this assignment into an equality comparison for( aj = 0; a2 = hp2->h_addr_list[aj]; aj++ ){ ^ == inets._.c:4832:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = gethostbyNameAddr(cacheonly,hostname,NULL,0,0) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4832:9: note: place parentheses around the assignment to silence this warning if( hp = gethostbyNameAddr(cacheonly,hostname,NULL,0,0) ){ ^ ( ) inets._.c:4832:9: note: use '==' to turn this assignment into an equality comparison if( hp = gethostbyNameAddr(cacheonly,hostname,NULL,0,0) ){ ^ == inets._.c:4868:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( resolv = getenv("RES_ORDER") ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:4868:13: note: place parentheses around the assignment to silence this warning if( resolv = getenv("RES_ORDER") ){ ^ ( ) inets._.c:4868:13: note: use '==' to turn this assignment into an equality comparison if( resolv = getenv("RES_ORDER") ){ ^ == inets._.c:4872:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( resolv = DELEGATE_getEnv("RESOLV") ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4872:13: note: place parentheses around the assignment to silence this warning if( resolv = DELEGATE_getEnv("RESOLV") ){ ^ ( ) inets._.c:4872:13: note: use '==' to turn this assignment into an equality comparison if( resolv = DELEGATE_getEnv("RESOLV") ){ ^ == inets._.c:4876:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( reswait = DELEGATE_getEnv("RES_WAIT") ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4876:14: note: place parentheses around the assignment to silence this warning if( reswait = DELEGATE_getEnv("RES_WAIT") ){ ^ ( ) inets._.c:4876:14: note: use '==' to turn this assignment into an equality comparison if( reswait = DELEGATE_getEnv("RES_WAIT") ){ ^ == inets._.c:4933:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Me = findHostCache(myname,NULL,0,0) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4933:9: note: place parentheses around the assignment to silence this warning if( Me = findHostCache(myname,NULL,0,0) ){ ^ ( ) inets._.c:4933:9: note: use '==' to turn this assignment into an equality comparison if( Me = findHostCache(myname,NULL,0,0) ){ ^ == inets._.c:4936:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( me = EX_GETHOSTBYNAME((char*)myname) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4936:9: note: place parentheses around the assignment to silence this warning if( me = EX_GETHOSTBYNAME((char*)myname) ){ ^ ( ) inets._.c:4936:9: note: use '==' to turn this assignment into an equality comparison if( me = EX_GETHOSTBYNAME((char*)myname) ){ ^ == inets._.c:4949:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( me = getMyHostname1(BVStr(myname),nsize) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4949:9: note: place parentheses around the assignment to silence this warning if( me = getMyHostname1(BVStr(myname),nsize) ){ ^ ( ) inets._.c:4949:9: note: use '==' to turn this assignment into an equality comparison if( me = getMyHostname1(BVStr(myname),nsize) ){ ^ == inets._.c:4966:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( me = getMyHostname1(BVStr(myname),nsize) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:4966:10: note: place parentheses around the assignment to silence this warning if( me = getMyHostname1(BVStr(myname),nsize) ){ ^ ( ) inets._.c:4966:10: note: use '==' to turn this assignment into an equality comparison if( me = getMyHostname1(BVStr(myname),nsize) ){ ^ == inets._.c:5048:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; addr = me->h_addr_list[ai]; ai++ ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~ inets._.c:5048:21: note: place parentheses around the assignment to silence this warning for( ai = 0; addr = me->h_addr_list[ai]; ai++ ){ ^ ( ) inets._.c:5048:21: note: use '==' to turn this assignment into an equality comparison for( ai = 0; addr = me->h_addr_list[ai]; ai++ ){ ^ == inets._.c:5061:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rp = strchr(porder,'S') ) ~~~^~~~~~~~~~~~~~~~~~~~ inets._.c:5061:10: note: place parentheses around the assignment to silence this warning if( rp = strchr(porder,'S') ) ^ ( ) inets._.c:5061:10: note: use '==' to turn this assignment into an equality comparison if( rp = strchr(porder,'S') ) ^ == inets._.c:5085:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rp = strchr(porder,'N') ) ~~~^~~~~~~~~~~~~~~~~~~~ inets._.c:5085:12: note: place parentheses around the assignment to silence this warning if( rp = strchr(porder,'N') ) ^ ( ) inets._.c:5085:12: note: use '==' to turn this assignment into an equality comparison if( rp = strchr(porder,'N') ) ^ == inets._.c:5093:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rp = strchr(porder,'N') ) ~~~^~~~~~~~~~~~~~~~~~~~ inets._.c:5093:10: note: place parentheses around the assignment to silence this warning if( rp = strchr(porder,'N') ) ^ ( ) inets._.c:5093:10: note: use '==' to turn this assignment into an equality comparison if( rp = strchr(porder,'N') ) ^ == inets._.c:5533:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pid = popenx(command,"r",io) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ inets._.c:5533:10: note: place parentheses around the assignment to silence this warning if( pid = popenx(command,"r",io) ){ ^ ( ) inets._.c:5533:10: note: use '==' to turn this assignment into an equality comparison if( pid = popenx(command,"r",io) ){ ^ == inets._.c:5587:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( am = *mmap ){ ~~~^~~~~~~ inets._.c:5587:9: note: place parentheses around the assignment to silence this warning if( am = *mmap ){ ^ ( ) inets._.c:5587:9: note: use '==' to turn this assignment into an equality comparison if( am = *mmap ){ ^ == inets._.c:5896:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fname = strrpbrk(file,"/\\") ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ inets._.c:5896:12: note: place parentheses around the assignment to silence this warning if( fname = strrpbrk(file,"/\\") ){ ^ ( ) inets._.c:5896:12: note: use '==' to turn this assignment into an equality comparison if( fname = strrpbrk(file,"/\\") ){ ^ == inets._.c:5902:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bfp = fopen(bin,"r") ){ ~~~~^~~~~~~~~~~~~~~~ inets._.c:5902:10: note: place parentheses around the assignment to silence this warning if( bfp = fopen(bin,"r") ){ ^ ( ) inets._.c:5902:10: note: use '==' to turn this assignment into an equality comparison if( bfp = fopen(bin,"r") ){ ^ == 76 warnings generated. ../mkcpp uns.c uns._.c -- mkcpp set time: 1712064740 -> 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] if( dp = strrpbrk(dir,"/\\") ) ~~~^~~~~~~~~~~~~~~~~~~~~ uns._.c:187:10: note: place parentheses around the assignment to silence this warning if( dp = strrpbrk(dir,"/\\") ) ^ ( ) uns._.c:187:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrpbrk(dir,"/\\") ) ^ == uns._.c:340:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(spath,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~ uns._.c:340:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(spath,'/') ) ^ ( ) uns._.c:340:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(spath,'/') ) ^ == 2 warnings generated. ../mkcpp rident.c rident._.c -- mkcpp set time: 1712064741 -> 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: 1712064742 -> 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] for( ai = 0; arg = ic->i_argv[ai]; ai++ ){ ~~~~^~~~~~~~~~~~~~~~ inetd._.c:115:19: note: place parentheses around the assignment to silence this warning for( ai = 0; arg = ic->i_argv[ai]; ai++ ){ ^ ( ) inetd._.c:115:19: note: use '==' to turn this assignment into an equality comparison for( ai = 0; arg = ic->i_argv[ai]; ai++ ){ ^ == inetd._.c:164:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(conf,'#') ) ~~~^~~~~~~~~~~~~~~~~~ inetd._.c:164:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(conf,'#') ) ^ ( ) inetd._.c:164:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(conf,'#') ) ^ == 2 warnings generated. ../mkcpp thruwayd.c thruwayd._.c -- mkcpp set time: 1712064742 -> 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] if( env = getenv("THRUWAY_ENTR") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:328:10: note: place parentheses around the assignment to silence this warning if( env = getenv("THRUWAY_ENTR") ) ^ ( ) thruwayd._.c:328:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("THRUWAY_ENTR") ) ^ == thruwayd._.c:330:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("THRUWAY_EXIT") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:330:10: note: place parentheses around the assignment to silence this warning if( env = getenv("THRUWAY_EXIT") ) ^ ( ) thruwayd._.c:330:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("THRUWAY_EXIT") ) ^ == thruwayd._.c:610:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = ports[pi] ){ ~~~^~~~~~~~~~~ thruwayd._.c:610:9: note: place parentheses around the assignment to silence this warning if( pp = ports[pi] ){ ^ ( ) thruwayd._.c:610:9: note: use '==' to turn this assignment into an equality comparison if( pp = ports[pi] ){ ^ == thruwayd._.c:736:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = ports[pi] ) ~~~^~~~~~~~~~~ thruwayd._.c:736:9: note: place parentheses around the assignment to silence this warning if( pp = ports[pi] ) ^ ( ) thruwayd._.c:736:9: note: use '==' to turn this assignment into an equality comparison if( pp = ports[pi] ) ^ == thruwayd._.c:739:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ thruwayd._.c:766:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = ports[pi] ) ~~~^~~~~~~~~~~ thruwayd._.c:766:9: note: place parentheses around the assignment to silence this warning if( pp = ports[pi] ) ^ ( ) thruwayd._.c:766:9: note: use '==' to turn this assignment into an equality comparison if( pp = ports[pi] ) ^ == thruwayd._.c:782:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = ports[pi] ) ~~~^~~~~~~~~~~ thruwayd._.c:782:9: note: place parentheses around the assignment to silence this warning if( pp = ports[pi] ) ^ ( ) thruwayd._.c:782:9: note: use '==' to turn this assignment into an equality comparison if( pp = ports[pi] ) ^ == thruwayd._.c:812:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = ports[pi] ){ ~~~^~~~~~~~~~~ thruwayd._.c:812:9: note: place parentheses around the assignment to silence this warning if( pp = ports[pi] ){ ^ ( ) thruwayd._.c:812:9: note: use '==' to turn this assignment into an equality comparison if( pp = ports[pi] ){ ^ == thruwayd._.c:873:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = ports[sock] ) ~~~^~~~~~~~~~~~~ thruwayd._.c:873:9: note: place parentheses around the assignment to silence this warning if( pp = ports[sock] ) ^ ( ) thruwayd._.c:873:9: note: use '==' to turn this assignment into an equality comparison if( pp = ports[sock] ) ^ == thruwayd._.c:940:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( elp = strchr(P_BUFF,'\n') ){ ~~~~^~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:940:11: note: place parentheses around the assignment to silence this warning if( elp = strchr(P_BUFF,'\n') ){ ^ ( ) thruwayd._.c:940:11: note: use '==' to turn this assignment into an equality comparison if( elp = strchr(P_BUFF,'\n') ){ ^ == thruwayd._.c:973:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( elp = strchr(P_BUFF,'\n') ){ ~~~~^~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:973:11: note: place parentheses around the assignment to silence this warning if( elp = strchr(P_BUFF,'\n') ){ ^ ( ) thruwayd._.c:973:11: note: use '==' to turn this assignment into an equality comparison if( elp = strchr(P_BUFF,'\n') ){ ^ == thruwayd._.c:1016:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( elp = strchr(P_BUFF,'\n') ){ ~~~~^~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:1016:11: note: place parentheses around the assignment to silence this warning if( elp = strchr(P_BUFF,'\n') ){ ^ ( ) thruwayd._.c:1016:11: note: use '==' to turn this assignment into an equality comparison if( elp = strchr(P_BUFF,'\n') ){ ^ == thruwayd._.c:1078:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = strpbrk(up," \t\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:1078:9: note: place parentheses around the assignment to silence this warning if( vp = strpbrk(up," \t\r\n") ) ^ ( ) thruwayd._.c:1078:9: note: use '==' to turn this assignment into an equality comparison if( vp = strpbrk(up," \t\r\n") ) ^ == thruwayd._.c:1101:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = up; sc = *sp++; ){ ~~~^~~~~~~ thruwayd._.c:1101:19: note: place parentheses around the assignment to silence this warning for( sp = up; sc = *sp++; ){ ^ ( ) thruwayd._.c:1101:19: note: use '==' to turn this assignment into an equality comparison for( sp = up; sc = *sp++; ){ ^ == thruwayd._.c:1353:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = ports[sockx] ){ ~~~^~~~~~~~~~~~~~ thruwayd._.c:1353:11: note: place parentheses around the assignment to silence this warning if( pp = ports[sockx] ){ ^ ( ) thruwayd._.c:1353:11: note: use '==' to turn this assignment into an equality comparison if( pp = ports[sockx] ){ ^ == thruwayd._.c:1363:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = ports[sockx] ){ ~~~^~~~~~~~~~~~~~ thruwayd._.c:1363:11: note: place parentheses around the assignment to silence this warning if( pp = ports[sockx] ){ ^ ( ) thruwayd._.c:1363:11: note: use '==' to turn this assignment into an equality comparison if( pp = ports[sockx] ){ ^ == thruwayd._.c:1373:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = ports[sockx] ){ ~~~^~~~~~~~~~~~~~ thruwayd._.c:1373:11: note: place parentheses around the assignment to silence this warning if( pp = ports[sockx] ){ ^ ( ) thruwayd._.c:1373:11: note: use '==' to turn this assignment into an equality comparison if( pp = ports[sockx] ){ ^ == thruwayd._.c:1392:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = ports[sockx] ){ ~~~^~~~~~~~~~~~~~ thruwayd._.c:1392:11: note: place parentheses around the assignment to silence this warning if( pp = ports[sockx] ){ ^ ( ) thruwayd._.c:1392:11: note: use '==' to turn this assignment into an equality comparison if( pp = ports[sockx] ){ ^ == thruwayd._.c:1411:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = ports[sockx] ) ~~~^~~~~~~~~~~~~~ thruwayd._.c:1411:11: note: place parentheses around the assignment to silence this warning if( pp = ports[sockx] ) ^ ( ) thruwayd._.c:1411:11: note: use '==' to turn this assignment into an equality comparison if( pp = ports[sockx] ) ^ == thruwayd._.c:1416:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = ports[sockx] ) ~~~^~~~~~~~~~~~~~ thruwayd._.c:1416:11: note: place parentheses around the assignment to silence this warning if( pp = ports[sockx] ) ^ ( ) thruwayd._.c:1416:11: note: use '==' to turn this assignment into an equality comparison if( pp = ports[sockx] ) ^ == thruwayd._.c:1428:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = ports[sockx] ) ~~~^~~~~~~~~~~~~~ thruwayd._.c:1428:11: note: place parentheses around the assignment to silence this warning if( pp = ports[sockx] ) ^ ( ) thruwayd._.c:1428:11: note: use '==' to turn this assignment into an equality comparison if( pp = ports[sockx] ) ^ == thruwayd._.c:1436:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = ports[sockx] ) ~~~^~~~~~~~~~~~~~ thruwayd._.c:1436:11: note: place parentheses around the assignment to silence this warning if( pp = ports[sockx] ) ^ ( ) thruwayd._.c:1436:11: note: use '==' to turn this assignment into an equality comparison if( pp = ports[sockx] ) ^ == thruwayd._.c:1441:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = ports[sockx] ) ~~~^~~~~~~~~~~~~~ thruwayd._.c:1441:11: note: place parentheses around the assignment to silence this warning if( pp = ports[sockx] ) ^ ( ) thruwayd._.c:1441:11: note: use '==' to turn this assignment into an equality comparison if( pp = ports[sockx] ) ^ == thruwayd._.c:1449:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = ports[sockx] ) ~~~^~~~~~~~~~~~~~ thruwayd._.c:1449:11: note: place parentheses around the assignment to silence this warning if( pp = ports[sockx] ) ^ ( ) thruwayd._.c:1449:11: note: use '==' to turn this assignment into an equality comparison if( pp = ports[sockx] ) ^ == thruwayd._.c:1545:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( flagment = sp->io[W_IN].p_flagment ) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:1545:16: note: place parentheses around the assignment to silence this warning if( flagment = sp->io[W_IN].p_flagment ) ^ ( ) thruwayd._.c:1545:16: note: use '==' to turn this assignment into an equality comparison if( flagment = sp->io[W_IN].p_flagment ) ^ == thruwayd._.c:1722:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = ports[dsock] ) ~~~^~~~~~~~~~~~~~ thruwayd._.c:1722:10: note: place parentheses around the assignment to silence this warning if( dp = ports[dsock] ) ^ ( ) thruwayd._.c:1722:10: note: use '==' to turn this assignment into an equality comparison if( dp = ports[dsock] ) ^ == thruwayd._.c:2208:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ssock = ports[sockx]->p_accsock ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:2208:13: note: place parentheses around the assignment to silence this warning if( ssock = ports[sockx]->p_accsock ){ ^ ( ) thruwayd._.c:2208:13: note: use '==' to turn this assignment into an equality comparison if( ssock = ports[sockx]->p_accsock ){ ^ == thruwayd._.c:2263:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ssock = ports[sockx]->p_accsock ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ thruwayd._.c:2263:13: note: place parentheses around the assignment to silence this warning if( ssock = ports[sockx]->p_accsock ){ ^ ( ) thruwayd._.c:2263:13: note: use '==' to turn this assignment into an equality comparison if( ssock = ports[sockx]->p_accsock ){ ^ == 28 warnings generated. ../mkcpp dget.c dget._.c -- mkcpp set time: 1712064744 -> 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] for( nrec = 0; rc1 = freadTIMEOUT(AVStr(buf),1,sizeof(buf),fp); nrec++ ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dget._.c:195:21: note: place parentheses around the assignment to silence this warning for( nrec = 0; rc1 = freadTIMEOUT(AVStr(buf),1,sizeof(buf),fp); nrec++ ){ ^ ( ) dget._.c:195:21: note: use '==' to turn this assignment into an equality comparison for( nrec = 0; rc1 = freadTIMEOUT(AVStr(buf),1,sizeof(buf),fp); nrec++ ){ ^ == dget._.c:756:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(url,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ dget._.c:756:11: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(url,"\r\n") ) ^ ( ) dget._.c:756:11: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(url,"\r\n") ) ^ == dget._.c:809:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(env,':') ) ~~~^~~~~~~~~~~~~~~~~ dget._.c:809:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(env,':') ) ^ ( ) dget._.c:809:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(env,':') ) ^ == dget._.c:935:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pass = strchr(auth,':') ){ ~~~~~^~~~~~~~~~~~~~~~~~ dget._.c:935:12: note: place parentheses around the assignment to silence this warning if( pass = strchr(auth,':') ){ ^ ( ) dget._.c:935:12: note: use '==' to turn this assignment into an equality comparison if( pass = strchr(auth,':') ){ ^ == dget._.c:1114:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(url,"..") ) ~~~^~~~~~~~~~~~~~~~~~ dget._.c:1114:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(url,"..") ) ^ ( ) dget._.c:1114:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(url,"..") ) ^ == dget._.c:1122:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bp = strrchr(xurl,'/') ) ~~~^~~~~~~~~~~~~~~~~~~ dget._.c:1122:10: note: place parentheses around the assignment to silence this warning if( bp = strrchr(xurl,'/') ) ^ ( ) dget._.c:1122:10: note: use '==' to turn this assignment into an equality comparison if( bp = strrchr(xurl,'/') ) ^ == dget._.c:1127:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(xurl,'#') ) ~~~^~~~~~~~~~~~~~~~~~ dget._.c:1127:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(xurl,'#') ) ^ ( ) dget._.c:1127:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(xurl,'#') ) ^ == dget._.c:1201:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp); ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ dget._.c:1201:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp); ^ ( ) dget._.c:1201:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp); ^ == dget._.c:1210:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp); ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ dget._.c:1210:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp); ^ ( ) dget._.c:1210:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(authB64,"\r\n") ) truncVStr(dp); ^ == dget._.c:1339:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(resp,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ dget._.c:1339:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(resp,"\r\n") ) ^ ( ) dget._.c:1339:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(resp,"\r\n") ) ^ == 10 warnings generated. ../mkcpp urlfind.c urlfind._.c -- mkcpp set time: 1712064745 -> 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] if( dp = strstr(url,"..") ) ~~~^~~~~~~~~~~~~~~~~~ urlfind._.c:109:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(url,"..") ) ^ ( ) urlfind._.c:109:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(url,"..") ) ^ == urlfind._.c:117:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bp = strrchr(xurl,'/') ) ~~~^~~~~~~~~~~~~~~~~~~ urlfind._.c:117:10: note: place parentheses around the assignment to silence this warning if( bp = strrchr(xurl,'/') ) ^ ( ) urlfind._.c:117:10: note: use '==' to turn this assignment into an equality comparison if( bp = strrchr(xurl,'/') ) ^ == urlfind._.c:162:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(resp,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ urlfind._.c:162:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(resp,"\r\n") ) ^ ( ) urlfind._.c:162:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(resp,"\r\n") ) ^ == urlfind._.c:191:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strpbrk(url,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ urlfind._.c:191:11: note: place parentheses around the assignment to silence this warning if( np = strpbrk(url,"\r\n") ) ^ ( ) urlfind._.c:191:11: note: use '==' to turn this assignment into an equality comparison if( np = strpbrk(url,"\r\n") ) ^ == 4 warnings generated. ../mkcpp mount.c mount._.c -- mkcpp set time: 1712064745 -> 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] =://=:=/* ... ///* ^ mount._.c:22:18: warning: '/*' within block comment [-Wcomment] =://=:=/* ... ///* ^ mount._.c:23:7: warning: '/*' within block comment [-Wcomment] =://=/* ... //=:0/* ^ mount._.c:23:20: warning: '/*' within block comment [-Wcomment] =://=/* ... //=:0/* ^ mount._.c:24:11: warning: '/*' within block comment [-Wcomment] =://hostX/* ... //hostX:0/* ^ mount._.c:24:27: warning: '/*' within block comment [-Wcomment] =://hostX/* ... //hostX:0/* ^ mount._.c:25:13: warning: '/*' within block comment [-Wcomment] =://hostX:=/* ... //hostX:=/* ^ mount._.c:25:31: warning: '/*' within block comment [-Wcomment] =://hostX:=/* ... //hostX:=/* ^ mount._.c:26:13: warning: '/*' within block comment [-Wcomment] =://=:portX/* ... //=:portX/* ^ mount._.c:26:31: warning: '/*' within block comment [-Wcomment] =://=:portX/* ... //=:portX/* ^ mount._.c:33:15: warning: '/*' within block comment [-Wcomment] MOUNT="/path/* http://* dst={siteList}" ^ mount._.c:33:24: warning: '/*' within block comment [-Wcomment] MOUNT="/path/* http://* dst={siteList}" ^ mount._.c:184:29: warning: '/*' within block comment [-Wcomment] int u_path2site; /* "/path/* scheme://*" */ ^ mount._.c:184:40: warning: '/*' within block comment [-Wcomment] int u_path2site; /* "/path/* scheme://*" */ ^ mount._.c:185:24: warning: '/*' within block comment [-Wcomment] int u_any; /* "/path/* *" */ ^ mount._.c:255:49: warning: '/*' within block comment [-Wcomment] #define DIRMATCH 2 /* redirect "/p" by MOUNT="/p/* http://s/q/*" */ ^ mount._.c:255:62: warning: '/*' within block comment [-Wcomment] #define DIRMATCH 2 /* redirect "/p" by MOUNT="/p/* http://s/q/*" */ ^ mount._.c:552:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( found = getOpt1(opts,"genvhost",BVStr(vserv)) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:552:12: note: place parentheses around the assignment to silence this warning if( found = getOpt1(opts,"genvhost",BVStr(vserv)) ){ ^ ( ) mount._.c:552:12: note: use '==' to turn this assignment into an equality comparison if( found = getOpt1(opts,"genvhost",BVStr(vserv)) ){ ^ == mount._.c:554:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( found = getOpt1(opts,OPT_AVSERV,BVStr(vserv)) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:554:12: note: place parentheses around the assignment to silence this warning if( found = getOpt1(opts,OPT_AVSERV,BVStr(vserv)) ){ ^ ( ) mount._.c:554:12: note: use '==' to turn this assignment into an equality comparison if( found = getOpt1(opts,OPT_AVSERV,BVStr(vserv)) ){ ^ == mount._.c:556:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( found = getOpt1(opts,OPT_NVSERV,BVStr(vserv)) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:556:12: note: place parentheses around the assignment to silence this warning if( found = getOpt1(opts,OPT_NVSERV,BVStr(vserv)) ){ ^ ( ) mount._.c:556:12: note: use '==' to turn this assignment into an equality comparison if( found = getOpt1(opts,OPT_NVSERV,BVStr(vserv)) ){ ^ == mount._.c:574:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( found = getOpt1(opts,OPT_RSERV,BVStr(rserv)) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:574:12: note: place parentheses around the assignment to silence this warning if( found = getOpt1(opts,OPT_RSERV,BVStr(rserv)) ){ ^ ( ) mount._.c:574:12: note: use '==' to turn this assignment into an equality comparison if( found = getOpt1(opts,OPT_RSERV,BVStr(rserv)) ){ ^ == mount._.c:576:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strheadstrX(rserv,ORIGDST_HOST,1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:576:10: note: place parentheses around the assignment to silence this warning if( pp = strheadstrX(rserv,ORIGDST_HOST,1) ){ ^ ( ) mount._.c:576:10: note: use '==' to turn this assignment into an equality comparison if( pp = strheadstrX(rserv,ORIGDST_HOST,1) ){ ^ == mount._.c:647:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( op = strchr(opt,'.') ){ ~~~^~~~~~~~~~~~~~~~~ mount._.c:647:10: note: place parentheses around the assignment to silence this warning if( op = strchr(opt,'.') ){ ^ ( ) mount._.c:647:10: note: use '==' to turn this assignment into an equality comparison if( op = strchr(opt,'.') ){ ^ == mount._.c:656:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( neg = *opt == '!' ){ ~~~~^~~~~~~~~~~~~ mount._.c:656:10: note: place parentheses around the assignment to silence this warning if( neg = *opt == '!' ){ ^ ( ) mount._.c:656:10: note: use '==' to turn this assignment into an equality comparison if( neg = *opt == '!' ){ ^ == mount._.c:661:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = strchr(buf,'=') ){ ~~~~^~~~~~~~~~~~~~~~~ mount._.c:661:10: note: place parentheses around the assignment to silence this warning if( val = strchr(buf,'=') ){ ^ ( ) mount._.c:661:10: note: use '==' to turn this assignment into an equality comparison if( val = strchr(buf,'=') ){ ^ == mount._.c:665:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( oi = 0; nam1 = mount_opts[oi].o_name; oi++ ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mount._.c:665:20: note: place parentheses around the assignment to silence this warning for( oi = 0; nam1 = mount_opts[oi].o_name; oi++ ){ ^ ( ) mount._.c:665:20: note: use '==' to turn this assignment into an equality comparison for( oi = 0; nam1 = mount_opts[oi].o_name; oi++ ){ ^ == mount._.c:670:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( d2 = mount_opts[oi].o_direction ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:670:10: note: place parentheses around the assignment to silence this warning if( d2 = mount_opts[oi].o_direction ) ^ ( ) mount._.c:670:10: note: use '==' to turn this assignment into an equality comparison if( d2 = mount_opts[oi].o_direction ) ^ == mount._.c:673:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( flag1 = (mount_opts[oi].o_flags & U_ALL) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:673:13: note: place parentheses around the assignment to silence this warning if( flag1 = (mount_opts[oi].o_flags & U_ALL) ) ^ ( ) mount._.c:673:13: note: use '==' to turn this assignment into an equality comparison if( flag1 = (mount_opts[oi].o_flags & U_ALL) ) ^ == mount._.c:675:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( flag1 = (mount_opts[oi].o_flags & C_ALL) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:675:13: note: place parentheses around the assignment to silence this warning if( flag1 = (mount_opts[oi].o_flags & C_ALL) ) ^ ( ) mount._.c:675:13: note: use '==' to turn this assignment into an equality comparison if( flag1 = (mount_opts[oi].o_flags & C_ALL) ) ^ == mount._.c:685:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val1 = mount_opts[oi].o_value ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:685:12: note: place parentheses around the assignment to silence this warning if( val1 = mount_opts[oi].o_value ){ ^ ( ) mount._.c:685:12: note: use '==' to turn this assignment into an equality comparison if( val1 = mount_opts[oi].o_value ){ ^ == mount._.c:689:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( list1 = mount_opts[oi].o_listx ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:689:13: note: place parentheses around the assignment to silence this warning if( list1 = mount_opts[oi].o_listx ){ ^ ( ) mount._.c:689:13: note: use '==' to turn this assignment into an equality comparison if( list1 = mount_opts[oi].o_listx ){ ^ == mount._.c:713:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val1 = mount_opts[oi].o_enum ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mount._.c:713:12: note: place parentheses around the assignment to silence this warning if( val1 = mount_opts[oi].o_enum ){ ^ ( ) mount._.c:713:12: note: use '==' to turn this assignment into an equality comparison if( val1 = mount_opts[oi].o_enum ){ ^ == mount._.c:717:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val1 = mount_opts[oi].o_rex ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~ mount._.c:717:12: note: place parentheses around the assignment to silence this warning if( val1 = mount_opts[oi].o_rex ){ ^ ( ) mount._.c:717:12: note: use '==' to turn this assignment into an equality comparison if( val1 = mount_opts[oi].o_rex ){ ^ == mount._.c:763:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mt = opts2mt(opts) ) ~~~^~~~~~~~~~~~~~~ mount._.c:763:9: note: place parentheses around the assignment to silence this warning if( mt = opts2mt(opts) ) ^ ( ) mount._.c:763:9: note: use '==' to turn this assignment into an equality comparison if( mt = opts2mt(opts) ) ^ == mount._.c:770:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mt = opts2mt(opts) ) ~~~^~~~~~~~~~~~~~~ mount._.c:770:9: note: place parentheses around the assignment to silence this warning if( mt = opts2mt(opts) ) ^ ( ) mount._.c:770:9: note: use '==' to turn this assignment into an equality comparison if( mt = opts2mt(opts) ) ^ == mount._.c:776:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mt = opts2mt(opts) ) ~~~^~~~~~~~~~~~~~~ mount._.c:776:9: note: place parentheses around the assignment to silence this warning if( mt = opts2mt(opts) ) ^ ( ) mount._.c:776:9: note: use '==' to turn this assignment into an equality comparison if( mt = opts2mt(opts) ) ^ == mount._.c:944:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(mt->Src.u_src,"*%") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:944:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(mt->Src.u_src,"*%") ){ ^ ( ) mount._.c:944:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(mt->Src.u_src,"*%") ){ ^ == mount._.c:958:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(mt->Src.u_src,'[') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:958:11: note: place parentheses around the assignment to silence this warning if( dp = strrchr(mt->Src.u_src,'[') ){ ^ ( ) mount._.c:958:11: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(mt->Src.u_src,'[') ){ ^ == mount._.c:978:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(mt->Dst.u_src,"#{") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:978:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(mt->Dst.u_src,"#{") ){ ^ ( ) mount._.c:978:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(mt->Dst.u_src,"#{") ){ ^ == mount._.c:983:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(mt->Dst.u_src,"*%") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:983:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(mt->Dst.u_src,"*%") ){ ^ ( ) mount._.c:983:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(mt->Dst.u_src,"*%") ){ ^ == mount._.c:1003:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(mt->Dst.u_src,'[') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:1003:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(mt->Dst.u_src,'[') ) ^ ( ) mount._.c:1003:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(mt->Dst.u_src,'[') ) ^ == mount._.c:1206:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( n1 = m1->Dst.u_hostn ){ ~~~^~~~~~~~~~~~~~~~~ mount._.c:1206:9: note: place parentheses around the assignment to silence this warning if( n1 = m1->Dst.u_hostn ){ ^ ( ) mount._.c:1206:9: note: use '==' to turn this assignment into an equality comparison if( n1 = m1->Dst.u_hostn ){ ^ == mount._.c:1207:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 1; ~~~^~~~~~~~~~~~~~~~~ mount._.c:1207:10: note: place parentheses around the assignment to silence this warning if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 1; ^ ( ) mount._.c:1207:10: note: use '==' to turn this assignment into an equality comparison if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 1; ^ == mount._.c:1208:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 2; ~~~^~~~~~~~~~~~~~~~~~~~ mount._.c:1208:10: note: place parentheses around the assignment to silence this warning if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 2; ^ ( ) mount._.c:1208:10: note: use '==' to turn this assignment into an equality comparison if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 2; ^ == mount._.c:1210:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( n1 = m1->Dst.u_genvhost ){ ~~~^~~~~~~~~~~~~~~~~~~~ mount._.c:1210:9: note: place parentheses around the assignment to silence this warning if( n1 = m1->Dst.u_genvhost ){ ^ ( ) mount._.c:1210:9: note: use '==' to turn this assignment into an equality comparison if( n1 = m1->Dst.u_genvhost ){ ^ == mount._.c:1211:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 3; ~~~^~~~~~~~~~~~~~~~~ mount._.c:1211:10: note: place parentheses around the assignment to silence this warning if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 3; ^ ( ) mount._.c:1211:10: note: use '==' to turn this assignment into an equality comparison if( n2 = m2->Dst.u_hostn ) if( strcaseeq(n1,n2) ) return 3; ^ == mount._.c:1212:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 4; ~~~^~~~~~~~~~~~~~~~~~~~ mount._.c:1212:10: note: place parentheses around the assignment to silence this warning if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 4; ^ ( ) mount._.c:1212:10: note: use '==' to turn this assignment into an equality comparison if( n2 = m2->Dst.u_genvhost ) if( strcaseeq(n1,n2) ) return 4; ^ == mount._.c:1281:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( eqs = eqservname(mti,mtj) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~ mount._.c:1281:13: note: place parentheses around the assignment to silence this warning if( eqs = eqservname(mti,mtj) ){ ^ ( ) mount._.c:1281:13: note: use '==' to turn this assignment into an equality comparison if( eqs = eqservname(mti,mtj) ){ ^ == mount._.c:1316:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mt = opts2mt(opts) ){ ~~~^~~~~~~~~~~~~~~ mount._.c:1316:9: note: place parentheses around the assignment to silence this warning if( mt = opts2mt(opts) ){ ^ ( ) mount._.c:1316:9: note: use '==' to turn this assignment into an equality comparison if( mt = opts2mt(opts) ){ ^ == mount._.c:1439:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( plen = isURN(dsrc) ){ ~~~~~^~~~~~~~~~~~~ mount._.c:1439:12: note: place parentheses around the assignment to silence this warning if( plen = isURN(dsrc) ){ ^ ( ) mount._.c:1439:12: note: use '==' to turn this assignment into an equality comparison if( plen = isURN(dsrc) ){ ^ == mount._.c:1452:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( upath = file_hostpath(dsrc,AVStr(proto),AVStr(login)) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:1452:14: note: place parentheses around the assignment to silence this warning if( upath = file_hostpath(dsrc,AVStr(proto),AVStr(login)) ){ ^ ( ) mount._.c:1452:14: note: use '==' to turn this assignment into an equality comparison if( upath = file_hostpath(dsrc,AVStr(proto),AVStr(login)) ){ ^ == mount._.c:1461:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( query = strchr(upath,'?') ) ~~~~~~^~~~~~~~~~~~~~~~~~~ mount._.c:1461:16: note: place parentheses around the assignment to silence this warning if( query = strchr(upath,'?') ) ^ ( ) mount._.c:1461:16: note: use '==' to turn this assignment into an equality comparison if( query = strchr(upath,'?') ) ^ == mount._.c:1591:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addr = gethostaddr(host) ) ~~~~~^~~~~~~~~~~~~~~~~~~ mount._.c:1591:13: note: place parentheses around the assignment to silence this warning if( addr = gethostaddr(host) ) ^ ( ) mount._.c:1591:13: note: use '==' to turn this assignment into an equality comparison if( addr = gethostaddr(host) ) ^ == mount._.c:1621:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(hostport,':') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ mount._.c:1621:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(hostport,':') ){ ^ ( ) mount._.c:1621:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(hostport,':') ){ ^ == mount._.c:1629:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( query = strchr(dpath,'?') ){ ~~~~~~^~~~~~~~~~~~~~~~~~~ mount._.c:1629:13: note: place parentheses around the assignment to silence this warning if( query = strchr(dpath,'?') ){ ^ ( ) mount._.c:1629:13: note: use '==' to turn this assignment into an equality comparison if( query = strchr(dpath,'?') ){ ^ == mount._.c:1638:43: warning: '/*' within block comment [-Wcomment] * restrict DIRMATCH only to MOUNT="Rurl/* Lurl/*" pattern ^ mount._.c:1638:50: warning: '/*' within block comment [-Wcomment] * restrict DIRMATCH only to MOUNT="Rurl/* Lurl/*" pattern ^ mount._.c:1644:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ mount._.c:1661:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ mount._.c:1688:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = fmt; fc = *fp; fp++ ){ ~~~^~~~~ mount._.c:1688:20: note: place parentheses around the assignment to silence this warning for( fp = fmt; fc = *fp; fp++ ){ ^ ( ) mount._.c:1688:20: note: use '==' to turn this assignment into an equality comparison for( fp = fmt; fc = *fp; fp++ ){ ^ == mount._.c:1841:22: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] const char *tlssni(); ^~ mount._.c:1841:22: note: replace parentheses with an initializer to declare a variable const char *tlssni(); ^~ = NULL mount._.c:1982:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( req = CTX_reqstr(ctx) ){ ~~~~^~~~~~~~~~~~~~~~~ mount._.c:1982:11: note: place parentheses around the assignment to silence this warning if( req = CTX_reqstr(ctx) ){ ^ ( ) mount._.c:1982:11: note: use '==' to turn this assignment into an equality comparison if( req = CTX_reqstr(ctx) ){ ^ == mount._.c:1990:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( value = mt->u_conds_value ) ~~~~~~^~~~~~~~~~~~~~~~~~~ mount._.c:1990:16: note: place parentheses around the assignment to silence this warning if( value = mt->u_conds_value ) ^ ( ) mount._.c:1990:16: note: use '==' to turn this assignment into an equality comparison if( value = mt->u_conds_value ) ^ == mount._.c:2032:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mport = dst->u_iport_mapped ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~ mount._.c:2032:12: note: place parentheses around the assignment to silence this warning if( mport = dst->u_iport_mapped ) ^ ( ) mount._.c:2032:12: note: use '==' to turn this assignment into an equality comparison if( mport = dst->u_iport_mapped ) ^ == mount._.c:2083:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hosta = gethostaddr_fromcache(host) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:2083:12: note: place parentheses around the assignment to silence this warning if( hosta = gethostaddr_fromcache(host) ) ^ ( ) mount._.c:2083:12: note: use '==' to turn this assignment into an equality comparison if( hosta = gethostaddr_fromcache(host) ) ^ == mount._.c:2128:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dlen = url_strstr(patn,url) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~ mount._.c:2128:11: note: place parentheses around the assignment to silence this warning if( dlen = url_strstr(patn,url) ) ^ ( ) mount._.c:2128:11: note: use '==' to turn this assignment into an equality comparison if( dlen = url_strstr(patn,url) ) ^ == mount._.c:2143:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( *lenp = dirmatch(mt,patn,url) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mount._.c:2143:12: note: place parentheses around the assignment to silence this warning if( *lenp = dirmatch(mt,patn,url) ){ ^ ( ) mount._.c:2143:12: note: use '==' to turn this assignment into an equality comparison if( *lenp = dirmatch(mt,patn,url) ){ ^ == mount._.c:2257:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hlen = matchURL(&mt->Src,iurl) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:2257:13: note: place parentheses around the assignment to silence this warning if( hlen = matchURL(&mt->Src,iurl) ) ^ ( ) mount._.c:2257:13: note: use '==' to turn this assignment into an equality comparison if( hlen = matchURL(&mt->Src,iurl) ) ^ == mount._.c:2258:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( match = xmatch(mt,mt->Src.u_path,iurl+hlen,&len) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:2258:14: note: place parentheses around the assignment to silence this warning if( match = xmatch(mt,mt->Src.u_path,iurl+hlen,&len) ) ^ ( ) mount._.c:2258:14: note: use '==' to turn this assignment into an equality comparison if( match = xmatch(mt,mt->Src.u_path,iurl+hlen,&len) ) ^ == mount._.c:2722:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( opt = mount_url_toX(ctx,myhostport,method,AVStr(url),U_USE_PROXY,&mt) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:2722:10: note: place parentheses around the assignment to silence this warning if( opt = mount_url_toX(ctx,myhostport,method,AVStr(url),U_USE_PROXY,&mt) ) ^ ( ) mount._.c:2722:10: note: use '==' to turn this assignment into an equality comparison if( opt = mount_url_toX(ctx,myhostport,method,AVStr(url),U_USE_PROXY,&mt) ) ^ == mount._.c:2804:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strheadstrX(vserv,host,1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ mount._.c:2804:12: note: place parentheses around the assignment to silence this warning if( pp = strheadstrX(vserv,host,1) ){ ^ ( ) mount._.c:2804:12: note: use '==' to turn this assignment into an equality comparison if( pp = strheadstrX(vserv,host,1) ){ ^ == mount._.c:2990:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp1 = strchr(delegate,':') ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~ mount._.c:2990:11: note: place parentheses around the assignment to silence this warning if( dp1 = strchr(delegate,':') ){ ^ ( ) mount._.c:2990:11: note: use '==' to turn this assignment into an equality comparison if( dp1 = strchr(delegate,':') ){ ^ == mount._.c:2995:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp2 = strchr(dp1,'/') ) ~~~~^~~~~~~~~~~~~~~~~ mount._.c:2995:13: note: place parentheses around the assignment to silence this warning if( dp2 = strchr(dp1,'/') ) ^ ( ) mount._.c:2995:13: note: use '==' to turn this assignment into an equality comparison if( dp2 = strchr(dp1,'/') ) ^ == 73 warnings generated. ../mkcpp url.c url._.c -- mkcpp set time: 1712064746 -> 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] for( sp = site+1; ch = *sp; sp++ ){ ~~~^~~~~ url._.c:116:23: note: place parentheses around the assignment to silence this warning for( sp = site+1; ch = *sp; sp++ ){ ^ ( ) url._.c:116:23: note: use '==' to turn this assignment into an equality comparison for( sp = site+1; ch = *sp; sp++ ){ ^ == url._.c:137:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( pp = path+1; ch = *pp; pp++ ){ ~~~^~~~~ url._.c:137:23: note: place parentheses around the assignment to silence this warning for( pp = path+1; ch = *pp; pp++ ){ ^ ( ) url._.c:137:23: note: use '==' to turn this assignment into an equality comparison for( pp = path+1; ch = *pp; pp++ ){ ^ == url._.c:280:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( p = ref; ch = *p; p++ ){ ~~~^~~~ url._.c:280:19: note: place parentheses around the assignment to silence this warning for( p = ref; ch = *p; p++ ){ ^ ( ) url._.c:280:19: note: use '==' to turn this assignment into an equality comparison for( p = ref; ch = *p; p++ ){ ^ == url._.c:284:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( up = isURLinJavaScript(p,&qch) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:284:11: note: place parentheses around the assignment to silence this warning if( up = isURLinJavaScript(p,&qch) ){ ^ ( ) url._.c:284:11: note: use '==' to turn this assignment into an equality comparison if( up = isURLinJavaScript(p,&qch) ){ ^ == url._.c:279:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ url._.c:303:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( up = isURLinJavaScript(str,"ech) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:303:10: note: place parentheses around the assignment to silence this warning if( up = isURLinJavaScript(str,"ech) ){ ^ ( ) url._.c:303:10: note: use '==' to turn this assignment into an equality comparison if( up = isURLinJavaScript(str,"ech) ){ ^ == url._.c:327:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; ){ ~~~^~~~~ url._.c:327:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; ){ ^ ( ) url._.c:327:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; ){ ^ == url._.c:329:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( up = isURLinJavaScript(sp,"ech) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:329:11: note: place parentheses around the assignment to silence this warning if( up = isURLinJavaScript(sp,"ech) ){ ^ ( ) url._.c:329:11: note: use '==' to turn this assignment into an equality comparison if( up = isURLinJavaScript(sp,"ech) ){ ^ == url._.c:355:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strpbrk(tp,"\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~ url._.c:355:10: note: place parentheses around the assignment to silence this warning if( np = strpbrk(tp,"\r\n") ){ ^ ( ) url._.c:355:10: note: use '==' to turn this assignment into an equality comparison if( np = strpbrk(tp,"\r\n") ){ ^ == url._.c:407:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dlen = strcasestrlen(sp,"xmlns") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:407:11: note: place parentheses around the assignment to silence this warning if( dlen = strcasestrlen(sp,"xmlns") ){ ^ ( ) url._.c:407:11: note: use '==' to turn this assignment into an equality comparison if( dlen = strcasestrlen(sp,"xmlns") ){ ^ == url._.c:428:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = sp+dlen+alen; ch = *sp; sp++ ){ ~~~^~~~~ url._.c:428:30: note: place parentheses around the assignment to silence this warning for( sp = sp+dlen+alen; ch = *sp; sp++ ){ ^ ( ) url._.c:428:30: note: use '==' to turn this assignment into an equality comparison for( sp = sp+dlen+alen; ch = *sp; sp++ ){ ^ == url._.c:520:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ref = strcasestr(str,"Realm=<") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:520:11: note: place parentheses around the assignment to silence this warning if( ref = strcasestr(str,"Realm=<") ){ ^ ( ) url._.c:520:11: note: use '==' to turn this assignment into an equality comparison if( ref = strcasestr(str,"Realm=<") ){ ^ == url._.c:553:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( up = findURLinJavaScript(Ctx,str) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:553:11: note: place parentheses around the assignment to silence this warning if( up = findURLinJavaScript(Ctx,str) ){ ^ ( ) url._.c:553:11: note: use '==' to turn this assignment into an equality comparison if( up = findURLinJavaScript(Ctx,str) ){ ^ == url._.c:567:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( up = findURLinCSS(Ctx,str) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ url._.c:567:11: note: place parentheses around the assignment to silence this warning if( up = findURLinCSS(Ctx,str) ){ ^ ( ) url._.c:567:11: note: use '==' to turn this assignment into an equality comparison if( up = findURLinCSS(Ctx,str) ){ ^ == url._.c:590:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = isXMLNS(tag,str) ){ ~~~^~~~~~~~~~~~~~~~~~ url._.c:590:11: note: place parentheses around the assignment to silence this warning if( hp = isXMLNS(tag,str) ){ ^ ( ) url._.c:590:11: note: use '==' to turn this assignment into an equality comparison if( hp = isXMLNS(tag,str) ){ ^ == url._.c:595:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ url._.c:595:21: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) url._.c:595:21: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == url._.c:619:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = isXMLNS(tag,sp) ){ ~~~^~~~~~~~~~~~~~~~~ url._.c:619:13: note: place parentheses around the assignment to silence this warning if( hp = isXMLNS(tag,sp) ){ ^ ( ) url._.c:619:13: note: use '==' to turn this assignment into an equality comparison if( hp = isXMLNS(tag,sp) ){ ^ == url._.c:690:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ref = str; ch = *ref; ref++ ){ ~~~^~~~~~ url._.c:690:23: note: place parentheses around the assignment to silence this warning for( ref = str; ch = *ref; ref++ ){ ^ ( ) url._.c:690:23: note: use '==' to turn this assignment into an equality comparison for( ref = str; ch = *ref; ref++ ){ ^ == url._.c:698:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = iscomtag(hp) ) ~~~~^~~~~~~~~~~~~~ url._.c:698:14: note: place parentheses around the assignment to silence this warning if( len = iscomtag(hp) ) ^ ( ) url._.c:698:14: note: use '==' to turn this assignment into an equality comparison if( len = iscomtag(hp) ) ^ == url._.c:749:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( up = isURLinEmbeded(Ctx,tag,ref) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:749:12: note: place parentheses around the assignment to silence this warning if( up = isURLinEmbeded(Ctx,tag,ref) ){ ^ ( ) url._.c:749:12: note: use '==' to turn this assignment into an equality comparison if( up = isURLinEmbeded(Ctx,tag,ref) ){ ^ == url._.c:777:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; ch = *ref; ref++ ) ~~~^~~~~~ url._.c:777:13: note: place parentheses around the assignment to silence this warning for(; ch = *ref; ref++ ) ^ ( ) url._.c:777:13: note: use '==' to turn this assignment into an equality comparison for(; ch = *ref; ref++ ) ^ == url._.c:784:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = iscomtag(hp) ){ ~~~~^~~~~~~~~~~~~~ url._.c:784:13: note: place parentheses around the assignment to silence this warning if( len = iscomtag(hp) ){ ^ ( ) url._.c:784:13: note: use '==' to turn this assignment into an equality comparison if( len = iscomtag(hp) ){ ^ == url._.c:846:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; ch = *hp; hp++ ){ ~~~^~~~~ url._.c:846:14: note: place parentheses around the assignment to silence this warning for(; ch = *hp; hp++ ){ ^ ( ) url._.c:846:14: note: use '==' to turn this assignment into an equality comparison for(; ch = *hp; hp++ ){ ^ == url._.c:884:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( up = findURLinHTML(Ctx,tag,ref) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:884:11: note: place parentheses around the assignment to silence this warning if( up = findURLinHTML(Ctx,tag,ref) ){ ^ ( ) url._.c:884:11: note: use '==' to turn this assignment into an equality comparison if( up = findURLinHTML(Ctx,tag,ref) ){ ^ == url._.c:883:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ url._.c:928:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( attrtailp = hp; ch = *attrtailp; attrtailp++ ){ ~~~^~~~~~~~~~~~ url._.c:928:28: note: place parentheses around the assignment to silence this warning for( attrtailp = hp; ch = *attrtailp; attrtailp++ ){ ^ ( ) url._.c:928:28: note: use '==' to turn this assignment into an equality comparison for( attrtailp = hp; ch = *attrtailp; attrtailp++ ){ ^ == url._.c:1034:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = scan_URI_scheme(url,AVStr(proto),sizeof(proto)) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:1034:10: note: place parentheses around the assignment to silence this warning if( sp = scan_URI_scheme(url,AVStr(proto),sizeof(proto)) ){ ^ ( ) url._.c:1034:10: note: use '==' to turn this assignment into an equality comparison if( sp = scan_URI_scheme(url,AVStr(proto),sizeof(proto)) ){ ^ == url._.c:1059:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = strchr(np+1,'=') ){ ~~~^~~~~~~~~~~~~~~~~~ url._.c:1059:10: note: place parentheses around the assignment to silence this warning if( fp = strchr(np+1,'=') ){ ^ ( ) url._.c:1059:10: note: use '==' to turn this assignment into an equality comparison if( fp = strchr(np+1,'=') ){ ^ == url._.c:1140:36: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( pp = durl + marklen + 1; ch = *pp++; ){ ~~~^~~~~~~ url._.c:1140:36: note: place parentheses around the assignment to silence this warning for( pp = durl + marklen + 1; ch = *pp++; ){ ^ ( ) url._.c:1140:36: note: use '==' to turn this assignment into an equality comparison for( pp = durl + marklen + 1; ch = *pp++; ){ ^ == url._.c:1186:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strstr(pb,"-.-") ){ ~~~^~~~~~~~~~~~~~~~~~ url._.c:1186:10: note: place parentheses around the assignment to silence this warning if( pp = strstr(pb,"-.-") ){ ^ ( ) url._.c:1186:10: note: use '==' to turn this assignment into an equality comparison if( pp = strstr(pb,"-.-") ){ ^ == url._.c:1238:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( gtype = np[len] ) ~~~~~~^~~~~~~~~ url._.c:1238:15: note: place parentheses around the assignment to silence this warning if( gtype = np[len] ) ^ ( ) url._.c:1238:15: note: use '==' to turn this assignment into an equality comparison if( gtype = np[len] ) ^ == url._.c:1276:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:1276:10: note: place parentheses around the assignment to silence this warning if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) ^ ( ) url._.c:1276:10: note: use '==' to turn this assignment into an equality comparison if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) ^ == url._.c:1289:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:1289:10: note: place parentheses around the assignment to silence this warning if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) ^ ( ) url._.c:1289:10: note: use '==' to turn this assignment into an equality comparison if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ) ^ == url._.c:1301:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:1301:10: note: place parentheses around the assignment to silence this warning if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ){ ^ ( ) url._.c:1301:10: note: use '==' to turn this assignment into an equality comparison if( hp = strpbrk(np+strlen(host),endofHOSTPORT) ){ ^ == url._.c:1317:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( durl = strstr(url,NDGU_MARK) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ url._.c:1317:11: note: place parentheses around the assignment to silence this warning if( durl = strstr(url,NDGU_MARK) ){ ^ ( ) url._.c:1317:11: note: use '==' to turn this assignment into an equality comparison if( durl = strstr(url,NDGU_MARK) ){ ^ == url._.c:1325:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( durl = strstr(url,ODGU_MARK) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ url._.c:1325:11: note: place parentheses around the assignment to silence this warning if( durl = strstr(url,ODGU_MARK) ){ ^ ( ) url._.c:1325:11: note: use '==' to turn this assignment into an equality comparison if( durl = strstr(url,ODGU_MARK) ){ ^ == url._.c:1347:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( up = url; uc = *up; up++ ){ ~~~^~~~~ url._.c:1347:20: note: place parentheses around the assignment to silence this warning for( up = url; uc = *up; up++ ){ ^ ( ) url._.c:1347:20: note: use '==' to turn this assignment into an equality comparison for( up = url; uc = *up; up++ ){ ^ == url._.c:1378:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( up = strrchr(site,'@') ){ ~~~^~~~~~~~~~~~~~~~~~~ url._.c:1378:9: note: place parentheses around the assignment to silence this warning if( up = strrchr(site,'@') ){ ^ ( ) url._.c:1378:9: note: use '==' to turn this assignment into an equality comparison if( up = strrchr(site,'@') ){ ^ == url._.c:1379:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strchr(up,':') ){ ~~~^~~~~~~~~~~~~~~~ url._.c:1379:10: note: place parentheses around the assignment to silence this warning if( pp = strchr(up,':') ){ ^ ( ) url._.c:1379:10: note: use '==' to turn this assignment into an equality comparison if( pp = strchr(up,':') ){ ^ == url._.c:1394:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( userp = strrchr(hostport,'@') ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ url._.c:1394:12: note: place parentheses around the assignment to silence this warning if( userp = strrchr(hostport,'@') ){ ^ ( ) url._.c:1394:12: note: use '==' to turn this assignment into an equality comparison if( userp = strrchr(hostport,'@') ){ ^ == url._.c:1397:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( passp = strchr(hostport,':') ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ url._.c:1397:13: note: place parentheses around the assignment to silence this warning if( passp = strchr(hostport,':') ){ ^ ( ) url._.c:1397:13: note: use '==' to turn this assignment into an equality comparison if( passp = strchr(hostport,':') ){ ^ == url._.c:1410:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( portp = strchr(host,':') ){ ~~~~~~^~~~~~~~~~~~~~~~~~ url._.c:1410:12: note: place parentheses around the assignment to silence this warning if( portp = strchr(host,':') ){ ^ ( ) url._.c:1410:12: note: use '==' to turn this assignment into an equality comparison if( portp = strchr(host,':') ){ ^ == url._.c:1544:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xp = strpbrk(ident->i_user,"/?\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:1544:9: note: place parentheses around the assignment to silence this warning if( xp = strpbrk(ident->i_user,"/?\r\n") ) ^ ( ) url._.c:1544:9: note: use '==' to turn this assignment into an equality comparison if( xp = strpbrk(ident->i_user,"/?\r\n") ) ^ == url._.c:1546:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = strrchr(ident->i_user,'@') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:1546:9: note: place parentheses around the assignment to silence this warning if( hp = strrchr(ident->i_user,'@') ) ^ ( ) url._.c:1546:9: note: use '==' to turn this assignment into an equality comparison if( hp = strrchr(ident->i_user,'@') ) ^ == url._.c:1548:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strchr(ident->i_user,':') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:1548:9: note: place parentheses around the assignment to silence this warning if( pp = strchr(ident->i_user,':') ){ ^ ( ) url._.c:1548:9: note: use '==' to turn this assignment into an equality comparison if( pp = strchr(ident->i_user,':') ){ ^ == url._.c:1590:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strstr(url,"://") ) ~~~^~~~~~~~~~~~~~~~~~~ url._.c:1590:9: note: place parentheses around the assignment to silence this warning if( sp = strstr(url,"://") ) ^ ( ) url._.c:1590:9: note: use '==' to turn this assignment into an equality comparison if( sp = strstr(url,"://") ) ^ == url._.c:1616:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = hostport; ch = *sp; sp++ ){ ~~~^~~~~ url._.c:1616:25: note: place parentheses around the assignment to silence this warning for( sp = hostport; ch = *sp; sp++ ){ ^ ( ) url._.c:1616:25: note: use '==' to turn this assignment into an equality comparison for( sp = hostport; ch = *sp; sp++ ){ ^ == url._.c:1666:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = hostport; ch = *sp; sp++ ){ ~~~^~~~~ url._.c:1666:25: note: place parentheses around the assignment to silence this warning for( sp = hostport; ch = *sp; sp++ ){ ^ ( ) url._.c:1666:25: note: use '==' to turn this assignment into an equality comparison for( sp = hostport; ch = *sp; sp++ ){ ^ == url._.c:1747:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( opt = CTX_changeproxy_url_to(ctx,clif,method,AVStr(url),AVStr(proxy)) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:1747:10: note: place parentheses around the assignment to silence this warning if( opt = CTX_changeproxy_url_to(ctx,clif,method,AVStr(url),AVStr(proxy)) ) ^ ( ) url._.c:1747:10: note: use '==' to turn this assignment into an equality comparison if( opt = CTX_changeproxy_url_to(ctx,clif,method,AVStr(url),AVStr(proxy)) ) ^ == url._.c:1801:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( v1 = getv(av,"proto")){ ~~~^~~~~~~~~~~~~~~~~~ url._.c:1801:9: note: place parentheses around the assignment to silence this warning if( v1 = getv(av,"proto")){ ^ ( ) url._.c:1801:9: note: use '==' to turn this assignment into an equality comparison if( v1 = getv(av,"proto")){ ^ == url._.c:1806:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( v1 = getv(av,"host") ){ ~~~^~~~~~~~~~~~~~~~~ url._.c:1806:9: note: place parentheses around the assignment to silence this warning if( v1 = getv(av,"host") ){ ^ ( ) url._.c:1806:9: note: use '==' to turn this assignment into an equality comparison if( v1 = getv(av,"host") ){ ^ == url._.c:1811:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( v1 = getv(av,"port") ) ~~~^~~~~~~~~~~~~~~~~ url._.c:1811:9: note: place parentheses around the assignment to silence this warning if( v1 = getv(av,"port") ) ^ ( ) url._.c:1811:9: note: use '==' to turn this assignment into an equality comparison if( v1 = getv(av,"port") ) ^ == url._.c:1814:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( v1 = getv(av,"path") ){ ~~~^~~~~~~~~~~~~~~~~ url._.c:1814:9: note: place parentheses around the assignment to silence this warning if( v1 = getv(av,"path") ){ ^ ( ) url._.c:1814:9: note: use '==' to turn this assignment into an equality comparison if( v1 = getv(av,"path") ){ ^ == url._.c:1884:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( uc = *up ){ ~~~^~~~~ url._.c:1884:12: note: place parentheses around the assignment to silence this warning while( uc = *up ){ ^ ( ) url._.c:1884:12: note: use '==' to turn this assignment into an equality comparison while( uc = *up ){ ^ == url._.c:1902:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = CURDIR(up) ){ ~~~^~~~~~~~~~~~ url._.c:1902:10: note: place parentheses around the assignment to silence this warning if( np = CURDIR(up) ){ ^ ( ) url._.c:1902:10: note: use '==' to turn this assignment into an equality comparison if( np = CURDIR(up) ){ ^ == url._.c:1909:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = UPDIR(up) ){ ~~~^~~~~~~~~~~ url._.c:1909:10: note: place parentheses around the assignment to silence this warning if( np = UPDIR(up) ){ ^ ( ) url._.c:1909:10: note: use '==' to turn this assignment into an equality comparison if( np = UPDIR(up) ){ ^ == url._.c:1929:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( uc = *up ){ ~~~^~~~~ url._.c:1929:13: note: place parentheses around the assignment to silence this warning while( uc = *up ){ ^ ( ) url._.c:1929:13: note: use '==' to turn this assignment into an equality comparison while( uc = *up ){ ^ == url._.c:1970:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xp = CURDIR(up) ){ ~~~^~~~~~~~~~~~ url._.c:1970:9: note: place parentheses around the assignment to silence this warning if( xp = CURDIR(up) ){ ^ ( ) url._.c:1970:9: note: use '==' to turn this assignment into an equality comparison if( xp = CURDIR(up) ){ ^ == url._.c:1975:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( xp = UPDIR(up) ){ ~~~^~~~~~~~~~~ url._.c:1975:12: note: place parentheses around the assignment to silence this warning while( xp = UPDIR(up) ){ ^ ( ) url._.c:1975:12: note: use '==' to turn this assignment into an equality comparison while( xp = UPDIR(up) ){ ^ == url._.c:2091:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(url,PORT_MARK) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ url._.c:2091:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(url,PORT_MARK) ){ ^ ( ) url._.c:2091:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(url,PORT_MARK) ){ ^ == url._.c:2109:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(vurl,"://") ) ~~~^~~~~~~~~~~~~~~~~~~~ url._.c:2109:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(vurl,"://") ) ^ ( ) url._.c:2109:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(vurl,"://") ) ^ == url._.c:2110:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(dp+3,":/? \t\r\n\"'") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2110:9: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(dp+3,":/? \t\r\n\"'") ) ^ ( ) url._.c:2110:9: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(dp+3,":/? \t\r\n\"'") ) ^ == url._.c:2117:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(vurl,"?#") ) ~~~^~~~~~~~~~~~~~~~~~~~ url._.c:2117:11: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(vurl,"?#") ) ^ ( ) url._.c:2117:11: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(vurl,"?#") ) ^ == url._.c:2328:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ilen = url_movport(np,AVStr(xp),256) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2328:15: note: place parentheses around the assignment to silence this warning if( ilen = url_movport(np,AVStr(xp),256) ) ^ ( ) url._.c:2328:15: note: use '==' to turn this assignment into an equality comparison if( ilen = url_movport(np,AVStr(xp),256) ) ^ == url._.c:2334:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SkipQuoted("absolute",referer,np,sp,xp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2132:10: note: expanded from macro 'SkipQuoted' if( qch = referer->r_tagctx.r_curquote ){ \ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2334:3: note: place parentheses around the assignment to silence this warning url._.c:2132:10: note: expanded from macro 'SkipQuoted' if( qch = referer->r_tagctx.r_curquote ){ \ ^ url._.c:2334:3: note: use '==' to turn this assignment into an equality comparison url._.c:2132:10: note: expanded from macro 'SkipQuoted' if( qch = referer->r_tagctx.r_curquote ){ \ ^ url._.c:2334:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SkipQuoted("absolute",referer,np,sp,xp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2137:14: note: expanded from macro 'SkipQuoted' while( ch = *sp ){ \ ~~~^~~~~ url._.c:2334:3: note: place parentheses around the assignment to silence this warning url._.c:2137:14: note: expanded from macro 'SkipQuoted' while( ch = *sp ){ \ ^ url._.c:2334:3: note: use '==' to turn this assignment into an equality comparison url._.c:2137:14: note: expanded from macro 'SkipQuoted' while( ch = *sp ){ \ ^ url._.c:2401:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ulen = CTX_url_rurlX(ctx,qch,np,AVStr(rurl),myproto,myhost,myport,mypath,dgrelay) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2401:12: note: place parentheses around the assignment to silence this warning if( ulen = CTX_url_rurlX(ctx,qch,np,AVStr(rurl),myproto,myhost,myport,mypath,dgrelay) ) ^ ( ) url._.c:2401:12: note: use '==' to turn this assignment into an equality comparison if( ulen = CTX_url_rurlX(ctx,qch,np,AVStr(rurl),myproto,myhost,myport,mypath,dgrelay) ) ^ == url._.c:2409:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SkipQuoted("deleate",referer,np,sp,xp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2132:10: note: expanded from macro 'SkipQuoted' if( qch = referer->r_tagctx.r_curquote ){ \ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2409:3: note: place parentheses around the assignment to silence this warning url._.c:2132:10: note: expanded from macro 'SkipQuoted' if( qch = referer->r_tagctx.r_curquote ){ \ ^ url._.c:2409:3: note: use '==' to turn this assignment into an equality comparison url._.c:2132:10: note: expanded from macro 'SkipQuoted' if( qch = referer->r_tagctx.r_curquote ){ \ ^ url._.c:2409:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SkipQuoted("deleate",referer,np,sp,xp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2137:14: note: expanded from macro 'SkipQuoted' while( ch = *sp ){ \ ~~~^~~~~ url._.c:2409:3: note: place parentheses around the assignment to silence this warning url._.c:2137:14: note: expanded from macro 'SkipQuoted' while( ch = *sp ){ \ ^ url._.c:2409:3: note: use '==' to turn this assignment into an equality comparison url._.c:2137:14: note: expanded from macro 'SkipQuoted' while( ch = *sp ){ \ ^ url._.c:2422:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( np = html_nextTagAttr(sp,"",VStrNULL,NULL,NULL,NULL) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2422:12: note: place parentheses around the assignment to silence this warning while( np = html_nextTagAttr(sp,"",VStrNULL,NULL,NULL,NULL) ){ ^ ( ) url._.c:2422:12: note: use '==' to turn this assignment into an equality comparison while( np = html_nextTagAttr(sp,"",VStrNULL,NULL,NULL,NULL) ){ ^ == url._.c:2423:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strpbrk(np," \t\r\n\">") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2423:10: note: place parentheses around the assignment to silence this warning if( tp = strpbrk(np," \t\r\n\">") ){ ^ ( ) url._.c:2423:10: note: use '==' to turn this assignment into an equality comparison if( tp = strpbrk(np," \t\r\n\">") ){ ^ == url._.c:2745:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( proto = getv(av,"proto") ) ~~~~~~^~~~~~~~~~~~~~~~~~ url._.c:2745:14: note: place parentheses around the assignment to silence this warning if( proto = getv(av,"proto") ) ^ ( ) url._.c:2745:14: note: use '==' to turn this assignment into an equality comparison if( proto = getv(av,"proto") ) ^ == url._.c:2746:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( host = getv(av,"host" ) ){ ~~~~~~^~~~~~~~~~~~~~~~~~ url._.c:2746:14: note: place parentheses around the assignment to silence this warning if( host = getv(av,"host" ) ){ ^ ( ) url._.c:2746:14: note: use '==' to turn this assignment into an equality comparison if( host = getv(av,"host" ) ){ ^ == url._.c:2747:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( port = getv(av,"port") ) ~~~~~^~~~~~~~~~~~~~~~~ url._.c:2747:14: note: place parentheses around the assignment to silence this warning if( port = getv(av,"port") ) ^ ( ) url._.c:2747:14: note: use '==' to turn this assignment into an equality comparison if( port = getv(av,"port") ) ^ == url._.c:2771:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SkipQuoted("partialize",referer,np,sp,xp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2132:10: note: expanded from macro 'SkipQuoted' if( qch = referer->r_tagctx.r_curquote ){ \ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2771:3: note: place parentheses around the assignment to silence this warning url._.c:2132:10: note: expanded from macro 'SkipQuoted' if( qch = referer->r_tagctx.r_curquote ){ \ ^ url._.c:2771:3: note: use '==' to turn this assignment into an equality comparison url._.c:2132:10: note: expanded from macro 'SkipQuoted' if( qch = referer->r_tagctx.r_curquote ){ \ ^ url._.c:2771:3: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] SkipQuoted("partialize",referer,np,sp,xp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ url._.c:2137:14: note: expanded from macro 'SkipQuoted' while( ch = *sp ){ \ ~~~^~~~~ url._.c:2771:3: note: place parentheses around the assignment to silence this warning url._.c:2137:14: note: expanded from macro 'SkipQuoted' while( ch = *sp ){ \ ^ url._.c:2771:3: note: use '==' to turn this assignment into an equality comparison url._.c:2137:14: note: expanded from macro 'SkipQuoted' while( ch = *sp ){ \ ^ 76 warnings generated. ../mkcpp gopher.c gopher._.c -- mkcpp set time: 1712064747 -> 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] if( tab = strrchr(req,'\t') ) ~~~~^~~~~~~~~~~~~~~~~~~ gopher._.c:51:10: note: place parentheses around the assignment to silence this warning if( tab = strrchr(req,'\t') ) ^ ( ) gopher._.c:51:10: note: use '==' to turn this assignment into an equality comparison if( tab = strrchr(req,'\t') ) ^ == gopher._.c:58:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(req,"\t\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~ gopher._.c:58:9: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(req,"\t\r\n") ) ^ ( ) gopher._.c:58:9: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(req,"\t\r\n") ) ^ == gopher._.c:227:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cgtype = CTX_get_clientgtype(Conn) ) /* sent from client */ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ gopher._.c:227:13: note: place parentheses around the assignment to silence this warning if( cgtype = CTX_get_clientgtype(Conn) ) /* sent from client */ ^ ( ) gopher._.c:227:13: note: use '==' to turn this assignment into an equality comparison if( cgtype = CTX_get_clientgtype(Conn) ) /* sent from client */ ^ == gopher._.c:272:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(req,'\t') ){ ~~~^~~~~~~~~~~~~~~~~~ gopher._.c:272:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(req,'\t') ){ ^ ( ) gopher._.c:272:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(req,'\t') ){ ^ == gopher._.c:359:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cachefp = cache_fopen_rd("GOPHER",AVStr(cpath),expire,&cdate) ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gopher._.c:359:15: note: place parentheses around the assignment to silence this warning if( cachefp = cache_fopen_rd("GOPHER",AVStr(cpath),expire,&cdate) ){ ^ ( ) gopher._.c:359:15: note: use '==' to turn this assignment into an equality comparison if( cachefp = cache_fopen_rd("GOPHER",AVStr(cpath),expire,&cdate) ){ ^ == gopher._.c:379:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cachefp = cache_fopen_rw("GOPHER",AVStr(cpath)) ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gopher._.c:379:15: note: place parentheses around the assignment to silence this warning if( cachefp = cache_fopen_rw("GOPHER",AVStr(cpath)) ){ ^ ( ) gopher._.c:379:15: note: use '==' to turn this assignment into an equality comparison if( cachefp = cache_fopen_rw("GOPHER",AVStr(cpath)) ){ ^ == gopher._.c:530:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(line,':') ){ ~~~^~~~~~~~~~~~~~~~~~ gopher._.c:530:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(line,':') ){ ^ ( ) gopher._.c:530:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(line,':') ){ ^ == gopher._.c:544:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *selector = dp; }else return 0; ~~^~~~~~~~~~~~~~~~ gopher._.c:544:7: note: place parentheses around the assignment to silence this warning if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *selector = dp; }else return 0; ^ ( ) gopher._.c:544:7: note: use '==' to turn this assignment into an equality comparison if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *selector = dp; }else return 0; ^ == gopher._.c:545:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *host = dp; }else return 0; ~~^~~~~~~~~~~~~~~~ gopher._.c:545:7: note: place parentheses around the assignment to silence this warning if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *host = dp; }else return 0; ^ ( ) gopher._.c:545:7: note: use '==' to turn this assignment into an equality comparison if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *host = dp; }else return 0; ^ == gopher._.c:546:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *iport=atoi(dp);}else return 0; ~~^~~~~~~~~~~~~~~~ gopher._.c:546:7: note: place parentheses around the assignment to silence this warning if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *iport=atoi(dp);}else return 0; ^ ( ) gopher._.c:546:7: note: use '==' to turn this assignment into an equality comparison if(dp=strchr(dp,'\t')){ truncVStr(dp);dp++; *iport=atoi(dp);}else return 0; ^ == gopher._.c:547:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp=strchr(dp,'\t')){ *ext = dp; } ~~^~~~~~~~~~~~~~~~ gopher._.c:547:7: note: place parentheses around the assignment to silence this warning if(dp=strchr(dp,'\t')){ *ext = dp; } ^ ( ) gopher._.c:547:7: note: use '==' to turn this assignment into an equality comparison if(dp=strchr(dp,'\t')){ *ext = dp; } ^ == gopher._.c:707:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(req,'?') ) ~~~^~~~~~~~~~~~~~~~~ gopher._.c:707:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(req,'?') ) ^ ( ) gopher._.c:707:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(req,'?') ) ^ == 12 warnings generated. ../mkcpp icp.c icp._.c -- mkcpp set time: 1712064748 -> 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] if( tail = frex_match((struct fa_stat*)noicp_domain,host) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ icp._.c:255:11: note: place parentheses around the assignment to silence this warning if( tail = frex_match((struct fa_stat*)noicp_domain,host) ) ^ ( ) icp._.c:255:11: note: use '==' to turn this assignment into an equality comparison if( tail = frex_match((struct fa_stat*)noicp_domain,host) ) ^ == icp._.c:308:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("PARASERV") ) ~~~~^~~~~~~~~~~~~~~~~~~~ icp._.c:308:11: note: place parentheses around the assignment to silence this warning if( env = getenv("PARASERV") ) ^ ( ) icp._.c:308:11: note: use '==' to turn this assignment into an equality comparison if( env = getenv("PARASERV") ) ^ == icp._.c:318:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("NOICP_DOMAIN") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ icp._.c:318:10: note: place parentheses around the assignment to silence this warning if( env = getenv("NOICP_DOMAIN") ) ^ ( ) icp._.c:318:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("NOICP_DOMAIN") ) ^ == icp._.c:422:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen("ICP",AVStr(cachepath),"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ icp._.c:422:10: note: place parentheses around the assignment to silence this warning if( fp = dirfopen("ICP",AVStr(cachepath),"r") ){ ^ ( ) icp._.c:422:10: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen("ICP",AVStr(cachepath),"r") ){ ^ == icp._.c:633:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( arg = av[++ai] ){ ~~~~^~~~~~~~~~ icp._.c:633:13: note: place parentheses around the assignment to silence this warning if( arg = av[++ai] ){ ^ ( ) icp._.c:633:13: note: use '==' to turn this assignment into an equality comparison if( arg = av[++ai] ){ ^ == icp._.c:1076:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addr = gethostaddr(icphost1) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ icp._.c:1076:12: note: place parentheses around the assignment to silence this warning if( addr = gethostaddr(icphost1) ) ^ ( ) icp._.c:1076:12: note: use '==' to turn this assignment into an equality comparison if( addr = gethostaddr(icphost1) ) ^ == icp._.c:1087:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addr = gethostaddr(pxhost) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~ icp._.c:1087:12: note: place parentheses around the assignment to silence this warning if( addr = gethostaddr(pxhost) ) ^ ( ) icp._.c:1087:12: note: use '==' to turn this assignment into an equality comparison if( addr = gethostaddr(pxhost) ) ^ == 7 warnings generated. ../mkcpp icap.c icap._.c -- mkcpp set time: 1712064748 -> 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: 1712064748 -> 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] if( dp = strstr(UA,"MSIE ") ) ~~~^~~~~~~~~~~~~~~~~~~~ http._.c:561:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(UA,"MSIE ") ) ^ ( ) http._.c:561:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(UA,"MSIE ") ) ^ == http._.c:568:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(UA,"MSIE ") ){ ~~~^~~~~~~~~~~~~~~~~~~~ http._.c:568:10: note: place parentheses around the assignment to silence this warning if( dp = strstr(UA,"MSIE ") ){ ^ ( ) http._.c:568:10: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(UA,"MSIE ") ){ ^ == http._.c:573:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(UA,"Mozilla/") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:573:10: note: place parentheses around the assignment to silence this warning if( dp = strstr(UA,"Mozilla/") ){ ^ ( ) http._.c:573:10: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(UA,"Mozilla/") ){ ^ == http._.c:582:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(UA,"MSIE ") ) ~~~^~~~~~~~~~~~~~~~~~~~ http._.c:582:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(UA,"MSIE ") ) ^ ( ) http._.c:582:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(UA,"MSIE ") ) ^ == http._.c:586:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(UA,"MSIE ") ) ~~~^~~~~~~~~~~~~~~~~~~~ http._.c:586:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(UA,"MSIE ") ) ^ ( ) http._.c:586:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(UA,"MSIE ") ) ^ == http._.c:591:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(UA,"Mosaic") ) ~~~^~~~~~~~~~~~~~~~~~~~~ http._.c:591:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(UA,"Mosaic") ) ^ ( ) http._.c:591:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(UA,"Mosaic") ) ^ == http._.c:592:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(dp,"/") ) ~~~^~~~~~~~~~~~~~~~ http._.c:592:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(dp,"/") ) ^ ( ) http._.c:592:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(dp,"/") ) ^ == http._.c:602:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(UA,"Mozilla/5.0") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:602:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(UA,"Mozilla/5.0") ) ^ ( ) http._.c:602:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(UA,"Mozilla/5.0") ) ^ == http._.c:603:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(dp,"rv:1.7") ) ~~~^~~~~~~~~~~~~~~~~~~~~ http._.c:603:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(dp,"rv:1.7") ) ^ ( ) http._.c:603:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(dp,"rv:1.7") ) ^ == http._.c:609:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(UA,"Lynx") ) ~~~^~~~~~~~~~~~~~~~~~~ http._.c:609:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(UA,"Lynx") ) ^ ( ) http._.c:609:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(UA,"Lynx") ) ^ == http._.c:610:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(dp,"/") ) ~~~^~~~~~~~~~~~~~~~ http._.c:610:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(dp,"/") ) ^ ( ) http._.c:610:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(dp,"/") ) ^ == http._.c:907:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( qp = strchr(ourl,'?') ){ ~~~^~~~~~~~~~~~~~~~~~ http._.c:907:10: note: place parentheses around the assignment to silence this warning if( qp = strchr(ourl,'?') ){ ^ ( ) http._.c:907:10: note: use '==' to turn this assignment into an equality comparison if( qp = strchr(ourl,'?') ){ ^ == http._.c:1290:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ http._.c:1427:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ http._.c:1427:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) http._.c:1427:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == http._.c:1666:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_ContType) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:1666:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_ContType) ) ^ ( ) http._.c:1666:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_ContType) ) ^ == http._.c:1669:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_ContLeng) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:1669:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_ContLeng) ) ^ ( ) http._.c:1669:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_ContLeng) ) ^ == http._.c:1672:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_TransEncode) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:1672:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_TransEncode) ){ ^ ( ) http._.c:1672:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_TransEncode) ){ ^ == http._.c:1678:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_ContEncode) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:1678:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_ContEncode) ){ ^ ( ) http._.c:1678:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_ContEncode) ){ ^ == http._.c:1683:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_AccEncodeX) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:1683:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_AccEncodeX) ){ ^ ( ) http._.c:1683:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_AccEncodeX) ){ ^ == http._.c:1687:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_ContMD5) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:1687:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_ContMD5) ){ ^ ( ) http._.c:1687:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_ContMD5) ){ ^ == http._.c:1739:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( zip = Gzip(AVStr(cencode),in) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:1739:13: note: place parentheses around the assignment to silence this warning if( zip = Gzip(AVStr(cencode),in) ){ ^ ( ) http._.c:1739:13: note: use '==' to turn this assignment into an equality comparison if( zip = Gzip(AVStr(cencode),in) ){ ^ == http._.c:1759:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_ContMD5) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:1759:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_ContMD5) ){ ^ ( ) http._.c:1759:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_ContMD5) ){ ^ == http._.c:1817:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_ContType) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:1817:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_ContType) ){ ^ ( ) http._.c:1817:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_ContType) ){ ^ == http._.c:1821:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_ContLeng) ) continue; ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:1821:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_ContLeng) ) continue; ^ ( ) http._.c:1821:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_ContLeng) ) continue; ^ == http._.c:1822:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_AccEncodeX) ) continue; ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:1822:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_AccEncodeX) ) continue; ^ ( ) http._.c:1822:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_AccEncodeX) ) continue; ^ == http._.c:1932:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rdy = exceptionReady(ClientSock) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:1932:10: note: place parentheses around the assignment to silence this warning if( rdy = exceptionReady(ClientSock) ){ ^ ( ) http._.c:1932:10: note: use '==' to turn this assignment into an equality comparison if( rdy = exceptionReady(ClientSock) ){ ^ == http._.c:1974:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xencbody = threadGzip(Conn,RX,tc) ){ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ http._.c:1974:16: note: place parentheses around the assignment to silence this warning if( xencbody = threadGzip(Conn,RX,tc) ){ ^ ( ) http._.c:1974:16: note: use '==' to turn this assignment into an equality comparison if( xencbody = threadGzip(Conn,RX,tc) ){ ^ == http._.c:1968:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ http._.c:2006:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(field,F_ContType) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2006:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(field,F_ContType) ){ ^ ( ) http._.c:2006:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(field,F_ContType) ){ ^ == http._.c:2094:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_ContEncode) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2094:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_ContEncode) ) ^ ( ) http._.c:2094:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_ContEncode) ) ^ == http._.c:2100:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_ContLeng) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:2100:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_ContLeng) ) ^ ( ) http._.c:2100:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_ContLeng) ) ^ == http._.c:2104:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_ContLeng) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:2104:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_ContLeng) ){ ^ ( ) http._.c:2104:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_ContLeng) ){ ^ == http._.c:2117:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_ContRange) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2117:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_ContRange) ){ ^ ( ) http._.c:2117:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_ContRange) ){ ^ == http._.c:2120:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_LastMod) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:2120:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_LastMod) ){ ^ ( ) http._.c:2120:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_LastMod) ){ ^ == http._.c:2124:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_ContType) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:2124:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_ContType) ){ ^ ( ) http._.c:2124:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_ContType) ){ ^ == http._.c:2128:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strchr(RX_ctype,';') ) ~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:2128:10: note: place parentheses around the assignment to silence this warning if( pp = strchr(RX_ctype,';') ) ^ ( ) http._.c:2128:10: note: use '==' to turn this assignment into an equality comparison if( pp = strchr(RX_ctype,';') ) ^ == http._.c:2130:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strstr(pp+1,"charset=") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2130:14: note: place parentheses around the assignment to silence this warning if( cp = strstr(pp+1,"charset=") ) ^ ( ) http._.c:2130:14: note: use '==' to turn this assignment into an equality comparison if( cp = strstr(pp+1,"charset=") ) ^ == http._.c:2168:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_Server) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ http._.c:2168:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_Server) ){ ^ ( ) http._.c:2168:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_Server) ){ ^ == http._.c:2175:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_Pragma) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ http._.c:2175:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_Pragma) ){ ^ ( ) http._.c:2175:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_Pragma) ){ ^ == http._.c:2179:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_CacheControl) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2179:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_CacheControl) ){ ^ ( ) http._.c:2179:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_CacheControl) ){ ^ == http._.c:2200:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ovia = findFieldValue(fields,"Via") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2200:11: note: place parentheses around the assignment to silence this warning if( ovia = findFieldValue(fields,"Via") ){ ^ ( ) http._.c:2200:11: note: use '==' to turn this assignment into an equality comparison if( ovia = findFieldValue(fields,"Via") ){ ^ == http._.c:2202:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ovia = strpbrk(ovia,"\r\n") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:2202:13: note: place parentheses around the assignment to silence this warning if( ovia = strpbrk(ovia,"\r\n") ){ ^ ( ) http._.c:2202:13: note: use '==' to turn this assignment into an equality comparison if( ovia = strpbrk(ovia,"\r\n") ){ ^ == http._.c:2204:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nvia = findFieldValue(ovia,"Via") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2204:14: note: place parentheses around the assignment to silence this warning if( nvia = findFieldValue(ovia,"Via") ){ ^ ( ) http._.c:2204:14: note: use '==' to turn this assignment into an equality comparison if( nvia = findFieldValue(ovia,"Via") ){ ^ == http._.c:2244:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ http._.c:2319:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ http._.c:2319:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) http._.c:2319:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == http._.c:2360:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rp = strchr(head,'?') ){ ~~~^~~~~~~~~~~~~~~~~~ http._.c:2360:10: note: place parentheses around the assignment to silence this warning if( rp = strchr(head,'?') ){ ^ ( ) http._.c:2360:10: note: use '==' to turn this assignment into an equality comparison if( rp = strchr(head,'?') ){ ^ == http._.c:2363:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ctype = filename2ctype(head) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:2363:13: note: place parentheses around the assignment to silence this warning if( ctype = filename2ctype(head) ){ ^ ( ) http._.c:2363:13: note: use '==' to turn this assignment into an equality comparison if( ctype = filename2ctype(head) ){ ^ == http._.c:2442:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ http._.c:2449:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ http._.c:2731:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xcharset = HTTP_outCharset(Conn) ) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:2731:16: note: place parentheses around the assignment to silence this warning if( xcharset = HTTP_outCharset(Conn) ) ^ ( ) http._.c:2731:16: note: use '==' to turn this assignment into an equality comparison if( xcharset = HTTP_outCharset(Conn) ) ^ == http._.c:2773:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(field,F_ContEncode) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2773:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(field,F_ContEncode) ){ ^ ( ) http._.c:2773:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(field,F_ContEncode) ){ ^ == http._.c:2780:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(field,F_Vary) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~ http._.c:2780:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(field,F_Vary) ){ ^ ( ) http._.c:2780:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(field,F_Vary) ){ ^ == http._.c:2809:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(line,';') ){ ~~~^~~~~~~~~~~~~~~~~~ http._.c:2809:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(line,';') ){ ^ ( ) http._.c:2809:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(line,';') ){ ^ == http._.c:2826:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_ContType) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:2826:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_ContType) ){ ^ ( ) http._.c:2826:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_ContType) ){ ^ == http._.c:2845:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ http._.c:2855:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ http._.c:2859:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_ContLeng) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:2859:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_ContLeng) ){ ^ ( ) http._.c:2859:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_ContLeng) ){ ^ == http._.c:2889:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_PAuthenticate) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2889:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_PAuthenticate) ){ ^ ( ) http._.c:2889:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_PAuthenticate) ){ ^ == http._.c:2904:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_Authenticate) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2904:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_Authenticate) ){ ^ ( ) http._.c:2904:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_Authenticate) ){ ^ == http._.c:2920:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_SetCookie) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2920:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_SetCookie) ){ ^ ( ) http._.c:2920:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_SetCookie) ){ ^ == http._.c:2938:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_Location) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:2938:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_Location) ){ ^ ( ) http._.c:2938:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_Location) ){ ^ == http._.c:2948:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ http._.c:2960:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_KeepAlive) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2960:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_KeepAlive) ){ ^ ( ) http._.c:2960:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_KeepAlive) ){ ^ == http._.c:2964:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_Upgrade) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:2964:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_Upgrade) ){ ^ ( ) http._.c:2964:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_Upgrade) ){ ^ == http._.c:2967:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH_Connection(line) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:2967:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH_Connection(line) ){ ^ ( ) http._.c:2967:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH_Connection(line) ){ ^ == http._.c:2971:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_TransEncode) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:2971:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_TransEncode) ){ ^ ( ) http._.c:2971:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_TransEncode) ){ ^ == http._.c:2979:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_ContMD5) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:2979:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_ContMD5) ){ ^ ( ) http._.c:2979:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_ContMD5) ){ ^ == http._.c:3028:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_Expires) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:3028:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_Expires) ){ ^ ( ) http._.c:3028:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_Expires) ){ ^ == http._.c:3031:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,"Via:") ){ ~~~~~~^~~~~~~~~~~~~~~~~~~ http._.c:3031:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,"Via:") ){ ^ ( ) http._.c:3031:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,"Via:") ){ ^ == http._.c:3071:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcc = fgetBuffered(AVStr(buff),RX_remsize,RX_fsp) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:3071:10: note: place parentheses around the assignment to silence this warning if( rcc = fgetBuffered(AVStr(buff),RX_remsize,RX_fsp) ){ ^ ( ) http._.c:3071:10: note: use '==' to turn this assignment into an equality comparison if( rcc = fgetBuffered(AVStr(buff),RX_remsize,RX_fsp) ){ ^ == http._.c:3616:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( op = strstr(old,"CL=") ) ~~~^~~~~~~~~~~~~~~~~~~ http._.c:3616:11: note: place parentheses around the assignment to silence this warning if( op = strstr(old,"CL=") ) ^ ( ) http._.c:3616:11: note: use '==' to turn this assignment into an equality comparison if( op = strstr(old,"CL=") ) ^ == http._.c:3619:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( op = strstr(old,"MT=") ) ~~~^~~~~~~~~~~~~~~~~~~ http._.c:3619:11: note: place parentheses around the assignment to silence this warning if( op = strstr(old,"MT=") ) ^ ( ) http._.c:3619:11: note: use '==' to turn this assignment into an equality comparison if( op = strstr(old,"MT=") ) ^ == http._.c:3742:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( acc = isinListX(rvers,ver,"h") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:3742:11: note: place parentheses around the assignment to silence this warning if( acc = isinListX(rvers,ver,"h") ){ ^ ( ) http._.c:3742:11: note: use '==' to turn this assignment into an equality comparison if( acc = isinListX(rvers,ver,"h") ){ ^ == http._.c:4374:16: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] int IsSolaris(); ^~ http._.c:4374:16: note: replace parentheses with an initializer to declare a variable int IsSolaris(); ^~ = 0 http._.c:4732:21: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] setVStrElem(stat,0,255); ~~~~~~~~~~~~~~~~~~~^~~~ ../include/ystring.h:185:63: note: expanded from macro 'setVStrElem' #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] if( ofp = threadGzip(Conn,RX,RX_tc_sav) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:4801:12: note: place parentheses around the assignment to silence this warning if( ofp = threadGzip(Conn,RX,RX_tc_sav) ){ ^ ( ) http._.c:4801:12: note: use '==' to turn this assignment into an equality comparison if( ofp = threadGzip(Conn,RX,RX_tc_sav) ){ ^ == http._.c:4962:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hx = strSeekEOH(head) ){ ~~~^~~~~~~~~~~~~~~~~~ http._.c:4962:9: note: place parentheses around the assignment to silence this warning if( hx = strSeekEOH(head) ){ ^ ( ) http._.c:4962:9: note: use '==' to turn this assignment into an equality comparison if( hx = strSeekEOH(head) ){ ^ == http._.c:5323:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = findFieldValue(rhead,"Content-Type") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:5323:12: note: place parentheses around the assignment to silence this warning if( val = findFieldValue(rhead,"Content-Type") ){ ^ ( ) http._.c:5323:12: note: use '==' to turn this assignment into an equality comparison if( val = findFieldValue(rhead,"Content-Type") ){ ^ == http._.c:5351:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = findFieldValue(rhead,"Content-Encoding") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:5351:12: note: place parentheses around the assignment to silence this warning if( val = findFieldValue(rhead,"Content-Encoding") ){ ^ ( ) http._.c:5351:12: note: use '==' to turn this assignment into an equality comparison if( val = findFieldValue(rhead,"Content-Encoding") ){ ^ == http._.c:5361:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = findFieldValue(rhead,"Content-Length") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:5361:12: note: place parentheses around the assignment to silence this warning if( val = findFieldValue(rhead,"Content-Length") ){ ^ ( ) http._.c:5361:12: note: use '==' to turn this assignment into an equality comparison if( val = findFieldValue(rhead,"Content-Length") ){ ^ == http._.c:5371:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = findFieldValue(rhead,"X-Pragma") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:5371:12: note: place parentheses around the assignment to silence this warning if( val = findFieldValue(rhead,"X-Pragma") ){ ^ ( ) http._.c:5371:12: note: use '==' to turn this assignment into an equality comparison if( val = findFieldValue(rhead,"X-Pragma") ){ ^ == http._.c:5377:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = findFieldValue(rhead,"Proxy-Authenticate") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:5377:12: note: place parentheses around the assignment to silence this warning if( val = findFieldValue(rhead,"Proxy-Authenticate") ){ ^ ( ) http._.c:5377:12: note: use '==' to turn this assignment into an equality comparison if( val = findFieldValue(rhead,"Proxy-Authenticate") ){ ^ == http._.c:5382:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = findFieldValue(rhead,"WWW-Authenticate") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:5382:12: note: place parentheses around the assignment to silence this warning if( val = findFieldValue(rhead,"WWW-Authenticate") ){ ^ ( ) http._.c:5382:12: note: use '==' to turn this assignment into an equality comparison if( val = findFieldValue(rhead,"WWW-Authenticate") ){ ^ == http._.c:5548:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( got1 = GETRESPTXT(Conn,RX,fromcache) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:5548:16: note: place parentheses around the assignment to silence this warning while( got1 = GETRESPTXT(Conn,RX,fromcache) ){ ^ ( ) http._.c:5548:16: note: use '==' to turn this assignment into an equality comparison while( got1 = GETRESPTXT(Conn,RX,fromcache) ){ ^ == http._.c:5695:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ http._.c:5890:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH_Connection(line) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:5890:15: note: place parentheses around the assignment to silence this warning if( fnlen = STRH_Connection(line) ){ ^ ( ) http._.c:5890:15: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH_Connection(line) ){ ^ == http._.c:5960:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(line,"303") ) ~~~^~~~~~~~~~~~~~~~~~~~ http._.c:5960:12: note: place parentheses around the assignment to silence this warning if( dp = strstr(line,"303") ) ^ ( ) http._.c:5960:12: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(line,"303") ) ^ == http._.c:6018:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(line,"407") ) ~~~^~~~~~~~~~~~~~~~~~~~ http._.c:6018:11: note: place parentheses around the assignment to silence this warning if( dp = strstr(line,"407") ) ^ ( ) http._.c:6018:11: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(line,"407") ) ^ == http._.c:6041:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ http._.c:6064:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ http._.c:6420:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = line; ch = *sp; sp++ ){ ~~~^~~~~ http._.c:6420:26: note: place parentheses around the assignment to silence this warning for( sp = line; ch = *sp; sp++ ){ ^ ( ) http._.c:6420:26: note: use '==' to turn this assignment into an equality comparison for( sp = line; ch = *sp; sp++ ){ ^ == http._.c:6671:24: warning: '/*' within block comment [-Wcomment] /* 9.9.3 maybe image/* in gzip */ ^ http._.c:6677:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ http._.c:6701:10: warning: left operand of comma operator has no effect [-Wunused-value] if( Conn,RX->r_partf.p_NumParts == 0 ){ ^~~~ http._.c:7106:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = req; sc = *sp; sp++ ){ ~~~^~~~~ http._.c:7106:20: note: place parentheses around the assignment to silence this warning for( sp = req; sc = *sp; sp++ ){ ^ ( ) http._.c:7106:20: note: use '==' to turn this assignment into an equality comparison for( sp = req; sc = *sp; sp++ ){ ^ == http._.c:7150:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( hp = bp; ch = *hp; hp++ ) ~~~^~~~~ http._.c:7150:21: note: place parentheses around the assignment to silence this warning for( hp = bp; ch = *hp; hp++ ) ^ ( ) http._.c:7150:21: note: use '==' to turn this assignment into an equality comparison for( hp = bp; ch = *hp; hp++ ) ^ == http._.c:7198:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( hp = head; ch = *hp; hp++ ){ ~~~^~~~~ http._.c:7198:21: note: place parentheses around the assignment to silence this warning for( hp = head; ch = *hp; hp++ ){ ^ ( ) http._.c:7198:21: note: use '==' to turn this assignment into an equality comparison for( hp = head; ch = *hp; hp++ ){ ^ == http._.c:7240:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( hp = head; ch = *hp; hp++ ){ ~~~^~~~~ http._.c:7240:23: note: place parentheses around the assignment to silence this warning for( hp = head; ch = *hp; hp++ ){ ^ ( ) http._.c:7240:23: note: use '==' to turn this assignment into an equality comparison for( hp = head; ch = *hp; hp++ ){ ^ == http._.c:7269:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *++hp ) ~~~^~~~~~~ http._.c:7269:13: note: place parentheses around the assignment to silence this warning while( ch = *++hp ) ^ ( ) http._.c:7269:13: note: use '==' to turn this assignment into an equality comparison while( ch = *++hp ) ^ == http._.c:7303:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( up = strchr(request,' ') ){ ~~~^~~~~~~~~~~~~~~~~~~~~ http._.c:7303:9: note: place parentheses around the assignment to silence this warning if( up = strchr(request,' ') ){ ^ ( ) http._.c:7303:9: note: use '==' to turn this assignment into an equality comparison if( up = strchr(request,' ') ){ ^ == http._.c:7315:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( hp = hostport; hc = *hp; hp++ ){ ~~~^~~~~ http._.c:7315:25: note: place parentheses around the assignment to silence this warning for( hp = hostport; hc = *hp; hp++ ){ ^ ( ) http._.c:7315:25: note: use '==' to turn this assignment into an equality comparison for( hp = hostport; hc = *hp; hp++ ){ ^ == http._.c:8173:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(req,F_Upgrade) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ http._.c:8173:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(req,F_Upgrade) ){ ^ ( ) http._.c:8173:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(req,F_Upgrade) ){ ^ == http._.c:8187:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(req,F_ContType) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:8187:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(req,F_ContType) ){ ^ ( ) http._.c:8187:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(req,F_ContType) ){ ^ == http._.c:8191:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(req,F_ContLeng) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:8191:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(req,F_ContLeng) ){ ^ ( ) http._.c:8191:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(req,F_ContLeng) ){ ^ == http._.c:8203:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(req,F_AccEncode) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ http._.c:8203:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(req,F_AccEncode) ){ ^ ( ) http._.c:8203:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(req,F_AccEncode) ){ ^ == http._.c:8326:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(req,F_CacheControl) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:8326:13: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(req,F_CacheControl) ){ ^ ( ) http._.c:8326:13: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(req,F_CacheControl) ){ ^ == http._.c:8482:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( rcc = fgetBuffered(AVStr(buf),sizeof(buf),in) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:8482:13: note: place parentheses around the assignment to silence this warning while( rcc = fgetBuffered(AVStr(buf),sizeof(buf),in) ){ ^ ( ) http._.c:8482:13: note: use '==' to turn this assignment into an equality comparison while( rcc = fgetBuffered(AVStr(buf),sizeof(buf),in) ){ ^ == http._.c:8520:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( auth = findFieldValue(REQ_FIELDS,"Authorization") ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:8520:11: note: place parentheses around the assignment to silence this warning if( auth = findFieldValue(REQ_FIELDS,"Authorization") ) ^ ( ) http._.c:8520:11: note: use '==' to turn this assignment into an equality comparison if( auth = findFieldValue(REQ_FIELDS,"Authorization") ) ^ == http._.c:8533:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(buf,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ http._.c:8533:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(buf,"\r\n") ) ^ ( ) http._.c:8533:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(buf,"\r\n") ) ^ == http._.c:8555:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ http._.c:8593:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ver = strstr(req1," HTTP/1.") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:8593:10: note: place parentheses around the assignment to silence this warning if( ver = strstr(req1," HTTP/1.") ) ^ ( ) http._.c:8593:10: note: use '==' to turn this assignment into an equality comparison if( ver = strstr(req1," HTTP/1.") ) ^ == http._.c:8747:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cpid = Fork("relayRequest") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:8747:12: note: place parentheses around the assignment to silence this warning if( cpid = Fork("relayRequest") ){ ^ ( ) http._.c:8747:12: note: use '==' to turn this assignment into an equality comparison if( cpid = Fork("relayRequest") ){ ^ == http._.c:8960:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else DO_DELEGATE = 1; ^ http._.c:8985:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ http._.c:9066:3: warning: '/*' within block comment [-Wcomment] /* fclose(tc); */ ^ http._.c:9095:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(REQ,' ') ) ~~~^~~~~~~~~~~~~~~~~ http._.c:9095:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(REQ,' ') ) ^ ( ) http._.c:9095:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(REQ,' ') ) ^ == http._.c:9097:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(OREQ_MSG,' ') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:9097:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(OREQ_MSG,' ') ){ ^ ( ) http._.c:9097:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(OREQ_MSG,' ') ){ ^ == http._.c:9195:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cachefp = cache_fopen_rd("HTTP",AVStr(cpath),expire,&cdate) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:9195:14: note: place parentheses around the assignment to silence this warning if( cachefp = cache_fopen_rd("HTTP",AVStr(cpath),expire,&cdate) ) ^ ( ) http._.c:9195:14: note: use '==' to turn this assignment into an equality comparison if( cachefp = cache_fopen_rd("HTTP",AVStr(cpath),expire,&cdate) ) ^ == http._.c:9838:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_PAuthenticate) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:9838:15: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_PAuthenticate) ){ ^ ( ) http._.c:9838:15: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_PAuthenticate) ){ ^ == http._.c:10023:3: warning: '/*' within block comment [-Wcomment] /* so the request/response should be rewritten ^ http._.c:10024:33: warning: '/*' within block comment [-Wcomment] * with MOUNT="https://host:80/* http://host/* ^ http._.c:10024:47: warning: '/*' within block comment [-Wcomment] * with MOUNT="https://host:80/* http://host/* ^ http._.c:10034:15: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] int ServSock(); ^~ http._.c:10034:15: note: replace parentheses with an initializer to declare a variable int ServSock(); ^~ = 0 http._.c:10218:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = findFieldValue(REQ_FIELDS,"Cookie") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10218:10: note: place parentheses around the assignment to silence this warning if( val = findFieldValue(REQ_FIELDS,"Cookie") ){ ^ ( ) http._.c:10218:10: note: use '==' to turn this assignment into an equality comparison if( val = findFieldValue(REQ_FIELDS,"Cookie") ){ ^ == http._.c:10284:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( QX_totalc = HttpToMyself(Conn,AVStr(REQ),REQ_FIELDS,fc,tc,&stcode) ){ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10284:16: note: place parentheses around the assignment to silence this warning if( QX_totalc = HttpToMyself(Conn,AVStr(REQ),REQ_FIELDS,fc,tc,&stcode) ){ ^ ( ) http._.c:10284:16: note: use '==' to turn this assignment into an equality comparison if( QX_totalc = HttpToMyself(Conn,AVStr(REQ),REQ_FIELDS,fc,tc,&stcode) ){ ^ == http._.c:10480:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(ident.i_user,'@') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10480:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(ident.i_user,'@') ){ ^ ( ) http._.c:10480:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(ident.i_user,'@') ){ ^ == http._.c:10499:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( gtype = decomp_gopherURL(Conn,req,AVStr(path)) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10499:13: note: place parentheses around the assignment to silence this warning if( gtype = decomp_gopherURL(Conn,req,AVStr(path)) ){ ^ ( ) http._.c:10499:13: note: use '==' to turn this assignment into an equality comparison if( gtype = decomp_gopherURL(Conn,req,AVStr(path)) ){ ^ == http._.c:10570:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( QX_totalc = httpftp_cached(Conn,tc,user,pass,host,QX_port,path,&rc) ){ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10570:16: note: place parentheses around the assignment to silence this warning if( QX_totalc = httpftp_cached(Conn,tc,user,pass,host,QX_port,path,&rc) ){ ^ ( ) http._.c:10570:16: note: use '==' to turn this assignment into an equality comparison if( QX_totalc = httpftp_cached(Conn,tc,user,pass,host,QX_port,path,&rc) ){ ^ == http._.c:10590:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strtailstr(ocpath,LOADING) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10590:9: note: place parentheses around the assignment to silence this warning if( dp = strtailstr(ocpath,LOADING) ){ ^ ( ) http._.c:10590:9: note: use '==' to turn this assignment into an equality comparison if( dp = strtailstr(ocpath,LOADING) ){ ^ == http._.c:10631:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strtailstr(QX_cpath,LOADING) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10631:9: note: place parentheses around the assignment to silence this warning if( dp = strtailstr(QX_cpath,LOADING) ){ ^ ( ) http._.c:10631:9: note: use '==' to turn this assignment into an equality comparison if( dp = strtailstr(QX_cpath,LOADING) ){ ^ == http._.c:10638:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp=expfopen("HTTP",CACHE_DONTEXP,AVStr(QX_cpath),"r",&cdate) ){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10638:9: note: place parentheses around the assignment to silence this warning if( fp=expfopen("HTTP",CACHE_DONTEXP,AVStr(QX_cpath),"r",&cdate) ){ ^ ( ) http._.c:10638:9: note: use '==' to turn this assignment into an equality comparison if( fp=expfopen("HTTP",CACHE_DONTEXP,AVStr(QX_cpath),"r",&cdate) ){ ^ == http._.c:10665:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strtailstr(cpath,LOADING) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10665:9: note: place parentheses around the assignment to silence this warning if( dp = strtailstr(cpath,LOADING) ) ^ ( ) http._.c:10665:9: note: use '==' to turn this assignment into an equality comparison if( dp = strtailstr(cpath,LOADING) ) ^ == http._.c:10715:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( QX_cachefp = cache_fopen_rw("HTTP",AVStr(xcpath)) ){ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10715:17: note: place parentheses around the assignment to silence this warning if( QX_cachefp = cache_fopen_rw("HTTP",AVStr(xcpath)) ){ ^ ( ) http._.c:10715:17: note: use '==' to turn this assignment into an equality comparison if( QX_cachefp = cache_fopen_rw("HTTP",AVStr(xcpath)) ){ ^ == http._.c:10754:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strtailstr(QX_cpath,LOADING) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10754:9: note: place parentheses around the assignment to silence this warning if( cp = strtailstr(QX_cpath,LOADING) ){ ^ ( ) http._.c:10754:9: note: use '==' to turn this assignment into an equality comparison if( cp = strtailstr(QX_cpath,LOADING) ){ ^ == http._.c:10815:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( op = strtailstr(opath,LOADING) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10815:9: note: place parentheses around the assignment to silence this warning if( op = strtailstr(opath,LOADING) ){ ^ ( ) http._.c:10815:9: note: use '==' to turn this assignment into an equality comparison if( op = strtailstr(opath,LOADING) ){ ^ == http._.c:10820:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen("HTTPcache",AVStr(opath),"w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:10820:11: note: place parentheses around the assignment to silence this warning if( fp = dirfopen("HTTPcache",AVStr(opath),"w") ){ ^ ( ) http._.c:10820:11: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen("HTTPcache",AVStr(opath),"w") ){ ^ == http._.c:10828:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(opath,"r") ){ ~~~^~~~~~~~~~~~~~~~~~ http._.c:10828:11: note: place parentheses around the assignment to silence this warning if( fp = fopen(opath,"r") ){ ^ ( ) http._.c:10828:11: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(opath,"r") ){ ^ == http._.c:11039:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strtailstr(QX_cpath,LOADING) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:11039:9: note: place parentheses around the assignment to silence this warning if( dp = strtailstr(QX_cpath,LOADING) ){ ^ ( ) http._.c:11039:9: note: use '==' to turn this assignment into an equality comparison if( dp = strtailstr(QX_cpath,LOADING) ){ ^ == http._.c:11053:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( QX_cachefp = cache_fopen_rd("HTTP",AVStr(QX_cpath),QX_expire,&QX_cdate) ){ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:11053:17: note: place parentheses around the assignment to silence this warning if( QX_cachefp = cache_fopen_rd("HTTP",AVStr(QX_cpath),QX_expire,&QX_cdate) ){ ^ ( ) http._.c:11053:17: note: use '==' to turn this assignment into an equality comparison if( QX_cachefp = cache_fopen_rd("HTTP",AVStr(QX_cpath),QX_expire,&QX_cdate) ){ ^ == http._.c:11168:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ http._.c:11478:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bp = strSeekEOHX(OREQ_MSG,OREQ_LEN) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:11478:10: note: place parentheses around the assignment to silence this warning if( bp = strSeekEOHX(OREQ_MSG,OREQ_LEN) ){ ^ ( ) http._.c:11478:10: note: use '==' to turn this assignment into an equality comparison if( bp = strSeekEOHX(OREQ_MSG,OREQ_LEN) ){ ^ == http._.c:11998:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ http._.c:12034:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ http._.c:12046:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ http._.c:12067:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( QX_upath = strchr(REQ,'/') ) ~~~~~~~~~^~~~~~~~~~~~~~~~~ http._.c:12067:15: note: place parentheses around the assignment to silence this warning if( QX_upath = strchr(REQ,'/') ) ^ ( ) http._.c:12067:15: note: use '==' to turn this assignment into an equality comparison if( QX_upath = strchr(REQ,'/') ) ^ == http._.c:12142:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Conn->sv_reusing = getServ(Conn) ) /* FromS is set ... */ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ http._.c:12142:24: note: place parentheses around the assignment to silence this warning if( Conn->sv_reusing = getServ(Conn) ) /* FromS is set ... */ ^ ( ) http._.c:12142:24: note: use '==' to turn this assignment into an equality comparison if( Conn->sv_reusing = getServ(Conn) ) /* FromS is set ... */ ^ == http._.c:12169:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ http._.c:12569:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fvp = findFieldValue(head,"Authorization") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:12569:10: note: place parentheses around the assignment to silence this warning if( fvp = findFieldValue(head,"Authorization") ){ ^ ( ) http._.c:12569:10: note: use '==' to turn this assignment into an equality comparison if( fvp = findFieldValue(head,"Authorization") ){ ^ == http._.c:12676:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fvp = findFieldValue(OREQ_MSG,qfname) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http._.c:12676:10: note: place parentheses around the assignment to silence this warning if( fvp = findFieldValue(OREQ_MSG,qfname) ){ ^ ( ) http._.c:12676:10: note: use '==' to turn this assignment into an equality comparison if( fvp = findFieldValue(OREQ_MSG,qfname) ){ ^ == http._.c:12802:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rp = strSeekEOH(RESP_MSG) ) ~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:12802:11: note: place parentheses around the assignment to silence this warning if( rp = strSeekEOH(RESP_MSG) ) ^ ( ) http._.c:12802:11: note: use '==' to turn this assignment into an equality comparison if( rp = strSeekEOH(RESP_MSG) ) ^ == http._.c:12817:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( qp = strSeekEOH(OREQ_MSG) ) ~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:12817:9: note: place parentheses around the assignment to silence this warning if( qp = strSeekEOH(OREQ_MSG) ) ^ ( ) http._.c:12817:9: note: use '==' to turn this assignment into an equality comparison if( qp = strSeekEOH(OREQ_MSG) ) ^ == http._.c:12836:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rp = strSeekEOH(RESP_MSG) ) ~~~^~~~~~~~~~~~~~~~~~~~~~ http._.c:12836:11: note: place parentheses around the assignment to silence this warning if( rp = strSeekEOH(RESP_MSG) ) ^ ( ) http._.c:12836:11: note: use '==' to turn this assignment into an equality comparison if( rp = strSeekEOH(RESP_MSG) ) ^ == http._.c:13474:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ 153 warnings generated. ../mkcpp httpx.c httpx._.c -- mkcpp set time: 1712064754 -> 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] }else ^ httpx._.c:313:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(path,"r") ){ ~~~^~~~~~~~~~~~~~~~~ httpx._.c:313:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"r") ){ ^ ( ) httpx._.c:313:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"r") ){ ^ == httpx._.c:522:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(loc,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ httpx._.c:522:12: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(loc,"\r\n") ) ^ ( ) httpx._.c:522:12: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(loc,"\r\n") ) ^ == 3 warnings generated. ../mkcpp httplog.c httplog._.c -- mkcpp set time: 1712064754 -> 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] if( buff = LOG_buffer(log) ){ ~~~~~^~~~~~~~~~~~~~~~~ httplog._.c:54:11: note: place parentheses around the assignment to silence this warning if( buff = LOG_buffer(log) ){ ^ ( ) httplog._.c:54:11: note: use '==' to turn this assignment into an equality comparison if( buff = LOG_buffer(log) ){ ^ == httplog._.c:125:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = fmt; fc = *fp; fp++ ){ ~~~^~~~~ httplog._.c:125:20: note: place parentheses around the assignment to silence this warning for( fp = fmt; fc = *fp; fp++ ){ ^ ( ) httplog._.c:125:20: note: use '==' to turn this assignment into an equality comparison for( fp = fmt; fc = *fp; fp++ ){ ^ == httplog._.c:252:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( upath = URL_toMyself(Conn,referer) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ httplog._.c:252:12: note: place parentheses around the assignment to silence this warning if( upath = URL_toMyself(Conn,referer) ){ ^ ( ) httplog._.c:252:12: note: use '==' to turn this assignment into an equality comparison if( upath = URL_toMyself(Conn,referer) ){ ^ == 3 warnings generated. ../mkcpp httphead.c httphead._.c -- mkcpp set time: 1712064754 -> 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] if( data = getMssg(url,&len) ) ~~~~~^~~~~~~~~~~~~~~~~~~ httphead._.c:281:11: note: place parentheses around the assignment to silence this warning if( data = getMssg(url,&len) ) ^ ( ) httphead._.c:281:11: note: use '==' to turn this assignment into an equality comparison if( data = getMssg(url,&len) ) ^ == httphead._.c:444:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( kp = strstr(val,"sign=\"rsa:") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:444:10: note: place parentheses around the assignment to silence this warning if( kp = strstr(val,"sign=\"rsa:") ){ ^ ( ) httphead._.c:444:10: note: use '==' to turn this assignment into an equality comparison if( kp = strstr(val,"sign=\"rsa:") ){ ^ == httphead._.c:515:10: warning: unsequenced modification and access to 'leng' [-Wunsequenced] leng += FPRINTF(tc,"Date: %s\r\n",date); ~~ ^ httphead._.c:32:23: note: expanded from macro 'FPRINTF' #define FPRINTF leng += Fprintf ^ httphead._.c:516:10: warning: unsequenced modification and access to 'leng' [-Wunsequenced] leng += FPRINTF(tc,"Server: %s\r\n",server); ~~ ^ httphead._.c:32:23: note: expanded from macro 'FPRINTF' #define FPRINTF leng += Fprintf ^ httphead._.c:520:11: warning: unsequenced modification and access to 'leng' [-Wunsequenced] leng += FPRINTF(tc,"ETag: %s\r\n",genETag); ~~ ^ httphead._.c:32:23: note: expanded from macro 'FPRINTF' #define FPRINTF leng += Fprintf ^ httphead._.c:524:11: warning: unsequenced modification and access to 'leng' [-Wunsequenced] leng += FPRINTF(tc,"%s",addRespHeaders); ~~ ^ httphead._.c:32:23: note: expanded from macro 'FPRINTF' #define FPRINTF leng += Fprintf ^ httphead._.c:677:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( leng = getKeepAlive(Conn,AVStr(buff)) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:677:11: note: place parentheses around the assignment to silence this warning if( leng = getKeepAlive(Conn,AVStr(buff)) ) ^ ( ) httphead._.c:677:11: note: use '==' to turn this assignment into an equality comparison if( leng = getKeepAlive(Conn,AVStr(buff)) ) ^ == httphead._.c:749:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ohpp = findFieldValue(head,"Host") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:749:11: note: place parentheses around the assignment to silence this warning if( ohpp = findFieldValue(head,"Host") ){ ^ ( ) httphead._.c:749:11: note: use '==' to turn this assignment into an equality comparison if( ohpp = findFieldValue(head,"Host") ){ ^ == httphead._.c:751:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( hp = ohpb; hc = *hp; hp++ ){ ~~~^~~~~ httphead._.c:751:22: note: place parentheses around the assignment to silence this warning for( hp = ohpb; hc = *hp; hp++ ){ ^ ( ) httphead._.c:751:22: note: use '==' to turn this assignment into an equality comparison for( hp = ohpb; hc = *hp; hp++ ){ ^ == httphead._.c:916:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( url = strpbrk(request," \t") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:916:11: note: place parentheses around the assignment to silence this warning if( url = strpbrk(request," \t") ){ ^ ( ) httphead._.c:916:11: note: use '==' to turn this assignment into an equality comparison if( url = strpbrk(request," \t") ){ ^ == httphead._.c:1051:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( opts = vmount_referer(Conn,AVStr(url)) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1051:12: note: place parentheses around the assignment to silence this warning if( opts = vmount_referer(Conn,AVStr(url)) ){ ^ ( ) httphead._.c:1051:12: note: use '==' to turn this assignment into an equality comparison if( opts = vmount_referer(Conn,AVStr(url)) ){ ^ == httphead._.c:1060:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nfp = strchr(val,'\n') ) ~~~~^~~~~~~~~~~~~~~~~~ httphead._.c:1060:11: note: place parentheses around the assignment to silence this warning if( nfp = strchr(val,'\n') ) ^ ( ) httphead._.c:1060:11: note: use '==' to turn this assignment into an equality comparison if( nfp = strchr(val,'\n') ) ^ == httphead._.c:1075:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = findFieldValue(fields,"Referer") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1075:10: note: place parentheses around the assignment to silence this warning if( val = findFieldValue(fields,"Referer") ){ ^ ( ) httphead._.c:1075:10: note: use '==' to turn this assignment into an equality comparison if( val = findFieldValue(fields,"Referer") ){ ^ == httphead._.c:1106:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( up = (char*)URL_toMyself(Conn,url) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1106:9: note: place parentheses around the assignment to silence this warning if( up = (char*)URL_toMyself(Conn,url) ){ ^ ( ) httphead._.c:1106:9: note: use '==' to turn this assignment into an equality comparison if( up = (char*)URL_toMyself(Conn,url) ){ ^ == httphead._.c:1143:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( port = forcedIF_H(Conn,BVStr(host)) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1143:11: note: place parentheses around the assignment to silence this warning if( port = forcedIF_H(Conn,BVStr(host)) ) ^ ( ) httphead._.c:1143:11: note: use '==' to turn this assignment into an equality comparison if( port = forcedIF_H(Conn,BVStr(host)) ) ^ == httphead._.c:1192:67: warning: '/*' within block comment [-Wcomment] * When the parent HTTP server is also DeleGate, /-/builtin/icons/* ^ httphead._.c:1262:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = CTX_moved_url_to(Conn,OREQ_VHOST,REQ_METHOD,AVStr(furl)) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1262:12: note: place parentheses around the assignment to silence this warning if( rcode = CTX_moved_url_to(Conn,OREQ_VHOST,REQ_METHOD,AVStr(furl)) ){ ^ ( ) httphead._.c:1262:12: note: use '==' to turn this assignment into an equality comparison if( rcode = CTX_moved_url_to(Conn,OREQ_VHOST,REQ_METHOD,AVStr(furl)) ){ ^ == httphead._.c:1336:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( query = strstr(moved_url,"?-.-=") ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1336:12: note: place parentheses around the assignment to silence this warning if( query = strstr(moved_url,"?-.-=") ){ ^ ( ) httphead._.c:1336:12: note: use '==' to turn this assignment into an equality comparison if( query = strstr(moved_url,"?-.-=") ){ ^ == httphead._.c:1409:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rp = strstr(opts,"rcode=") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1409:9: note: place parentheses around the assignment to silence this warning if( rp = strstr(opts,"rcode=") ) ^ ( ) httphead._.c:1409:9: note: use '==' to turn this assignment into an equality comparison if( rp = strstr(opts,"rcode=") ) ^ == httphead._.c:1410:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = atoi(rp+6) ){ ~~~~~~^~~~~~~~~~~~ httphead._.c:1410:12: note: place parentheses around the assignment to silence this warning if( rcode = atoi(rp+6) ){ ^ ( ) httphead._.c:1410:12: note: use '==' to turn this assignment into an equality comparison if( rcode = atoi(rp+6) ){ ^ == httphead._.c:1540:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strcasestr(opts,"urlesc=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1540:10: note: place parentheses around the assignment to silence this warning if( dp = strcasestr(opts,"urlesc=") ){ ^ ( ) httphead._.c:1540:10: note: use '==' to turn this assignment into an equality comparison if( dp = strcasestr(opts,"urlesc=") ){ ^ == httphead._.c:1576:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( opts = CTX_onerror_url_to(Conn,NULL,reqx.hq_method,AVStr(eurl)) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1576:11: note: place parentheses around the assignment to silence this warning if( opts = CTX_onerror_url_to(Conn,NULL,reqx.hq_method,AVStr(eurl)) ){ ^ ( ) httphead._.c:1576:11: note: use '==' to turn this assignment into an equality comparison if( opts = CTX_onerror_url_to(Conn,NULL,reqx.hq_method,AVStr(eurl)) ){ ^ == httphead._.c:1614:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( tp = oval; tc = *tp; tp++ ) ~~~^~~~~ httphead._.c:1614:21: note: place parentheses around the assignment to silence this warning for( tp = oval; tc = *tp; tp++ ) ^ ( ) httphead._.c:1614:21: note: use '==' to turn this assignment into an equality comparison for( tp = oval; tc = *tp; tp++ ) ^ == httphead._.c:1618:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = val; sc = *sp; sp++ ){ ~~~^~~~~ httphead._.c:1618:20: note: place parentheses around the assignment to silence this warning for( sp = val; sc = *sp; sp++ ){ ^ ( ) httphead._.c:1618:20: note: use '==' to turn this assignment into an equality comparison for( sp = val; sc = *sp; sp++ ){ ^ == httphead._.c:1627:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = tp; sc = *sp; sp++ ) ~~~^~~~~ httphead._.c:1627:20: note: place parentheses around the assignment to silence this warning for( sp = tp; sc = *sp; sp++ ) ^ ( ) httphead._.c:1627:20: note: use '==' to turn this assignment into an equality comparison for( sp = tp; sc = *sp; sp++ ) ^ == httphead._.c:1693:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(login,':') ) ~~~^~~~~~~~~~~~~~~~~~~ httphead._.c:1693:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(login,':') ) ^ ( ) httphead._.c:1693:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(login,':') ) ^ == httphead._.c:1735:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = findFieldValue(OREQ_MSG,"Cookie") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:1735:9: note: place parentheses around the assignment to silence this warning if( cp = findFieldValue(OREQ_MSG,"Cookie") ){ ^ ( ) httphead._.c:1735:9: note: use '==' to turn this assignment into an equality comparison if( cp = findFieldValue(OREQ_MSG,"Cookie") ){ ^ == httphead._.c:1814:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; uc = url[ux]; ux++ ) ~~~^~~~~~~~~ httphead._.c:1814:11: note: place parentheses around the assignment to silence this warning for(; uc = url[ux]; ux++ ) ^ ( ) httphead._.c:1814:11: note: use '==' to turn this assignment into an equality comparison for(; uc = url[ux]; ux++ ) ^ == httphead._.c:1861:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(rsite,'@') ){ ~~~^~~~~~~~~~~~~~~~~~~ httphead._.c:1861:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(rsite,'@') ){ ^ ( ) httphead._.c:1861:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(rsite,'@') ){ ^ == httphead._.c:2080:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ncdate = HTTP_getLastModInCache(AVStr(scdate),size,cachefp,cpath) ) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2080:13: note: place parentheses around the assignment to silence this warning if( ncdate = HTTP_getLastModInCache(AVStr(scdate),size,cachefp,cpath) ) ^ ( ) httphead._.c:2080:13: note: use '==' to turn this assignment into an equality comparison if( ncdate = HTTP_getLastModInCache(AVStr(scdate),size,cachefp,cpath) ) ^ == httphead._.c:2128:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nesc = url_escapeX(aval,AVStr(aval),avsiz,HTTP_passesc,"") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2128:12: note: place parentheses around the assignment to silence this warning if( nesc = url_escapeX(aval,AVStr(aval),avsiz,HTTP_passesc,"") ){ ^ ( ) httphead._.c:2128:12: note: use '==' to turn this assignment into an equality comparison if( nesc = url_escapeX(aval,AVStr(aval),avsiz,HTTP_passesc,"") ){ ^ == httphead._.c:2177:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(ident->i_user,'@') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2177:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(ident->i_user,'@') ){ ^ ( ) httphead._.c:2177:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(ident->i_user,'@') ){ ^ == httphead._.c:2247:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ratype = HTTP_getAuthorization2(Conn,&ident,0) ) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2247:13: note: place parentheses around the assignment to silence this warning if( ratype = HTTP_getAuthorization2(Conn,&ident,0) ) ^ ( ) httphead._.c:2247:13: note: use '==' to turn this assignment into an equality comparison if( ratype = HTTP_getAuthorization2(Conn,&ident,0) ) ^ == httphead._.c:2264:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(aval,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~ httphead._.c:2264:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(aval,'/') ){ ^ ( ) httphead._.c:2264:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(aval,'/') ){ ^ == httphead._.c:2280:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = doAuth(Conn,&ident) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ httphead._.c:2280:13: note: place parentheses around the assignment to silence this warning if( rcode = doAuth(Conn,&ident) ){ ^ ( ) httphead._.c:2280:13: note: use '==' to turn this assignment into an equality comparison if( rcode = doAuth(Conn,&ident) ){ ^ == httphead._.c:2397:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( url = strpbrk(OREQ," \t") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~ httphead._.c:2397:11: note: place parentheses around the assignment to silence this warning if( url = strpbrk(OREQ," \t") ){ ^ ( ) httphead._.c:2397:11: note: use '==' to turn this assignment into an equality comparison if( url = strpbrk(OREQ," \t") ){ ^ == httphead._.c:2401:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( up = URL_toMyself(Conn,url) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2401:11: note: place parentheses around the assignment to silence this warning if( up = URL_toMyself(Conn,url) ) ^ ( ) httphead._.c:2401:11: note: use '==' to turn this assignment into an equality comparison if( up = URL_toMyself(Conn,url) ) ^ == httphead._.c:2403:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( up = URL_toMyself(Conn,urlc) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2403:11: note: place parentheses around the assignment to silence this warning if( up = URL_toMyself(Conn,urlc) ) ^ ( ) httphead._.c:2403:11: note: use '==' to turn this assignment into an equality comparison if( up = URL_toMyself(Conn,urlc) ) ^ == httphead._.c:2445:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *sp ){ ~~~^~~~~ httphead._.c:2445:12: note: place parentheses around the assignment to silence this warning while( ch = *sp ){ ^ ( ) httphead._.c:2445:12: note: use '==' to turn this assignment into an equality comparison while( ch = *sp ){ ^ == httphead._.c:2451:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( ch = *sp ){ ~~~^~~~~ httphead._.c:2451:13: note: place parentheses around the assignment to silence this warning while( ch = *sp ){ ^ ( ) httphead._.c:2451:13: note: use '==' to turn this assignment into an equality comparison while( ch = *sp ){ ^ == httphead._.c:2470:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ffname = findField(OREQ_MSG,fname,&ffbody) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2470:14: note: place parentheses around the assignment to silence this warning if( ffname = findField(OREQ_MSG,fname,&ffbody) ){ ^ ( ) httphead._.c:2470:14: note: use '==' to turn this assignment into an equality comparison if( ffname = findField(OREQ_MSG,fname,&ffbody) ){ ^ == httphead._.c:2505:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ffname = findField(CurEnv->r_fields,fname,&ffbody) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2505:13: note: place parentheses around the assignment to silence this warning if( ffname = findField(CurEnv->r_fields,fname,&ffbody) ){ ^ ( ) httphead._.c:2505:13: note: use '==' to turn this assignment into an equality comparison if( ffname = findField(CurEnv->r_fields,fname,&ffbody) ){ ^ == httphead._.c:2543:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( value = strchr(field,':') ){ ~~~~~~^~~~~~~~~~~~~~~~~~~ httphead._.c:2543:12: note: place parentheses around the assignment to silence this warning if( value = strchr(field,':') ){ ^ ( ) httphead._.c:2543:12: note: use '==' to turn this assignment into an equality comparison if( value = strchr(field,':') ){ ^ == httphead._.c:2554:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( pp = strstr(value,"(pragma=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:2554:12: note: place parentheses around the assignment to silence this warning while( pp = strstr(value,"(pragma=") ){ ^ ( ) httphead._.c:2554:12: note: use '==' to turn this assignment into an equality comparison while( pp = strstr(value,"(pragma=") ){ ^ == httphead._.c:2564:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(pp,')') ) ~~~^~~~~~~~~~~~~~~~ httphead._.c:2564:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(pp,')') ) ^ ( ) httphead._.c:2564:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(pp,')') ) ^ == httphead._.c:2591:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( pp = strstr(value,"()") ) ~~~^~~~~~~~~~~~~~~~~~~~ httphead._.c:2591:12: note: place parentheses around the assignment to silence this warning while( pp = strstr(value,"()") ) ^ ( ) httphead._.c:2591:12: note: use '==' to turn this assignment into an equality comparison while( pp = strstr(value,"()") ) ^ == httphead._.c:2652:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ ~~~^~~~~~~~~~~~~~~~~~~~ httphead._.c:2652:19: note: place parentheses around the assignment to silence this warning for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ ^ ( ) httphead._.c:2652:19: note: use '==' to turn this assignment into an equality comparison for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ ^ == httphead._.c:2704:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ ~~~^~~~~~~~~~~~~~~~~~~~ httphead._.c:2704:18: note: place parentheses around the assignment to silence this warning for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ ^ ( ) httphead._.c:2704:18: note: use '==' to turn this assignment into an equality comparison for( mi = 0; m1 = methodv[mi].m_name; mi++ ){ ^ == httphead._.c:3034:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strchr(mp,'\n') ) ~~~^~~~~~~~~~~~~~~~~ httphead._.c:3034:10: note: place parentheses around the assignment to silence this warning if( np = strchr(mp,'\n') ) ^ ( ) httphead._.c:3034:10: note: use '==' to turn this assignment into an equality comparison if( np = strchr(mp,'\n') ) ^ == httphead._.c:3045:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rhead = strstr(MountOptions,"rhead=+") ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:3045:13: note: place parentheses around the assignment to silence this warning if( rhead = strstr(MountOptions,"rhead=+") ){ ^ ( ) httphead._.c:3045:13: note: use '==' to turn this assignment into an equality comparison if( rhead = strstr(MountOptions,"rhead=+") ){ ^ == httphead._.c:3063:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = scanint(sp,&rcode) ){ ~~~^~~~~~~~~~~~~~~~~~~~ httphead._.c:3063:10: note: place parentheses around the assignment to silence this warning if( sp = scanint(sp,&rcode) ){ ^ ( ) httphead._.c:3063:10: note: use '==' to turn this assignment into an equality comparison if( sp = scanint(sp,&rcode) ){ ^ == httphead._.c:3109:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ httphead._.c:3241:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(REQ_UA,"Mozilla/") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:3241:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(REQ_UA,"Mozilla/") ){ ^ ( ) httphead._.c:3241:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(REQ_UA,"Mozilla/") ){ ^ == httphead._.c:3305:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( qop_auth = streq(seed->i_qop,"auth") ){ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httphead._.c:3305:15: note: place parentheses around the assignment to silence this warning if( qop_auth = streq(seed->i_qop,"auth") ){ ^ ( ) httphead._.c:3305:15: note: use '==' to turn this assignment into an equality comparison if( qop_auth = streq(seed->i_qop,"auth") ){ ^ == 54 warnings generated. ../mkcpp httpd.c httpd._.c -- mkcpp set time: 1712064756 -> 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] if( data = strchr(dataspec,',') ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~ httpd._.c:339:11: note: place parentheses around the assignment to silence this warning if( data = strchr(dataspec,',') ){ ^ ( ) httpd._.c:339:11: note: use '==' to turn this assignment into an equality comparison if( data = strchr(dataspec,',') ){ ^ == httpd._.c:719:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( leng = putRobotsTxt(Conn,tc,NULL,0) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:719:13: note: place parentheses around the assignment to silence this warning if( leng = putRobotsTxt(Conn,tc,NULL,0) ) ^ ( ) httpd._.c:719:13: note: use '==' to turn this assignment into an equality comparison if( leng = putRobotsTxt(Conn,tc,NULL,0) ) ^ == httpd._.c:734:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( leng = putLocal(Conn,vno,method,AVStr(req),head,AVStr(path),fc,tc,stcodep) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:734:11: note: place parentheses around the assignment to silence this warning if( leng = putLocal(Conn,vno,method,AVStr(req),head,AVStr(path),fc,tc,stcodep) ) ^ ( ) httpd._.c:734:11: note: use '==' to turn this assignment into an equality comparison if( leng = putLocal(Conn,vno,method,AVStr(req),head,AVStr(path),fc,tc,stcodep) ) ^ == httpd._.c:744:15: warning: '/*' within block comment [-Wcomment] /* MOUNT="/p/* http://v/* vhost=-v */ ^ httpd._.c:744:26: warning: '/*' within block comment [-Wcomment] /* MOUNT="/p/* http://v/* vhost=-v */ ^ httpd._.c:897:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( isnew = (Tmp == NULL) ){ ~~~~~~^~~~~~~~~~~~~~~ httpd._.c:897:12: note: place parentheses around the assignment to silence this warning if( isnew = (Tmp == NULL) ){ ^ ( ) httpd._.c:897:12: note: use '==' to turn this assignment into an equality comparison if( isnew = (Tmp == NULL) ){ ^ == httpd._.c:917:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( proto = Conn->my_vbase.u_proto ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:917:13: note: place parentheses around the assignment to silence this warning if( proto = Conn->my_vbase.u_proto ){ ^ ( ) httpd._.c:917:13: note: use '==' to turn this assignment into an equality comparison if( proto = Conn->my_vbase.u_proto ){ ^ == httpd._.c:944:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(url+7,'/') ) ~~~^~~~~~~~~~~~~~~~~~~ httpd._.c:944:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(url+7,'/') ) ^ ( ) httpd._.c:944:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(url+7,'/') ) ^ == httpd._.c:1228:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rpath = strstr(url,"://") ){ ~~~~~~^~~~~~~~~~~~~~~~~~~ httpd._.c:1228:12: note: place parentheses around the assignment to silence this warning if( rpath = strstr(url,"://") ){ ^ ( ) httpd._.c:1228:12: note: use '==' to turn this assignment into an equality comparison if( rpath = strstr(url,"://") ){ ^ == httpd._.c:1230:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rpath = strchr(rpath,'/') ) /* skip server part */ ~~~~~~^~~~~~~~~~~~~~~~~~~ httpd._.c:1230:13: note: place parentheses around the assignment to silence this warning if( rpath = strchr(rpath,'/') ) /* skip server part */ ^ ( ) httpd._.c:1230:13: note: use '==' to turn this assignment into an equality comparison if( rpath = strchr(rpath,'/') ) /* skip server part */ ^ == httpd._.c:1233:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rpath = strstr(url,":/") ) ~~~~~~^~~~~~~~~~~~~~~~~~ httpd._.c:1233:12: note: place parentheses around the assignment to silence this warning if( rpath = strstr(url,":/") ) ^ ( ) httpd._.c:1233:12: note: use '==' to turn this assignment into an equality comparison if( rpath = strstr(url,":/") ) ^ == httpd._.c:1382:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(kp->k_pat,'*') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:1382:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(kp->k_pat,'*') ){ ^ ( ) httpd._.c:1382:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(kp->k_pat,'*') ){ ^ == httpd._.c:1421:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strpbrk(hp,"\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~ httpd._.c:1421:11: note: place parentheses around the assignment to silence this warning if( np = strpbrk(hp,"\r\n") ){ ^ ( ) httpd._.c:1421:11: note: use '==' to turn this assignment into an equality comparison if( np = strpbrk(hp,"\r\n") ){ ^ == httpd._.c:1453:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(buf,':') ){ ~~~^~~~~~~~~~~~~~~~~ httpd._.c:1453:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(buf,':') ){ ^ ( ) httpd._.c:1453:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(buf,':') ){ ^ == httpd._.c:1512:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mo = strstr(list,ot="add-head") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:1512:9: note: place parentheses around the assignment to silence this warning if( mo = strstr(list,ot="add-head") ) ^ ( ) httpd._.c:1512:9: note: use '==' to turn this assignment into an equality comparison if( mo = strstr(list,ot="add-head") ) ^ == httpd._.c:2087:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(xpath,mode) ){ ~~~^~~~~~~~~~~~~~~~~~~ httpd._.c:2087:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(xpath,mode) ){ ^ ( ) httpd._.c:2087:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(xpath,mode) ){ ^ == httpd._.c:2146:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(path,"w") ){ ~~~^~~~~~~~~~~~~~~~~ httpd._.c:2146:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"w") ){ ^ ( ) httpd._.c:2146:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"w") ){ ^ == httpd._.c:2173:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = path; sc = *sp; sp++ ){ ~~~^~~~~ httpd._.c:2173:22: note: place parentheses around the assignment to silence this warning for( sp = path; sc = *sp; sp++ ){ ^ ( ) httpd._.c:2173:22: note: use '==' to turn this assignment into an equality comparison for( sp = path; sc = *sp; sp++ ){ ^ == httpd._.c:2181:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = ftpxhttp(Conn,path,upath,"","",BVStr(ipath),mtimep) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2181:10: note: place parentheses around the assignment to silence this warning if( fp = ftpxhttp(Conn,path,upath,"","",BVStr(ipath),mtimep) ){ ^ ( ) httpd._.c:2181:10: note: use '==' to turn this assignment into an equality comparison if( fp = ftpxhttp(Conn,path,upath,"","",BVStr(ipath),mtimep) ){ ^ == httpd._.c:2186:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ii = 0; file = indexurls[ii]; ii++ ){ ~~~~~^~~~~~~~~~~~~~~ httpd._.c:2186:20: note: place parentheses around the assignment to silence this warning for( ii = 0; file = indexurls[ii]; ii++ ){ ^ ( ) httpd._.c:2186:20: note: use '==' to turn this assignment into an equality comparison for( ii = 0; file = indexurls[ii]; ii++ ){ ^ == httpd._.c:2218:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = extfopen(ipath,"r") ) ~~~^~~~~~~~~~~~~~~~~~~~~ httpd._.c:2218:11: note: place parentheses around the assignment to silence this warning if( fp = extfopen(ipath,"r") ) ^ ( ) httpd._.c:2218:11: note: use '==' to turn this assignment into an equality comparison if( fp = extfopen(ipath,"r") ) ^ == httpd._.c:2349:17: warning: '/*' within block comment [-Wcomment] * MOUNT="/vpath/* cgi:/rpath/*" ^ httpd._.c:2349:30: warning: '/*' within block comment [-Wcomment] * MOUNT="/vpath/* cgi:/rpath/*" ^ httpd._.c:2379:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(surlb,'?') ){ ~~~^~~~~~~~~~~~~~~~~~~ httpd._.c:2379:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(surlb,'?') ){ ^ ( ) httpd._.c:2379:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(surlb,'?') ){ ^ == httpd._.c:2418:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( script_namlen = strlen(surlb) ){ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ httpd._.c:2418:20: note: place parentheses around the assignment to silence this warning if( script_namlen = strlen(surlb) ){ ^ ( ) httpd._.c:2418:20: note: use '==' to turn this assignment into an equality comparison if( script_namlen = strlen(surlb) ){ ^ == httpd._.c:2420:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(extrapath,'?') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2420:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(extrapath,'?') ) ^ ( ) httpd._.c:2420:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(extrapath,'?') ) ^ == httpd._.c:2463:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( dp = strrchr(ipath,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~ httpd._.c:2463:12: note: place parentheses around the assignment to silence this warning while( dp = strrchr(ipath,'/') ){ ^ ( ) httpd._.c:2463:12: note: use '==' to turn this assignment into an equality comparison while( dp = strrchr(ipath,'/') ){ ^ == httpd._.c:2475:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = openIndex(Conn,ipath,upath,AVStr(iexecpath),mode,mtimep) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2475:10: note: place parentheses around the assignment to silence this warning if( fp = openIndex(Conn,ipath,upath,AVStr(iexecpath),mode,mtimep) ){ ^ ( ) httpd._.c:2475:10: note: use '==' to turn this assignment into an equality comparison if( fp = openIndex(Conn,ipath,upath,AVStr(iexecpath),mode,mtimep) ){ ^ == httpd._.c:2477:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xp = strtailstr(script,expath) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2477:11: note: place parentheses around the assignment to silence this warning if( xp = strtailstr(script,expath) ) ^ ( ) httpd._.c:2477:11: note: use '==' to turn this assignment into an equality comparison if( xp = strtailstr(script,expath) ) ^ == httpd._.c:2486:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = extfopen(ipath,"r") ) ~~~^~~~~~~~~~~~~~~~~~~~~ httpd._.c:2486:10: note: place parentheses around the assignment to silence this warning if( fp = extfopen(ipath,"r") ) ^ ( ) httpd._.c:2486:10: note: use '==' to turn this assignment into an equality comparison if( fp = extfopen(ipath,"r") ) ^ == httpd._.c:2490:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xp = strtailstr(script,expath) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2490:11: note: place parentheses around the assignment to silence this warning if( xp = strtailstr(script,expath) ) ^ ( ) httpd._.c:2490:11: note: use '==' to turn this assignment into an equality comparison if( xp = strtailstr(script,expath) ) ^ == httpd._.c:2570:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strstr(OREQ_MSG,"\r\n\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2570:9: note: place parentheses around the assignment to silence this warning if( ep = strstr(OREQ_MSG,"\r\n\r\n") ){ ^ ( ) httpd._.c:2570:9: note: use '==' to turn this assignment into an equality comparison if( ep = strstr(OREQ_MSG,"\r\n\r\n") ){ ^ == httpd._.c:2573:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strstr(OREQ_MSG,"\n\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2573:9: note: place parentheses around the assignment to silence this warning if( ep = strstr(OREQ_MSG,"\n\n") ){ ^ ( ) httpd._.c:2573:9: note: use '==' to turn this assignment into an equality comparison if( ep = strstr(OREQ_MSG,"\n\n") ){ ^ == httpd._.c:2640:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strcasestr(MountOptions,"search:") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2640:10: note: place parentheses around the assignment to silence this warning if( dp = strcasestr(MountOptions,"search:") ){ ^ ( ) httpd._.c:2640:10: note: use '==' to turn this assignment into an equality comparison if( dp = strcasestr(MountOptions,"search:") ){ ^ == httpd._.c:2655:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( search = strchr(script,'?') ) ~~~~~~~^~~~~~~~~~~~~~~~~~~~ httpd._.c:2655:13: note: place parentheses around the assignment to silence this warning if( search = strchr(script,'?') ) ^ ( ) httpd._.c:2655:13: note: use '==' to turn this assignment into an equality comparison if( search = strchr(script,'?') ) ^ == httpd._.c:2676:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( search = strchr(url,'?') ){ ~~~~~~~^~~~~~~~~~~~~~~~~ httpd._.c:2676:13: note: place parentheses around the assignment to silence this warning if( search = strchr(url,'?') ){ ^ ( ) httpd._.c:2676:13: note: use '==' to turn this assignment into an equality comparison if( search = strchr(url,'?') ){ ^ == httpd._.c:2740:16: warning: '/*' within block comment [-Wcomment] * for MOUNT="/* file:Q:/*" ^ httpd._.c:2740:26: warning: '/*' within block comment [-Wcomment] * for MOUNT="/* file:Q:/*" ^ httpd._.c:2793:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = openIndex(Conn,execpath,upath,AVStr(iexecpath),S_EXEC,&mtime) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2793:11: note: place parentheses around the assignment to silence this warning if( fp = openIndex(Conn,execpath,upath,AVStr(iexecpath),S_EXEC,&mtime) ){ ^ ( ) httpd._.c:2793:11: note: use '==' to turn this assignment into an equality comparison if( fp = openIndex(Conn,execpath,upath,AVStr(iexecpath),S_EXEC,&mtime) ){ ^ == httpd._.c:2810:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( search = strchr(expath,'?') ) ~~~~~~~^~~~~~~~~~~~~~~~~~~~ httpd._.c:2810:15: note: place parentheses around the assignment to silence this warning if( search = strchr(expath,'?') ) ^ ( ) httpd._.c:2810:15: note: use '==' to turn this assignment into an equality comparison if( search = strchr(expath,'?') ) ^ == httpd._.c:2817:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = openIndex(Conn,datapath,upath,AVStr(idatapath),S_DATA,&mtime) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2817:11: note: place parentheses around the assignment to silence this warning if( fp = openIndex(Conn,datapath,upath,AVStr(idatapath),S_DATA,&mtime) ){ ^ ( ) httpd._.c:2817:11: note: use '==' to turn this assignment into an equality comparison if( fp = openIndex(Conn,datapath,upath,AVStr(idatapath),S_DATA,&mtime) ){ ^ == httpd._.c:2883:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( leng = putRobotsTxt(Conn,tc,fp,0) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:2883:11: note: place parentheses around the assignment to silence this warning if( leng = putRobotsTxt(Conn,tc,fp,0) ){ ^ ( ) httpd._.c:2883:11: note: use '==' to turn this assignment into an equality comparison if( leng = putRobotsTxt(Conn,tc,fp,0) ){ ^ == httpd._.c:2915:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = extfopen(xpath,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ httpd._.c:2915:11: note: place parentheses around the assignment to silence this warning if( fp = extfopen(xpath,"r") ){ ^ ( ) httpd._.c:2915:11: note: use '==' to turn this assignment into an equality comparison if( fp = extfopen(xpath,"r") ){ ^ == httpd._.c:3018:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strstr(path,".dhtml") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:3018:9: note: place parentheses around the assignment to silence this warning if( pp = strstr(path,".dhtml") ) ^ ( ) httpd._.c:3018:9: note: use '==' to turn this assignment into an equality comparison if( pp = strstr(path,".dhtml") ) ^ == httpd._.c:3180:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dstx = putPARTfilter(Conn,fp,tc,&size) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:3180:12: note: place parentheses around the assignment to silence this warning if( dstx = putPARTfilter(Conn,fp,tc,&size) ){ ^ ( ) httpd._.c:3180:12: note: use '==' to turn this assignment into an equality comparison if( dstx = putPARTfilter(Conn,fp,tc,&size) ){ ^ == httpd._.c:3377:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(a1,"r") ){ ~~~^~~~~~~~~~~~~~~ httpd._.c:3377:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(a1,"r") ){ ^ ( ) httpd._.c:3377:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(a1,"r") ){ ^ == httpd._.c:3610:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strchr(sp,'\n') ) ~~~^~~~~~~~~~~~~~~~~ httpd._.c:3610:11: note: place parentheses around the assignment to silence this warning if( np = strchr(sp,'\n') ) ^ ( ) httpd._.c:3610:11: note: use '==' to turn this assignment into an equality comparison if( np = strchr(sp,'\n') ) ^ == httpd._.c:3738:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pxp = strstr(url,ProxyControlMARK) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ httpd._.c:3738:10: note: place parentheses around the assignment to silence this warning if( pxp = strstr(url,ProxyControlMARK) ){ ^ ( ) httpd._.c:3738:10: note: use '==' to turn this assignment into an equality comparison if( pxp = strstr(url,ProxyControlMARK) ){ ^ == 48 warnings generated. ../mkcpp cgi.c cgi._.c -- mkcpp set time: 1712064757 -> 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] while( np = strpbrk(fp,"\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~ cgi._.c:77:12: note: place parentheses around the assignment to silence this warning while( np = strpbrk(fp,"\r\n") ){ ^ ( ) cgi._.c:77:12: note: use '==' to turn this assignment into an equality comparison while( np = strpbrk(fp,"\r\n") ){ ^ == cgi._.c:142:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; es = environ[ei]; ei++ ){ ~~~^~~~~~~~~~~~~ cgi._.c:142:18: note: place parentheses around the assignment to silence this warning for( ei = 0; es = environ[ei]; ei++ ){ ^ ( ) cgi._.c:142:18: note: use '==' to turn this assignment into an equality comparison for( ei = 0; es = environ[ei]; ei++ ){ ^ == cgi._.c:182:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( search = strchr(es,'?') ) ~~~~~~~^~~~~~~~~~~~~~~~ cgi._.c:182:13: note: place parentheses around the assignment to silence this warning if( search = strchr(es,'?') ) ^ ( ) cgi._.c:182:13: note: use '==' to turn this assignment into an equality comparison if( search = strchr(es,'?') ) ^ == cgi._.c:190:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( search = strchr(vpath,'?') ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~ cgi._.c:190:13: note: place parentheses around the assignment to silence this warning if( search = strchr(vpath,'?') ){ ^ ( ) cgi._.c:190:13: note: use '==' to turn this assignment into an equality comparison if( search = strchr(vpath,'?') ){ ^ == cgi._.c:258:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sva = gethostaddr(sv) ) ~~~~^~~~~~~~~~~~~~~~~ cgi._.c:258:11: note: place parentheses around the assignment to silence this warning if( sva = gethostaddr(sv) ) ^ ( ) cgi._.c:258:11: note: use '==' to turn this assignment into an equality comparison if( sva = gethostaddr(sv) ) ^ == cgi._.c:271:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( np = strchr(fp,'+') ){ ~~~^~~~~~~~~~~~~~~~ cgi._.c:271:14: note: place parentheses around the assignment to silence this warning while( np = strchr(fp,'+') ){ ^ ( ) cgi._.c:271:14: note: use '==' to turn this assignment into an equality comparison while( np = strchr(fp,'+') ){ ^ == cgi._.c:390:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ cgi._.c:390:10: note: place parentheses around the assignment to silence this warning if( tp = strpbrk(line,"\r\n") ) ^ ( ) cgi._.c:390:10: note: use '==' to turn this assignment into an equality comparison if( tp = strpbrk(line,"\r\n") ) ^ == cgi._.c:583:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("PATH") ) ~~~~^~~~~~~~~~~~~~~~ cgi._.c:583:10: note: place parentheses around the assignment to silence this warning if( env = getenv("PATH") ) ^ ( ) cgi._.c:583:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("PATH") ) ^ == cgi._.c:666:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cfp = fopen(execpath,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~ cgi._.c:666:10: note: place parentheses around the assignment to silence this warning if( cfp = fopen(execpath,"r") ){ ^ ( ) cgi._.c:666:10: note: use '==' to turn this assignment into an equality comparison if( cfp = fopen(execpath,"r") ){ ^ == cgi._.c:777:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strrchr(workdir,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~~~ cgi._.c:777:9: note: place parentheses around the assignment to silence this warning if( tp = strrchr(workdir,'/') ) ^ ( ) cgi._.c:777:9: note: use '==' to turn this assignment into an equality comparison if( tp = strrchr(workdir,'/') ) ^ == cgi._.c:901:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; env = environ[ei]; ei++ ) ~~~~^~~~~~~~~~~~~ cgi._.c:901:19: note: place parentheses around the assignment to silence this warning for( ei = 0; env = environ[ei]; ei++ ) ^ ( ) cgi._.c:901:19: note: use '==' to turn this assignment into an equality comparison for( ei = 0; env = environ[ei]; ei++ ) ^ == cgi._.c:1002:18: warning: '/*' within block comment [-Wcomment] set_MOUNT(Conn,"/*",mount,""); ^ cgi._.c:1038:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; env = environ[ei]; ei++ ){ ~~~~^~~~~~~~~~~~~ cgi._.c:1038:19: note: place parentheses around the assignment to silence this warning for( ei = 0; env = environ[ei]; ei++ ){ ^ ( ) cgi._.c:1038:19: note: use '==' to turn this assignment into an equality comparison for( ei = 0; env = environ[ei]; ei++ ){ ^ == cgi._.c:1071:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( type = getenv("CONTENT_TYPE") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ cgi._.c:1071:12: note: place parentheses around the assignment to silence this warning if( type = getenv("CONTENT_TYPE") ){ ^ ( ) cgi._.c:1071:12: note: use '==' to turn this assignment into an equality comparison if( type = getenv("CONTENT_TYPE") ){ ^ == cgi._.c:1075:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( leng = getenv("CONTENT_LENGTH") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cgi._.c:1075:12: note: place parentheses around the assignment to silence this warning if( leng = getenv("CONTENT_LENGTH") ){ ^ ( ) cgi._.c:1075:12: note: use '==' to turn this assignment into an equality comparison if( leng = getenv("CONTENT_LENGTH") ){ ^ == cgi._.c:1108:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = strchr(stat,' ') ){ ~~~~~~^~~~~~~~~~~~~~~~~~ cgi._.c:1108:16: note: place parentheses around the assignment to silence this warning if( rcode = strchr(stat,' ') ){ ^ ( ) cgi._.c:1108:16: note: use '==' to turn this assignment into an equality comparison if( rcode = strchr(stat,' ') ){ ^ == cgi._.c:1178:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(sp,'&') ){ ~~~^~~~~~~~~~~~~~~~ cgi._.c:1178:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(sp,'&') ){ ^ ( ) cgi._.c:1178:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(sp,'&') ){ ^ == cgi._.c:1209:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strcasestr(ctype,"boundary=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cgi._.c:1209:9: note: place parentheses around the assignment to silence this warning if( pp = strcasestr(ctype,"boundary=") ){ ^ ( ) cgi._.c:1209:9: note: use '==' to turn this assignment into an equality comparison if( pp = strcasestr(ctype,"boundary=") ){ ^ == cgi._.c:1257:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_ContDisp) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ cgi._.c:1257:14: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_ContDisp) ){ ^ ( ) cgi._.c:1257:14: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_ContDisp) ){ ^ == cgi._.c:1350:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ cgi._.c:1416:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; e1 = evp[ei]; ei++ ){ ~~~^~~~~~~~~ cgi._.c:1416:18: note: place parentheses around the assignment to silence this warning for( ei = 0; e1 = evp[ei]; ei++ ){ ^ ( ) cgi._.c:1416:18: note: use '==' to turn this assignment into an equality comparison for( ei = 0; e1 = evp[ei]; ei++ ){ ^ == cgi._.c:1458:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; e1 = ev[ei]; ei++ ){ ~~~^~~~~~~~ cgi._.c:1458:19: note: place parentheses around the assignment to silence this warning for( ei = 0; e1 = ev[ei]; ei++ ){ ^ ( ) cgi._.c:1458:19: note: use '==' to turn this assignment into an equality comparison for( ei = 0; e1 = ev[ei]; ei++ ){ ^ == cgi._.c:1468:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; e1 = ev[ei]; ei++ ){ ~~~^~~~~~~~ cgi._.c:1468:18: note: place parentheses around the assignment to silence this warning for( ei = 0; e1 = ev[ei]; ei++ ){ ^ ( ) cgi._.c:1468:18: note: use '==' to turn this assignment into an equality comparison for( ei = 0; e1 = ev[ei]; ei++ ){ ^ == cgi._.c:1475:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; e1 = environ[ei]; ei++ ){ ~~~^~~~~~~~~~~~~ cgi._.c:1475:20: note: place parentheses around the assignment to silence this warning for( ei = 0; e1 = environ[ei]; ei++ ){ ^ ( ) cgi._.c:1475:20: note: use '==' to turn this assignment into an equality comparison for( ei = 0; e1 = environ[ei]; ei++ ){ ^ == cgi._.c:1511:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; e1 = sv[ei]; ei++ ){ ~~~^~~~~~~~ cgi._.c:1511:18: note: place parentheses around the assignment to silence this warning for( ei = 0; e1 = sv[ei]; ei++ ){ ^ ( ) cgi._.c:1511:18: note: use '==' to turn this assignment into an equality comparison for( ei = 0; e1 = sv[ei]; ei++ ){ ^ == cgi._.c:1614:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(head,"\r\n\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ cgi._.c:1614:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(head,"\r\n\r\n") ) ^ ( ) cgi._.c:1614:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(head,"\r\n\r\n") ) ^ == cgi._.c:1616:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(head,"\n\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ cgi._.c:1616:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(head,"\n\n") ) ^ ( ) cgi._.c:1616:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(head,"\n\n") ) ^ == 27 warnings generated. ../mkcpp ssi.c ssi._.c -- mkcpp set time: 1712064757 -> 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] if( lp = strrchr(lpath,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~ ssi._.c:169:9: note: place parentheses around the assignment to silence this warning if( lp = strrchr(lpath,'/') ){ ^ ( ) ssi._.c:169:9: note: use '==' to turn this assignment into an equality comparison if( lp = strrchr(lpath,'/') ){ ^ == ssi._.c:190:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xp = strrchr(xdir,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~ ssi._.c:190:9: note: place parentheses around the assignment to silence this warning if( xp = strrchr(xdir,'/') ){ ^ ( ) ssi._.c:190:9: note: use '==' to turn this assignment into an equality comparison if( xp = strrchr(xdir,'/') ){ ^ == ssi._.c:268:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ap = strchr(mssg->h_url,'?') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:268:9: note: place parentheses around the assignment to silence this warning if( ap = strchr(mssg->h_url,'?') ){ ^ ( ) ssi._.c:268:9: note: use '==' to turn this assignment into an equality comparison if( ap = strchr(mssg->h_url,'?') ){ ^ == ssi._.c:297:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = fmt; fc = *fp; fp++ ){ ~~~^~~~~ ssi._.c:297:20: note: place parentheses around the assignment to silence this warning for( fp = fmt; fc = *fp; fp++ ){ ^ ( ) ssi._.c:297:20: note: use '==' to turn this assignment into an equality comparison for( fp = fmt; fc = *fp; fp++ ){ ^ == ssi._.c:488:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( tp = tag; tc = *tp; tp++ ){ ~~~^~~~~ ssi._.c:488:21: note: place parentheses around the assignment to silence this warning for( tp = tag; tc = *tp; tp++ ){ ^ ( ) ssi._.c:488:21: note: use '==' to turn this assignment into an equality comparison for( tp = tag; tc = *tp; tp++ ){ ^ == ssi._.c:523:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = getFav(arg) ){ ~~~~^~~~~~~~~~~~~ ssi._.c:523:11: note: place parentheses around the assignment to silence this warning if( val = getFav(arg) ){ ^ ( ) ssi._.c:523:11: note: use '==' to turn this assignment into an equality comparison if( val = getFav(arg) ){ ^ == ssi._.c:620:25: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] const char *ver_sendFd(); ^~ ssi._.c:620:25: note: replace parentheses with an initializer to declare a variable const char *ver_sendFd(); ^~ = NULL ssi._.c:629:31: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] const char *DELEGATE_srcsign(); ^~ ssi._.c:629:31: note: replace parentheses with an initializer to declare a variable const char *DELEGATE_srcsign(); ^~ = NULL ssi._.c:630:31: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] const char *DELEGATE_bldsign(); ^~ ssi._.c:630:31: note: replace parentheses with an initializer to declare a variable const char *DELEGATE_bldsign(); ^~ = NULL ssi._.c:631:31: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] const char *DELEGATE_exesign(); ^~ ssi._.c:631:31: note: replace parentheses with an initializer to declare a variable const char *DELEGATE_exesign(); ^~ = NULL ssi._.c:704:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( eval = getv(ev,ename) ){ ~~~~~^~~~~~~~~~~~~~~~ ssi._.c:704:11: note: place parentheses around the assignment to silence this warning if( eval = getv(ev,ename) ){ ^ ( ) ssi._.c:704:11: note: use '==' to turn this assignment into an equality comparison if( eval = getv(ev,ename) ){ ^ == ssi._.c:708:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ni = 0; sname = cgi_equiv[ni].n_ssi; ni++ ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ ssi._.c:708:22: note: place parentheses around the assignment to silence this warning for( ni = 0; sname = cgi_equiv[ni].n_ssi; ni++ ){ ^ ( ) ssi._.c:708:22: note: use '==' to turn this assignment into an equality comparison for( ni = 0; sname = cgi_equiv[ni].n_ssi; ni++ ){ ^ == ssi._.c:715:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( eval = getv(ev,cname) ) ~~~~~^~~~~~~~~~~~~~~~ ssi._.c:715:13: note: place parentheses around the assignment to silence this warning if( eval = getv(ev,cname) ) ^ ( ) ssi._.c:715:13: note: use '==' to turn this assignment into an equality comparison if( eval = getv(ev,cname) ) ^ == ssi._.c:810:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; eval = ev[ei]; ei++ ) ~~~~~^~~~~~~~ ssi._.c:810:21: note: place parentheses around the assignment to silence this warning for( ei = 0; eval = ev[ei]; ei++ ) ^ ( ) ssi._.c:810:21: note: use '==' to turn this assignment into an equality comparison for( ei = 0; eval = ev[ei]; ei++ ) ^ == ssi._.c:873:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( base = getv(ev,"SCRIPT_NAME") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:873:11: note: place parentheses around the assignment to silence this warning if( base = getv(ev,"SCRIPT_NAME") ){ ^ ( ) ssi._.c:873:11: note: use '==' to turn this assignment into an equality comparison if( base = getv(ev,"SCRIPT_NAME") ){ ^ == ssi._.c:876:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( base = getv(ev,"REQUEST_URI") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:876:11: note: place parentheses around the assignment to silence this warning if( base = getv(ev,"REQUEST_URI") ){ ^ ( ) ssi._.c:876:11: note: use '==' to turn this assignment into an equality comparison if( base = getv(ev,"REQUEST_URI") ){ ^ == ssi._.c:928:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( pp = strstr(url,pat) ){ ~~~^~~~~~~~~~~~~~~~~ ssi._.c:928:12: note: place parentheses around the assignment to silence this warning while( pp = strstr(url,pat) ){ ^ ( ) ssi._.c:928:12: note: use '==' to turn this assignment into an equality comparison while( pp = strstr(url,pat) ){ ^ == ssi._.c:929:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strchr(pp,'}') ){ ~~~^~~~~~~~~~~~~~~~ ssi._.c:929:10: note: place parentheses around the assignment to silence this warning if( ep = strchr(pp,'}') ){ ^ ( ) ssi._.c:929:10: note: use '==' to turn this assignment into an equality comparison if( ep = strchr(pp,'}') ){ ^ == ssi._.c:957:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( qurl = CTX_reqURL(ctx) ){ ~~~~~^~~~~~~~~~~~~~~~~ ssi._.c:957:11: note: place parentheses around the assignment to silence this warning if( qurl = CTX_reqURL(ctx) ){ ^ ( ) ssi._.c:957:11: note: use '==' to turn this assignment into an equality comparison if( qurl = CTX_reqURL(ctx) ){ ^ == ssi._.c:958:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( qp = getv(ev,"QUERY_STRING") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:958:10: note: place parentheses around the assignment to silence this warning if( qp = getv(ev,"QUERY_STRING") ){ ^ ( ) ssi._.c:958:10: note: use '==' to turn this assignment into an equality comparison if( qp = getv(ev,"QUERY_STRING") ){ ^ == ssi._.c:961:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( qp = strchr(qurl,'?') ){ ~~~^~~~~~~~~~~~~~~~~~ ssi._.c:961:10: note: place parentheses around the assignment to silence this warning if( qp = strchr(qurl,'?') ){ ^ ( ) ssi._.c:961:10: note: use '==' to turn this assignment into an equality comparison if( qp = strchr(qurl,'?') ){ ^ == ssi._.c:1000:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( up = strchr(url,'#') ){ ~~~^~~~~~~~~~~~~~~~~ ssi._.c:1000:9: note: place parentheses around the assignment to silence this warning if( up = strchr(url,'#') ){ ^ ( ) ssi._.c:1000:9: note: use '==' to turn this assignment into an equality comparison if( up = strchr(url,'#') ){ ^ == ssi._.c:1006:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( base = getv(ev,"SCRIPT_NAME") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:1006:12: note: place parentheses around the assignment to silence this warning if( base = getv(ev,"SCRIPT_NAME") ){ ^ ( ) ssi._.c:1006:12: note: use '==' to turn this assignment into an equality comparison if( base = getv(ev,"SCRIPT_NAME") ){ ^ == ssi._.c:1010:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( base = getv(ev,"REQUEST_URI") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:1010:12: note: place parentheses around the assignment to silence this warning if( base = getv(ev,"REQUEST_URI") ){ ^ ( ) ssi._.c:1010:12: note: use '==' to turn this assignment into an equality comparison if( base = getv(ev,"REQUEST_URI") ){ ^ == ssi._.c:1039:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(file,"r") ){ ~~~^~~~~~~~~~~~~~~~~ ssi._.c:1039:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"r") ){ ^ ( ) ssi._.c:1039:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"r") ){ ^ == ssi._.c:1331:16: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] int NoHangWait(); ^~ ssi._.c:1331:16: note: replace parentheses with an initializer to declare a variable int NoHangWait(); ^~ = 0 ssi._.c:1351:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrpbrk(nwd,"/\\") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ ssi._.c:1351:10: note: place parentheses around the assignment to silence this warning if( dp = strrpbrk(nwd,"/\\") ){ ^ ( ) ssi._.c:1351:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrpbrk(nwd,"/\\") ){ ^ == ssi._.c:1464:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cp = strcasestr(tagp,"content=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:1464:9: note: place parentheses around the assignment to silence this warning if( cp = strcasestr(tagp,"content=") ){ ^ ( ) ssi._.c:1464:9: note: use '==' to turn this assignment into an equality comparison if( cp = strcasestr(tagp,"content=") ){ ^ == ssi._.c:1477:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = fvalue; fc = *sp; sp++ ){ ~~~^~~~~ ssi._.c:1477:23: note: place parentheses around the assignment to silence this warning for( sp = fvalue; fc = *sp; sp++ ){ ^ ( ) ssi._.c:1477:23: note: use '==' to turn this assignment into an equality comparison for( sp = fvalue; fc = *sp; sp++ ){ ^ == ssi._.c:1494:8: warning: address of array 'cs' will always evaluate to 'true' [-Wpointer-bool-conversion] if( cs ){ ~~ ^~ ssi._.c:1535:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strpbrk(np,">") ) sp = ep + 1; else ~~~^~~~~~~~~~~~~~~~~ ssi._.c:1535:10: note: place parentheses around the assignment to silence this warning if( ep = strpbrk(np,">") ) sp = ep + 1; else ^ ( ) ssi._.c:1535:10: note: use '==' to turn this assignment into an equality comparison if( ep = strpbrk(np,">") ) sp = ep + 1; else ^ == ssi._.c:1536:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strpbrk(np," \t\r\n")) sp = ep + 1; else ~~~^~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:1536:10: note: place parentheses around the assignment to silence this warning if( ep = strpbrk(np," \t\r\n")) sp = ep + 1; else ^ ( ) ssi._.c:1536:10: note: use '==' to turn this assignment into an equality comparison if( ep = strpbrk(np," \t\r\n")) sp = ep + 1; else ^ == ssi._.c:1544:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cont = strcasestr(tag,"content=") ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:1544:12: note: place parentheses around the assignment to silence this warning if( cont = strcasestr(tag,"content=") ) ^ ( ) ssi._.c:1544:12: note: use '==' to turn this assignment into an equality comparison if( cont = strcasestr(tag,"content=") ) ^ == ssi._.c:1576:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = np; sc = *sp; sp++ ){ ~~~^~~~~ ssi._.c:1576:19: note: place parentheses around the assignment to silence this warning for( sp = np; sc = *sp; sp++ ){ ^ ( ) ssi._.c:1576:19: note: use '==' to turn this assignment into an equality comparison for( sp = np; sc = *sp; sp++ ){ ^ == ssi._.c:1669:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( och = CCXident(CCXtoCL(ctx)) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:1669:13: note: place parentheses around the assignment to silence this warning if( och = CCXident(CCXtoCL(ctx)) ){ ^ ( ) ssi._.c:1669:13: note: use '==' to turn this assignment into an equality comparison if( och = CCXident(CCXtoCL(ctx)) ){ ^ == ssi._.c:1689:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fav1 = getFav("$DeleGate-Control-CCX") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssi._.c:1689:12: note: place parentheses around the assignment to silence this warning if( fav1 = getFav("$DeleGate-Control-CCX") ){ ^ ( ) ssi._.c:1689:12: note: use '==' to turn this assignment into an equality comparison if( fav1 = getFav("$DeleGate-Control-CCX") ){ ^ == 36 warnings generated. ../mkcpp htaccept.c htaccept._.c -- mkcpp set time: 1712064758 -> 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] ACCEPT http://host:port/path -->> MOUNT="/path/* http://client/*" ^ htaccept._.c:66:71: warning: '/*' within block comment [-Wcomment] ACCEPT http://host:port/path -->> MOUNT="/path/* http://client/*" ^ 2 warnings generated. ../mkcpp htccx.c htccx._.c -- mkcpp set time: 1712064759 -> 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] }else{ ^ htccx._.c:198:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(path,"=+&%") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ htccx._.c:198:11: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(path,"=+&%") ) ^ ( ) htccx._.c:198:11: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(path,"=+&%") ) ^ == htccx._.c:200:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(path,'?') ) ~~~^~~~~~~~~~~~~~~~~~ htccx._.c:200:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(path,'?') ) ^ ( ) htccx._.c:200:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(path,'?') ) ^ == htccx._.c:203:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(path+1,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~ htccx._.c:203:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(path+1,'/') ){ ^ ( ) htccx._.c:203:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(path+1,'/') ){ ^ == htccx._.c:204:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strchr(dp+1,'/') ) ~~~^~~~~~~~~~~~~~~~~~ htccx._.c:204:12: note: place parentheses around the assignment to silence this warning if( np = strchr(dp+1,'/') ) ^ ( ) htccx._.c:204:12: note: use '==' to turn this assignment into an equality comparison if( np = strchr(dp+1,'/') ) ^ == htccx._.c:243:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( up = strchr(url,'?') ){ ~~~^~~~~~~~~~~~~~~~~ htccx._.c:243:9: note: place parentheses around the assignment to silence this warning if( up = strchr(url,'?') ){ ^ ( ) htccx._.c:243:9: note: use '==' to turn this assignment into an equality comparison if( up = strchr(url,'?') ){ ^ == htccx._.c:372:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(dom,'/') ) ~~~^~~~~~~~~~~~~~~~~ htccx._.c:372:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(dom,'/') ) ^ ( ) htccx._.c:372:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(dom,'/') ) ^ == htccx._.c:373:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(dp+1,'/') ) ~~~^~~~~~~~~~~~~~~~~~ htccx._.c:373:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(dp+1,'/') ) ^ ( ) htccx._.c:373:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(dp+1,'/') ) ^ == htccx._.c:414:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( icset = CCXident(gccx) ) ~~~~~~^~~~~~~~~~~~~~~~ htccx._.c:414:12: note: place parentheses around the assignment to silence this warning if( icset = CCXident(gccx) ) ^ ( ) htccx._.c:414:12: note: use '==' to turn this assignment into an equality comparison if( icset = CCXident(gccx) ) ^ == htccx._.c:489:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xcharset = HTTP_outCharset(Conn) ) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ htccx._.c:489:15: note: place parentheses around the assignment to silence this warning if( xcharset = HTTP_outCharset(Conn) ) ^ ( ) htccx._.c:489:15: note: use '==' to turn this assignment into an equality comparison if( xcharset = HTTP_outCharset(Conn) ) ^ == htccx._.c:625:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fnlen = STRH(line,F_ContType) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ htccx._.c:625:12: note: place parentheses around the assignment to silence this warning if( fnlen = STRH(line,F_ContType) ) ^ ( ) htccx._.c:625:12: note: use '==' to turn this assignment into an equality comparison if( fnlen = STRH(line,F_ContType) ) ^ == htccx._.c:627:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xcharset = CCXident(CCX_TOCL) ){ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ htccx._.c:627:16: note: place parentheses around the assignment to silence this warning if( xcharset = CCXident(CCX_TOCL) ){ ^ ( ) htccx._.c:627:16: note: use '==' to turn this assignment into an equality comparison if( xcharset = CCXident(CCX_TOCL) ){ ^ == htccx._.c:730:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp1 = strchr(url1,'?') ){ ~~~~^~~~~~~~~~~~~~~~~~ htccx._.c:730:10: note: place parentheses around the assignment to silence this warning if( sp1 = strchr(url1,'?') ){ ^ ( ) htccx._.c:730:10: note: use '==' to turn this assignment into an equality comparison if( sp1 = strchr(url1,'?') ){ ^ == htccx._.c:764:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp2 = strstr(url2,"-_-_-") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~ htccx._.c:764:11: note: place parentheses around the assignment to silence this warning if( sp2 = strstr(url2,"-_-_-") ) ^ ( ) htccx._.c:764:11: note: use '==' to turn this assignment into an equality comparison if( sp2 = strstr(url2,"-_-_-") ) ^ == htccx._.c:858:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ctp = findFieldValue(xfields,"Content-Type") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htccx._.c:858:12: note: place parentheses around the assignment to silence this warning if( ctp = findFieldValue(xfields,"Content-Type") ) ^ ( ) htccx._.c:858:12: note: use '==' to turn this assignment into an equality comparison if( ctp = findFieldValue(xfields,"Content-Type") ) ^ == htccx._.c:934:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( occ = CCXexec(ccx,"",0,AVStr(xlin),sizeof(xlin)) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htccx._.c:934:10: note: place parentheses around the assignment to silence this warning if( occ = CCXexec(ccx,"",0,AVStr(xlin),sizeof(xlin)) ){ ^ ( ) htccx._.c:934:10: note: use '==' to turn this assignment into an equality comparison if( occ = CCXexec(ccx,"",0,AVStr(xlin),sizeof(xlin)) ){ ^ == htccx._.c:984:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = erase_charset_param(AVStr(cont),AVStr(cset)) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htccx._.c:984:10: note: place parentheses around the assignment to silence this warning if( len = erase_charset_param(AVStr(cont),AVStr(cset)) ){ ^ ( ) htccx._.c:984:10: note: use '==' to turn this assignment into an equality comparison if( len = erase_charset_param(AVStr(cont),AVStr(cset)) ){ ^ == htccx._.c:1043:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen("CCXMAP",AVStr(path),"w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htccx._.c:1043:10: note: place parentheses around the assignment to silence this warning if( fp = dirfopen("CCXMAP",AVStr(path),"w") ){ ^ ( ) htccx._.c:1043:10: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen("CCXMAP",AVStr(path),"w") ){ ^ == htccx._.c:1135:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen("mlb.cnv","r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ htccx._.c:1135:10: note: place parentheses around the assignment to silence this warning if( fp = fopen("mlb.cnv","r") ){ ^ ( ) htccx._.c:1135:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen("mlb.cnv","r") ){ ^ == 19 warnings generated. ../mkcpp htswitch.c htswitch._.c -- mkcpp set time: 1712064759 -> 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] if( dp = strcasestr(cookie,label) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ htswitch._.c:157:9: note: place parentheses around the assignment to silence this warning if( dp = strcasestr(cookie,label) ){ ^ ( ) htswitch._.c:157:9: note: use '==' to turn this assignment into an equality comparison if( dp = strcasestr(cookie,label) ){ ^ == htswitch._.c:219:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(postbody,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ htswitch._.c:219:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(postbody,"\r\n") ) ^ ( ) htswitch._.c:219:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(postbody,"\r\n") ) ^ == htswitch._.c:248:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( swi = 0; sw = swv[swi]; swi++ ) ~~~^~~~~~~~~~ htswitch._.c:248:19: note: place parentheses around the assignment to silence this warning for( swi = 0; sw = swv[swi]; swi++ ) ^ ( ) htswitch._.c:248:19: note: use '==' to turn this assignment into an equality comparison for( swi = 0; sw = swv[swi]; swi++ ) ^ == htswitch._.c:254:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( swi = 1; sw = swv[swi]; swi++ ){ ~~~^~~~~~~~~~ htswitch._.c:254:19: note: place parentheses around the assignment to silence this warning for( swi = 1; sw = swv[swi]; swi++ ){ ^ ( ) htswitch._.c:254:19: note: use '==' to turn this assignment into an equality comparison for( swi = 1; sw = swv[swi]; swi++ ){ ^ == htswitch._.c:263:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( swi = 1; sw = swv[swi]; swi++ ) ~~~^~~~~~~~~~ htswitch._.c:263:19: note: place parentheses around the assignment to silence this warning for( swi = 1; sw = swv[swi]; swi++ ) ^ ( ) htswitch._.c:263:19: note: use '==' to turn this assignment into an equality comparison for( swi = 1; sw = swv[swi]; swi++ ) ^ == htswitch._.c:279:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( swi = 0; sw = swv[swi]; swi++ ){ ~~~^~~~~~~~~~ htswitch._.c:279:19: note: place parentheses around the assignment to silence this warning for( swi = 0; sw = swv[swi]; swi++ ){ ^ ( ) htswitch._.c:279:19: note: use '==' to turn this assignment into an equality comparison for( swi = 0; sw = swv[swi]; swi++ ){ ^ == htswitch._.c:290:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( swi = 1; sw = swv[swi]; swi++ ){ ~~~^~~~~~~~~~ htswitch._.c:290:19: note: place parentheses around the assignment to silence this warning for( swi = 1; sw = swv[swi]; swi++ ){ ^ ( ) htswitch._.c:290:19: note: use '==' to turn this assignment into an equality comparison for( swi = 1; sw = swv[swi]; swi++ ){ ^ == 7 warnings generated. ../mkcpp htmlgen.c htmlgen._.c -- mkcpp set time: 1712064759 -> 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] if( data = getMssgX(iurl,&rcc,date) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:361:12: note: place parentheses around the assignment to silence this warning if( data = getMssgX(iurl,&rcc,date) ){ ^ ( ) htmlgen._.c:361:12: note: use '==' to turn this assignment into an equality comparison if( data = getMssgX(iurl,&rcc,date) ){ ^ == htmlgen._.c:456:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dont_REWRITE = DONT_REWRITE ){ ~~~~~~~~~~~~~^~~~~~~~~~~~~~ htmlgen._.c:456:20: note: place parentheses around the assignment to silence this warning if( dont_REWRITE = DONT_REWRITE ){ ^ ( ) htmlgen._.c:456:20: note: use '==' to turn this assignment into an equality comparison if( dont_REWRITE = DONT_REWRITE ){ ^ == htmlgen._.c:494:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( DONT_REWRITE = dont_REWRITE ){ ~~~~~~~~~~~~~^~~~~~~~~~~~~~ htmlgen._.c:494:20: note: place parentheses around the assignment to silence this warning if( DONT_REWRITE = dont_REWRITE ){ ^ ( ) htmlgen._.c:494:20: note: use '==' to turn this assignment into an equality comparison if( DONT_REWRITE = dont_REWRITE ){ ^ == htmlgen._.c:646:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ htmlgen._.c:646:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) htmlgen._.c:646:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == htmlgen._.c:669:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ htmlgen._.c:689:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p = scanchr(itemexp,':',AVStr(name)) ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:689:8: note: place parentheses around the assignment to silence this warning if( p = scanchr(itemexp,':',AVStr(name)) ) ^ ( ) htmlgen._.c:689:8: note: use '==' to turn this assignment into an equality comparison if( p = scanchr(itemexp,':',AVStr(name)) ) ^ == htmlgen._.c:796:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(arg1,"[=") ) ~~~^~~~~~~~~~~~~~~~~~~~ htmlgen._.c:796:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(arg1,"[=") ) ^ ( ) htmlgen._.c:796:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(arg1,"[=") ) ^ == htmlgen._.c:799:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(dp+1,']') ) ~~~^~~~~~~~~~~~~~~~~~ htmlgen._.c:799:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(dp+1,']') ) ^ ( ) htmlgen._.c:799:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(dp+1,']') ) ^ == htmlgen._.c:813:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Not = strneq(item,"NOT.",4) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:813:10: note: place parentheses around the assignment to silence this warning if( Not = strneq(item,"NOT.",4) ){ ^ ( ) htmlgen._.c:813:10: note: use '==' to turn this assignment into an equality comparison if( Not = strneq(item,"NOT.",4) ){ ^ == htmlgen._.c:816:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Nil = strneq(item,"NIL.",4) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:816:10: note: place parentheses around the assignment to silence this warning if( Nil = strneq(item,"NIL.",4) ){ ^ ( ) htmlgen._.c:816:10: note: use '==' to turn this assignment into an equality comparison if( Nil = strneq(item,"NIL.",4) ){ ^ == htmlgen._.c:850:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(curl,'/') ) ~~~^~~~~~~~~~~~~~~~~~~ htmlgen._.c:850:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(curl,'/') ) ^ ( ) htmlgen._.c:850:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(curl,'/') ) ^ == htmlgen._.c:1027:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p = scanchr(condexp,'?',AVStr(conds)) ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1027:8: note: place parentheses around the assignment to silence this warning if( p = scanchr(condexp,'?',AVStr(conds)) ) ^ ( ) htmlgen._.c:1027:8: note: use '==' to turn this assignment into an equality comparison if( p = scanchr(condexp,'?',AVStr(conds)) ) ^ == htmlgen._.c:1028:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p = scanchr(p,':',AVStr(trues)) ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1028:8: note: place parentheses around the assignment to silence this warning if( p = scanchr(p,':',AVStr(trues)) ) ^ ( ) htmlgen._.c:1028:8: note: use '==' to turn this assignment into an equality comparison if( p = scanchr(p,':',AVStr(trues)) ) ^ == htmlgen._.c:1036:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p = scanchr(exp,dch,AVStr(left)) ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1036:8: note: place parentheses around the assignment to silence this warning if( p = scanchr(exp,dch,AVStr(left)) ) ^ ( ) htmlgen._.c:1036:8: note: use '==' to turn this assignment into an equality comparison if( p = scanchr(exp,dch,AVStr(left)) ) ^ == htmlgen._.c:1049:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(conds,"<=&|") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1049:9: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(conds,"<=&|") ){ ^ ( ) htmlgen._.c:1049:9: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(conds,"<=&|") ){ ^ == htmlgen._.c:1084:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = scanchr(item,'?',VStrNULL) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1084:9: note: place parentheses around the assignment to silence this warning if( dp = scanchr(item,'?',VStrNULL) ){ ^ ( ) htmlgen._.c:1084:9: note: use '==' to turn this assignment into an equality comparison if( dp = scanchr(item,'?',VStrNULL) ){ ^ == htmlgen._.c:1177:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ htmlgen._.c:1177:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) htmlgen._.c:1177:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == htmlgen._.c:1219:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = scanitem(sp+2) ){ ~~~^~~~~~~~~~~~~~~~ htmlgen._.c:1219:14: note: place parentheses around the assignment to silence this warning if( dp = scanitem(sp+2) ){ ^ ( ) htmlgen._.c:1219:14: note: use '==' to turn this assignment into an equality comparison if( dp = scanitem(sp+2) ){ ^ == htmlgen._.c:1227:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = Nvfind(sp+3) ){ ~~~^~~~~~~~~~~~~~ htmlgen._.c:1227:12: note: place parentheses around the assignment to silence this warning if( vp = Nvfind(sp+3) ){ ^ ( ) htmlgen._.c:1227:12: note: use '==' to turn this assignment into an equality comparison if( vp = Nvfind(sp+3) ){ ^ == htmlgen._.c:1276:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(ctag,'>') ){ ~~~^~~~~~~~~~~~~~~~~~ htmlgen._.c:1276:14: note: place parentheses around the assignment to silence this warning if( dp = strchr(ctag,'>') ){ ^ ( ) htmlgen._.c:1276:14: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(ctag,'>') ){ ^ == htmlgen._.c:1279:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ti = 0; tag = dhtml_tags[ti].tag; ti++ ){ ~~~~^~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1279:21: note: place parentheses around the assignment to silence this warning for( ti = 0; tag = dhtml_tags[ti].tag; ti++ ){ ^ ( ) htmlgen._.c:1279:21: note: use '==' to turn this assignment into an equality comparison for( ti = 0; tag = dhtml_tags[ti].tag; ti++ ){ ^ == htmlgen._.c:1284:7: warning: expression result unused [-Wunused-value] *arg++; ^~~~~~ htmlgen._.c:1501:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ouser = VA_getOriginatorIdent(Conn,&ident) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1501:14: note: place parentheses around the assignment to silence this warning if( ouser = VA_getOriginatorIdent(Conn,&ident) ) ^ ( ) htmlgen._.c:1501:14: note: use '==' to turn this assignment into an equality comparison if( ouser = VA_getOriginatorIdent(Conn,&ident) ) ^ == htmlgen._.c:1517:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(url,"MSIE ") ) ~~~^~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1517:11: note: place parentheses around the assignment to silence this warning if( dp = strstr(url,"MSIE ") ) ^ ( ) htmlgen._.c:1517:11: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(url,"MSIE ") ) ^ == htmlgen._.c:1520:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(url,')') ) ~~~^~~~~~~~~~~~~~~~~~ htmlgen._.c:1520:12: note: place parentheses around the assignment to silence this warning if( dp = strrchr(url,')') ) ^ ( ) htmlgen._.c:1520:12: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(url,')') ) ^ == htmlgen._.c:1683:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( up = strrchr(url,'/') ) ~~~^~~~~~~~~~~~~~~~~~ htmlgen._.c:1683:11: note: place parentheses around the assignment to silence this warning if( up = strrchr(url,'/') ) ^ ( ) htmlgen._.c:1683:11: note: use '==' to turn this assignment into an equality comparison if( up = strrchr(url,'/') ) ^ == htmlgen._.c:1834:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = Nvfind(arg) ){ ~~~^~~~~~~~~~~~~ htmlgen._.c:1834:10: note: place parentheses around the assignment to silence this warning if( vp = Nvfind(arg) ){ ^ ( ) htmlgen._.c:1834:10: note: use '==' to turn this assignment into an equality comparison if( vp = Nvfind(arg) ){ ^ == htmlgen._.c:1881:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcc = fread(script,1,sizeof(script)-1,fp) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htmlgen._.c:1881:11: note: place parentheses around the assignment to silence this warning if( rcc = fread(script,1,sizeof(script)-1,fp) ) ^ ( ) htmlgen._.c:1881:11: note: use '==' to turn this assignment into an equality comparison if( rcc = fread(script,1,sizeof(script)-1,fp) ) ^ == 28 warnings generated. ../mkcpp htfilter.c htfilter._.c -- mkcpp set time: 1712064760 -> 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] if( tp = strcasestr(tbuff,"TITLE=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:54:9: note: place parentheses around the assignment to silence this warning if( tp = strcasestr(tbuff,"TITLE=") ){ ^ ( ) htfilter._.c:54:9: note: use '==' to turn this assignment into an equality comparison if( tp = strcasestr(tbuff,"TITLE=") ){ ^ == htfilter._.c:68:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strstr(hp,"-->") ){ ~~~^~~~~~~~~~~~~~~~~~ htfilter._.c:68:10: note: place parentheses around the assignment to silence this warning if( ep = strstr(hp,"-->") ){ ^ ( ) htfilter._.c:68:10: note: use '==' to turn this assignment into an equality comparison if( ep = strstr(hp,"-->") ){ ^ == htfilter._.c:83:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strstr(hp+4,"-->") ){ ~~~^~~~~~~~~~~~~~~~~~~~ htfilter._.c:83:12: note: place parentheses around the assignment to silence this warning if( ep = strstr(hp+4,"-->") ){ ^ ( ) htfilter._.c:83:12: note: use '==' to turn this assignment into an equality comparison if( ep = strstr(hp+4,"-->") ){ ^ == htfilter._.c:145:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; sp++ ){ ~~~^~~~~ htfilter._.c:145:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; sp++ ){ ^ ( ) htfilter._.c:145:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; sp++ ){ ^ == htfilter._.c:189:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strpbrk(lp,"\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~ htfilter._.c:189:10: note: place parentheses around the assignment to silence this warning if( np = strpbrk(lp,"\r\n") ){ ^ ( ) htfilter._.c:189:10: note: use '==' to turn this assignment into an equality comparison if( np = strpbrk(lp,"\r\n") ){ ^ == htfilter._.c:230:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strcasestr(line,"") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:230:9: note: place parentheses around the assignment to silence this warning if( dp = strcasestr(line,"<TITLE>") ){ ^ ( ) htfilter._.c:230:9: note: use '==' to turn this assignment into an equality comparison if( dp = strcasestr(line,"<TITLE>") ){ ^ == htfilter._.c:235:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strcasestr(line,"<nohrefgen>") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:235:9: note: place parentheses around the assignment to silence this warning if( dp = strcasestr(line,"<nohrefgen>") ){ ^ ( ) htfilter._.c:235:9: note: use '==' to turn this assignment into an equality comparison if( dp = strcasestr(line,"<nohrefgen>") ){ ^ == htfilter._.c:251:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( tag = findTag(mp,"<META",&cm0) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:251:15: note: place parentheses around the assignment to silence this warning while( tag = findTag(mp,"<META",&cm0) ){ ^ ( ) htfilter._.c:251:15: note: use '==' to turn this assignment into an equality comparison while( tag = findTag(mp,"<META",&cm0) ){ ^ == htfilter._.c:252:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mp = strchr(tag,'>') ){ ~~~^~~~~~~~~~~~~~~~~ htfilter._.c:252:12: note: place parentheses around the assignment to silence this warning if( mp = strchr(tag,'>') ){ ^ ( ) htfilter._.c:252:12: note: use '==' to turn this assignment into an equality comparison if( mp = strchr(tag,'>') ){ ^ == htfilter._.c:266:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( stylebegin = findTag(lp,"<STYLE",&cm1) ){ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:266:18: note: place parentheses around the assignment to silence this warning if( stylebegin = findTag(lp,"<STYLE",&cm1) ){ ^ ( ) htfilter._.c:266:18: note: use '==' to turn this assignment into an equality comparison if( stylebegin = findTag(lp,"<STYLE",&cm1) ){ ^ == htfilter._.c:268:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( styleend = findTag(stylebegin,"</STYLE",&cm1) ){ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:268:18: note: place parentheses around the assignment to silence this warning if( styleend = findTag(stylebegin,"</STYLE",&cm1) ){ ^ ( ) htfilter._.c:268:18: note: use '==' to turn this assignment into an equality comparison if( styleend = findTag(stylebegin,"</STYLE",&cm1) ){ ^ == htfilter._.c:269:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( styleend = strchr(styleend,'>') ){ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:269:20: note: place parentheses around the assignment to silence this warning if( styleend = strchr(styleend,'>') ){ ^ ( ) htfilter._.c:269:20: note: use '==' to turn this assignment into an equality comparison if( styleend = strchr(styleend,'>') ){ ^ == htfilter._.c:291:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( tag = findTag(lp,"<A NAME=",&cm2) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:291:14: note: place parentheses around the assignment to silence this warning while( tag = findTag(lp,"<A NAME=",&cm2) ){ ^ ( ) htfilter._.c:291:14: note: use '==' to turn this assignment into an equality comparison while( tag = findTag(lp,"<A NAME=",&cm2) ){ ^ == htfilter._.c:309:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lp = strchr(tag,'>') ) ~~~^~~~~~~~~~~~~~~~~ htfilter._.c:309:12: note: place parentheses around the assignment to silence this warning if( lp = strchr(tag,'>') ) ^ ( ) htfilter._.c:309:12: note: use '==' to turn this assignment into an equality comparison if( lp = strchr(tag,'>') ) ^ == htfilter._.c:349:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(Pf->p_Base,'?') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:349:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(Pf->p_Base,'?') ) ^ ( ) htfilter._.c:349:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(Pf->p_Base,'?') ) ^ == htfilter._.c:351:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(Pf->p_Base,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:351:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(Pf->p_Base,'/') ) ^ ( ) htfilter._.c:351:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(Pf->p_Base,'/') ) ^ == htfilter._.c:483:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lp = strchr(lp,'>') ) ~~~^~~~~~~~~~~~~~~~ htfilter._.c:483:11: note: place parentheses around the assignment to silence this warning if( lp = strchr(lp,'>') ) ^ ( ) htfilter._.c:483:11: note: use '==' to turn this assignment into an equality comparison if( lp = strchr(lp,'>') ) ^ == htfilter._.c:489:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tag = findTag(lp,"<STYLE",&Pf->p_Incomment) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ htfilter._.c:489:12: note: place parentheses around the assignment to silence this warning if( tag = findTag(lp,"<STYLE",&Pf->p_Incomment) ){ ^ ( ) htfilter._.c:489:12: note: use '==' to turn this assignment into an equality comparison if( tag = findTag(lp,"<STYLE",&Pf->p_Incomment) ){ ^ == 18 warnings generated. ../mkcpp nntp.c nntp._.c -- mkcpp set time: 1712064761 -> 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] if( np = strpbrk(req,"\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ nntp._.c:59:11: note: place parentheses around the assignment to silence this warning if( np = strpbrk(req,"\r\n") ){ ^ ( ) nntp._.c:59:11: note: use '==' to turn this assignment into an equality comparison if( np = strpbrk(req,"\r\n") ){ ^ == nntp._.c:950:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( hi = 0; hide = nm->nm_hide[hi]; hi++ ){ ~~~~~^~~~~~~~~~~~~~~~~ nntp._.c:950:20: note: place parentheses around the assignment to silence this warning for( hi = 0; hide = nm->nm_hide[hi]; hi++ ){ ^ ( ) nntp._.c:950:20: note: use '==' to turn this assignment into an equality comparison 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] if( dp = strchr(group1,',') ) ~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:1072:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(group1,',') ) ^ ( ) nntp._.c:1072:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(group1,',') ) ^ == nntp._.c:1106:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strchr(what,'>') ) ~~~^~~~~~~~~~~~~~~~~~ nntp._.c:1106:10: note: place parentheses around the assignment to silence this warning if( tp = strchr(what,'>') ) ^ ( ) nntp._.c:1106:10: note: use '==' to turn this assignment into an equality comparison if( tp = strchr(what,'>') ) ^ == nntp._.c:1153:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( mi = 0; m1 = methods[mi].qm_name; mi++ ) ~~~^~~~~~~~~~~~~~~~~~~~~ nntp._.c:1153:18: note: place parentheses around the assignment to silence this warning for( mi = 0; m1 = methods[mi].qm_name; mi++ ) ^ ( ) nntp._.c:1153:18: note: use '==' to turn this assignment into an equality comparison 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] for( mi = 0; m1 = methods[mi].qm_name; mi++ ) ~~~^~~~~~~~~~~~~~~~~~~~~ nntp._.c:1169:18: note: place parentheses around the assignment to silence this warning for( mi = 0; m1 = methods[mi].qm_name; mi++ ) ^ ( ) nntp._.c:1169:18: note: use '==' to turn this assignment into an equality comparison 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] if( nsid = (long int)Hsearch(permitted_nsid,group,0) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:1270:11: note: place parentheses around the assignment to silence this warning if( nsid = (long int)Hsearch(permitted_nsid,group,0) ) ^ ( ) nntp._.c:1270:11: note: use '==' to turn this assignment into an equality comparison 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] if( nsid = permitted_group1(si,0,group) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:1274:12: note: place parentheses around the assignment to silence this warning if( nsid = permitted_group1(si,0,group) ){ ^ ( ) nntp._.c:1274:12: note: use '==' to turn this assignment into an equality comparison if( nsid = permitted_group1(si,0,group) ){ ^ == nntp._.c:1290:37: warning: '/*' within block comment [-Wcomment] MOUNT="LOCALNEWS.* nntp://localnews/*" ^ nntp._.c:1291:33: warning: '/*' within block comment [-Wcomment] MOUNT="= nntp://news.aist.go.jp/*" ^ nntp._.c:1309:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nm = mount_group_fromx(ns,ng) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:1309:9: note: place parentheses around the assignment to silence this warning if( nm = mount_group_fromx(ns,ng) ){ ^ ( ) nntp._.c:1309:9: note: use '==' to turn this assignment into an equality comparison if( nm = mount_group_fromx(ns,ng) ){ ^ == nntp._.c:1725:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lfp = LCfp(ns,li) ){ ~~~~^~~~~~~~~~~~~ nntp._.c:1725:10: note: place parentheses around the assignment to silence this warning if( lfp = LCfp(ns,li) ){ ^ ( ) nntp._.c:1725:10: note: use '==' to turn this assignment into an equality comparison if( lfp = LCfp(ns,li) ){ ^ == nntp._.c:1799:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lfp = dirfopen("LIST.active",ZVStr(cachepath,1024),"w+") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:1799:11: note: place parentheses around the assignment to silence this warning if( lfp = dirfopen("LIST.active",ZVStr(cachepath,1024),"w+") ) ^ ( ) nntp._.c:1799:11: note: use '==' to turn this assignment into an equality comparison 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] if( lfp = TMPFILE("nntp-LIST-private") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:1804:11: note: place parentheses around the assignment to silence this warning if( lfp = TMPFILE("nntp-LIST-private") ) ^ ( ) nntp._.c:1804:11: note: use '==' to turn this assignment into an equality comparison if( lfp = TMPFILE("nntp-LIST-private") ) ^ == nntp._.c:1826:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(ucpath,"w") ){ ~~~^~~~~~~~~~~~~~~~~~~ nntp._.c:1826:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(ucpath,"w") ){ ^ ( ) nntp._.c:1826:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(ucpath,"w") ){ ^ == nntp._.c:1851:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mtime = ns->ns_posted ){ ~~~~~~^~~~~~~~~~~~~~~ nntp._.c:1851:12: note: place parentheses around the assignment to silence this warning if( mtime = ns->ns_posted ){ ^ ( ) nntp._.c:1851:12: note: use '==' to turn this assignment into an equality comparison if( mtime = ns->ns_posted ){ ^ == nntp._.c:1860:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mtime = listMtime(ns,li,0) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:1860:12: note: place parentheses around the assignment to silence this warning if( mtime = listMtime(ns,li,0) ){ ^ ( ) nntp._.c:1860:12: note: use '==' to turn this assignment into an equality comparison if( mtime = listMtime(ns,li,0) ){ ^ == nntp._.c:1954:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mtime = LCorigmtime(ns,li) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:1954:14: note: place parentheses around the assignment to silence this warning if( mtime = LCorigmtime(ns,li) ){ ^ ( ) nntp._.c:1954:14: note: use '==' to turn this assignment into an equality comparison if( mtime = LCorigmtime(ns,li) ){ ^ == nntp._.c:2167:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cfp = dirfopen(where,AVStr(cpath),"r") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2167:11: note: place parentheses around the assignment to silence this warning if( cfp = dirfopen(where,AVStr(cpath),"r") ){ ^ ( ) nntp._.c:2167:11: note: use '==' to turn this assignment into an equality comparison if( cfp = dirfopen(where,AVStr(cpath),"r") ){ ^ == nntp._.c:2175:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cfp = dirfopen(where,AVStr(cpath),"w") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2175:11: note: place parentheses around the assignment to silence this warning if( cfp = dirfopen(where,AVStr(cpath),"w") ){ ^ ( ) nntp._.c:2175:11: note: use '==' to turn this assignment into an equality comparison if( cfp = dirfopen(where,AVStr(cpath),"w") ){ ^ == nntp._.c:2187:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cfp = dirfopen(where,AVStr(cpath),"r") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2187:11: note: place parentheses around the assignment to silence this warning if( cfp = dirfopen(where,AVStr(cpath),"r") ){ ^ ( ) nntp._.c:2187:11: note: use '==' to turn this assignment into an equality comparison if( cfp = dirfopen(where,AVStr(cpath),"r") ){ ^ == nntp._.c:2343:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( phfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2343:11: note: place parentheses around the assignment to silence this warning if( phfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ ^ ( ) nntp._.c:2343:11: note: use '==' to turn this assignment into an equality comparison if( phfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ ^ == nntp._.c:2406:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2406:12: note: place parentheses around the assignment to silence this warning if( lfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ ^ ( ) nntp._.c:2406:12: note: use '==' to turn this assignment into an equality comparison if( lfp = dirfopen("PATHHOST",AVStr(cpath),"w") ){ ^ == nntp._.c:2531:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( match1 = mount_group_from1(si,AVStr(ngs)) ) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2531:16: note: place parentheses around the assignment to silence this warning if( match1 = mount_group_from1(si,AVStr(ngs)) ) ^ ( ) nntp._.c:2531:16: note: use '==' to turn this assignment into an equality comparison 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] for(; ch = *ngs; ngs++){ ~~~^~~~~~ nntp._.c:2535:12: note: place parentheses around the assignment to silence this warning for(; ch = *ngs; ngs++){ ^ ( ) nntp._.c:2535:12: note: use '==' to turn this assignment into an equality comparison for(; ch = *ngs; ngs++){ ^ == nntp._.c:2584:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(mid,'>') ) ~~~^~~~~~~~~~~~~~~~~ nntp._.c:2584:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(mid,'>') ) ^ ( ) nntp._.c:2584:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(mid,'>') ) ^ == nntp._.c:2587:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afp = ENEWS_article(mid,group,anum) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2587:11: note: place parentheses around the assignment to silence this warning if( afp = ENEWS_article(mid,group,anum) ) ^ ( ) nntp._.c:2587:11: note: use '==' to turn this assignment into an equality comparison if( afp = ENEWS_article(mid,group,anum) ) ^ == nntp._.c:2604:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afp = ENEWS_article(NULL,group,anum) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2604:11: note: place parentheses around the assignment to silence this warning if( afp = ENEWS_article(NULL,group,anum) ) ^ ( ) nntp._.c:2604:11: note: use '==' to turn this assignment into an equality comparison if( afp = ENEWS_article(NULL,group,anum) ) ^ == nntp._.c:2695:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( xp = wordScan(xp,xref1) ){ ~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:2695:12: note: place parentheses around the assignment to silence this warning while( xp = wordScan(xp,xref1) ){ ^ ( ) nntp._.c:2695:12: note: use '==' to turn this assignment into an equality comparison while( xp = wordScan(xp,xref1) ){ ^ == nntp._.c:2745:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( dp = groups; ch = *dp; dp++ ){ ~~~^~~~~ nntp._.c:2745:24: note: place parentheses around the assignment to silence this warning for( dp = groups; ch = *dp; dp++ ){ ^ ( ) nntp._.c:2745:24: note: use '==' to turn this assignment into an equality comparison for( dp = groups; ch = *dp; dp++ ){ ^ == nntp._.c:2757:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( dp = groups; ch = *dp; dp++ ){ ~~~^~~~~ nntp._.c:2757:24: note: place parentheses around the assignment to silence this warning for( dp = groups; ch = *dp; dp++ ){ ^ ( ) nntp._.c:2757:24: note: use '==' to turn this assignment into an equality comparison for( dp = groups; ch = *dp; dp++ ){ ^ == nntp._.c:2846:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = ACL_fopen("nntp",host,port,"",0,AVStr(cpath)) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2846:9: note: place parentheses around the assignment to silence this warning if( fp = ACL_fopen("nntp",host,port,"",0,AVStr(cpath)) ){ ^ ( ) nntp._.c:2846:9: note: use '==' to turn this assignment into an equality comparison 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] 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 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 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] if( imask = MC_scanMasks(mask) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:2900:13: note: place parentheses around the assignment to silence this warning if( imask = MC_scanMasks(mask) ){ ^ ( ) nntp._.c:2900:13: note: use '==' to turn this assignment into an equality comparison if( imask = MC_scanMasks(mask) ){ ^ == nntp._.c:2911:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( imask = MC_scanMasks(mask) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:2911:13: note: place parentheses around the assignment to silence this warning if( imask = MC_scanMasks(mask) ){ ^ ( ) nntp._.c:2911:13: note: use '==' to turn this assignment into an equality comparison if( imask = MC_scanMasks(mask) ){ ^ == nntp._.c:2918:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( imask = MC_scanAnons(mask) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:2918:13: note: place parentheses around the assignment to silence this warning if( imask = MC_scanAnons(mask) ){ ^ ( ) nntp._.c:2918:13: note: use '==' to turn this assignment into an equality comparison if( imask = MC_scanAnons(mask) ){ ^ == nntp._.c:2925:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( imask = MC_scanAnons(mask) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:2925:13: note: place parentheses around the assignment to silence this warning if( imask = MC_scanAnons(mask) ){ ^ ( ) nntp._.c:2925:13: note: use '==' to turn this assignment into an equality comparison if( imask = MC_scanAnons(mask) ){ ^ == nntp._.c:2977:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ft = findFieldValue(head,"X-From-Fp") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2977:9: note: place parentheses around the assignment to silence this warning if( ft = findFieldValue(head,"X-From-Fp") ){ ^ ( ) nntp._.c:2977:9: note: use '==' to turn this assignment into an equality comparison if( ft = findFieldValue(head,"X-From-Fp") ){ ^ == nntp._.c:2984:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( imask = MC_scanMasks(mask) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:2984:14: note: place parentheses around the assignment to silence this warning if( imask = MC_scanMasks(mask) ) ^ ( ) nntp._.c:2984:14: note: use '==' to turn this assignment into an equality comparison if( imask = MC_scanMasks(mask) ) ^ == nntp._.c:2987:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ft = findFieldValue(head,"From") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:2987:11: note: place parentheses around the assignment to silence this warning if( ft = findFieldValue(head,"From") ){ ^ ( ) nntp._.c:2987:11: note: use '==' to turn this assignment into an equality comparison if( ft = findFieldValue(head,"From") ){ ^ == nntp._.c:3010:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ng = findFieldValue(head,"Newsgroups") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:3010:9: note: place parentheses around the assignment to silence this warning if( ng = findFieldValue(head,"Newsgroups") ){ ^ ( ) nntp._.c:3010:9: note: use '==' to turn this assignment into an equality comparison if( ng = findFieldValue(head,"Newsgroups") ){ ^ == nntp._.c:3024:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ft = findFieldValue(head,"Followup-To") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:3024:9: note: place parentheses around the assignment to silence this warning if( ft = findFieldValue(head,"Followup-To") ) ^ ( ) nntp._.c:3024:9: note: use '==' to turn this assignment into an equality comparison if( ft = findFieldValue(head,"Followup-To") ) ^ == nntp._.c:3050:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( xrv = findFieldValue(head,"Xref") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:3050:13: note: place parentheses around the assignment to silence this warning while( xrv = findFieldValue(head,"Xref") ){ ^ ( ) nntp._.c:3050:13: note: use '==' to turn this assignment into an equality comparison while( xrv = findFieldValue(head,"Xref") ){ ^ == nntp._.c:3062:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rp = strchr(xrv,'\r') ) ~~~^~~~~~~~~~~~~~~~~~ nntp._.c:3062:10: note: place parentheses around the assignment to silence this warning if( rp = strchr(xrv,'\r') ) ^ ( ) nntp._.c:3062:10: note: use '==' to turn this assignment into an equality comparison if( rp = strchr(xrv,'\r') ) ^ == nntp._.c:3086:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( path = findFieldValue(head,"Path") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:3086:12: note: place parentheses around the assignment to silence this warning if( path = findFieldValue(head,"Path") ){ ^ ( ) nntp._.c:3086:12: note: use '==' to turn this assignment into an equality comparison if( path = findFieldValue(head,"Path") ){ ^ == nntp._.c:3100:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ng = findFieldValue(head,"Newsgroups") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:3100:10: note: place parentheses around the assignment to silence this warning if( ng = findFieldValue(head,"Newsgroups") ){ ^ ( ) nntp._.c:3100:10: note: use '==' to turn this assignment into an equality comparison if( ng = findFieldValue(head,"Newsgroups") ){ ^ == nntp._.c:3102:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nm = mount_group_fromx(ns,ngs) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:3102:11: note: place parentheses around the assignment to silence this warning if( nm = mount_group_fromx(ns,ngs) ) ^ ( ) nntp._.c:3102:11: note: use '==' to turn this assignment into an equality comparison if( nm = mount_group_fromx(ns,ngs) ) ^ == nntp._.c:3154:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ nntp._.c:3211:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fname = ng_field(line) ){ ~~~~~~^~~~~~~~~~~~~~~~ nntp._.c:3211:16: note: place parentheses around the assignment to silence this warning if( fname = ng_field(line) ){ ^ ( ) nntp._.c:3211:16: note: use '==' to turn this assignment into an equality comparison if( fname = ng_field(line) ){ ^ == nntp._.c:3394:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 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 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 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] if( rp = QueueTop ){ ~~~^~~~~~~~~~ nntp._.c:3477:9: note: place parentheses around the assignment to silence this warning if( rp = QueueTop ){ ^ ( ) nntp._.c:3477:9: note: use '==' to turn this assignment into an equality comparison if( rp = QueueTop ){ ^ == nntp._.c:3478:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afp = rp->q_cache ){ ~~~~^~~~~~~~~~~~~ nntp._.c:3478:11: note: place parentheses around the assignment to silence this warning if( afp = rp->q_cache ){ ^ ( ) nntp._.c:3478:11: note: use '==' to turn this assignment into an equality comparison if( afp = rp->q_cache ){ ^ == nntp._.c:3576:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( postok = strstr(msg,okword) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:3576:14: note: place parentheses around the assignment to silence this warning if( postok = strstr(msg,okword) ){ ^ ( ) nntp._.c:3576:14: note: use '==' to turn this assignment into an equality comparison if( postok = strstr(msg,okword) ){ ^ == nntp._.c:4001:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afp = ENEWS_article(NULL,curGroup,anum+ai) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:4001:12: note: place parentheses around the assignment to silence this warning if( afp = ENEWS_article(NULL,curGroup,anum+ai) ){ ^ ( ) nntp._.c:4001:12: note: use '==' to turn this assignment into an equality comparison 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] if( afp = ENEWS_article(NULL,curGroup,anum-ai) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:4020:12: note: place parentheses around the assignment to silence this warning if( afp = ENEWS_article(NULL,curGroup,anum-ai) ){ ^ ( ) nntp._.c:4020:12: note: use '==' to turn this assignment into an equality comparison 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] if( afp = ENEWS_article(NULL,ns->ns_curgroup,anum) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:4042:10: note: place parentheses around the assignment to silence this warning if( afp = ENEWS_article(NULL,ns->ns_curgroup,anum) ){ ^ ( ) nntp._.c:4042:10: note: use '==' to turn this assignment into an equality comparison 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] if( rfp = servers[si].ns_rfp ) ~~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:4090:11: note: place parentheses around the assignment to silence this warning if( rfp = servers[si].ns_rfp ) ^ ( ) nntp._.c:4090:11: note: use '==' to turn this assignment into an equality comparison if( rfp = servers[si].ns_rfp ) ^ == nntp._.c:4312:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rewaddr = ns->ns_rewaddr ){ ~~~~~~~~^~~~~~~~~~~~~~~~ nntp._.c:4312:14: note: place parentheses around the assignment to silence this warning if( rewaddr = ns->ns_rewaddr ){ ^ ( ) nntp._.c:4312:14: note: use '==' to turn this assignment into an equality comparison if( rewaddr = ns->ns_rewaddr ){ ^ == nntp._.c:4357:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afp = ENEWS_article(NULL,rgroup,anum) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:4357:12: note: place parentheses around the assignment to silence this warning if( afp = ENEWS_article(NULL,rgroup,anum) ){ ^ ( ) nntp._.c:4357:12: note: use '==' to turn this assignment into an equality comparison if( afp = ENEWS_article(NULL,rgroup,anum) ){ ^ == nntp._.c:4519:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afp = cachedResponse(&rserverx) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:4519:11: note: place parentheses around the assignment to silence this warning if( afp = cachedResponse(&rserverx) ){ ^ ( ) nntp._.c:4519:11: note: use '==' to turn this assignment into an equality comparison if( afp = cachedResponse(&rserverx) ){ ^ == nntp._.c:4664:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = wordScan(ReqBuf,com) ) ~~~^~~~~~~~~~~~~~~~~~~~~~ nntp._.c:4664:10: note: place parentheses around the assignment to silence this warning if( dp = wordScan(ReqBuf,com) ) ^ ( ) nntp._.c:4664:10: note: use '==' to turn this assignment into an equality comparison if( dp = wordScan(ReqBuf,com) ) ^ == nntp._.c:4774:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ nntp._.c:5251:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( actfp = openLIST(arg,host,port) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:5251:13: note: place parentheses around the assignment to silence this warning if( actfp = openLIST(arg,host,port) ){ ^ ( ) nntp._.c:5251:13: note: use '==' to turn this assignment into an equality comparison if( actfp = openLIST(arg,host,port) ){ ^ == nntp._.c:5259:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ nntp._.c:5460:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( found = !ns->ns_isself ) ~~~~~~^~~~~~~~~~~~~~~~ nntp._.c:5460:13: note: place parentheses around the assignment to silence this warning if( found = !ns->ns_isself ) ^ ( ) nntp._.c:5460:13: note: use '==' to turn this assignment into an equality comparison if( found = !ns->ns_isself ) ^ == nntp._.c:5515:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ns = toNS(nsid) ) ~~~^~~~~~~~~~~~ nntp._.c:5515:9: note: place parentheses around the assignment to silence this warning if( ns = toNS(nsid) ) ^ ( ) nntp._.c:5515:9: note: use '==' to turn this assignment into an equality comparison if( ns = toNS(nsid) ) ^ == nntp._.c:5610:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nsid = isServer(proto,host,port) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:5610:11: note: place parentheses around the assignment to silence this warning if( nsid = isServer(proto,host,port) ){ ^ ( ) nntp._.c:5610:11: note: use '==' to turn this assignment into an equality comparison if( nsid = isServer(proto,host,port) ){ ^ == nntp._.c:5904:32: warning: '/*' within block comment [-Wcomment] * MOUNT="group.* file:/path/*" should be recursive... ^ nntp._.c:6044:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = ns->ns_wfp ){ ~~~^~~~~~~~~~~~ nntp._.c:6044:11: note: place parentheses around the assignment to silence this warning if( fp = ns->ns_wfp ){ ^ ( ) nntp._.c:6044:11: note: use '==' to turn this assignment into an equality comparison if( fp = ns->ns_wfp ){ ^ == nntp._.c:6060:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = ns->ns_rfp ) fclose(fp); ~~~^~~~~~~~~~~~ nntp._.c:6060:10: note: place parentheses around the assignment to silence this warning if( fp = ns->ns_rfp ) fclose(fp); ^ ( ) nntp._.c:6060:10: note: use '==' to turn this assignment into an equality comparison if( fp = ns->ns_rfp ) fclose(fp); ^ == nntp._.c:6061:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = ns->ns_wfp ) fclose(fp); ~~~^~~~~~~~~~~~ nntp._.c:6061:10: note: place parentheses around the assignment to silence this warning if( fp = ns->ns_wfp ) fclose(fp); ^ ( ) nntp._.c:6061:10: note: use '==' to turn this assignment into an equality comparison if( fp = ns->ns_wfp ) fclose(fp); ^ == nntp._.c:6259:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( lp = src; ch = *lp; lp++ ){ ~~~^~~~~ nntp._.c:6259:20: note: place parentheses around the assignment to silence this warning for( lp = src; ch = *lp; lp++ ){ ^ ( ) nntp._.c:6259:20: note: use '==' to turn this assignment into an equality comparison for( lp = src; ch = *lp; lp++ ){ ^ == nntp._.c:6331:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cfp = fopen(cachepath,"r+") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:6331:10: note: place parentheses around the assignment to silence this warning if( cfp = fopen(cachepath,"r+") ){ ^ ( ) nntp._.c:6331:10: note: use '==' to turn this assignment into an equality comparison if( cfp = fopen(cachepath,"r+") ){ ^ == nntp._.c:6387:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 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 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 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] if( dp = strrchr(value,' ') ) ~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:6435:11: note: place parentheses around the assignment to silence this warning if( dp = strrchr(value,' ') ) ^ ( ) nntp._.c:6435:11: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(value,' ') ) ^ == nntp._.c:6438:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( vp = value; ch = *vp; vp++ ){ ~~~^~~~~ nntp._.c:6438:23: note: place parentheses around the assignment to silence this warning for( vp = value; ch = *vp; vp++ ){ ^ ( ) nntp._.c:6438:23: note: use '==' to turn this assignment into an equality comparison for( vp = value; ch = *vp; vp++ ){ ^ == nntp._.c:6467:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 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 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 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] 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 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 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] if( afp = ENEWS_article(NULL,group,anum) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:6502:11: note: place parentheses around the assignment to silence this warning if( afp = ENEWS_article(NULL,group,anum) ) ^ ( ) nntp._.c:6502:11: note: use '==' to turn this assignment into an equality comparison if( afp = ENEWS_article(NULL,group,anum) ) ^ == nntp._.c:6506:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 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 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 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] if( fanum = matchMsgid(msgid,group,AVStr(rgroup),xover) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:6636:14: note: place parentheses around the assignment to silence this warning if( fanum = matchMsgid(msgid,group,AVStr(rgroup),xover) ) ^ ( ) nntp._.c:6636:14: note: use '==' to turn this assignment into an equality comparison 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] 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 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 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] if( afp = NNTP_openARTICLEC(nsid,expire,group,anum,AVStr(cpath)) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:6709:10: note: place parentheses around the assignment to silence this warning if( afp = NNTP_openARTICLEC(nsid,expire,group,anum,AVStr(cpath)) ) ^ ( ) nntp._.c:6709:10: note: use '==' to turn this assignment into an equality comparison if( afp = NNTP_openARTICLEC(nsid,expire,group,anum,AVStr(cpath)) ) ^ == nntp._.c:6728:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 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] if( xafp = fopen(xapath,"r") ){ ~~~~~^~~~~~~~~~~~~~~~~~~ nntp._.c:6800:11: note: place parentheses around the assignment to silence this warning if( xafp = fopen(xapath,"r") ){ ^ ( ) nntp._.c:6800:11: note: use '==' to turn this assignment into an equality comparison if( xafp = fopen(xapath,"r") ){ ^ == nntp._.c:6870:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mp = strchr(msgid,'<') ){ ~~~^~~~~~~~~~~~~~~~~~~ nntp._.c:6870:9: note: place parentheses around the assignment to silence this warning if( mp = strchr(msgid,'<') ){ ^ ( ) nntp._.c:6870:9: note: use '==' to turn this assignment into an equality comparison if( mp = strchr(msgid,'<') ){ ^ == nntp._.c:6872:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mp = strchr(msgid,'>') ) ~~~^~~~~~~~~~~~~~~~~~~ nntp._.c:6872:10: note: place parentheses around the assignment to silence this warning if( mp = strchr(msgid,'>') ) ^ ( ) nntp._.c:6872:10: note: use '==' to turn this assignment into an equality comparison if( mp = strchr(msgid,'>') ) ^ == nntp._.c:7024:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( xp = wordScan(xp,xpath1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~ nntp._.c:7024:12: note: place parentheses around the assignment to silence this warning while( xp = wordScan(xp,xpath1) ){ ^ ( ) nntp._.c:7024:12: note: use '==' to turn this assignment into an equality comparison while( xp = wordScan(xp,xpath1) ){ ^ == nntp._.c:7059:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( anum = anomidToGroup(msgid,BVStr(rgroup)) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:7059:11: note: place parentheses around the assignment to silence this warning if( anum = anomidToGroup(msgid,BVStr(rgroup)) ){ ^ ( ) nntp._.c:7059:11: note: use '==' to turn this assignment into an equality comparison if( anum = anomidToGroup(msgid,BVStr(rgroup)) ){ ^ == nntp._.c:7063:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 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 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 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] if( dp = strstr(xref,group) ) ~~~^~~~~~~~~~~~~~~~~~~~ nntp._.c:7070:11: note: place parentheses around the assignment to silence this warning if( dp = strstr(xref,group) ) ^ ( ) nntp._.c:7070:11: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(xref,group) ) ^ == nntp._.c:7076:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(xref,' ') ) ~~~^~~~~~~~~~~~~~~~~~ nntp._.c:7076:12: note: place parentheses around the assignment to silence this warning if( dp = strchr(xref,' ') ) ^ ( ) nntp._.c:7076:12: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(xref,' ') ) ^ == nntp._.c:7094:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( anum = GroupanumbyXPATH(nsid,msgid,group,AVStr(rgroup)) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:7094:11: note: place parentheses around the assignment to silence this warning if( anum = GroupanumbyXPATH(nsid,msgid,group,AVStr(rgroup)) ){ ^ ( ) nntp._.c:7094:11: note: use '==' to turn this assignment into an equality comparison 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] 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 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 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] 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 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 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] 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 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 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] if( lfp = NNTP_openLIST(nsid,expire,"NNTP_getGROUP") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:7219:10: note: place parentheses around the assignment to silence this warning if( lfp = NNTP_openLIST(nsid,expire,"NNTP_getGROUP") ){ ^ ( ) nntp._.c:7219:10: note: use '==' to turn this assignment into an equality comparison 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] if( mno = cachedmno(mid) ) ~~~~^~~~~~~~~~~~~~~~ nntp._.c:7374:10: note: place parentheses around the assignment to silence this warning if( mno = cachedmno(mid) ) ^ ( ) nntp._.c:7374:10: note: use '==' to turn this assignment into an equality comparison if( mno = cachedmno(mid) ) ^ == nntp._.c:7413:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mno = POP_findMessageid(ts,fs,arg) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:7413:12: note: place parentheses around the assignment to silence this warning if( mno = POP_findMessageid(ts,fs,arg) ){ ^ ( ) nntp._.c:7413:12: note: use '==' to turn this assignment into an equality comparison if( mno = POP_findMessageid(ts,fs,arg) ){ ^ == nntp._.c:7835:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pas = strchr(authb,':') ){ ~~~~^~~~~~~~~~~~~~~~~~~ nntp._.c:7835:11: note: place parentheses around the assignment to silence this warning if( pas = strchr(authb,':') ){ ^ ( ) nntp._.c:7835:11: note: use '==' to turn this assignment into an equality comparison if( pas = strchr(authb,':') ){ ^ == nntp._.c:7997:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( act1 = ns->ns_actcache[neg][ai] ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:7997:12: note: place parentheses around the assignment to silence this warning if( act1 = ns->ns_actcache[neg][ai] ){ ^ ( ) nntp._.c:7997:12: note: use '==' to turn this assignment into an equality comparison if( act1 = ns->ns_actcache[neg][ai] ){ ^ == nntp._.c:8168:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dfp = dirfopen("NG",AVStr(path),"r+") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:8168:10: note: place parentheses around the assignment to silence this warning if( dfp = dirfopen("NG",AVStr(path),"r+") ){ ^ ( ) nntp._.c:8168:10: note: use '==' to turn this assignment into an equality comparison if( dfp = dirfopen("NG",AVStr(path),"r+") ){ ^ == nntp._.c:8230:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rv = NX.ne_redirecting_serv[fx] ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:8230:11: note: place parentheses around the assignment to silence this warning if( rv = NX.ne_redirecting_serv[fx] ){ ^ ( ) nntp._.c:8230:11: note: use '==' to turn this assignment into an equality comparison if( rv = NX.ne_redirecting_serv[fx] ){ ^ == nntp._.c:8251:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tid = NX.ne_redirecting_tid[fx] ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:8251:12: note: place parentheses around the assignment to silence this warning if( tid = NX.ne_redirecting_tid[fx] ){ ^ ( ) nntp._.c:8251:12: note: use '==' to turn this assignment into an equality comparison if( tid = NX.ne_redirecting_tid[fx] ){ ^ == nntp._.c:8347:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( gfp = dirfopen("StatusCache",AVStr(cpath),"r") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:8347:10: note: place parentheses around the assignment to silence this warning if( gfp = dirfopen("StatusCache",AVStr(cpath),"r") ){ ^ ( ) nntp._.c:8347:10: note: use '==' to turn this assignment into an equality comparison if( gfp = dirfopen("StatusCache",AVStr(cpath),"r") ){ ^ == nntp._.c:8350:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strpbrk(sta1,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ nntp._.c:8350:10: note: place parentheses around the assignment to silence this warning if( sp = strpbrk(sta1,"\r\n") ) ^ ( ) nntp._.c:8350:10: note: use '==' to turn this assignment into an equality comparison if( sp = strpbrk(sta1,"\r\n") ) ^ == nntp._.c:8387:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( gfp = dirfopen("GROUPcache",AVStr(cpath),"w") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp._.c:8387:10: note: place parentheses around the assignment to silence this warning if( gfp = dirfopen("GROUPcache",AVStr(cpath),"w") ){ ^ ( ) nntp._.c:8387:10: note: use '==' to turn this assignment into an equality comparison if( gfp = dirfopen("GROUPcache",AVStr(cpath),"w") ){ ^ == 107 warnings generated. ../mkcpp nntplist.c nntplist._.c -- mkcpp set time: 1712064768 -> 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] for(vp = b64; ch = *vp; vp++){ ~~~^~~~~ nntplist._.c:49:19: note: place parentheses around the assignment to silence this warning for(vp = b64; ch = *vp; vp++){ ^ ( ) nntplist._.c:49:19: note: use '==' to turn this assignment into an equality comparison for(vp = b64; ch = *vp; vp++){ ^ == nntplist._.c:77:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(buf,"\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ nntplist._.c:77:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(buf,"\r\n") ){ ^ ( ) nntplist._.c:77:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(buf,"\r\n") ){ ^ == 2 warnings generated. ../mkcpp nntpgw.c nntpgw._.c -- mkcpp set time: 1712064768 -> 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] for( sp = name; ch = *sp; sp++ ){ ~~~^~~~~ nntpgw._.c:1043:21: note: place parentheses around the assignment to silence this warning for( sp = name; ch = *sp; sp++ ){ ^ ( ) nntpgw._.c:1043:21: note: use '==' to turn this assignment into an equality comparison for( sp = name; ch = *sp; sp++ ){ ^ == nntpgw._.c:1128:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( np = name; ch = *np; np++ ){ ~~~^~~~~ nntpgw._.c:1128:21: note: place parentheses around the assignment to silence this warning for( np = name; ch = *np; np++ ){ ^ ( ) nntpgw._.c:1128:21: note: use '==' to turn this assignment into an equality comparison for( np = name; ch = *np; np++ ){ ^ == nntpgw._.c:1246:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sx = 1; ch = tmp[sx]; sx++ ){ ~~~^~~~~~~~~ nntpgw._.c:1246:20: note: place parentheses around the assignment to silence this warning for( sx = 1; ch = tmp[sx]; sx++ ){ ^ ( ) nntpgw._.c:1246:20: note: use '==' to turn this assignment into an equality comparison for( sx = 1; ch = tmp[sx]; sx++ ){ ^ == nntpgw._.c:1278:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strrchr(References,'>') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:1278:9: note: place parentheses around the assignment to silence this warning if( tp = strrchr(References,'>') ){ ^ ( ) nntpgw._.c:1278:9: note: use '==' to turn this assignment into an equality comparison if( tp = strrchr(References,'>') ){ ^ == nntpgw._.c:1312:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(url,'/') ) ~~~^~~~~~~~~~~~~~~~~~ nntpgw._.c:1312:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(url,'/') ) ^ ( ) nntpgw._.c:1312:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(url,'/') ) ^ == nntpgw._.c:1353:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strchr(str,'<') ) ~~~^~~~~~~~~~~~~~~~~ nntpgw._.c:1353:9: note: place parentheses around the assignment to silence this warning if( tp = strchr(str,'<') ) ^ ( ) nntpgw._.c:1353:9: note: use '==' to turn this assignment into an equality comparison if( tp = strchr(str,'<') ) ^ == nntpgw._.c:1354:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strchr(tp,'>') ){ ~~~^~~~~~~~~~~~~~~~ nntpgw._.c:1354:9: note: place parentheses around the assignment to silence this warning if( ep = strchr(tp,'>') ){ ^ ( ) nntpgw._.c:1354:9: note: use '==' to turn this assignment into an equality comparison if( ep = strchr(tp,'>') ){ ^ == nntpgw._.c:1363:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = str; ch = *sp; ){ ~~~^~~~~ nntpgw._.c:1363:20: note: place parentheses around the assignment to silence this warning for( sp = str; ch = *sp; ){ ^ ( ) nntpgw._.c:1363:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; ch = *sp; ){ ^ == nntpgw._.c:1365:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp++; ch = *sp; sp++ ){ ~~~^~~~~ nntpgw._.c:1365:18: note: place parentheses around the assignment to silence this warning for( sp++; ch = *sp; sp++ ){ ^ ( ) nntpgw._.c:1365:18: note: use '==' to turn this assignment into an equality comparison for( sp++; ch = *sp; sp++ ){ ^ == nntpgw._.c:1400:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = istr; ch = *sp; sp++ ){ ~~~^~~~~ nntpgw._.c:1400:21: note: place parentheses around the assignment to silence this warning for( sp = istr; ch = *sp; sp++ ){ ^ ( ) nntpgw._.c:1400:21: note: use '==' to turn this assignment into an equality comparison for( sp = istr; ch = *sp; sp++ ){ ^ == nntpgw._.c:1639:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = normsubj; ch = *sp++; ) ~~~^~~~~~~ nntpgw._.c:1639:27: note: place parentheses around the assignment to silence this warning for( sp = normsubj; ch = *sp++; ) ^ ( ) nntpgw._.c:1639:27: note: use '==' to turn this assignment into an equality comparison for( sp = normsubj; ch = *sp++; ) ^ == nntpgw._.c:1657:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(prntsubj+1,']') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:1657:13: note: place parentheses around the assignment to silence this warning if( dp = strchr(prntsubj+1,']') ){ ^ ( ) nntpgw._.c:1657:13: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(prntsubj+1,']') ){ ^ == nntpgw._.c:1680:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(next,':') ){ ~~~^~~~~~~~~~~~~~~~~~ nntpgw._.c:1680:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(next,':') ){ ^ ( ) nntpgw._.c:1680:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(next,':') ){ ^ == nntpgw._.c:1736:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fa1 = getv(Fav,"digest") ){ ~~~~^~~~~~~~~~~~~~~~~~~~ nntpgw._.c:1736:10: note: place parentheses around the assignment to silence this warning if( fa1 = getv(Fav,"digest") ){ ^ ( ) nntpgw._.c:1736:10: note: use '==' to turn this assignment into an equality comparison if( fa1 = getv(Fav,"digest") ){ ^ == nntpgw._.c:1841:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(groups,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:1841:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(groups,'/') ) ^ ( ) nntpgw._.c:1841:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(groups,'/') ) ^ == nntpgw._.c:1897:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(group,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~ nntpgw._.c:1897:13: note: place parentheses around the assignment to silence this warning if( dp = strrchr(group,'/') ) ^ ( ) nntpgw._.c:1897:13: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(group,'/') ) ^ == nntpgw._.c:1941:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(group,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~ nntpgw._.c:1941:12: note: place parentheses around the assignment to silence this warning if( dp = strrchr(group,'/') ) ^ ( ) nntpgw._.c:1941:12: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(group,'/') ) ^ == nntpgw._.c:2020:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(urlrealm,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2020:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(urlrealm,'/') ) ^ ( ) nntpgw._.c:2020:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(urlrealm,'/') ) ^ == nntpgw._.c:2303:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hostp = strchr(host,'@') ) ~~~~~~^~~~~~~~~~~~~~~~~~ nntpgw._.c:2303:12: note: place parentheses around the assignment to silence this warning if( hostp = strchr(host,'@') ) ^ ( ) nntpgw._.c:2303:12: note: use '==' to turn this assignment into an equality comparison if( hostp = strchr(host,'@') ) ^ == nntpgw._.c:2339:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(UrlSelf,'?') ) ~~~^~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2339:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(UrlSelf,'?') ) ^ ( ) nntpgw._.c:2339:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(UrlSelf,'?') ) ^ == nntpgw._.c:2373:38: warning: '/*' within block comment [-Wcomment] * MOUNT="http://icon-server/icons/* /-/builtin/icons/*" ^ nntpgw._.c:2373:57: warning: '/*' within block comment [-Wcomment] * MOUNT="http://icon-server/icons/* /-/builtin/icons/*" ^ nntpgw._.c:2375:30: warning: '/*' within block comment [-Wcomment] * MOUNT="/-/builtin/icons/* http://icons-server/icons/* moved" ^ nntpgw._.c:2375:58: warning: '/*' within block comment [-Wcomment] * MOUNT="/-/builtin/icons/* http://icons-server/icons/* moved" ^ nntpgw._.c:2379:38: warning: '/*' within block comment [-Wcomment] * MOUNT="http://icon-server/icons/* builtin:/-/builtin/icons/*" ^ nntpgw._.c:2379:65: warning: '/*' within block comment [-Wcomment] * 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] if( fp = strchr(groupanum,'?') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2395:9: note: place parentheses around the assignment to silence this warning if( fp = strchr(groupanum,'?') ){ ^ ( ) nntpgw._.c:2395:9: note: use '==' to turn this assignment into an equality comparison if( fp = strchr(groupanum,'?') ){ ^ == nntpgw._.c:2507:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( totalc = putViewerControl(Conn,env,fc,tc,stcodep) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2507:15: note: place parentheses around the assignment to silence this warning if( totalc = putViewerControl(Conn,env,fc,tc,stcodep) ){ ^ ( ) nntpgw._.c:2507:15: note: use '==' to turn this assignment into an equality comparison 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] if( totalc = putViewerControl(Conn,env,fc,tc,stcodep) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2514:15: note: place parentheses around the assignment to silence this warning if( totalc = putViewerControl(Conn,env,fc,tc,stcodep) ){ ^ ( ) nntpgw._.c:2514:15: note: use '==' to turn this assignment into an equality comparison 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] if( fa1 = getv(Fav,"digest") ){ ~~~~^~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2553:10: note: place parentheses around the assignment to silence this warning if( fa1 = getv(Fav,"digest") ){ ^ ( ) nntpgw._.c:2553:10: note: use '==' to turn this assignment into an equality comparison if( fa1 = getv(Fav,"digest") ){ ^ == nntpgw._.c:2581:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(url,'/') ) ~~~^~~~~~~~~~~~~~~~~~ nntpgw._.c:2581:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(url,'/') ) ^ ( ) nntpgw._.c:2581:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(url,'/') ) ^ == nntpgw._.c:2604:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Lfp = NNTP_openLIST(Nsid,expireL,"active") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2604:11: note: place parentheses around the assignment to silence this warning if( Lfp = NNTP_openLIST(Nsid,expireL,"active") ) ^ ( ) nntpgw._.c:2604:11: note: use '==' to turn this assignment into an equality comparison if( Lfp = NNTP_openLIST(Nsid,expireL,"active") ) ^ == nntpgw._.c:2606:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( notfound = matchgroup(Lfp,Group) <= 0 ) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2606:17: note: place parentheses around the assignment to silence this warning if( notfound = matchgroup(Lfp,Group) <= 0 ) ^ ( ) nntpgw._.c:2606:17: note: use '==' to turn this assignment into an equality comparison if( notfound = matchgroup(Lfp,Group) <= 0 ) ^ == nntpgw._.c:2629:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( notfound = nart < 0 ){ /* 8.10.4 */ ~~~~~~~~~^~~~~~~~~~ nntpgw._.c:2629:16: note: place parentheses around the assignment to silence this warning if( notfound = nart < 0 ){ /* 8.10.4 */ ^ ( ) nntpgw._.c:2629:16: note: use '==' to turn this assignment into an equality comparison if( notfound = nart < 0 ){ /* 8.10.4 */ ^ == nntpgw._.c:2638:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( notfound = Max <= 0 ) ~~~~~~~~~^~~~~~~~~~ nntpgw._.c:2638:16: note: place parentheses around the assignment to silence this warning if( notfound = Max <= 0 ) ^ ( ) nntpgw._.c:2638:16: note: use '==' to turn this assignment into an equality comparison if( notfound = Max <= 0 ) ^ == nntpgw._.c:2644:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( notfound = (Anum1<Min && Anum2<Min) || (Max<Anum1 && Max<Anum2) ) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2644:16: note: place parentheses around the assignment to silence this warning if( notfound = (Anum1<Min && Anum2<Min) || (Max<Anum1 && Max<Anum2) ) ^ ( ) nntpgw._.c:2644:16: note: use '==' to turn this assignment into an equality comparison 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] if( fa1 = getv(Fav,"JumpTo") ){ ~~~~^~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2714:10: note: place parentheses around the assignment to silence this warning if( fa1 = getv(Fav,"JumpTo") ){ ^ ( ) nntpgw._.c:2714:10: note: use '==' to turn this assignment into an equality comparison if( fa1 = getv(Fav,"JumpTo") ){ ^ == nntpgw._.c:2717:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(url,'/') ){ ~~~^~~~~~~~~~~~~~~~~~ nntpgw._.c:2717:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(url,'/') ){ ^ ( ) nntpgw._.c:2717:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(url,'/') ){ ^ == nntpgw._.c:2804:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(Group,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2804:12: note: place parentheses around the assignment to silence this warning if( dp = strrchr(Group,'/') ) ^ ( ) nntpgw._.c:2804:12: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(Group,'/') ) ^ == nntpgw._.c:2948:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fa1 = getv(Fav,"Pragma") ){ ~~~~^~~~~~~~~~~~~~~~~~~~ nntpgw._.c:2948:12: note: place parentheses around the assignment to silence this warning if( fa1 = getv(Fav,"Pragma") ){ ^ ( ) nntpgw._.c:2948:12: note: use '==' to turn this assignment into an equality comparison if( fa1 = getv(Fav,"Pragma") ){ ^ == nntpgw._.c:3036:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ng = findFieldValue(head,"Newsgroups") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:3036:9: note: place parentheses around the assignment to silence this warning if( ng = findFieldValue(head,"Newsgroups") ){ ^ ( ) nntpgw._.c:3036:9: note: use '==' to turn this assignment into an equality comparison if( ng = findFieldValue(head,"Newsgroups") ){ ^ == nntpgw._.c:3087:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afp = openArt1(Conn,env) ){ ~~~~^~~~~~~~~~~~~~~~~~~~ nntpgw._.c:3087:10: note: place parentheses around the assignment to silence this warning if( afp = openArt1(Conn,env) ){ ^ ( ) nntpgw._.c:3087:10: note: use '==' to turn this assignment into an equality comparison if( afp = openArt1(Conn,env) ){ ^ == nntpgw._.c:3385:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( comment = getv(Fav,"comment") ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ nntpgw._.c:3385:15: note: place parentheses around the assignment to silence this warning if( comment = getv(Fav,"comment") ){ ^ ( ) nntpgw._.c:3385:15: note: use '==' to turn this assignment into an equality comparison if( comment = getv(Fav,"comment") ){ ^ == 43 warnings generated. ../mkcpp enews.c enews._.c -- mkcpp set time: 1712064770 -> 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] for( pp = gname; pc = *pp; pp++ ){ ~~~^~~~~ enews._.c:54:22: note: place parentheses around the assignment to silence this warning for( pp = gname; pc = *pp; pp++ ){ ^ ( ) enews._.c:54:22: note: use '==' to turn this assignment into an equality comparison for( pp = gname; pc = *pp; pp++ ){ ^ == enews._.c:123:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hfp = dirfopen("ART-HISTORY",AVStr(path),"r+") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:123:11: note: place parentheses around the assignment to silence this warning if( hfp = dirfopen("ART-HISTORY",AVStr(path),"r+") ) ^ ( ) enews._.c:123:11: note: use '==' to turn this assignment into an equality comparison 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] for( sp = group; sc = *sp; sp++ ){ ~~~^~~~~ enews._.c:143:22: note: place parentheses around the assignment to silence this warning for( sp = group; sc = *sp; sp++ ){ ^ ( ) enews._.c:143:22: note: use '==' to turn this assignment into an equality comparison for( sp = group; sc = *sp; sp++ ){ ^ == enews._.c:151:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ enews._.c:151:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"\r\n") ) ^ ( ) enews._.c:151:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"\r\n") ) ^ == enews._.c:179:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = group; sc = *sp; sp++ ){ ~~~^~~~~ enews._.c:179:22: note: place parentheses around the assignment to silence this warning for( sp = group; sc = *sp; sp++ ){ ^ ( ) enews._.c:179:22: note: use '==' to turn this assignment into an equality comparison for( sp = group; sc = *sp; sp++ ){ ^ == enews._.c:188:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ enews._.c:188:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"\r\n") ) ^ ( ) enews._.c:188:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"\r\n") ) ^ == enews._.c:192:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(line,' ') ) ~~~^~~~~~~~~~~~~~~~~~ enews._.c:192:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(line,' ') ) ^ ( ) enews._.c:192:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(line,' ') ) ^ == enews._.c:226:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( anum = anomidToGroup(msgid,AVStr(group)) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:226:11: note: place parentheses around the assignment to silence this warning if( anum = anomidToGroup(msgid,AVStr(group)) ){ ^ ( ) enews._.c:226:11: note: use '==' to turn this assignment into an equality comparison if( anum = anomidToGroup(msgid,AVStr(group)) ){ ^ == enews._.c:245:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afp = open_anomid(msgid,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:245:12: note: place parentheses around the assignment to silence this warning if( afp = open_anomid(msgid,"r") ){ ^ ( ) enews._.c:245:12: note: use '==' to turn this assignment into an equality comparison if( afp = open_anomid(msgid,"r") ){ ^ == enews._.c:262:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ enews._.c:262:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"\r\n") ) ^ ( ) enews._.c:262:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"\r\n") ) ^ == enews._.c:324:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( artfp = open_anomid(msgid,"r") ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:324:13: note: place parentheses around the assignment to silence this warning if( artfp = open_anomid(msgid,"r") ) ^ ( ) enews._.c:324:13: note: use '==' to turn this assignment into an equality comparison if( artfp = open_anomid(msgid,"r") ) ^ == enews._.c:349:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( artfmt = getartfmt(grppath,VStrNULL,VStrNULL) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:349:13: note: place parentheses around the assignment to silence this warning if( artfmt = getartfmt(grppath,VStrNULL,VStrNULL) ){ ^ ( ) enews._.c:349:13: note: use '==' to turn this assignment into an equality comparison if( artfmt = getartfmt(grppath,VStrNULL,VStrNULL) ){ ^ == enews._.c:383:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afp = fopen_article(msgid,group,anum,"r",AVStr(artpath)) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:383:10: note: place parentheses around the assignment to silence this warning if( afp = fopen_article(msgid,group,anum,"r",AVStr(artpath)) ){ ^ ( ) enews._.c:383:10: note: use '==' to turn this assignment into an equality comparison 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] if( nfp = fopen(nartpath,"w") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~ enews._.c:475:12: note: place parentheses around the assignment to silence this warning if( nfp = fopen(nartpath,"w") ){ ^ ( ) enews._.c:475:12: note: use '==' to turn this assignment into an equality comparison if( nfp = fopen(nartpath,"w") ){ ^ == enews._.c:529:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = controlMessage(AVStr(stat),afp) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:529:13: note: place parentheses around the assignment to silence this warning if( rcode = controlMessage(AVStr(stat),afp) ) ^ ( ) enews._.c:529:13: note: use '==' to turn this assignment into an equality comparison if( rcode = controlMessage(AVStr(stat),afp) ) ^ == enews._.c:625:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( artfp = fopen_article(NULL,group,anum,"r",AVStr(artpath)) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:625:12: note: place parentheses around the assignment to silence this warning if( artfp = fopen_article(NULL,group,anum,"r",AVStr(artpath)) ){ ^ ( ) enews._.c:625:12: note: use '==' to turn this assignment into an equality comparison 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] if( dp = strchr(dst,'>') ) ~~~^~~~~~~~~~~~~~~~~ enews._.c:733:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(dst,'>') ) ^ ( ) enews._.c:733:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(dst,'>') ) ^ == enews._.c:817:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afp = fopen(actpath,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~~~ enews._.c:817:10: note: place parentheses around the assignment to silence this warning if( afp = fopen(actpath,"r") ){ ^ ( ) enews._.c:817:10: note: use '==' to turn this assignment into an equality comparison if( afp = fopen(actpath,"r") ){ ^ == enews._.c:844:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 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 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 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] if( afp = dirfopen("ACTIVE-FILE1",AVStr(actpath),"w") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:845:10: note: place parentheses around the assignment to silence this warning if( afp = dirfopen("ACTIVE-FILE1",AVStr(actpath),"w") ){ ^ ( ) enews._.c:845:10: note: use '==' to turn this assignment into an equality comparison 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] if( afp = fopen_active(group,"r",NULL) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:930:10: note: place parentheses around the assignment to silence this warning if( afp = fopen_active(group,"r",NULL) ){ ^ ( ) enews._.c:930:10: note: use '==' to turn this assignment into an equality comparison if( afp = fopen_active(group,"r",NULL) ){ ^ == enews._.c:954:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afp = fopen_article(NULL,group,mean,"r",AVStr(apath)) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:954:10: note: place parentheses around the assignment to silence this warning if( afp = fopen_article(NULL,group,mean,"r",AVStr(apath)) ){ ^ ( ) enews._.c:954:10: note: use '==' to turn this assignment into an equality comparison 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] if( afp = ENEWS_article(NULL,group,mi) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:975:11: note: place parentheses around the assignment to silence this warning if( afp = ENEWS_article(NULL,group,mi) ){ ^ ( ) enews._.c:975:11: note: use '==' to turn this assignment into an equality comparison if( afp = ENEWS_article(NULL,group,mi) ){ ^ == enews._.c:1044:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ap = strchr(apath,' ') ){ ~~~^~~~~~~~~~~~~~~~~~~ enews._.c:1044:10: note: place parentheses around the assignment to silence this warning if( ap = strchr(apath,' ') ){ ^ ( ) enews._.c:1044:10: note: use '==' to turn this assignment into an equality comparison if( ap = strchr(apath,' ') ){ ^ == enews._.c:1047:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ap = strrchr(apath,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~ enews._.c:1047:10: note: place parentheses around the assignment to silence this warning if( ap = strrchr(apath,'/') ){ ^ ( ) enews._.c:1047:10: note: use '==' to turn this assignment into an equality comparison if( ap = strrchr(apath,'/') ){ ^ == enews._.c:1072:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ap = strchr(apath,':') ){ ~~~^~~~~~~~~~~~~~~~~~~ enews._.c:1072:10: note: place parentheses around the assignment to silence this warning if( ap = strchr(apath,':') ){ ^ ( ) enews._.c:1072:10: note: use '==' to turn this assignment into an equality comparison if( ap = strchr(apath,':') ){ ^ == enews._.c:1080:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ap = strchr(apath,' ') ){ ~~~^~~~~~~~~~~~~~~~~~~ enews._.c:1080:10: note: place parentheses around the assignment to silence this warning if( ap = strchr(apath,' ') ){ ^ ( ) enews._.c:1080:10: note: use '==' to turn this assignment into an equality comparison if( ap = strchr(apath,' ') ){ ^ == enews._.c:1083:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ap = strrchr(apath,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~ enews._.c:1083:10: note: place parentheses around the assignment to silence this warning if( ap = strrchr(apath,'/') ){ ^ ( ) enews._.c:1083:10: note: use '==' to turn this assignment into an equality comparison if( ap = strrchr(apath,'/') ){ ^ == enews._.c:1106:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(mid,"@-group.") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:1106:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(mid,"@-group.") ){ ^ ( ) enews._.c:1106:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(mid,"@-group.") ){ ^ == enews._.c:1115:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(mid,'@') ){ ~~~^~~~~~~~~~~~~~~~~ enews._.c:1115:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(mid,'@') ){ ^ ( ) enews._.c:1115:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(mid,'@') ){ ^ == enews._.c:1118:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(rgroup,mmSg(0)) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ enews._.c:1118:12: note: place parentheses around the assignment to silence this warning if( dp = strstr(rgroup,mmSg(0)) ) ^ ( ) enews._.c:1118:12: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(rgroup,mmSg(0)) ) ^ == 31 warnings generated. ../mkcpp pop.c pop._.c -- mkcpp set time: 1712064770 -> 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] if( pp = strstr(opts,"apop=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ pop._.c:371:9: note: place parentheses around the assignment to silence this warning if( pp = strstr(opts,"apop=") ){ ^ ( ) pop._.c:371:9: note: use '==' to turn this assignment into an equality comparison if( pp = strstr(opts,"apop=") ){ ^ == pop._.c:388:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strstr(opts,"pass=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ pop._.c:388:9: note: place parentheses around the assignment to silence this warning if( pp = strstr(opts,"pass=") ){ ^ ( ) pop._.c:388:9: note: use '==' to turn this assignment into an equality comparison if( pp = strstr(opts,"pass=") ){ ^ == pop._.c:443:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrpbrk(userhost,POP_USERHOST_DELIMITER) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop._.c:443:9: note: place parentheses around the assignment to silence this warning if( dp = strrpbrk(userhost,POP_USERHOST_DELIMITER) ) ^ ( ) pop._.c:443:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrpbrk(userhost,POP_USERHOST_DELIMITER) ) ^ == pop._.c:446:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(userhost,'@') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ pop._.c:446:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(userhost,'@') ){ ^ ( ) pop._.c:446:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(userhost,'@') ){ ^ == pop._.c:456:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrpbrk(user,POP_USERHOST_ESCDELIM) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop._.c:456:10: note: place parentheses around the assignment to silence this warning if( dp = strrpbrk(user,POP_USERHOST_ESCDELIM) ) ^ ( ) pop._.c:456:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrpbrk(user,POP_USERHOST_ESCDELIM) ) ^ == pop._.c:539:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strrchr(userb,'@') ){ ~~~^~~~~~~~~~~~~~~~~~~~ pop._.c:539:10: note: place parentheses around the assignment to silence this warning if( sp = strrchr(userb,'@') ){ ^ ( ) pop._.c:539:10: note: use '==' to turn this assignment into an equality comparison if( sp = strrchr(userb,'@') ){ ^ == pop._.c:711:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strchr(banner,'<') ) ~~~^~~~~~~~~~~~~~~~~~~~ pop._.c:711:9: note: place parentheses around the assignment to silence this warning if( sp = strchr(banner,'<') ) ^ ( ) pop._.c:711:9: note: use '==' to turn this assignment into an equality comparison if( sp = strchr(banner,'<') ) ^ == pop._.c:712:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(; ch = *sp; sp++ ){ ~~~^~~~~ pop._.c:712:11: note: place parentheses around the assignment to silence this warning for(; ch = *sp; sp++ ){ ^ ( ) pop._.c:712:11: note: use '==' to turn this assignment into an equality comparison for(; ch = *sp; sp++ ){ ^ == pop._.c:745:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(req,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ pop._.c:745:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(req,"\r\n") ) ^ ( ) pop._.c:745:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(req,"\r\n") ) ^ == pop._.c:927:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ pop._.c:990:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp++; ch = *sp; sp++ ){ ~~~^~~~~ pop._.c:990:18: note: place parentheses around the assignment to silence this warning for( sp++; ch = *sp; sp++ ){ ^ ( ) pop._.c:990:18: note: use '==' to turn this assignment into an equality comparison for( sp++; ch = *sp; sp++ ){ ^ == pop._.c:1064:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ri = 0; acom = pop_command[ri].name; ri++ ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~ pop._.c:1064:21: note: place parentheses around the assignment to silence this warning for( ri = 0; acom = pop_command[ri].name; ri++ ){ ^ ( ) pop._.c:1064:21: note: use '==' to turn this assignment into an equality comparison 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] if( dp = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ pop._.c:1177:9: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"\r\n") ) ^ ( ) pop._.c:1177:9: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"\r\n") ) ^ == 13 warnings generated. ../mkcpp smtp.c smtp._.c -- mkcpp set time: 1712064771 -> 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] if( np = strstr(rbuf,"] ") ){ /* Timestamp */ ~~~^~~~~~~~~~~~~~~~~~~ smtp._.c:369:10: note: place parentheses around the assignment to silence this warning if( np = strstr(rbuf,"] ") ){ /* Timestamp */ ^ ( ) smtp._.c:369:10: note: use '==' to turn this assignment into an equality comparison if( np = strstr(rbuf,"] ") ){ /* Timestamp */ ^ == smtp._.c:504:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(tob,'%') ) ~~~^~~~~~~~~~~~~~~~~~ smtp._.c:504:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(tob,'%') ) ^ ( ) smtp._.c:504:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(tob,'%') ) ^ == smtp._.c:505:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( op = strchr(dp,'@') ){ ~~~^~~~~~~~~~~~~~~~ smtp._.c:505:9: note: place parentheses around the assignment to silence this warning if( op = strchr(dp,'@') ){ ^ ( ) smtp._.c:505:9: note: use '==' to turn this assignment into an equality comparison if( op = strchr(dp,'@') ){ ^ == smtp._.c:581:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strchr(sp,'\n') ) ~~~^~~~~~~~~~~~~~~~~ smtp._.c:581:10: note: place parentheses around the assignment to silence this warning if( np = strchr(sp,'\n') ) ^ ( ) smtp._.c:581:10: note: use '==' to turn this assignment into an equality comparison if( np = strchr(sp,'\n') ) ^ == smtp._.c:826:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ smtp._.c:826:11: note: place parentheses around the assignment to silence this warning if( ep = strpbrk(line,"\r\n") ) ^ ( ) smtp._.c:826:11: note: use '==' to turn this assignment into an equality comparison if( ep = strpbrk(line,"\r\n") ) ^ == smtp._.c:1256:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(msg,'\n') ) ~~~^~~~~~~~~~~~~~~~~~ smtp._.c:1256:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(msg,'\n') ) ^ ( ) smtp._.c:1256:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(msg,'\n') ) ^ == smtp._.c:1326:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ smtp._.c:1594:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strpbrk(bplain,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ smtp._.c:1594:10: note: place parentheses around the assignment to silence this warning if( pp = strpbrk(bplain,"\r\n") ) ^ ( ) smtp._.c:1594:10: note: use '==' to turn this assignment into an equality comparison if( pp = strpbrk(bplain,"\r\n") ) ^ == smtp._.c:2257:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( withMX = hostIsResolvable(mx) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ smtp._.c:2257:14: note: place parentheses around the assignment to silence this warning if( withMX = hostIsResolvable(mx) ){ ^ ( ) smtp._.c:2257:14: note: use '==' to turn this assignment into an equality comparison if( withMX = hostIsResolvable(mx) ){ ^ == 9 warnings generated. ../mkcpp telnet.c telnet._.c -- mkcpp set time: 1712064772 -> 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] if( doga = ClientsDO[O_SUPAHEAD] ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ telnet._.c:347:11: note: place parentheses around the assignment to silence this warning if( doga = ClientsDO[O_SUPAHEAD] ) ^ ( ) telnet._.c:347:11: note: use '==' to turn this assignment into an equality comparison if( doga = ClientsDO[O_SUPAHEAD] ) ^ == telnet._.c:357:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( doecho = ClientsDO[O_ECHO] ) ~~~~~~~^~~~~~~~~~~~~~~~~~~ telnet._.c:357:13: note: place parentheses around the assignment to silence this warning if( doecho = ClientsDO[O_ECHO] ) ^ ( ) telnet._.c:357:13: note: use '==' to turn this assignment into an equality comparison if( doecho = ClientsDO[O_ECHO] ) ^ == telnet._.c:533:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mn = code(ch) ){ ~~~^~~~~~~~~~ telnet._.c:533:12: note: place parentheses around the assignment to silence this warning if( mn = code(ch) ){ ^ ( ) telnet._.c:533:12: note: use '==' to turn this assignment into an equality comparison if( mn = code(ch) ){ ^ == telnet._.c:844:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] addIbuf(IAC); addIbuf(com); addIbuf(what); ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' #define IAC 255 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #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] if( co = ClientsWill[op] ){ ~~~^~~~~~~~~~~~~~~~~ telnet._.c:920:9: note: place parentheses around the assignment to silence this warning if( co = ClientsWill[op] ){ ^ ( ) telnet._.c:920:9: note: use '==' to turn this assignment into an equality comparison if( co = ClientsWill[op] ){ ^ == telnet._.c:1347:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ij = 0; ch = "DISPLAY"[ij]; ij++ ){ ~~~^~~~~~~~~~~~~~~ telnet._.c:1347:19: note: place parentheses around the assignment to silence this warning for( ij = 0; ch = "DISPLAY"[ij]; ij++ ){ ^ ( ) telnet._.c:1347:19: note: use '==' to turn this assignment into an equality comparison for( ij = 0; ch = "DISPLAY"[ij]; ij++ ){ ^ == telnet._.c:1352:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ij = 0; ch = display[ij]; ij++ ){ ~~~^~~~~~~~~~~~~ telnet._.c:1352:18: note: place parentheses around the assignment to silence this warning for( ij = 0; ch = display[ij]; ij++ ){ ^ ( ) telnet._.c:1352:18: note: use '==' to turn this assignment into an equality comparison for( ij = 0; ch = display[ij]; ij++ ){ ^ == telnet._.c:1342:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] addIbuf(IAC); addIbuf(WILL); addIbuf(opt); ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' #define IAC 255 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #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] addIbuf(IAC); addIbuf(WILL); addIbuf(opt); ~~~~~~~~^~~~~ telnet._.c:135:14: note: expanded from macro 'WILL' #define WILL 251 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #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] addIbuf(IAC); addIbuf(SB); addIbuf(opt); ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' #define IAC 255 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #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] addIbuf(IAC); addIbuf(SB); addIbuf(opt); ~~~~~~~~^~~ telnet._.c:134:12: note: expanded from macro 'SB' #define SB 250 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) ~^ telnet._.c:1357:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] addIbuf(IAC); addIbuf(SE); ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' #define IAC 255 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #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] addIbuf(IAC); addIbuf(SE); ~~~~~~~~^~~ telnet._.c:129:12: note: expanded from macro 'SE' #define SE 240 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #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] if( dp = strchr(Xproxy,':') ){ ~~~^~~~~~~~~~~~~~~~~~~~ telnet._.c:1391:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(Xproxy,':') ){ ^ ( ) telnet._.c:1391:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(Xproxy,':') ){ ^ == telnet._.c:1448:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 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 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 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] if( dp = strchr(comline,':') ) ~~~^~~~~~~~~~~~~~~~~~~~~ telnet._.c:1452:12: note: place parentheses around the assignment to silence this warning if( dp = strchr(comline,':') ) ^ ( ) telnet._.c:1452:12: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(comline,':') ) ^ == telnet._.c:1565:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( iuser = getClientHostPortUser(Conn,AVStr(clnt),NULL) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet._.c:1565:13: note: place parentheses around the assignment to silence this warning if( iuser = getClientHostPortUser(Conn,AVStr(clnt),NULL) ) ^ ( ) telnet._.c:1565:13: note: use '==' to turn this assignment into an equality comparison if( iuser = getClientHostPortUser(Conn,AVStr(clnt),NULL) ) ^ == telnet._.c:1766:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ telnet._.c:1766:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"\r\n") ) ^ ( ) telnet._.c:1766:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"\r\n") ) ^ == telnet._.c:1780:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ telnet._.c:1780:11: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"\r\n") ) ^ ( ) telnet._.c:1780:11: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"\r\n") ) ^ == telnet._.c:1716:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] addIbuf(IAC); addIbuf(WONT); addIbuf(O_ECHO); ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' #define IAC 255 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #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] addIbuf(IAC); addIbuf(WONT); addIbuf(O_ECHO); ~~~~~~~~^~~~~ telnet._.c:136:14: note: expanded from macro 'WONT' #define WONT 252 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #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] addIbuf(IAC); addIbuf(DO); addIbuf(O_ECHO); ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' #define IAC 255 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #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] addIbuf(IAC); addIbuf(DO); addIbuf(O_ECHO); ~~~~~~~~^~~ telnet._.c:137:12: note: expanded from macro 'DO' #define DO 253 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #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] addIbuf(IAC); addIbuf(WILL); addIbuf(O_ECHO); ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' #define IAC 255 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #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] addIbuf(IAC); addIbuf(WILL); addIbuf(O_ECHO); ~~~~~~~~^~~~~ telnet._.c:135:14: note: expanded from macro 'WILL' #define WILL 251 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #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] addIbuf(IAC); addIbuf(DONT); addIbuf(O_ECHO); ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' #define IAC 255 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #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] addIbuf(IAC); addIbuf(DONT); addIbuf(O_ECHO); ~~~~~~~~^~~~~ telnet._.c:138:14: note: expanded from macro 'DONT' #define DONT 254 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #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] addIbuf(IAC); addIbuf(WONT); addIbuf(O_ECHO); ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' #define IAC 255 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #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] addIbuf(IAC); addIbuf(WONT); addIbuf(O_ECHO); ~~~~~~~~^~~~~ telnet._.c:136:14: note: expanded from macro 'WONT' #define WONT 252 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #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] addIbuf(IAC); addIbuf(DO); addIbuf(O_ECHO); ~~~~~~~~^~~~ telnet._.c:139:13: note: expanded from macro 'IAC' #define IAC 255 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #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] addIbuf(IAC); addIbuf(DO); addIbuf(O_ECHO); ~~~~~~~~^~~ telnet._.c:137:12: note: expanded from macro 'DO' #define DO 253 ^~~ telnet._.c:838:43: note: expanded from macro 'addIbuf' #define addIbuf(v) setVStrElemInc(ibuf,ii,v) ~~~~~~~~~~~~~~~~~~~~~~~^~ ../include/ystring.h:186:63: note: expanded from macro 'setVStrElemInc' #define setVStrElemInc(p,x,v) (rangeOK(p,x))?(((char*)p)[x++]=v):XsetVStrEnd(AVStr(p),x) ~^ telnet._.c:2235:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(res,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ telnet._.c:2235:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(res,"\r\n") ) ^ ( ) telnet._.c:2235:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(res,"\r\n") ) ^ == 32 warnings generated. ../mkcpp ftp.c ftp._.c -- mkcpp set time: 1712064773 -> 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] if( confv = parameq(conf,P_FTPCONF) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:600:14: note: place parentheses around the assignment to silence this warning if( confv = parameq(conf,P_FTPCONF) ){ ^ ( ) ftp._.c:600:14: note: use '==' to turn this assignment into an equality comparison if( confv = parameq(conf,P_FTPCONF) ){ ^ == ftp._.c:807:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xp = strrpbrk(arg,FCF.fc_usdelim) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:807:9: note: place parentheses around the assignment to silence this warning if( xp = strrpbrk(arg,FCF.fc_usdelim) ){ ^ ( ) ftp._.c:807:9: note: use '==' to turn this assignment into an equality comparison if( xp = strrpbrk(arg,FCF.fc_usdelim) ){ ^ == ftp._.c:817:13: warning: '/*' within block comment [-Wcomment] * MOUNT="/* ftp://server/*" ^ ftp._.c:817:28: warning: '/*' within block comment [-Wcomment] * MOUNT="/* ftp://server/*" ^ ftp._.c:941:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(serv,'/') ) ~~~^~~~~~~~~~~~~~~~~~ ftp._.c:941:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(serv,'/') ) ^ ( ) ftp._.c:941:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(serv,'/') ) ^ == ftp._.c:943:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(server,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~ ftp._.c:943:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(server,'/') ){ ^ ( ) ftp._.c:943:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(server,'/') ){ ^ == ftp._.c:953:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xp = strrchr(serv,':') ){ ~~~^~~~~~~~~~~~~~~~~~~ ftp._.c:953:9: note: place parentheses around the assignment to silence this warning if( xp = strrchr(serv,':') ){ ^ ( ) ftp._.c:953:9: note: use '==' to turn this assignment into an equality comparison if( xp = strrchr(serv,':') ){ ^ == ftp._.c:1072:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( np = sp; ch = *np; np++ ){ ~~~^~~~~ ftp._.c:1072:20: note: place parentheses around the assignment to silence this warning for( np = sp; ch = *np; np++ ){ ^ ( ) ftp._.c:1072:20: note: use '==' to turn this assignment into an equality comparison for( np = sp; ch = *np; np++ ){ ^ == ftp._.c:1109:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strchr(sp,'\n') ) ~~~^~~~~~~~~~~~~~~~~ ftp._.c:1109:10: note: place parentheses around the assignment to silence this warning if( np = strchr(sp,'\n') ) ^ ( ) ftp._.c:1109:10: note: use '==' to turn this assignment into an equality comparison if( np = strchr(sp,'\n') ) ^ == ftp._.c:1133:32: warning: '/*' within block comment [-Wcomment] * in case such as MOUNT="/xxx/* /*" with CWD="/" ^ ftp._.c:1133:35: warning: '/*' within block comment [-Wcomment] * 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] if( tp = strrchr(npath,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~ ftp._.c:1190:9: note: place parentheses around the assignment to silence this warning if( tp = strrchr(npath,'/') ) ^ ( ) ftp._.c:1190:9: note: use '==' to turn this assignment into an equality comparison if( tp = strrchr(npath,'/') ) ^ == ftp._.c:1222:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 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 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 if( opts = CTX_mount_url_to(FS->fs_Conn,NULL,method,AVStr(vurl)) ){ ^ == ftp._.c:1254:20: warning: '/*' within block comment [-Wcomment] * by MOUNT="/X/* /dir/*" ^ ftp._.c:1254:27: warning: '/*' within block comment [-Wcomment] * by MOUNT="/X/* /dir/*" ^ ftp._.c:1291:17: warning: '/*' within block comment [-Wcomment] * MOUNT="/d1/* ..." (1) ^ ftp._.c:1292:20: warning: '/*' within block comment [-Wcomment] * MOUNT="/d1/d2/* ..." (2) ^ ftp._.c:1300:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 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 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 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] 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 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 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] 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 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 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] if( vopt = strchr(xfopt,'v') ){ /* -v for test */ ~~~~~^~~~~~~~~~~~~~~~~~~ ftp._.c:1641:12: note: place parentheses around the assignment to silence this warning if( vopt = strchr(xfopt,'v') ){ /* -v for test */ ^ ( ) ftp._.c:1641:12: note: use '==' to turn this assignment into an equality comparison 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] for( sp = str; sc = *sp; sp++ ){ ~~~^~~~~ ftp._.c:1687:20: note: place parentheses around the assignment to silence this warning for( sp = str; sc = *sp; sp++ ){ ^ ( ) ftp._.c:1687:20: note: use '==' to turn this assignment into an equality comparison for( sp = str; sc = *sp; sp++ ){ ^ == ftp._.c:1757:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = URLget(url,0,NULL) ) ~~~^~~~~~~~~~~~~~~~~~~~ ftp._.c:1757:10: note: place parentheses around the assignment to silence this warning if( fp = URLget(url,0,NULL) ) ^ ( ) ftp._.c:1757:10: note: use '==' to turn this assignment into an equality comparison if( fp = URLget(url,0,NULL) ) ^ == ftp._.c:1875:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 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 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 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] 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 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 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] if( lp = strrchr(line,';') ) ~~~^~~~~~~~~~~~~~~~~~~ ftp._.c:2173:9: note: place parentheses around the assignment to silence this warning if( lp = strrchr(line,';') ) ^ ( ) ftp._.c:2173:9: note: use '==' to turn this assignment into an equality comparison if( lp = strrchr(line,';') ) ^ == ftp._.c:2189:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rp = wordscanY(rp,AVStr(line),sizeof(line),"^\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:2189:10: note: place parentheses around the assignment to silence this warning if( rp = wordscanY(rp,AVStr(line),sizeof(line),"^\n") ){ ^ ( ) ftp._.c:2189:10: note: use '==' to turn this assignment into an equality comparison 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] if( fp = localLIST(FS,tc,com,arg,AVStr(path)) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:2446:10: note: place parentheses around the assignment to silence this warning if( fp = localLIST(FS,tc,com,arg,AVStr(path)) ){ ^ ( ) ftp._.c:2446:10: note: use '==' to turn this assignment into an equality comparison 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] if( fp = localRETR(FS,tc,com,arg,AVStr(path)) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:2462:10: note: place parentheses around the assignment to silence this warning if( fp = localRETR(FS,tc,com,arg,AVStr(path)) ){ ^ ( ) ftp._.c:2462:10: note: use '==' to turn this assignment into an equality comparison 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] if( dp = strchr(mdir+2,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~ ftp._.c:2528:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(mdir+2,'/') ) ^ ( ) ftp._.c:2528:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(mdir+2,'/') ) ^ == ftp._.c:2729:25: warning: '/*' within block comment [-Wcomment] /* 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] if( host = strchr(user,'@') ){ ~~~~~^~~~~~~~~~~~~~~~~~ ftp._.c:2827:12: note: place parentheses around the assignment to silence this warning if( host = strchr(user,'@') ){ ^ ( ) ftp._.c:2827:12: note: use '==' to turn this assignment into an equality comparison if( host = strchr(user,'@') ){ ^ == ftp._.c:2862:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strtailstr(me,":21") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ ftp._.c:2862:11: note: place parentheses around the assignment to silence this warning if( dp = strtailstr(me,":21") ) ^ ( ) ftp._.c:2862:11: note: use '==' to turn this assignment into an equality comparison if( dp = strtailstr(me,":21") ) ^ == ftp._.c:3175:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(pxuser,"//") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ ftp._.c:3175:12: note: place parentheses around the assignment to silence this warning if( dp = strstr(pxuser,"//") ){ ^ ( ) ftp._.c:3175:12: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(pxuser,"//") ){ ^ == ftp._.c:3178:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(FS->fs_USER,'@') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:3178:13: note: place parentheses around the assignment to silence this warning if( dp = strchr(FS->fs_USER,'@') ){ ^ ( ) ftp._.c:3178:13: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(FS->fs_USER,'@') ){ ^ == ftp._.c:3238:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ftp._.c:3265:25: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] int nondefaultMounted(); ^~ ftp._.c:3265:25: note: replace parentheses with an initializer to declare a variable int nondefaultMounted(); ^~ = 0 ftp._.c:3516:36: warning: '/*' within block comment [-Wcomment] CWD "/x" + CWD "y" for MOUNT="/x/y/* ftp://server/*" ^ ftp._.c:3516:51: warning: '/*' within block comment [-Wcomment] 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] for( sp = snum; sc = *sp; sp++ ){ ~~~^~~~~ ftp._.c:3879:21: note: place parentheses around the assignment to silence this warning for( sp = snum; sc = *sp; sp++ ){ ^ ( ) ftp._.c:3879:21: note: use '==' to turn this assignment into an equality comparison for( sp = snum; sc = *sp; sp++ ){ ^ == ftp._.c:3888:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ; sc = *sp; sp++ ){ ~~~^~~~~ ftp._.c:3888:12: note: place parentheses around the assignment to silence this warning for( ; sc = *sp; sp++ ){ ^ ( ) ftp._.c:3888:12: note: use '==' to turn this assignment into an equality comparison for( ; sc = *sp; sp++ ){ ^ == ftp._.c:3943:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(xpath,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~ ftp._.c:3943:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(xpath,'/') ){ ^ ( ) ftp._.c:3943:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(xpath,'/') ){ ^ == ftp._.c:4501:10: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 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] 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] qb[0] = 255; ~ ^~~ ftp._.c:4515:10: warning: implicit conversion from 'int' to 'char' changes value from 242 to -14 [-Wconstant-conversion] qb[0] = 242; /* SYNC */ ~ ^~~ ftp._.c:4754:13: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] int CCXsize(); ^~ ftp._.c:4754:13: note: replace parentheses with an initializer to declare a variable int CCXsize(); ^~ = 0 ftp._.c:4764:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fromcache = file_isreg(src) ){ ~~~~~~~~~~^~~~~~~~~~~~~~~~~ ftp._.c:4764:16: note: place parentheses around the assignment to silence this warning if( fromcache = file_isreg(src) ){ ^ ( ) ftp._.c:4764:16: note: use '==' to turn this assignment into an equality comparison if( fromcache = file_isreg(src) ){ ^ == ftp._.c:5212:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(path,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~ ftp._.c:5212:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(path,'/') ){ ^ ( ) ftp._.c:5212:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(path,'/') ){ ^ == ftp._.c:5441:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(resp," bytes)") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:5441:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(resp," bytes)") ){ ^ ( ) ftp._.c:5441:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(resp," bytes)") ){ ^ == ftp._.c:5651:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(FS->fs_auser,'@') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:5651:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(FS->fs_auser,'@') ) ^ ( ) ftp._.c:5651:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(FS->fs_auser,'@') ) ^ == ftp._.c:5680:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( FS->fs_anonymous = is_anonymous(user) ) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ftp._.c:5680:23: note: place parentheses around the assignment to silence this warning if( FS->fs_anonymous = is_anonymous(user) ) ^ ( ) ftp._.c:5680:23: note: use '==' to turn this assignment into an equality comparison if( FS->fs_anonymous = is_anonymous(user) ) ^ == ftp._.c:5716:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( what = strrchr(path,'/') ) ~~~~~^~~~~~~~~~~~~~~~~~~ ftp._.c:5716:12: note: place parentheses around the assignment to silence this warning if( what = strrchr(path,'/') ) ^ ( ) ftp._.c:5716:12: note: use '==' to turn this assignment into an equality comparison if( what = strrchr(path,'/') ) ^ == ftp._.c:5754:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(tmp,'/') ){ ~~~^~~~~~~~~~~~~~~~~~ ftp._.c:5754:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(tmp,'/') ){ ^ ( ) ftp._.c:5754:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(tmp,'/') ){ ^ == ftp._.c:5812:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cfp = localLIST(FS,tc,com,arg,AVStr(path)) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:5812:10: note: place parentheses around the assignment to silence this warning if( cfp = localLIST(FS,tc,com,arg,AVStr(path)) ){ ^ ( ) ftp._.c:5812:10: note: use '==' to turn this assignment into an equality comparison 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] if( cfp = localRETR(FS,tc,com,arg,AVStr(path)) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:5818:10: note: place parentheses around the assignment to silence this warning if( cfp = localRETR(FS,tc,com,arg,AVStr(path)) ){ ^ ( ) ftp._.c:5818:10: note: use '==' to turn this assignment into an equality comparison if( cfp = localRETR(FS,tc,com,arg,AVStr(path)) ){ ^ == ftp._.c:6029:4: warning: '/*' within block comment [-Wcomment] /* accept() may cause blocking ther port number */ ^ ftp._.c:6034:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ ftp._.c:6050:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ ftp._.c:6623:43: warning: '/*' within block comment [-Wcomment] if( streq(prevurl,"ftp://") ){ /* MOUNT="/* ftp://*" */ ^ ftp._.c:6623:51: warning: '/*' within block comment [-Wcomment] if( streq(prevurl,"ftp://") ){ /* MOUNT="/* ftp://*" */ ^ ftp._.c:7103:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(resp,"\n331") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ ftp._.c:7103:10: note: place parentheses around the assignment to silence this warning if( dp = strstr(resp,"\n331") ) ^ ( ) ftp._.c:7103:10: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(resp,"\n331") ) ^ == ftp._.c:7107:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(resp,"\n230") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ ftp._.c:7107:11: note: place parentheses around the assignment to silence this warning if( dp = strstr(resp,"\n230") ) ^ ( ) ftp._.c:7107:11: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(resp,"\n230") ) ^ == ftp._.c:7246:16: warning: '/*' within block comment [-Wcomment] * (as MOUNT="/* ftp://Server/*") and the current server is not Server. ^ ftp._.c:7246:31: warning: '/*' within block comment [-Wcomment] * (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] if( enable_mount = mounted ) ~~~~~~~~~~~~~^~~~~~~~~ ftp._.c:7251:19: note: place parentheses around the assignment to silence this warning if( enable_mount = mounted ) ^ ( ) ftp._.c:7251:19: note: use '==' to turn this assignment into an equality comparison if( enable_mount = mounted ) ^ == ftp._.c:7351:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tp = strpbrk(dp+1,"@") ) ~~~^~~~~~~~~~~~~~~~~~~ ftp._.c:7351:11: note: place parentheses around the assignment to silence this warning if( tp = strpbrk(dp+1,"@") ) ^ ( ) ftp._.c:7351:11: note: use '==' to turn this assignment into an equality comparison if( tp = strpbrk(dp+1,"@") ) ^ == ftp._.c:8199:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xp = strchr(xpath,'?') ){ ~~~^~~~~~~~~~~~~~~~~~~ ftp._.c:8199:10: note: place parentheses around the assignment to silence this warning if( xp = strchr(xpath,'?') ){ ^ ( ) ftp._.c:8199:10: note: use '==' to turn this assignment into an equality comparison if( xp = strchr(xpath,'?') ){ ^ == ftp._.c:8253:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 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 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 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] if( sp = strstr(resp,"bytes)") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:8333:9: note: place parentheses around the assignment to silence this warning if( sp = strstr(resp,"bytes)") ){ ^ ( ) ftp._.c:8333:9: note: use '==' to turn this assignment into an equality comparison if( sp = strstr(resp,"bytes)") ){ ^ == ftp._.c:8347:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(stat,"150") ) ~~~^~~~~~~~~~~~~~~~~~~~ ftp._.c:8347:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(stat,"150") ) ^ ( ) ftp._.c:8347:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(stat,"150") ) ^ == ftp._.c:8357:32: warning: '/*' within block comment [-Wcomment] * MOUNT="/MagicPath* https://-/*" ^ ftp._.c:8367:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(path,"--") ){ ~~~^~~~~~~~~~~~~~~~~~~ ftp._.c:8367:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(path,"--") ){ ^ ( ) ftp._.c:8367:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(path,"--") ){ ^ == ftp._.c:8465:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(cmdopt,"ftpxcmd=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:8465:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(cmdopt,"ftpxcmd=") ){ ^ ( ) ftp._.c:8465:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(cmdopt,"ftpxcmd=") ){ ^ == ftp._.c:8483:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(cmdopt,"ftpxopt=") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:8483:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(cmdopt,"ftpxopt=") ){ ^ ( ) ftp._.c:8483:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(cmdopt,"ftpxopt=") ){ ^ == ftp._.c:8523:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mopts = mount_ftparg(FS,com,path,AVStr(vurl)) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp._.c:8523:12: note: place parentheses around the assignment to silence this warning if( mopts = mount_ftparg(FS,com,path,AVStr(vurl)) ) ^ ( ) ftp._.c:8523:12: note: use '==' to turn this assignment into an equality comparison 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] if( up = strchr(vurl+11,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~~~ ftp._.c:8525:10: note: place parentheses around the assignment to silence this warning if( up = strchr(vurl+11,'/') ){ ^ ( ) ftp._.c:8525:10: note: use '==' to turn this assignment into an equality comparison if( up = strchr(vurl+11,'/') ){ ^ == ftp._.c:8739:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dfp = fdopen(cdsock,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~~~ ftp._.c:8739:10: note: place parentheses around the assignment to silence this warning if( dfp = fdopen(cdsock,"r") ){ ^ ( ) ftp._.c:8739:10: note: use '==' to turn this assignment into an equality comparison if( dfp = fdopen(cdsock,"r") ){ ^ == 78 warnings generated. ../mkcpp xferlog.c xferlog._.c -- mkcpp set time: 1712064780 -> 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: 1712064781 -> 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] if( Fd = findFd(fd,0) ){ ~~~^~~~~~~~~~~~~~ X._.c:800:10: note: place parentheses around the assignment to silence this warning if( Fd = findFd(fd,0) ){ ^ ( ) X._.c:800:10: note: use '==' to turn this assignment into an equality comparison if( Fd = findFd(fd,0) ){ ^ == X._.c:912:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Fd = findFd(fd,0) ){ ~~~^~~~~~~~~~~~~~ X._.c:912:9: note: place parentheses around the assignment to silence this warning if( Fd = findFd(fd,0) ){ ^ ( ) X._.c:912:9: note: use '==' to turn this assignment into an equality comparison if( Fd = findFd(fd,0) ){ ^ == X._.c:993:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xhost = origDISPLAY() ){ ~~~~~~^~~~~~~~~~~~~~~ X._.c:993:12: note: place parentheses around the assignment to silence this warning if( xhost = origDISPLAY() ){ ^ ( ) X._.c:993:12: note: use '==' to turn this assignment into an equality comparison if( xhost = origDISPLAY() ){ ^ == X._.c:1016:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ X._.c:1154:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( oe = getenv(name) ){ ~~~^~~~~~~~~~~~~~ X._.c:1154:9: note: place parentheses around the assignment to silence this warning if( oe = getenv(name) ){ ^ ( ) X._.c:1154:9: note: use '==' to turn this assignment into an equality comparison if( oe = getenv(name) ){ ^ == X._.c:1229:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( pi = 0; xp = yy_xpath[pi]; pi++ ){ ~~~^~~~~~~~~~~~~~ X._.c:1229:18: note: place parentheses around the assignment to silence this warning for( pi = 0; xp = yy_xpath[pi]; pi++ ){ ^ ( ) X._.c:1229:18: note: use '==' to turn this assignment into an equality comparison 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] if( hpos = inHTTPhead(hpos,ibuf,rcc) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:2210:14: note: place parentheses around the assignment to silence this warning if( hpos = inHTTPhead(hpos,ibuf,rcc) ){ ^ ( ) X._.c:2210:14: note: use '==' to turn this assignment into an equality comparison if( hpos = inHTTPhead(hpos,ibuf,rcc) ){ ^ == X._.c:2815:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Mc = yy_Mcv[mi] ){ ~~~^~~~~~~~~~~~ X._.c:2815:11: note: place parentheses around the assignment to silence this warning if( Mc = yy_Mcv[mi] ){ ^ ( ) X._.c:2815:11: note: use '==' to turn this assignment into an equality comparison if( Mc = yy_Mcv[mi] ){ ^ == X._.c:2844:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Mc = yy_Mcv[mi] ){ ~~~^~~~~~~~~~~~ X._.c:2844:10: note: place parentheses around the assignment to silence this warning if( Mc = yy_Mcv[mi] ){ ^ ( ) X._.c:2844:10: note: use '==' to turn this assignment into an equality comparison if( Mc = yy_Mcv[mi] ){ ^ == X._.c:2858:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Mc = yy_Mcv[mi] ){ ~~~^~~~~~~~~~~~ X._.c:2858:10: note: place parentheses around the assignment to silence this warning if( Mc = yy_Mcv[mi] ){ ^ ( ) X._.c:2858:10: note: use '==' to turn this assignment into an equality comparison if( Mc = yy_Mcv[mi] ){ ^ == X._.c:2872:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Mc = yy_Mcv[mi] ){ ~~~^~~~~~~~~~~~ X._.c:2872:10: note: place parentheses around the assignment to silence this warning if( Mc = yy_Mcv[mi] ){ ^ ( ) X._.c:2872:10: note: use '==' to turn this assignment into an equality comparison if( Mc = yy_Mcv[mi] ){ ^ == X._.c:3010:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Mc = yy_Mcv[mi] ){ ~~~^~~~~~~~~~~~ X._.c:3010:10: note: place parentheses around the assignment to silence this warning if( Mc = yy_Mcv[mi] ){ ^ ( ) X._.c:3010:10: note: use '==' to turn this assignment into an equality comparison if( Mc = yy_Mcv[mi] ){ ^ == X._.c:3022:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Mc = yy_Mcv[mi] ){ ~~~^~~~~~~~~~~~ X._.c:3022:10: note: place parentheses around the assignment to silence this warning if( Mc = yy_Mcv[mi] ){ ^ ( ) X._.c:3022:10: note: use '==' to turn this assignment into an equality comparison if( Mc = yy_Mcv[mi] ){ ^ == X._.c:3089:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Mc = yy_Mcv[mi] ){ ~~~^~~~~~~~~~~~ X._.c:3089:10: note: place parentheses around the assignment to silence this warning if( Mc = yy_Mcv[mi] ){ ^ ( ) X._.c:3089:10: note: use '==' to turn this assignment into an equality comparison if( Mc = yy_Mcv[mi] ){ ^ == X._.c:3226:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Mc = yy_Mcv[mi] ){ ~~~^~~~~~~~~~~~ X._.c:3226:10: note: place parentheses around the assignment to silence this warning if( Mc = yy_Mcv[mi] ){ ^ ( ) X._.c:3226:10: note: use '==' to turn this assignment into an equality comparison if( Mc = yy_Mcv[mi] ){ ^ == X._.c:3602:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(file,"r") ){ ~~~^~~~~~~~~~~~~~~~~ X._.c:3602:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"r") ){ ^ ( ) X._.c:3602:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"r") ){ ^ == X._.c:3618:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(file,"w") ){ ~~~^~~~~~~~~~~~~~~~~ X._.c:3618:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"w") ){ ^ ( ) X._.c:3618:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"w") ){ ^ == X._.c:3626:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(file,"a") ){ ~~~^~~~~~~~~~~~~~~~~ X._.c:3626:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(file,"a") ){ ^ ( ) X._.c:3626:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(file,"a") ){ ^ == X._.c:3767:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen("SLVG",AVStr(path),"a") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:3767:10: note: place parentheses around the assignment to silence this warning if( fp = dirfopen("SLVG",AVStr(path),"a") ){ ^ ( ) X._.c:3767:10: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen("SLVG",AVStr(path),"a") ){ ^ == X._.c:3781:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen("SLVG",AVStr(path),"a") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:3781:10: note: place parentheses around the assignment to silence this warning if( fp = dirfopen("SLVG",AVStr(path),"a") ){ ^ ( ) X._.c:3781:10: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen("SLVG",AVStr(path),"a") ){ ^ == X._.c:3826:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(path,"r") ){ ~~~^~~~~~~~~~~~~~~~~ X._.c:3826:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"r") ){ ^ ( ) X._.c:3826:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"r") ){ ^ == X._.c:4079:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rp = strpbrk(resp,"\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ X._.c:4079:10: note: place parentheses around the assignment to silence this warning if( rp = strpbrk(resp,"\r\n") ){ ^ ( ) X._.c:4079:10: note: use '==' to turn this assignment into an equality comparison if( rp = strpbrk(resp,"\r\n") ){ ^ == X._.c:4283:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rp = strpbrk(req,"\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ X._.c:4283:10: note: place parentheses around the assignment to silence this warning if( rp = strpbrk(req,"\r\n") ){ ^ ( ) X._.c:4283:10: note: use '==' to turn this assignment into an equality comparison if( rp = strpbrk(req,"\r\n") ){ ^ == X._.c:4371:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bp = strpbrk(b64,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ X._.c:4371:10: note: place parentheses around the assignment to silence this warning if( bp = strpbrk(b64,"\r\n") ) ^ ( ) X._.c:4371:10: note: use '==' to turn this assignment into an equality comparison if( bp = strpbrk(b64,"\r\n") ) ^ == X._.c:5039:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rp = strpbrk(req,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ X._.c:5039:10: note: place parentheses around the assignment to silence this warning if( rp = strpbrk(req,"\r\n") ) ^ ( ) X._.c:5039:10: note: use '==' to turn this assignment into an equality comparison if( rp = strpbrk(req,"\r\n") ) ^ == X._.c:5177:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rp = strpbrk(res,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ X._.c:5177:10: note: place parentheses around the assignment to silence this warning if( rp = strpbrk(res,"\r\n") ) ^ ( ) X._.c:5177:10: note: use '==' to turn this assignment into an equality comparison if( rp = strpbrk(res,"\r\n") ) ^ == X._.c:5226:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Pf = lastPFilter(Conn,getthreadid(),XF_FSV) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:5226:11: note: place parentheses around the assignment to silence this warning if( Pf = lastPFilter(Conn,getthreadid(),XF_FSV) ){ ^ ( ) X._.c:5226:11: note: use '==' to turn this assignment into an equality comparison if( Pf = lastPFilter(Conn,getthreadid(),XF_FSV) ){ ^ == X._.c:5336:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pMc = MxParent ){ ~~~~^~~~~~~~~~ X._.c:5336:10: note: place parentheses around the assignment to silence this warning if( pMc = MxParent ){ ^ ( ) X._.c:5336:10: note: use '==' to turn this assignment into an equality comparison if( pMc = MxParent ){ ^ == X._.c:5725:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ X._.c:5916:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pend = getXpend(Cv,Cn,Ci,0) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~ X._.c:5916:11: note: place parentheses around the assignment to silence this warning if( pend = getXpend(Cv,Cn,Ci,0) ){ ^ ( ) X._.c:5916:11: note: use '==' to turn this assignment into an equality comparison if( pend = getXpend(Cv,Cn,Ci,0) ){ ^ == X._.c:6537:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Ci = findXin(Mc,mx->m_xsid) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ X._.c:6537:9: note: place parentheses around the assignment to silence this warning if( Ci = findXin(Mc,mx->m_xsid) ){ ^ ( ) X._.c:6537:9: note: use '==' to turn this assignment into an equality comparison if( Ci = findXin(Mc,mx->m_xsid) ){ ^ == X._.c:6773:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( flag = isZCpack(bp,ilen) ){ ~~~~~^~~~~~~~~~~~~~~~~~~ X._.c:6773:11: note: place parentheses around the assignment to silence this warning if( flag = isZCpack(bp,ilen) ){ ^ ( ) X._.c:6773:11: note: use '==' to turn this assignment into an equality comparison if( flag = isZCpack(bp,ilen) ){ ^ == X._.c:6955:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Bp = C1->c_outbuf ){ ~~~^~~~~~~~~~~~~~ X._.c:6955:10: note: place parentheses around the assignment to silence this warning if( Bp = C1->c_outbuf ){ ^ ( ) X._.c:6955:10: note: use '==' to turn this assignment into an equality comparison if( Bp = C1->c_outbuf ){ ^ == X._.c:7323:26: warning: '/*' within block comment [-Wcomment] Xsprintf(AVStr(mount),"/* file:%s default",cwd); ^ X._.c:7329:26: warning: '/*' within block comment [-Wcomment] Xsprintf(AVStr(mount),"/* file:/* default,rw,noanon,AUTHORIZER=-list{%s:%s}",user,pass); ^ X._.c:7329:34: warning: '/*' within block comment [-Wcomment] 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] if( C1 = findUDP(Mc,Ci,clhost,clport) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:7601:9: note: place parentheses around the assignment to silence this warning if( C1 = findUDP(Mc,Ci,clhost,clport) ){ ^ ( ) X._.c:7601:9: note: use '==' to turn this assignment into an equality comparison if( C1 = findUDP(Mc,Ci,clhost,clport) ){ ^ == X._.c:8913:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = searchPortSpec(line) ) ~~~^~~~~~~~~~~~~~~~~~~~~~ X._.c:8913:11: note: place parentheses around the assignment to silence this warning if( dp = searchPortSpec(line) ) ^ ( ) X._.c:8913:11: note: use '==' to turn this assignment into an equality comparison if( dp = searchPortSpec(line) ) ^ == X._.c:9307:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xp = fullpathCOM(xxcom,"r",AVStr(fpath)) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:9307:17: note: place parentheses around the assignment to silence this warning if( xp = fullpathCOM(xxcom,"r",AVStr(fpath)) ){ ^ ( ) X._.c:9307:17: note: use '==' to turn this assignment into an equality comparison if( xp = fullpathCOM(xxcom,"r",AVStr(fpath)) ){ ^ == X._.c:10263:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( viasocks = GetViaSocks(Conn,yhost,yport) ){ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:10263:15: note: place parentheses around the assignment to silence this warning if( viasocks = GetViaSocks(Conn,yhost,yport) ){ ^ ( ) X._.c:10263:15: note: use '==' to turn this assignment into an equality comparison if( viasocks = GetViaSocks(Conn,yhost,yport) ){ ^ == X._.c:10297:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 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 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 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] if( Mc = yy_Mcv[mi] ) ~~~^~~~~~~~~~~~ X._.c:10299:11: note: place parentheses around the assignment to silence this warning if( Mc = yy_Mcv[mi] ) ^ ( ) X._.c:10299:11: note: use '==' to turn this assignment into an equality comparison if( Mc = yy_Mcv[mi] ) ^ == X._.c:10304:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ X._.c:10314:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Mc = yy_Mcv[mi] ) ~~~^~~~~~~~~~~~ X._.c:10314:10: note: place parentheses around the assignment to silence this warning if( Mc = yy_Mcv[mi] ) ^ ( ) X._.c:10314:10: note: use '==' to turn this assignment into an equality comparison if( Mc = yy_Mcv[mi] ) ^ == X._.c:10320:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else ^ X._.c:10764:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(a1,"//") ){ ~~~^~~~~~~~~~~~~~~~~ X._.c:10764:12: note: place parentheses around the assignment to silence this warning if( dp = strstr(a1,"//") ){ ^ ( ) X._.c:10764:12: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(a1,"//") ){ ^ == X._.c:11110:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hp = strchr(hosts,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~ X._.c:11110:10: note: place parentheses around the assignment to silence this warning if( hp = strchr(hosts,'/') ){ ^ ( ) X._.c:11110:10: note: use '==' to turn this assignment into an equality comparison if( hp = strchr(hosts,'/') ){ ^ == X._.c:11116:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( porti = atoi(ports) ){ ~~~~~~^~~~~~~~~~~~~ X._.c:11116:12: note: place parentheses around the assignment to silence this warning if( porti = atoi(ports) ){ ^ ( ) X._.c:11116:12: note: use '==' to turn this assignment into an equality comparison if( porti = atoi(ports) ){ ^ == X._.c:11119:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strchr(ports,'/') ){ ~~~^~~~~~~~~~~~~~~~~~~ X._.c:11119:9: note: place parentheses around the assignment to silence this warning if( pp = strchr(ports,'/') ){ ^ ( ) X._.c:11119:9: note: use '==' to turn this assignment into an equality comparison if( pp = strchr(ports,'/') ){ ^ == X._.c:11123:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = strchr(ports,'.') ){ ~~~^~~~~~~~~~~~~~~~~~~ X._.c:11123:9: note: place parentheses around the assignment to silence this warning if( pp = strchr(ports,'.') ){ ^ ( ) X._.c:11123:9: note: use '==' to turn this assignment into an equality comparison if( pp = strchr(ports,'.') ){ ^ == X._.c:11156:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lp = strpbrk(line,"\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ X._.c:11156:9: note: place parentheses around the assignment to silence this warning if( lp = strpbrk(line,"\r\n") ){ ^ ( ) X._.c:11156:9: note: use '==' to turn this assignment into an equality comparison if( lp = strpbrk(line,"\r\n") ){ ^ == X._.c:11256:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("TERM") ){ ~~~~^~~~~~~~~~~~~~~~ X._.c:11256:10: note: place parentheses around the assignment to silence this warning if( env = getenv("TERM") ){ ^ ( ) X._.c:11256:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("TERM") ){ ^ == X._.c:11451:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( aerr = (CTX_withAuth(Conn) && MxAuthOK == 0) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:11451:11: note: place parentheses around the assignment to silence this warning if( aerr = (CTX_withAuth(Conn) && MxAuthOK == 0) ){ ^ ( ) X._.c:11451:11: note: use '==' to turn this assignment into an equality comparison if( aerr = (CTX_withAuth(Conn) && MxAuthOK == 0) ){ ^ == X._.c:12115:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( up = strpbrk(user,"\r\n") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ X._.c:12115:10: note: place parentheses around the assignment to silence this warning if( up = strpbrk(user,"\r\n") ){ ^ ( ) X._.c:12115:10: note: use '==' to turn this assignment into an equality comparison if( up = strpbrk(user,"\r\n") ){ ^ == X._.c:12518:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( icodep = strchr(arg,'/') ){ ~~~~~~~^~~~~~~~~~~~~~~~~ X._.c:12518:14: note: place parentheses around the assignment to silence this warning if( icodep = strchr(arg,'/') ){ ^ ( ) X._.c:12518:14: note: use '==' to turn this assignment into an equality comparison if( icodep = strchr(arg,'/') ){ ^ == X._.c:13356:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Vflags = MxFlags & MX_WITH_YYANY ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ X._.c:13356:14: note: place parentheses around the assignment to silence this warning if( Vflags = MxFlags & MX_WITH_YYANY ){ ^ ( ) X._.c:13356:14: note: use '==' to turn this assignment into an equality comparison if( Vflags = MxFlags & MX_WITH_YYANY ){ ^ == X._.c:13647:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(YxLfile,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~ X._.c:13647:11: note: place parentheses around the assignment to silence this warning if( fp = fopen(YxLfile,"r") ){ ^ ( ) X._.c:13647:11: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(YxLfile,"r") ){ ^ == X._.c:13659:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(YxLfile,"w") ){ ~~~^~~~~~~~~~~~~~~~~~~~ X._.c:13659:11: note: place parentheses around the assignment to silence this warning if( fp = fopen(YxLfile,"w") ){ ^ ( ) X._.c:13659:11: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(YxLfile,"w") ){ ^ == 58 warnings generated. ../mkcpp wais.c wais._.c -- mkcpp set time: 1712064786 -> 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] if( np = (unsigned char*)STRCHR(ep,';') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:198:10: note: place parentheses around the assignment to silence this warning if( np = (unsigned char*)STRCHR(ep,';') ){ ^ ( ) wais._.c:198:10: note: use '==' to turn this assignment into an equality comparison if( np = (unsigned char*)STRCHR(ep,';') ){ ^ == wais._.c:207:38: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fp = (unsigned char*)elem; ch = *fp++; ){ ~~~^~~~~~~ wais._.c:207:38: note: place parentheses around the assignment to silence this warning for( fp = (unsigned char*)elem; ch = *fp++; ){ ^ ( ) wais._.c:207:38: note: use '==' to turn this assignment into an equality comparison for( fp = (unsigned char*)elem; ch = *fp++; ){ ^ == wais._.c:234:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ti = 0; tname = ttab[ti].t_name; ti++ ) ~~~~~~^~~~~~~~~~~~~~~~~ wais._.c:234:21: note: place parentheses around the assignment to silence this warning for( ti = 0; tname = ttab[ti].t_name; ti++ ) ^ ( ) wais._.c:234:21: note: use '==' to turn this assignment into an equality comparison 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] if( hfp = findFieldValue(dhg,"Score") ) score = atoi(hfp); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:332:10: note: place parentheses around the assignment to silence this warning if( hfp = findFieldValue(dhg,"Score") ) score = atoi(hfp); ^ ( ) wais._.c:332:10: note: use '==' to turn this assignment into an equality comparison 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] if( hfp = findFieldValue(dhg,"Lines") ) lines = atoi(hfp); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:333:10: note: place parentheses around the assignment to silence this warning if( hfp = findFieldValue(dhg,"Lines") ) lines = atoi(hfp); ^ ( ) wais._.c:333:10: note: use '==' to turn this assignment into an equality comparison 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] if( hfp = findFieldValue(dhg,"Document-Length") ) bytes = atoi(hfp); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:334:10: note: place parentheses around the assignment to silence this warning if( hfp = findFieldValue(dhg,"Document-Length") ) bytes = atoi(hfp); ^ ( ) wais._.c:334:10: note: use '==' to turn this assignment into an equality comparison 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] if( hfp = findFieldValue(dhg,"Date") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:335:10: note: place parentheses around the assignment to silence this warning if( hfp = findFieldValue(dhg,"Date") ) ^ ( ) wais._.c:335:10: note: use '==' to turn this assignment into an equality comparison if( hfp = findFieldValue(dhg,"Date") ) ^ == wais._.c:337:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hfp = findFieldValue(dhg,"Type") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:337:10: note: place parentheses around the assignment to silence this warning if( hfp = findFieldValue(dhg,"Type") ) ^ ( ) wais._.c:337:10: note: use '==' to turn this assignment into an equality comparison if( hfp = findFieldValue(dhg,"Type") ) ^ == wais._.c:339:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hfp = findFieldValue(dhg,"Document-ID") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:339:10: note: place parentheses around the assignment to silence this warning if( hfp = findFieldValue(dhg,"Document-ID") ) ^ ( ) wais._.c:339:10: note: use '==' to turn this assignment into an equality comparison if( hfp = findFieldValue(dhg,"Document-ID") ) ^ == wais._.c:341:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hfp = findFieldValue(dhg,"Headline") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:341:10: note: place parentheses around the assignment to silence this warning if( hfp = findFieldValue(dhg,"Headline") ){ ^ ( ) wais._.c:341:10: note: use '==' to turn this assignment into an equality comparison if( hfp = findFieldValue(dhg,"Headline") ){ ^ == wais._.c:540:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( cc = relay_record(Conn,1,fc,ts,VStrNULL,VStrNULL) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:540:12: note: place parentheses around the assignment to silence this warning while( cc = relay_record(Conn,1,fc,ts,VStrNULL,VStrNULL) ){ ^ ( ) wais._.c:540:12: note: use '==' to turn this assignment into an equality comparison 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] if( hfp = findFieldValue(head,"Search-Returned") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wais._.c:721:11: note: place parentheses around the assignment to silence this warning if( hfp = findFieldValue(head,"Search-Returned") ) ^ ( ) wais._.c:721:11: note: use '==' to turn this assignment into an equality comparison if( hfp = findFieldValue(head,"Search-Returned") ) ^ == wais._.c:761:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( words = strchr(dbname,'?') ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~ wais._.c:761:12: note: place parentheses around the assignment to silence this warning if( words = strchr(dbname,'?') ){ ^ ( ) wais._.c:761:12: note: use '==' to turn this assignment into an equality comparison if( words = strchr(dbname,'?') ){ ^ == wais._.c:769:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( type = strchr(dbname,'/') ){ ~~~~~^~~~~~~~~~~~~~~~~~~~ wais._.c:769:11: note: place parentheses around the assignment to silence this warning if( type = strchr(dbname,'/') ){ ^ ( ) wais._.c:769:11: note: use '==' to turn this assignment into an equality comparison if( type = strchr(dbname,'/') ){ ^ == wais._.c:771:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(type,'/') ){ ~~~^~~~~~~~~~~~~~~~~~ wais._.c:771:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(type,'/') ){ ^ ( ) wais._.c:771:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(type,'/') ){ ^ == wais._.c:774:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( docid = strchr(dp,'/') ){ ~~~~~~^~~~~~~~~~~~~~~~ wais._.c:774:14: note: place parentheses around the assignment to silence this warning if( docid = strchr(dp,'/') ){ ^ ( ) wais._.c:774:14: note: use '==' to turn this assignment into an equality comparison if( docid = strchr(dp,'/') ){ ^ == 16 warnings generated. ../mkcpp whois.c whois._.c -- mkcpp set time: 1712064786 -> 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: 1712064787 -> 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] if( sym = opsym(opcode,0) ) ~~~~^~~~~~~~~~~~~~~~~ xflash._.c:188:10: note: place parentheses around the assignment to silence this warning if( sym = opsym(opcode,0) ) ^ ( ) xflash._.c:188:10: note: use '==' to turn this assignment into an equality comparison if( sym = opsym(opcode,0) ) ^ == 1 warning generated. ../mkcpp imap.c imap._.c -- mkcpp set time: 1712064787 -> 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] if( dp = strrpbrk(user,"@%") ){ ~~~^~~~~~~~~~~~~~~~~~~~~ imap._.c:43:9: note: place parentheses around the assignment to silence this warning if( dp = strrpbrk(user,"@%") ){ ^ ( ) imap._.c:43:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrpbrk(user,"@%") ){ ^ == imap._.c:123:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strstr(caps,"STARTTLS") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ imap._.c:123:9: note: place parentheses around the assignment to silence this warning if( sp = strstr(caps,"STARTTLS") ){ ^ ( ) imap._.c:123:9: note: use '==' to turn this assignment into an equality comparison if( sp = strstr(caps,"STARTTLS") ){ ^ == imap._.c:139:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(resp,"[ALERT]") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ imap._.c:139:10: note: place parentheses around the assignment to silence this warning if( dp = strstr(resp,"[ALERT]") ) ^ ( ) imap._.c:139:10: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(resp,"[ALERT]") ) ^ == imap._.c:140:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(dp,pfx) ) ~~~^~~~~~~~~~~~~~~~ imap._.c:140:10: note: place parentheses around the assignment to silence this warning if( dp = strstr(dp,pfx) ) ^ ( ) imap._.c:140:10: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(dp,pfx) ) ^ == 4 warnings generated. ../mkcpp ldap.c ldap._.c -- mkcpp set time: 1712064788 -> 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] for( ei = 0; edit = mssgEdit[ei].e_edit; ei++ ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~ ldap._.c:372:21: note: place parentheses around the assignment to silence this warning for( ei = 0; edit = mssgEdit[ei].e_edit; ei++ ){ ^ ( ) ldap._.c:372:21: note: use '==' to turn this assignment into an equality comparison 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] if( wleng = Mp->m_btm - Mp->m_push ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ldap._.c:398:14: note: place parentheses around the assignment to silence this warning if( wleng = Mp->m_btm - Mp->m_push ){ ^ ( ) ldap._.c:398:14: note: use '==' to turn this assignment into an equality comparison 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] if( dp = (Message)strrchr((char*)Mp->m_work,'@') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ldap._.c:433:11: note: place parentheses around the assignment to silence this warning if( dp = (Message)strrchr((char*)Mp->m_work,'@') ){ ^ ( ) ldap._.c:433:11: note: use '==' to turn this assignment into an equality comparison 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] 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 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 if( opts = CTX_mount_url_to(Conn,NULL,"GET",AVStr(server)) ){ ^ == 4 warnings generated. ../mkcpp smtpgate.c smtpgate._.c -- mkcpp set time: 1712064788 -> 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] if( dp = strchr(pname,'/') ) ~~~^~~~~~~~~~~~~~~~~~~ smtpgate._.c:254:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(pname,'/') ) ^ ( ) smtpgate._.c:254:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(pname,'/') ) ^ == smtpgate._.c:398:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( pi = 0; line = lines[pi]; pi++ ){ ~~~~~^~~~~~~~~~~ smtpgate._.c:398:21: note: place parentheses around the assignment to silence this warning for( pi = 0; line = lines[pi]; pi++ ){ ^ ( ) smtpgate._.c:398:21: note: use '==' to turn this assignment into an equality comparison for( pi = 0; line = lines[pi]; pi++ ){ ^ == smtpgate._.c:413:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( gwi = 0; gname1 = builtins[gwi].g_pv[GWTYPE]; gwi++ ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:413:23: note: place parentheses around the assignment to silence this warning for( gwi = 0; gname1 = builtins[gwi].g_pv[GWTYPE]; gwi++ ){ ^ ( ) smtpgate._.c:413:23: note: use '==' to turn this assignment into an equality comparison 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] if( np = strchr(name,'/') ) ~~~^~~~~~~~~~~~~~~~~~ smtpgate._.c:476:10: note: place parentheses around the assignment to silence this warning if( np = strchr(name,'/') ) ^ ( ) smtpgate._.c:476:10: note: use '==' to turn this assignment into an equality comparison if( np = strchr(name,'/') ) ^ == smtpgate._.c:545:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ui = 0; xclass = user_class[ui]; ui++ ){ ~~~~~~~^~~~~~~~~~~~~~~~ smtpgate._.c:545:22: note: place parentheses around the assignment to silence this warning for( ui = 0; xclass = user_class[ui]; ui++ ){ ^ ( ) smtpgate._.c:545:22: note: use '==' to turn this assignment into an equality comparison 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] if( fp = fopen(cpath,mode) ) ~~~^~~~~~~~~~~~~~~~~~~ smtpgate._.c:551:10: note: place parentheses around the assignment to silence this warning if( fp = fopen(cpath,mode) ) ^ ( ) smtpgate._.c:551:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(cpath,mode) ) ^ == smtpgate._.c:738:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp = subj; sc = *sp; ){ ~~~^~~~~ smtpgate._.c:738:21: note: place parentheses around the assignment to silence this warning for( sp = subj; sc = *sp; ){ ^ ( ) smtpgate._.c:738:21: note: use '==' to turn this assignment into an equality comparison for( sp = subj; sc = *sp; ){ ^ == smtpgate._.c:748:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sp++; sc = *sp; sp++ ) ~~~^~~~~ smtpgate._.c:748:18: note: place parentheses around the assignment to silence this warning for( sp++; sc = *sp; sp++ ) ^ ( ) smtpgate._.c:748:18: note: use '==' to turn this assignment into an equality comparison for( sp++; sc = *sp; sp++ ) ^ == smtpgate._.c:987:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strstr(dst,V_REWADDR) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:987:9: note: place parentheses around the assignment to silence this warning if( sp = strstr(dst,V_REWADDR) ) ^ ( ) smtpgate._.c:987:9: note: use '==' to turn this assignment into an equality comparison if( sp = strstr(dst,V_REWADDR) ) ^ == smtpgate._.c:988:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(sp,'}') ){ ~~~^~~~~~~~~~~~~~~~ smtpgate._.c:988:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(sp,'}') ){ ^ ( ) smtpgate._.c:988:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(sp,'}') ){ ^ == smtpgate._.c:1017:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = strstr(dst,V_ORIGHEADER) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1017:9: note: place parentheses around the assignment to silence this warning if( sp = strstr(dst,V_ORIGHEADER) ) ^ ( ) smtpgate._.c:1017:9: note: use '==' to turn this assignment into an equality comparison if( sp = strstr(dst,V_ORIGHEADER) ) ^ == smtpgate._.c:1018:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(sp,'}') ){ ~~~^~~~~~~~~~~~~~~~ smtpgate._.c:1018:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(sp,'}') ){ ^ ( ) smtpgate._.c:1018:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(sp,'}') ){ ^ == smtpgate._.c:1036:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(OUT_REPLY_TO) ){ ~~~^~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1036:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(OUT_REPLY_TO) ){ ^ ( ) smtpgate._.c:1036:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(OUT_REPLY_TO) ){ ^ == smtpgate._.c:1040:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(OUT_SUBJECT) ){ ~~~^~~~~~~~~~~~~~~~~~~ smtpgate._.c:1040:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(OUT_SUBJECT) ){ ^ ( ) smtpgate._.c:1040:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(OUT_SUBJECT) ){ ^ == smtpgate._.c:1045:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(OUT_FROM) ){ ~~~^~~~~~~~~~~~~~~~ smtpgate._.c:1045:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(OUT_FROM) ){ ^ ( ) smtpgate._.c:1045:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(OUT_FROM) ){ ^ == smtpgate._.c:1049:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p1 = getv(OUT_MESSAGE_ID) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1049:8: note: place parentheses around the assignment to silence this warning if(p1 = getv(OUT_MESSAGE_ID) ){ ^ ( ) smtpgate._.c:1049:8: note: use '==' to turn this assignment into an equality comparison if(p1 = getv(OUT_MESSAGE_ID) ){ ^ == smtpgate._.c:1174:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(OUT_NEWSGROUPS) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1174:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(OUT_NEWSGROUPS) ){ ^ ( ) smtpgate._.c:1174:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(OUT_NEWSGROUPS) ){ ^ == smtpgate._.c:1178:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(OUT_DISTRIBUTION) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1178:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(OUT_DISTRIBUTION) ){ ^ ( ) smtpgate._.c:1178:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(OUT_DISTRIBUTION) ){ ^ == smtpgate._.c:1268:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( admin = DELEGATE_ADMIN ) ~~~~~~^~~~~~~~~~~~~~~~ smtpgate._.c:1268:13: note: place parentheses around the assignment to silence this warning if( admin = DELEGATE_ADMIN ) ^ ( ) smtpgate._.c:1268:13: note: use '==' to turn this assignment into an equality comparison if( admin = DELEGATE_ADMIN ) ^ == smtpgate._.c:1425:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(SERVPORT) ) ~~~^~~~~~~~~~~~~~~~ smtpgate._.c:1425:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(SERVPORT) ) ^ ( ) smtpgate._.c:1425:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(SERVPORT) ) ^ == smtpgate._.c:1453:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( auth = getv(CTL_MYAUTH) ){ ~~~~~^~~~~~~~~~~~~~~~~~ smtpgate._.c:1453:11: note: place parentheses around the assignment to silence this warning if( auth = getv(CTL_MYAUTH) ){ ^ ( ) smtpgate._.c:1453:11: note: use '==' to turn this assignment into an equality comparison if( auth = getv(CTL_MYAUTH) ){ ^ == smtpgate._.c:1795:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mxaddr = gethostaddr(mxhost) ) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1795:13: note: place parentheses around the assignment to silence this warning if( mxaddr = gethostaddr(mxhost) ) ^ ( ) smtpgate._.c:1795:13: note: use '==' to turn this assignment into an equality comparison if( mxaddr = gethostaddr(mxhost) ) ^ == smtpgate._.c:1798:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mxaddr = gethostaddr(rechost) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1798:13: note: place parentheses around the assignment to silence this warning if( mxaddr = gethostaddr(rechost) ){ ^ ( ) smtpgate._.c:1798:13: note: use '==' to turn this assignment into an equality comparison if( mxaddr = gethostaddr(rechost) ){ ^ == smtpgate._.c:1858:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(recv[ri],'@') ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1858:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(recv[ri],'@') ){ ^ ( ) smtpgate._.c:1858:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(recv[ri],'@') ){ ^ == smtpgate._.c:1887:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strpbrk(recipient,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1887:9: note: place parentheses around the assignment to silence this warning if( np = strpbrk(recipient,"\r\n") ) ^ ( ) smtpgate._.c:1887:9: note: use '==' to turn this assignment into an equality comparison if( np = strpbrk(recipient,"\r\n") ) ^ == smtpgate._.c:1913:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strpbrk(recipient,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1913:11: note: place parentheses around the assignment to silence this warning if( np = strpbrk(recipient,"\r\n") ) ^ ( ) smtpgate._.c:1913:11: note: use '==' to turn this assignment into an equality comparison if( np = strpbrk(recipient,"\r\n") ) ^ == smtpgate._.c:1977:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( gwlog = open_file(Rname,"smmdgate.log","a",AVStr(rpath)) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:1977:12: note: place parentheses around the assignment to silence this warning if( gwlog = open_file(Rname,"smmdgate.log","a",AVStr(rpath)) ){ ^ ( ) smtpgate._.c:1977:12: note: use '==' to turn this assignment into an equality comparison 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] if( from = getv(CTL_SENDER) ) ~~~~~^~~~~~~~~~~~~~~~~~ smtpgate._.c:2064:11: note: place parentheses around the assignment to silence this warning if( from = getv(CTL_SENDER) ) ^ ( ) smtpgate._.c:2064:11: note: use '==' to turn this assignment into an equality comparison if( from = getv(CTL_SENDER) ) ^ == smtpgate._.c:2086:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(SERVPORT) ) ~~~^~~~~~~~~~~~~~~~ smtpgate._.c:2086:10: note: place parentheses around the assignment to silence this warning if( p1 = getv(SERVPORT) ) ^ ( ) smtpgate._.c:2086:10: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(SERVPORT) ) ^ == smtpgate._.c:2132:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( i1 = mxaddr(bcc,AVStr(addr) )) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2132:9: note: place parentheses around the assignment to silence this warning if( i1 = mxaddr(bcc,AVStr(addr) )) ^ ( ) smtpgate._.c:2132:9: note: use '==' to turn this assignment into an equality comparison if( i1 = mxaddr(bcc,AVStr(addr) )) ^ == smtpgate._.c:2176:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( counter = open_file(name,"count","r+",AVStr(rpath)) ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2176:14: note: place parentheses around the assignment to silence this warning if( counter = open_file(name,"count","r+",AVStr(rpath)) ){ ^ ( ) smtpgate._.c:2176:14: note: use '==' to turn this assignment into an equality comparison 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] if( counter = open_file(name,"count","w+",AVStr(rpath)) ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2188:14: note: place parentheses around the assignment to silence this warning if( counter = open_file(name,"count","w+",AVStr(rpath)) ){ ^ ( ) smtpgate._.c:2188:14: note: use '==' to turn this assignment into an equality comparison 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] if( dp = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2237:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(line,"\r\n") ) ^ ( ) smtpgate._.c:2237:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(line,"\r\n") ) ^ == smtpgate._.c:2288:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( negate = (*acl1 == '!') ) ~~~~~~~^~~~~~~~~~~~~~~~ smtpgate._.c:2288:14: note: place parentheses around the assignment to silence this warning if( negate = (*acl1 == '!') ) ^ ( ) smtpgate._.c:2288:14: note: use '==' to turn this assignment into an equality comparison if( negate = (*acl1 == '!') ) ^ == smtpgate._.c:2291:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( subst = isFullpath(acl1) ){ ~~~~~~^~~~~~~~~~~~~~~~~~ smtpgate._.c:2291:13: note: place parentheses around the assignment to silence this warning if( subst = isFullpath(acl1) ){ ^ ( ) smtpgate._.c:2291:13: note: use '==' to turn this assignment into an equality comparison if( subst = isFullpath(acl1) ){ ^ == smtpgate._.c:2299:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( subst = (strncmp(acl1,"${expn:",7)==0) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2299:13: note: place parentheses around the assignment to silence this warning if( subst = (strncmp(acl1,"${expn:",7)==0) ){ ^ ( ) smtpgate._.c:2299:13: note: use '==' to turn this assignment into an equality comparison if( subst = (strncmp(acl1,"${expn:",7)==0) ){ ^ == smtpgate._.c:2322:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( match = strmatch_list(addr,aclc,"",(iFUNCP)lfprintf1,log) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2322:12: note: place parentheses around the assignment to silence this warning if( match = strmatch_list(addr,aclc,"",(iFUNCP)lfprintf1,log) ){ ^ ( ) smtpgate._.c:2322:12: note: use '==' to turn this assignment into an equality comparison 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] if( last = QPsplitLine(0,AVStr(line),0) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2449:14: note: place parentheses around the assignment to silence this warning if( last = QPsplitLine(0,AVStr(line),0) ){ ^ ( ) smtpgate._.c:2449:14: note: use '==' to turn this assignment into an equality comparison if( last = QPsplitLine(0,AVStr(line),0) ){ ^ == smtpgate._.c:2485:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( opt = strchr(code,',') ) ~~~~^~~~~~~~~~~~~~~~~~ smtpgate._.c:2485:11: note: place parentheses around the assignment to silence this warning if( opt = strchr(code,',') ) ^ ( ) smtpgate._.c:2485:11: note: use '==' to turn this assignment into an equality comparison if( opt = strchr(code,',') ) ^ == smtpgate._.c:2587:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( parent = getv(INHERIT) ) ~~~~~~~^~~~~~~~~~~~~~~ smtpgate._.c:2587:15: note: place parentheses around the assignment to silence this warning if( parent = getv(INHERIT) ) ^ ( ) smtpgate._.c:2587:15: note: use '==' to turn this assignment into an equality comparison if( parent = getv(INHERIT) ) ^ == smtpgate._.c:2615:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( BGw = builtinGw(parent,1) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2615:11: note: place parentheses around the assignment to silence this warning if( BGw = builtinGw(parent,1) ){ ^ ( ) smtpgate._.c:2615:11: note: use '==' to turn this assignment into an equality comparison if( BGw = builtinGw(parent,1) ){ ^ == smtpgate._.c:2643:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(ACC_CLIENT_HOST) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2643:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(ACC_CLIENT_HOST) ){ ^ ( ) smtpgate._.c:2643:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(ACC_CLIENT_HOST) ){ ^ == smtpgate._.c:2657:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(ACC_SENDER) ){ ~~~^~~~~~~~~~~~~~~~~~ smtpgate._.c:2657:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(ACC_SENDER) ){ ^ ( ) smtpgate._.c:2657:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(ACC_SENDER) ){ ^ == smtpgate._.c:2665:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(ACC_RECIPIENT) ){ ~~~^~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2665:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(ACC_RECIPIENT) ){ ^ ( ) smtpgate._.c:2665:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(ACC_RECIPIENT) ){ ^ == smtpgate._.c:2672:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(ACC_TO) ){ /* case of lacking To: */ ~~~^~~~~~~~~~~~~~ smtpgate._.c:2672:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(ACC_TO) ){ /* case of lacking To: */ ^ ( ) smtpgate._.c:2672:9: note: use '==' to turn this assignment into an equality comparison 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] if( p1 = getv(ACC_MESSAGE_ID) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2685:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(ACC_MESSAGE_ID) ){ ^ ( ) smtpgate._.c:2685:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(ACC_MESSAGE_ID) ){ ^ == smtpgate._.c:2694:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(ACC_CONTTYPE) ){ ~~~^~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2694:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(ACC_CONTTYPE) ){ ^ ( ) smtpgate._.c:2694:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(ACC_CONTTYPE) ){ ^ == smtpgate._.c:2703:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(ACC_MAX_BYTES) ){ ~~~^~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2703:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(ACC_MAX_BYTES) ){ ^ ( ) smtpgate._.c:2703:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(ACC_MAX_BYTES) ){ ^ == smtpgate._.c:2719:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(ACC_MIN_BYTES) ){ ~~~^~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2719:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(ACC_MIN_BYTES) ){ ^ ( ) smtpgate._.c:2719:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(ACC_MIN_BYTES) ){ ^ == smtpgate._.c:2733:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(ACC_MIN_BODY_BYTES) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2733:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(ACC_MIN_BODY_BYTES) ){ ^ ( ) smtpgate._.c:2733:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(ACC_MIN_BODY_BYTES) ){ ^ == smtpgate._.c:2750:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(ACC_USERTEXT) ){ ~~~^~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2750:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(ACC_USERTEXT) ){ ^ ( ) smtpgate._.c:2750:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(ACC_USERTEXT) ){ ^ == smtpgate._.c:2757:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(REJ_USERTEXT) ){ ~~~^~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2757:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(REJ_USERTEXT) ){ ^ ( ) smtpgate._.c:2757:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(REJ_USERTEXT) ){ ^ == smtpgate._.c:2764:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(REJ_HEADER) ){ ~~~^~~~~~~~~~~~~~~~~~ smtpgate._.c:2764:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(REJ_HEADER) ){ ^ ( ) smtpgate._.c:2764:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(REJ_HEADER) ){ ^ == smtpgate._.c:2766:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rc = find_header(tc,mfp,soff,log,p1) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2766:10: note: place parentheses around the assignment to silence this warning if( rc = find_header(tc,mfp,soff,log,p1) ){ ^ ( ) smtpgate._.c:2766:10: note: use '==' to turn this assignment into an equality comparison 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] if( p1 = getv(ACC_MAX_EXCLAMS) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2772:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(ACC_MAX_EXCLAMS) ){ ^ ( ) smtpgate._.c:2772:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(ACC_MAX_EXCLAMS) ){ ^ == smtpgate._.c:2785:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(DELAY_MESSAGE_ID) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2785:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(DELAY_MESSAGE_ID) ){ ^ ( ) smtpgate._.c:2785:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(DELAY_MESSAGE_ID) ){ ^ == smtpgate._.c:2803:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(OPTION) ) ~~~^~~~~~~~~~~~~~ smtpgate._.c:2803:9: note: place parentheses around the assignment to silence this warning if( p1 = getv(OPTION) ) ^ ( ) smtpgate._.c:2803:9: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(OPTION) ) ^ == smtpgate._.c:2868:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sfp = open_file(local2,spath,"w",AVStr(rpath)) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2868:11: note: place parentheses around the assignment to silence this warning if( sfp = open_file(local2,spath,"w",AVStr(rpath)) ){ ^ ( ) smtpgate._.c:2868:11: note: use '==' to turn this assignment into an equality comparison 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] if( arcspec = getv(ARCHIVE) ){ ~~~~~~~~^~~~~~~~~~~~~~~ smtpgate._.c:2880:15: note: place parentheses around the assignment to silence this warning if( arcspec = getv(ARCHIVE) ){ ^ ( ) smtpgate._.c:2880:15: note: use '==' to turn this assignment into an equality comparison if( arcspec = getv(ARCHIVE) ){ ^ == smtpgate._.c:2886:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sfp = open_file(local2,spath,"a",AVStr(rpath)) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2886:12: note: place parentheses around the assignment to silence this warning if( sfp = open_file(local2,spath,"a",AVStr(rpath)) ){ ^ ( ) smtpgate._.c:2886:12: note: use '==' to turn this assignment into an equality comparison 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] if( log1 = open_file(local2,"log","a",AVStr(rpath)) ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2905:12: note: place parentheses around the assignment to silence this warning if( log1 = open_file(local2,"log","a",AVStr(rpath)) ){ ^ ( ) smtpgate._.c:2905:12: note: use '==' to turn this assignment into an equality comparison 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] if( rfp = open_file(local2,rfile,"a",AVStr(rpath)) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2926:11: note: place parentheses around the assignment to silence this warning if( rfp = open_file(local2,rfile,"a",AVStr(rpath)) ){ ^ ( ) smtpgate._.c:2926:11: note: use '==' to turn this assignment into an equality comparison 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] if( p1 = getv(CTL_REJTO) ){ ~~~^~~~~~~~~~~~~~~~~ smtpgate._.c:2936:10: note: place parentheses around the assignment to silence this warning if( p1 = getv(CTL_REJTO) ){ ^ ( ) smtpgate._.c:2936:10: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(CTL_REJTO) ){ ^ == smtpgate._.c:2938:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rfp = TMPFILE("Reject-To") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2938:15: note: place parentheses around the assignment to silence this warning if( rfp = TMPFILE("Reject-To") ){ ^ ( ) smtpgate._.c:2938:15: note: use '==' to turn this assignment into an equality comparison if( rfp = TMPFILE("Reject-To") ){ ^ == smtpgate._.c:2957:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( p1 = getv(CTL_ETO) ){ ~~~^~~~~~~~~~~~~~~ smtpgate._.c:2957:10: note: place parentheses around the assignment to silence this warning if( p1 = getv(CTL_ETO) ){ ^ ( ) smtpgate._.c:2957:10: note: use '==' to turn this assignment into an equality comparison if( p1 = getv(CTL_ETO) ){ ^ == smtpgate._.c:2959:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rfp = TMPFILE("Errors-To") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~ smtpgate._.c:2959:15: note: place parentheses around the assignment to silence this warning if( rfp = TMPFILE("Errors-To") ){ ^ ( ) smtpgate._.c:2959:15: note: use '==' to turn this assignment into an equality comparison if( rfp = TMPFILE("Errors-To") ){ ^ == 66 warnings generated. ../mkcpp alias.c alias._.c -- mkcpp set time: 1712064790 -> 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] if( afp = fopen(recipient,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~ alias._.c:48:11: note: place parentheses around the assignment to silence this warning if( afp = fopen(recipient,"r") ){ ^ ( ) alias._.c:48:11: note: use '==' to turn this assignment into an equality comparison if( afp = fopen(recipient,"r") ){ ^ == alias._.c:50:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strpbrk(rb,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~ alias._.c:50:12: note: place parentheses around the assignment to silence this warning if( np = strpbrk(rb,"\r\n") ) ^ ( ) alias._.c:50:12: note: use '==' to turn this assignment into an equality comparison if( np = strpbrk(rb,"\r\n") ) ^ == alias._.c:52:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = exp1(rb,RCPT,log) ) ~~~~~~^~~~~~~~~~~~~~~~~~~ alias._.c:52:15: note: place parentheses around the assignment to silence this warning if( rcode = exp1(rb,RCPT,log) ) ^ ( ) alias._.c:52:15: note: use '==' to turn this assignment into an equality comparison if( rcode = exp1(rb,RCPT,log) ) ^ == alias._.c:89:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( afp = expand_aliases(av[1],stderr) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alias._.c:89:10: note: place parentheses around the assignment to silence this warning if( afp = expand_aliases(av[1],stderr) ){ ^ ( ) alias._.c:89:10: note: use '==' to turn this assignment into an equality comparison if( afp = expand_aliases(av[1],stderr) ){ ^ == 4 warnings generated. ../mkcpp domain.c domain._.c -- mkcpp set time: 1712064790 -> 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] double Start,Time(); ^~ domain._.c:218:19: note: replace parentheses with an initializer to declare a variable double Start,Time(); ^~ = 0.0 domain._.c:257:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(froma,':') ){ ~~~^~~~~~~~~~~~~~~~~~~ domain._.c:257:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(froma,':') ){ ^ ( ) domain._.c:257:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(froma,':') ){ ^ == domain._.c:396:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(DNS_ORIGIN,'.') ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ domain._.c:396:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(DNS_ORIGIN,'.') ) ^ ( ) domain._.c:396:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(DNS_ORIGIN,'.') ) ^ == 3 warnings generated. ../mkcpp lpr.c lpr._.c -- mkcpp set time: 1712064790 -> 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: 1712064791 -> 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] if( dp = strpbrk(res,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ sftp._.c:177:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(res,"\r\n") ) ^ ( ) sftp._.c:177:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(res,"\r\n") ) ^ == sftp._.c:635:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( tmpdir = getTMPDIR() ){ ~~~~~~~^~~~~~~~~~~~~ sftp._.c:635:13: note: place parentheses around the assignment to silence this warning if( tmpdir = getTMPDIR() ){ ^ ( ) sftp._.c:635:13: note: use '==' to turn this assignment into an equality comparison if( tmpdir = getTMPDIR() ){ ^ == sftp._.c:679:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strchr(sp,'\n') ){ ~~~^~~~~~~~~~~~~~~~~ sftp._.c:679:10: note: place parentheses around the assignment to silence this warning if( np = strchr(sp,'\n') ){ ^ ( ) sftp._.c:679:10: note: use '==' to turn this assignment into an equality comparison if( np = strchr(sp,'\n') ){ ^ == sftp._.c:687:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sp = linehead(sresp,head,0) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ sftp._.c:687:9: note: place parentheses around the assignment to silence this warning if( sp = linehead(sresp,head,0) ){ ^ ( ) sftp._.c:687:9: note: use '==' to turn this assignment into an equality comparison if( sp = linehead(sresp,head,0) ){ ^ == sftp._.c:1218:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(sresp,"Couldn't") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sftp._.c:1218:11: note: place parentheses around the assignment to silence this warning if( dp = strstr(sresp,"Couldn't") ){ ^ ( ) sftp._.c:1218:11: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(sresp,"Couldn't") ){ ^ == sftp._.c:1239:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(sresp,"Couldn't") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sftp._.c:1239:11: note: place parentheses around the assignment to silence this warning if( dp = strstr(sresp,"Couldn't") ){ ^ ( ) sftp._.c:1239:11: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(sresp,"Couldn't") ){ ^ == sftp._.c:1284:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bp = strchr(buf,'\n') ) ~~~^~~~~~~~~~~~~~~~~~ sftp._.c:1284:11: note: place parentheses around the assignment to silence this warning if( bp = strchr(buf,'\n') ) ^ ( ) sftp._.c:1284:11: note: use '==' to turn this assignment into an equality comparison if( bp = strchr(buf,'\n') ) ^ == 7 warnings generated. ../mkcpp socks.c socks._.c -- mkcpp set time: 1712064791 -> 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] }else{ ^ socks._.c:166:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( opts = strchr(svportver,'/') ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ socks._.c:166:12: note: place parentheses around the assignment to silence this warning if( opts = strchr(svportver,'/') ) ^ ( ) socks._.c:166:12: note: use '==' to turn this assignment into an equality comparison if( opts = strchr(svportver,'/') ) ^ == socks._.c:183:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sx = 0; host1 = sockservs[sx].s_Host; sx++ ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ socks._.c:183:21: note: place parentheses around the assignment to silence this warning for( sx = 0; host1 = sockservs[sx].s_Host; sx++ ){ ^ ( ) socks._.c:183:21: note: use '==' to turn this assignment into an equality comparison 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] if( sv = getViaSocks(host,port,vlocal) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks._.c:330:9: note: place parentheses around the assignment to silence this warning if( sv = getViaSocks(host,port,vlocal) ){ ^ ( ) socks._.c:330:9: note: use '==' to turn this assignment into an equality comparison if( sv = getViaSocks(host,port,vlocal) ){ ^ == socks._.c:340:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sv = tobeViaSocks(&toConn) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ socks._.c:340:9: note: place parentheses around the assignment to silence this warning if( sv = tobeViaSocks(&toConn) ){ ^ ( ) socks._.c:340:9: note: use '==' to turn this assignment into an equality comparison if( sv = tobeViaSocks(&toConn) ){ ^ == socks._.c:383:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( sx = 0; host = sockservs[sx].s_Host; sx++ ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~ socks._.c:383:20: note: place parentheses around the assignment to silence this warning for( sx = 0; host = sockservs[sx].s_Host; sx++ ) ^ ( ) socks._.c:383:20: note: use '==' to turn this assignment into an equality comparison 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] if( addr = gethostaddr(host) ){ ~~~~~^~~~~~~~~~~~~~~~~~~ socks._.c:427:11: note: place parentheses around the assignment to silence this warning if( addr = gethostaddr(host) ){ ^ ( ) socks._.c:427:11: note: use '==' to turn this assignment into an equality comparison if( addr = gethostaddr(host) ){ ^ == socks._.c:449:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addr = gethostaddr(host) ){ ~~~~~^~~~~~~~~~~~~~~~~~~ socks._.c:449:13: note: place parentheses around the assignment to silence this warning if( addr = gethostaddr(host) ){ ^ ( ) socks._.c:449:13: note: use '==' to turn this assignment into an equality comparison if( addr = gethostaddr(host) ){ ^ == socks._.c:546:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sv = getViaSocksX(gethostint_nboV4(host),port,vlocal) ) return sv; ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks._.c:546:9: note: place parentheses around the assignment to silence this warning if( sv = getViaSocksX(gethostint_nboV4(host),port,vlocal) ) return sv; ^ ( ) socks._.c:546:9: note: use '==' to turn this assignment into an equality comparison 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] if( sv = getViaSocksX(gethostintMin(host),port,vlocal) ) return sv; ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks._.c:547:9: note: place parentheses around the assignment to silence this warning if( sv = getViaSocksX(gethostintMin(host),port,vlocal) ) return sv; ^ ( ) socks._.c:547:9: note: use '==' to turn this assignment into an equality comparison 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] if( sv = getViaSocksX(_inet_addrV4(host),port,vlocal) ) return sv; ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks._.c:548:9: note: place parentheses around the assignment to silence this warning if( sv = getViaSocksX(_inet_addrV4(host),port,vlocal) ) return sv; ^ ( ) socks._.c:548:9: note: use '==' to turn this assignment into an equality comparison 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] if( sv = getViaSocksX(gethostint_nboV4(dsthost),dstport,NULL) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks._.c:698:9: note: place parentheses around the assignment to silence this warning if( sv = getViaSocksX(gethostint_nboV4(dsthost),dstport,NULL) ){ ^ ( ) socks._.c:698:9: note: use '==' to turn this assignment into an equality comparison 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] if( sv = getViaSocksX(gethostint_nboV4(dsthost),dstport,NULL) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ socks._.c:787:9: note: place parentheses around the assignment to silence this warning if( sv = getViaSocksX(gethostint_nboV4(dsthost),dstport,NULL) ){ ^ ( ) socks._.c:787:9: note: use '==' to turn this assignment into an equality comparison if( sv = getViaSocksX(gethostint_nboV4(dsthost),dstport,NULL) ){ ^ == 13 warnings generated. ../mkcpp socks4.c socks4._.c -- mkcpp set time: 1712064792 -> 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] if( forwrslv = !isinetAddr(addr) ){ ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ socks4._.c:74:15: note: place parentheses around the assignment to silence this warning if( forwrslv = !isinetAddr(addr) ){ ^ ( ) socks4._.c:74:15: note: use '==' to turn this assignment into an equality comparison if( forwrslv = !isinetAddr(addr) ){ ^ == socks4._.c:198:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( addr = gethostaddr(host) ){ ~~~~~^~~~~~~~~~~~~~~~~~~ socks4._.c:198:12: note: place parentheses around the assignment to silence this warning if( addr = gethostaddr(host) ){ ^ ( ) socks4._.c:198:12: note: use '==' to turn this assignment into an equality comparison if( addr = gethostaddr(host) ){ ^ == 2 warnings generated. ../mkcpp sox.c sox._.c -- mkcpp set time: 1712064792 -> 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] if( pp = parameq(arg,P_SOXOUTPORT) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ sox._.c:1326:10: note: place parentheses around the assignment to silence this warning if( pp = parameq(arg,P_SOXOUTPORT) ){ ^ ( ) sox._.c:1326:10: note: use '==' to turn this assignment into an equality comparison if( pp = parameq(arg,P_SOXOUTPORT) ){ ^ == sox._.c:1403:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = wordScanY(from,addr,"^:") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ sox._.c:1403:10: note: place parentheses around the assignment to silence this warning if( dp = wordScanY(from,addr,"^:") ) ^ ( ) sox._.c:1403:10: note: use '==' to turn this assignment into an equality comparison if( dp = wordScanY(from,addr,"^:") ) ^ == sox._.c:1412:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(addr,':') ){ ~~~^~~~~~~~~~~~~~~~~~ sox._.c:1412:10: note: place parentheses around the assignment to silence this warning if( dp = strchr(addr,':') ){ ^ ( ) sox._.c:1412:10: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(addr,':') ){ ^ == sox._.c:1530:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(servU,'(') ){ ~~~^~~~~~~~~~~~~~~~~~~ sox._.c:1530:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(servU,'(') ){ ^ ( ) sox._.c:1530:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(servU,'(') ){ ^ == sox._.c:1532:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strchr(servU,')') ) ~~~^~~~~~~~~~~~~~~~~~~ sox._.c:1532:10: note: place parentheses around the assignment to silence this warning if( ep = strchr(servU,')') ) ^ ( ) sox._.c:1532:10: note: use '==' to turn this assignment into an equality comparison if( ep = strchr(servU,')') ) ^ == sox._.c:1536:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(servU,',') ){ ~~~^~~~~~~~~~~~~~~~~~~ sox._.c:1536:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(servU,',') ){ ^ ( ) sox._.c:1536:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(servU,',') ){ ^ == sox._.c:1651:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(fifo,"@") ) ~~~^~~~~~~~~~~~~~~~~~ sox._.c:1651:9: note: place parentheses around the assignment to silence this warning if( dp = strstr(fifo,"@") ) ^ ( ) sox._.c:1651:9: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(fifo,"@") ) ^ == sox._.c:1725:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = parameq(a1,P_SYNCHTMUX) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ sox._.c:1725:11: note: place parentheses around the assignment to silence this warning if( pp = parameq(a1,P_SYNCHTMUX) ){ ^ ( ) sox._.c:1725:11: note: use '==' to turn this assignment into an equality comparison if( pp = parameq(a1,P_SYNCHTMUX) ){ ^ == sox._.c:1728:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = parameq(a1,P_SOXINPORTS) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ sox._.c:1728:11: note: place parentheses around the assignment to silence this warning if( pp = parameq(a1,P_SOXINPORTS) ){ ^ ( ) sox._.c:1728:11: note: use '==' to turn this assignment into an equality comparison if( pp = parameq(a1,P_SOXINPORTS) ){ ^ == sox._.c:1942:20: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] int getParentSock(); ^~ sox._.c:1942:20: note: replace parentheses with an initializer to declare a variable int getParentSock(); ^~ = 0 sox._.c:2114:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ sox._.c:2301:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sent = rem - Api->a_lbuf.b_rem ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ sox._.c:2301:13: note: place parentheses around the assignment to silence this warning if( sent = rem - Api->a_lbuf.b_rem ){ ^ ( ) sox._.c:2301:13: note: use '==' to turn this assignment into an equality comparison if( sent = rem - Api->a_lbuf.b_rem ){ ^ == sox._.c:2511:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ 13 warnings generated. ../mkcpp cuseeme.c cuseeme._.c -- mkcpp set time: 1712064793 -> 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] if( ci = isClient(caddr) ) ~~~^~~~~~~~~~~~~~~~~ cuseeme._.c:226:9: note: place parentheses around the assignment to silence this warning if( ci = isClient(caddr) ) ^ ( ) cuseeme._.c:226:9: note: use '==' to turn this assignment into an equality comparison if( ci = isClient(caddr) ) ^ == cuseeme._.c:428:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( file = getenv("CUIN") ){ ~~~~~^~~~~~~~~~~~~~~~ cuseeme._.c:428:11: note: place parentheses around the assignment to silence this warning if( file = getenv("CUIN") ){ ^ ( ) cuseeme._.c:428:11: note: use '==' to turn this assignment into an equality comparison if( file = getenv("CUIN") ){ ^ == 2 warnings generated. ../mkcpp coupler.c coupler._.c -- mkcpp set time: 1712064794 -> 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] if( sfp = fopen(spath,"r") ){ ~~~~^~~~~~~~~~~~~~~~~~ coupler._.c:42:10: note: place parentheses around the assignment to silence this warning if( sfp = fopen(spath,"r") ){ ^ ( ) coupler._.c:42:10: note: use '==' to turn this assignment into an equality comparison if( sfp = fopen(spath,"r") ){ ^ == 1 warning generated. ../mkcpp vsap.c vsap._.c -- mkcpp set time: 1712064794 -> 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] ... MOUNT="/path/* http://realserver/" ^ 1 warning generated. ../mkcpp tcprelay.c tcprelay._.c -- mkcpp set time: 1712064794 -> 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: 1712064795 -> 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] for( ai = 0; ua = uav[ai]; ai++ ){ ~~~^~~~~~~~~ udprelay._.c:72:18: note: place parentheses around the assignment to silence this warning for( ai = 0; ua = uav[ai]; ai++ ){ ^ ( ) udprelay._.c:72:18: note: use '==' to turn this assignment into an equality comparison for( ai = 0; ua = uav[ai]; ai++ ){ ^ == udprelay._.c:83:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; ua1 = uav[ai]; ai++ ){ ~~~~^~~~~~~~~ udprelay._.c:83:19: note: place parentheses around the assignment to silence this warning for( ai = 0; ua1 = uav[ai]; ai++ ){ ^ ( ) udprelay._.c:83:19: note: use '==' to turn this assignment into an equality comparison for( ai = 0; ua1 = uav[ai]; ai++ ){ ^ == udprelay._.c:97:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; ua = uav[ai]; ai++ ){ ~~~^~~~~~~~~ udprelay._.c:97:18: note: place parentheses around the assignment to silence this warning for( ai = 0; ua = uav[ai]; ai++ ){ ^ ( ) udprelay._.c:97:18: note: use '==' to turn this assignment into an equality comparison for( ai = 0; ua = uav[ai]; ai++ ){ ^ == udprelay._.c:252:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ux = 0; ua = uav[ux]; ux++ ){ ~~~^~~~~~~~~ udprelay._.c:252:18: note: place parentheses around the assignment to silence this warning for( ux = 0; ua = uav[ux]; ux++ ){ ^ ( ) udprelay._.c:252:18: note: use '==' to turn this assignment into an equality comparison for( ux = 0; ua = uav[ux]; ux++ ){ ^ == udprelay._.c:373:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; ua = uassocv[ai]; ai++ ){ ~~~^~~~~~~~~~~~~ udprelay._.c:373:20: note: place parentheses around the assignment to silence this warning for( ai = 0; ua = uassocv[ai]; ai++ ){ ^ ( ) udprelay._.c:373:20: note: use '==' to turn this assignment into an equality comparison for( ai = 0; ua = uassocv[ai]; ai++ ){ ^ == udprelay._.c:381:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; ua = uassocv[ai]; ai++ ){ ~~~^~~~~~~~~~~~~ udprelay._.c:381:20: note: place parentheses around the assignment to silence this warning for( ai = 0; ua = uassocv[ai]; ai++ ){ ^ ( ) udprelay._.c:381:20: note: use '==' to turn this assignment into an equality comparison for( ai = 0; ua = uassocv[ai]; ai++ ){ ^ == udprelay._.c:387:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ai = 0; ua = uassocv[ai]; ai++ ){ ~~~^~~~~~~~~~~~~ udprelay._.c:387:20: note: place parentheses around the assignment to silence this warning for( ai = 0; ua = uassocv[ai]; ai++ ){ ^ ( ) udprelay._.c:387:20: note: use '==' to turn this assignment into an equality comparison for( ai = 0; ua = uassocv[ai]; ai++ ){ ^ == 7 warnings generated. ../mkcpp ftpgw.c ftpgw._.c -- mkcpp set time: 1712064795 -> 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] for( pb = pathbuf; dp = strchr(pb,'/'); pb = dp +1 ){ ~~~^~~~~~~~~~~~~~~~ ftpgw._.c:113:24: note: place parentheses around the assignment to silence this warning for( pb = pathbuf; dp = strchr(pb,'/'); pb = dp +1 ){ ^ ( ) ftpgw._.c:113:24: note: use '==' to turn this assignment into an equality comparison 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] if( dp = strstr(resp,busy) ){ ~~~^~~~~~~~~~~~~~~~~~~ ftpgw._.c:226:10: note: place parentheses around the assignment to silence this warning if( dp = strstr(resp,busy) ){ ^ ( ) ftpgw._.c:226:10: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(resp,busy) ){ ^ == ftpgw._.c:420:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( rcode = ftp_cachepath(Conn,host,port,path,AVStr(cachepath)) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:420:12: note: place parentheses around the assignment to silence this warning if( rcode = ftp_cachepath(Conn,host,port,path,AVStr(cachepath)) ){ ^ ( ) ftpgw._.c:420:12: note: use '==' to turn this assignment into an equality comparison 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] if( dp = strrchr(ppath,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~ ftpgw._.c:449:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(ppath,'/') ) ^ ( ) ftpgw._.c:449:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(ppath,'/') ) ^ == ftpgw._.c:455:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pfp = fopen(ppath,"r") ) ~~~~^~~~~~~~~~~~~~~~~~ ftpgw._.c:455:10: note: place parentheses around the assignment to silence this warning if( pfp = fopen(ppath,"r") ) ^ ( ) ftpgw._.c:455:10: note: use '==' to turn this assignment into an equality comparison if( pfp = fopen(ppath,"r") ) ^ == ftpgw._.c:473:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(ocpath,'/') ) ~~~^~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:473:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(ocpath,'/') ) ^ ( ) ftpgw._.c:473:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(ocpath,'/') ) ^ == ftpgw._.c:476:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( file = strrchr(ocpath,'/') ) ~~~~~^~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:476:11: note: place parentheses around the assignment to silence this warning if( file = strrchr(ocpath,'/') ) ^ ( ) ftpgw._.c:476:11: note: use '==' to turn this assignment into an equality comparison if( file = strrchr(ocpath,'/') ) ^ == ftpgw._.c:654:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( qp = strchr(url,'?') ){ ~~~^~~~~~~~~~~~~~~~~ ftpgw._.c:654:9: note: place parentheses around the assignment to silence this warning if( qp = strchr(url,'?') ){ ^ ( ) ftpgw._.c:654:9: note: use '==' to turn this assignment into an equality comparison if( qp = strchr(url,'?') ){ ^ == ftpgw._.c:704:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( totalc = putMovedToDir(Conn,tc) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:704:14: note: place parentheses around the assignment to silence this warning if( totalc = putMovedToDir(Conn,tc) ){ ^ ( ) ftpgw._.c:704:14: note: use '==' to turn this assignment into an equality comparison if( totalc = putMovedToDir(Conn,tc) ){ ^ == ftpgw._.c:842:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( qp = strchr(path,'?') ){ ~~~^~~~~~~~~~~~~~~~~~ ftpgw._.c:842:9: note: place parentheses around the assignment to silence this warning if( qp = strchr(path,'?') ){ ^ ( ) ftpgw._.c:842:9: note: use '==' to turn this assignment into an equality comparison if( qp = strchr(path,'?') ){ ^ == ftpgw._.c:1128:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( totalc = putMovedToDir(Conn,tc) ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:1128:15: note: place parentheses around the assignment to silence this warning if( totalc = putMovedToDir(Conn,tc) ){ ^ ( ) ftpgw._.c:1128:15: note: use '==' to turn this assignment into an equality comparison if( totalc = putMovedToDir(Conn,tc) ){ ^ == ftpgw._.c:1399:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ftpgw._.c:1516:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(lsl,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:1516:9: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(lsl,"\r\n") ) ^ ( ) ftpgw._.c:1516:9: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(lsl,"\r\n") ) ^ == ftpgw._.c:1550:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( len = strlen(links) ){ ~~~~^~~~~~~~~~~~~~~ ftpgw._.c:1550:10: note: place parentheses around the assignment to silence this warning if( len = strlen(links) ){ ^ ( ) ftpgw._.c:1550:10: note: use '==' to turn this assignment into an equality comparison if( len = strlen(links) ){ ^ == ftpgw._.c:1596:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( slp = strstr(name," -> ") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:1596:11: note: place parentheses around the assignment to silence this warning if( slp = strstr(name," -> ") ){ ^ ( ) ftpgw._.c:1596:11: note: use '==' to turn this assignment into an equality comparison if( slp = strstr(name," -> ") ){ ^ == ftpgw._.c:1629:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(name,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:1629:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(name,"\r\n") ) ^ ( ) ftpgw._.c:1629:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(name,"\r\n") ) ^ == ftpgw._.c:1633:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(name,' ') ) ~~~^~~~~~~~~~~~~~~~~~~ ftpgw._.c:1633:10: note: place parentheses around the assignment to silence this warning if( dp = strrchr(name,' ') ) ^ ( ) ftpgw._.c:1633:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(name,' ') ) ^ == ftpgw._.c:1651:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(line,' ') ){ ~~~^~~~~~~~~~~~~~~~~~~ ftpgw._.c:1651:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(line,' ') ){ ^ ( ) ftpgw._.c:1651:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(line,' ') ){ ^ == ftpgw._.c:1676:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( lastdir = strrchr(dir,'/') ) ~~~~~~~~^~~~~~~~~~~~~~~~~~ ftpgw._.c:1676:16: note: place parentheses around the assignment to silence this warning if( lastdir = strrchr(dir,'/') ) ^ ( ) ftpgw._.c:1676:16: note: use '==' to turn this assignment into an equality comparison if( lastdir = strrchr(dir,'/') ) ^ == ftpgw._.c:1695:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( cdir = strstr(path,"/./") ) ~~~~~^~~~~~~~~~~~~~~~~~~~ ftpgw._.c:1695:15: note: place parentheses around the assignment to silence this warning while( cdir = strstr(path,"/./") ) ^ ( ) ftpgw._.c:1695:15: note: use '==' to turn this assignment into an equality comparison while( cdir = strstr(path,"/./") ) ^ == ftpgw._.c:1698:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( pdir = strstr(path,"/../") ){ ~~~~~^~~~~~~~~~~~~~~~~~~~~ ftpgw._.c:1698:15: note: place parentheses around the assignment to silence this warning while( pdir = strstr(path,"/../") ){ ^ ( ) ftpgw._.c:1698:15: note: use '==' to turn this assignment into an equality comparison while( pdir = strstr(path,"/../") ){ ^ == 21 warnings generated. ../mkcpp filetype.c filetype._.c -- mkcpp set time: 1712064796 -> 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] for( fx = 0; filetype = dflt_filetypes[fx]; fx++ ) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ filetype._.c:135:24: note: place parentheses around the assignment to silence this warning for( fx = 0; filetype = dflt_filetypes[fx]; fx++ ) ^ ( ) filetype._.c:135:24: note: use '==' to turn this assignment into an equality comparison 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] if( sp = strrcasestr(path,sfx) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ filetype._.c:143:9: note: place parentheses around the assignment to silence this warning if( sp = strrcasestr(path,sfx) ){ ^ ( ) filetype._.c:143:9: note: use '==' to turn this assignment into an equality comparison if( sp = strrcasestr(path,sfx) ){ ^ == filetype._.c:155:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; ft = filetypes[ci]; ci++ ){ ~~~^~~~~~~~~~~~~~~ filetype._.c:155:18: note: place parentheses around the assignment to silence this warning for( ci = 0; ft = filetypes[ci]; ci++ ){ ^ ( ) filetype._.c:155:18: note: use '==' to turn this assignment into an equality comparison for( ci = 0; ft = filetypes[ci]; ci++ ){ ^ == filetype._.c:169:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; ft = filetypes[ci]; ci++ ){ ~~~^~~~~~~~~~~~~~~ filetype._.c:169:18: note: place parentheses around the assignment to silence this warning for( ci = 0; ft = filetypes[ci]; ci++ ){ ^ ( ) filetype._.c:169:18: note: use '==' to turn this assignment into an equality comparison for( ci = 0; ft = filetypes[ci]; ci++ ){ ^ == filetype._.c:177:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( gt = filename2gtypeX(name) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~ filetype._.c:177:9: note: place parentheses around the assignment to silence this warning if( gt = filename2gtypeX(name) ) ^ ( ) filetype._.c:177:9: note: use '==' to turn this assignment into an equality comparison if( gt = filename2gtypeX(name) ) ^ == filetype._.c:186:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ci = 0; ft = filetypes[ci]; ci++ ){ ~~~^~~~~~~~~~~~~~~ filetype._.c:186:18: note: place parentheses around the assignment to silence this warning for( ci = 0; ft = filetypes[ci]; ci++ ){ ^ ( ) filetype._.c:186:18: note: use '==' to turn this assignment into an equality comparison for( ci = 0; ft = filetypes[ci]; ci++ ){ ^ == filetype._.c:212:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ctype = filename2ctype(path/*,0L*/) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filetype._.c:212:12: note: place parentheses around the assignment to silence this warning if( ctype = filename2ctype(path/*,0L*/) ) ^ ( ) filetype._.c:212:12: note: use '==' to turn this assignment into an equality comparison if( ctype = filename2ctype(path/*,0L*/) ) ^ == filetype._.c:220:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( gtype = filename2gtypeX(path) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ filetype._.c:220:12: note: place parentheses around the assignment to silence this warning if( gtype = filename2gtypeX(path) ){ ^ ( ) filetype._.c:220:12: note: use '==' to turn this assignment into an equality comparison 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: 1712064796 -> 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] printf("\"\n\n",nc,st.st_mtime); ~~~~~~~~ ^ embed._.c:128:24: warning: data argument not used by format string [-Wformat-extra-args] 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] if( az = strheadstrX(a1,"-IMPSIZE=",0) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ embed._.c:191:10: note: place parentheses around the assignment to silence this warning if( az = strheadstrX(a1,"-IMPSIZE=",0) ){ ^ ( ) embed._.c:191:10: note: use '==' to turn this assignment into an equality comparison if( az = strheadstrX(a1,"-IMPSIZE=",0) ){ ^ == embed._.c:277:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( filter = (char*)strrchr(dirfile,'/') ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ embed._.c:277:14: note: place parentheses around the assignment to silence this warning if( filter = (char*)strrchr(dirfile,'/') ){ ^ ( ) embed._.c:277:14: note: use '==' to turn this assignment into an equality comparison if( filter = (char*)strrchr(dirfile,'/') ){ ^ == embed._.c:279:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( recursive = strstr(dirfile,"**") ){ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ embed._.c:279:18: note: place parentheses around the assignment to silence this warning if( recursive = strstr(dirfile,"**") ){ ^ ( ) embed._.c:279:18: note: use '==' to turn this assignment into an equality comparison if( recursive = strstr(dirfile,"**") ){ ^ == embed._.c:335:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strchr(psp,':') ) ~~~^~~~~~~~~~~~~~~~~ embed._.c:335:12: note: place parentheses around the assignment to silence this warning if( np = strchr(psp,':') ) ^ ( ) embed._.c:335:12: note: use '==' to turn this assignment into an equality comparison 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: 1712064797 -> 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] const char *DELEGATE_exesign(){ return "\n{EXESIGN=9.9.13:20240402133317+0000:0000000000000000:none@nowhere:''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''}\n"+10; } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./_builtin.c:1:313: note: use array indexing to silence this warning const char *DELEGATE_exesign(){ return "\n{EXESIGN=9.9.13:20240402133317+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] # # # # # # # # # # # # # # # # # # #}\"\n"+10+8; } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./_builtin.c:89:44: note: use array indexing to silence this warning # # # # # # # # # # # # # # # # # # #}\"\n"+10+8; } ^ [ ] builtin._.c:81:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(i = 0; file1 = get_builtin_file(i); i++){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ builtin._.c:81:19: note: place parentheses around the assignment to silence this warning for(i = 0; file1 = get_builtin_file(i); i++){ ^ ( ) builtin._.c:81:19: note: use '==' to turn this assignment into an equality comparison 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] for(i = 0; file1 = get_builtin_file(i); i++){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ builtin._.c:104:19: note: place parentheses around the assignment to silence this warning for(i = 0; file1 = get_builtin_file(i); i++){ ^ ( ) builtin._.c:104:19: note: use '==' to turn this assignment into an equality comparison 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] if( fp = fopen(path,"r") ){ ~~~^~~~~~~~~~~~~~~~~ builtin._.c:126:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"r") ){ ^ ( ) builtin._.c:126:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"r") ){ ^ == builtin._.c:130:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen("builtin-data",AVStr(path),"w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ builtin._.c:130:9: note: place parentheses around the assignment to silence this warning if( fp = dirfopen("builtin-data",AVStr(path),"w") ){ ^ ( ) builtin._.c:130:9: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen("builtin-data",AVStr(path),"w") ){ ^ == 6 warnings generated. ../mkcpp delegated.c delegated._.c -- mkcpp set time: 1712064797 -> 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] if( fp = LOG_openLogFile(form,"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:493:9: note: place parentheses around the assignment to silence this warning if( fp = LOG_openLogFile(form,"r") ){ ^ ( ) delegated._.c:493:9: note: use '==' to turn this assignment into an equality comparison if( fp = LOG_openLogFile(form,"r") ){ ^ == delegated._.c:502:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = LOG_openLogFile(form,"w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:502:10: note: place parentheses around the assignment to silence this warning if( fp = LOG_openLogFile(form,"w") ){ ^ ( ) delegated._.c:502:10: note: use '==' to turn this assignment into an equality comparison if( fp = LOG_openLogFile(form,"w") ){ ^ == delegated._.c:711:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(NoTmpSpaceLog,"a") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:711:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(NoTmpSpaceLog,"a") ){ ^ ( ) delegated._.c:711:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(NoTmpSpaceLog,"a") ){ ^ == delegated._.c:1205:33: warning: '/*' within block comment [-Wcomment] * status via file like "/proc/*" ^ delegated._.c:1302:19: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] int closeSoxSync(); ^~ delegated._.c:1302:19: note: replace parentheses with an initializer to declare a variable int closeSoxSync(); ^~ = 0 delegated._.c:1303:20: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] int closeSoxLocal(); ^~ delegated._.c:1303:20: note: replace parentheses with an initializer to declare a variable int closeSoxLocal(); ^~ = 0 delegated._.c:1360:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; e1 = environ[ei]; ei++ ){ ~~~^~~~~~~~~~~~~ delegated._.c:1360:19: note: place parentheses around the assignment to silence this warning for( ei = 0; e1 = environ[ei]; ei++ ){ ^ ( ) delegated._.c:1360:19: note: use '==' to turn this assignment into an equality comparison for( ei = 0; e1 = environ[ei]; ei++ ){ ^ == delegated._.c:1460:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( logfp = fopen(lpath,"r") ){ ~~~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:1460:12: note: place parentheses around the assignment to silence this warning if( logfp = fopen(lpath,"r") ){ ^ ( ) delegated._.c:1460:12: note: use '==' to turn this assignment into an equality comparison if( logfp = fopen(lpath,"r") ){ ^ == delegated._.c:1668:23: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] int doDeleteOnExit(); ^~ delegated._.c:1668:23: note: replace parentheses with an initializer to declare a variable int doDeleteOnExit(); ^~ = 0 delegated._.c:1687:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( pid = wait(0) ){ ~~~~^~~~~~~~~ delegated._.c:1687:16: note: place parentheses around the assignment to silence this warning while( pid = wait(0) ){ ^ ( ) delegated._.c:1687:16: note: use '==' to turn this assignment into an equality comparison while( pid = wait(0) ){ ^ == delegated._.c:1917:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(arg,':') ){ ~~~^~~~~~~~~~~~~~~~~ delegated._.c:1917:11: note: place parentheses around the assignment to silence this warning if( dp = strchr(arg,':') ){ ^ ( ) delegated._.c:1917:11: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(arg,':') ){ ^ == delegated._.c:1947:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strchr(arg,'=') ){ ~~~^~~~~~~~~~~~~~~~~ delegated._.c:1947:9: note: place parentheses around the assignment to silence this warning if( dp = strchr(arg,'=') ){ ^ ( ) delegated._.c:1947:9: note: use '==' to turn this assignment into an equality comparison if( dp = strchr(arg,'=') ){ ^ == delegated._.c:1977:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( list = strchr(arg,'=') ){ ~~~~~^~~~~~~~~~~~~~~~~ delegated._.c:1977:11: note: place parentheses around the assignment to silence this warning if( list = strchr(arg,'=') ){ ^ ( ) delegated._.c:1977:11: note: use '==' to turn this assignment into an equality comparison if( list = strchr(arg,'=') ){ ^ == delegated._.c:1984:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(arg,":+=") ) ~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:1984:10: note: place parentheses around the assignment to silence this warning if( dp = strstr(arg,":+=") ) ^ ( ) delegated._.c:1984:10: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(arg,":+=") ) ^ == delegated._.c:1987:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strstr(arg,",+=") ) ~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:1987:10: note: place parentheses around the assignment to silence this warning if( dp = strstr(arg,",+=") ) ^ ( ) delegated._.c:1987:10: note: use '==' to turn this assignment into an equality comparison if( dp = strstr(arg,",+=") ) ^ == delegated._.c:1986:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ delegated._.c:2301:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nfp = fdopen(0,"r") ){ ~~~~^~~~~~~~~~~~~~~ delegated._.c:2301:12: note: place parentheses around the assignment to silence this warning if( nfp = fdopen(0,"r") ){ ^ ( ) delegated._.c:2301:12: note: use '==' to turn this assignment into an equality comparison if( nfp = fdopen(0,"r") ){ ^ == delegated._.c:2305:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ delegated._.c:2318:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nfp = fdopen(1,"a") ){ ~~~~^~~~~~~~~~~~~~~ delegated._.c:2318:12: note: place parentheses around the assignment to silence this warning if( nfp = fdopen(1,"a") ){ ^ ( ) delegated._.c:2318:12: note: use '==' to turn this assignment into an equality comparison if( nfp = fdopen(1,"a") ){ ^ == delegated._.c:2323:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nfp = fdopen(2,"a") ){ ~~~~^~~~~~~~~~~~~~~ delegated._.c:2323:12: note: place parentheses around the assignment to silence this warning if( nfp = fdopen(2,"a") ){ ^ ( ) delegated._.c:2323:12: note: use '==' to turn this assignment into an equality comparison if( nfp = fdopen(2,"a") ){ ^ == delegated._.c:2397:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( hl = strstr(serverspec,":-:") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:2397:9: note: place parentheses around the assignment to silence this warning if( hl = strstr(serverspec,":-:") ){ ^ ( ) delegated._.c:2397:9: note: use '==' to turn this assignment into an equality comparison if( hl = strstr(serverspec,":-:") ){ ^ == delegated._.c:2408:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( op = strstr(url,",-") ){ ~~~^~~~~~~~~~~~~~~~~~ delegated._.c:2408:10: note: place parentheses around the assignment to silence this warning if( op = strstr(url,",-") ){ ^ ( ) delegated._.c:2408:10: note: use '==' to turn this assignment into an equality comparison if( op = strstr(url,",-") ){ ^ == delegated._.c:2416:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( op = strstr(url,",-") ){ ~~~^~~~~~~~~~~~~~~~~~ delegated._.c:2416:9: note: place parentheses around the assignment to silence this warning if( op = strstr(url,",-") ){ ^ ( ) delegated._.c:2416:9: note: use '==' to turn this assignment into an equality comparison if( op = strstr(url,",-") ){ ^ == delegated._.c:2431:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( op = strstr(url,":") ){ ~~~^~~~~~~~~~~~~~~~~ delegated._.c:2431:9: note: place parentheses around the assignment to silence this warning if( op = strstr(url,":") ){ ^ ( ) delegated._.c:2431:9: note: use '==' to turn this assignment into an equality comparison if( op = strstr(url,":") ){ ^ == delegated._.c:2602:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( isorigdst = strheadstrX(svsite,ORIGDST_HOST,0) != 0 ){ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:2602:16: note: place parentheses around the assignment to silence this warning if( isorigdst = strheadstrX(svsite,ORIGDST_HOST,0) != 0 ){ ^ ( ) delegated._.c:2602:16: note: use '==' to turn this assignment into an equality comparison if( isorigdst = strheadstrX(svsite,ORIGDST_HOST,0) != 0 ){ ^ == delegated._.c:2617:53: warning: '/*' within block comment [-Wcomment] /* if SERVER=http://server then this should be "%s/*" */ ^ delegated._.c:2632:14: warning: '/*' within block comment [-Wcomment] /* MOUNT="/* //-/*" causes virtual hosting, ^ delegated._.c:2632:20: warning: '/*' within block comment [-Wcomment] /* MOUNT="/* //-/*" causes virtual hosting, ^ delegated._.c:2642:26: warning: '/*' within block comment [-Wcomment] set_MOUNT_ifndef(Conn,"/*","file:/-stab-/*","default"); ^ delegated._.c:2642:43: warning: '/*' within block comment [-Wcomment] set_MOUNT_ifndef(Conn,"/*","file:/-stab-/*","default"); ^ delegated._.c:2788:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( Log = LOG_which(DFLT_PROTO,filter,0) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:2788:10: note: place parentheses around the assignment to silence this warning if( Log = LOG_which(DFLT_PROTO,filter,0) ){ ^ ( ) delegated._.c:2788:10: note: use '==' to turn this assignment into an equality comparison 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] if( startdir = getenv("STARTDIR") ) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:2959:16: note: place parentheses around the assignment to silence this warning if( startdir = getenv("STARTDIR") ) ^ ( ) delegated._.c:2959:16: note: use '==' to turn this assignment into an equality comparison if( startdir = getenv("STARTDIR") ) ^ == delegated._.c:3087:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrpbrk(xpath,"/\\") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:3087:9: note: place parentheses around the assignment to silence this warning if( dp = strrpbrk(xpath,"/\\") ){ ^ ( ) delegated._.c:3087:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrpbrk(xpath,"/\\") ){ ^ == delegated._.c:3116:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( name = strrpbrk(main_argv[0],"/\\") ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:3116:12: note: place parentheses around the assignment to silence this warning if( name = strrpbrk(main_argv[0],"/\\") ) ^ ( ) delegated._.c:3116:12: note: use '==' to turn this assignment into an equality comparison if( name = strrpbrk(main_argv[0],"/\\") ) ^ == delegated._.c:3120:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strrchr(nameb,'.') ){ ~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3120:10: note: place parentheses around the assignment to silence this warning if( np = strrchr(nameb,'.') ){ ^ ( ) delegated._.c:3120:10: note: use '==' to turn this assignment into an equality comparison if( np = strrchr(nameb,'.') ){ ^ == delegated._.c:3182:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(conf,"r") ){ ~~~^~~~~~~~~~~~~~~~~ delegated._.c:3182:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(conf,"r") ){ ^ ( ) delegated._.c:3182:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(conf,"r") ){ ^ == delegated._.c:3233:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(conf,"r") ){ ~~~^~~~~~~~~~~~~~~~~ delegated._.c:3233:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(conf,"r") ){ ^ ( ) delegated._.c:3233:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(conf,"r") ){ ^ == delegated._.c:3246:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( vp = strchr(arg,'=') ){ ~~~^~~~~~~~~~~~~~~~~ delegated._.c:3246:11: note: place parentheses around the assignment to silence this warning if( vp = strchr(arg,'=') ){ ^ ( ) delegated._.c:3246:11: note: use '==' to turn this assignment into an equality comparison if( vp = strchr(arg,'=') ){ ^ == delegated._.c:3273:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dconf = getEnv(P_DGCONF) ) ~~~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:3273:12: note: place parentheses around the assignment to silence this warning if( dconf = getEnv(P_DGCONF) ) ^ ( ) delegated._.c:3273:12: note: use '==' to turn this assignment into an equality comparison if( dconf = getEnv(P_DGCONF) ) ^ == delegated._.c:3397:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( len = 0; ec = estr[len]; len++ ){ ~~~^~~~~~~~~~~ delegated._.c:3397:19: note: place parentheses around the assignment to silence this warning for( len = 0; ec = estr[len]; len++ ){ ^ ( ) delegated._.c:3397:19: note: use '==' to turn this assignment into an equality comparison for( len = 0; ec = estr[len]; len++ ){ ^ == delegated._.c:3403:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; env1 = ev[ei]; ei++ ){ ~~~~~^~~~~~~~ delegated._.c:3403:20: note: place parentheses around the assignment to silence this warning for( ei = 0; env1 = ev[ei]; ei++ ){ ^ ( ) delegated._.c:3403:20: note: use '==' to turn this assignment into an equality comparison for( ei = 0; env1 = ev[ei]; ei++ ){ ^ == delegated._.c:3423:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; env = oenv[ei]; ei++ ){ ~~~~^~~~~~~~~~ delegated._.c:3423:19: note: place parentheses around the assignment to silence this warning for( ei = 0; env = oenv[ei]; ei++ ){ ^ ( ) delegated._.c:3423:19: note: use '==' to turn this assignment into an equality comparison for( ei = 0; env = oenv[ei]; ei++ ){ ^ == delegated._.c:3429:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( di = 0; name = direnvs[di]; di++ ){ ~~~~~^~~~~~~~~~~~~ delegated._.c:3429:20: note: place parentheses around the assignment to silence this warning for( di = 0; name = direnvs[di]; di++ ){ ^ ( ) delegated._.c:3429:20: note: use '==' to turn this assignment into an equality comparison for( di = 0; name = direnvs[di]; di++ ){ ^ == delegated._.c:3432:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( xp = putDirEnv1(AVStr(ep),name) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:3432:10: note: place parentheses around the assignment to silence this warning if( xp = putDirEnv1(AVStr(ep),name) ){ ^ ( ) delegated._.c:3432:10: note: use '==' to turn this assignment into an equality comparison if( xp = putDirEnv1(AVStr(ep),name) ){ ^ == delegated._.c:3459:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; e1 = environ[ei]; ei++ ){ ~~~^~~~~~~~~~~~~ delegated._.c:3459:18: note: place parentheses around the assignment to silence this warning for( ei = 0; e1 = environ[ei]; ei++ ){ ^ ( ) delegated._.c:3459:18: note: use '==' to turn this assignment into an equality comparison for( ei = 0; e1 = environ[ei]; ei++ ){ ^ == delegated._.c:3465:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; e1 = direnv_environ[ei]; ei++ ){ ~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3465:18: note: place parentheses around the assignment to silence this warning for( ei = 0; e1 = direnv_environ[ei]; ei++ ){ ^ ( ) delegated._.c:3465:18: note: use '==' to turn this assignment into an equality comparison 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] if( dp = strrchr(path,':') ) ~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:3495:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(path,':') ) ^ ( ) delegated._.c:3495:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(path,':') ) ^ == delegated._.c:3524:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fmt = (char*)logfmtpart(logspec) ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:3524:10: note: place parentheses around the assignment to silence this warning if( fmt = (char*)logfmtpart(logspec) ){ ^ ( ) delegated._.c:3524:10: note: use '==' to turn this assignment into an equality comparison if( fmt = (char*)logfmtpart(logspec) ){ ^ == delegated._.c:3529:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = logfmtpart(path) ) ~~~^~~~~~~~~~~~~~~~~~ delegated._.c:3529:11: note: place parentheses around the assignment to silence this warning if( dp = logfmtpart(path) ) ^ ( ) delegated._.c:3529:11: note: use '==' to turn this assignment into an equality comparison if( dp = logfmtpart(path) ) ^ == delegated._.c:3676:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_ADMIN ) ) ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:3676:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_ADMIN ) ) ^ ( ) delegated._.c:3676:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_ADMIN ) ) ^ == delegated._.c:3679:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_MANAGER) ){ ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:3679:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_MANAGER) ){ ^ ( ) delegated._.c:3679:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_MANAGER) ){ ^ == delegated._.c:3703:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_MIMECONV) ){ ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3703:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_MIMECONV) ){ ^ ( ) delegated._.c:3703:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_MIMECONV) ){ ^ == delegated._.c:3729:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_SSLTUNNEL) ) ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:3729:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_SSLTUNNEL) ) ^ ( ) delegated._.c:3729:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_SSLTUNNEL) ) ^ == delegated._.c:3734:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_SMTPSERVER) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~ delegated._.c:3734:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_SMTPSERVER) ) ^ ( ) delegated._.c:3734:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_SMTPSERVER) ) ^ == delegated._.c:3759:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_REMITTABLE) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~ delegated._.c:3759:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_REMITTABLE) ) ^ ( ) delegated._.c:3759:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_REMITTABLE) ) ^ == delegated._.c:3767:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_PERMIT) ) ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:3767:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_PERMIT) ) ^ ( ) delegated._.c:3767:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_PERMIT) ) ^ == delegated._.c:3791:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_RELAY) ) ~~~~^~~~~~~~~~~~~~~~~ delegated._.c:3791:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_RELAY) ) ^ ( ) delegated._.c:3791:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_RELAY) ) ^ == delegated._.c:3814:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_SMTPGATE) ) ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3814:11: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_SMTPGATE) ) ^ ( ) delegated._.c:3814:11: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_SMTPGATE) ) ^ == delegated._.c:3819:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_CGIENV) ) ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:3819:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_CGIENV) ) ^ ( ) delegated._.c:3819:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_CGIENV) ) ^ == delegated._.c:3822:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_DELAY) ) ~~~~^~~~~~~~~~~~~~~~~ delegated._.c:3822:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_DELAY) ) ^ ( ) delegated._.c:3822:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_DELAY) ) ^ == delegated._.c:3872:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_BASEURL) ) ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:3872:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_BASEURL) ) ^ ( ) delegated._.c:3872:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_BASEURL) ) ^ == delegated._.c:3875:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_DELEGATE) ) ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3875:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_DELEGATE) ) ^ ( ) delegated._.c:3875:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_DELEGATE) ) ^ == delegated._.c:3878:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_OVERRIDE) ) ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3878:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_OVERRIDE) ) ^ ( ) delegated._.c:3878:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_OVERRIDE) ) ^ == delegated._.c:3906:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_LIBPATH) ) ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:3906:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_LIBPATH) ) ^ ( ) delegated._.c:3906:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_LIBPATH) ) ^ == delegated._.c:3908:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_DATAPATH) ) ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3908:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_DATAPATH) ) ^ ( ) delegated._.c:3908:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_DATAPATH) ) ^ == delegated._.c:3910:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_LDPATH) ) ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:3910:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_LDPATH) ) ^ ( ) delegated._.c:3910:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_LDPATH) ) ^ == delegated._.c:3913:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_VARDIR) ) DELEGATE_VARDIR = stralloc(env); ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:3913:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_VARDIR) ) DELEGATE_VARDIR = stralloc(env); ^ ( ) delegated._.c:3913:10: note: use '==' to turn this assignment into an equality comparison 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] if( env = getEnv(P_LOGFILE) ) DELEGATE_LOGFILE = stralloc(env); ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:3914:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_LOGFILE) ) DELEGATE_LOGFILE = stralloc(env); ^ ( ) delegated._.c:3914:10: note: use '==' to turn this assignment into an equality comparison 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] if( env = getEnv(P_ERRORLOG) ) DELEGATE_ERRORLOG = stralloc(env); ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3915:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_ERRORLOG) ) DELEGATE_ERRORLOG = stralloc(env); ^ ( ) delegated._.c:3915:10: note: use '==' to turn this assignment into an equality comparison 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] if( env = getEnv(P_STDOUTLOG)) DELEGATE_STDOUTLOG = stralloc(env); ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:3916:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_STDOUTLOG)) DELEGATE_STDOUTLOG = stralloc(env); ^ ( ) delegated._.c:3916:10: note: use '==' to turn this assignment into an equality comparison 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] if( env = getEnv(P_TRACELOG) ) DELEGATE_TRACELOG = stralloc(env); ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3917:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_TRACELOG) ) DELEGATE_TRACELOG = stralloc(env); ^ ( ) delegated._.c:3917:10: note: use '==' to turn this assignment into an equality comparison 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] if( env = getEnv(P_PIDFILE) ) DELEGATE_PIDFILE = stralloc(env); ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:3918:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_PIDFILE) ) DELEGATE_PIDFILE = stralloc(env); ^ ( ) delegated._.c:3918:10: note: use '==' to turn this assignment into an equality comparison 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] if( env = getEnv(P_PROTOLOG) ){ ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3919:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_PROTOLOG) ){ ^ ( ) delegated._.c:3919:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_PROTOLOG) ){ ^ == delegated._.c:3925:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fmt = logfmtpart(logspec) ) ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:3925:12: note: place parentheses around the assignment to silence this warning if( fmt = logfmtpart(logspec) ) ^ ( ) delegated._.c:3925:12: note: use '==' to turn this assignment into an equality comparison if( fmt = logfmtpart(logspec) ) ^ == delegated._.c:3932:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_CERTDIR) ) scan_CERTDIR(Conn,env); ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:3932:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_CERTDIR) ) scan_CERTDIR(Conn,env); ^ ( ) delegated._.c:3932:10: note: use '==' to turn this assignment into an equality comparison 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] if( env = getEnv("IMAGEDIR") ) DELEGATE_IMAGEDIR = stralloc(env); ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3944:10: note: place parentheses around the assignment to silence this warning if( env = getEnv("IMAGEDIR") ) DELEGATE_IMAGEDIR = stralloc(env); ^ ( ) delegated._.c:3944:10: note: use '==' to turn this assignment into an equality comparison 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] if( env = getEnv(P_CACHEARC) ) scan_CACHEARC(stralloc(env)); ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3946:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_CACHEARC) ) scan_CACHEARC(stralloc(env)); ^ ( ) delegated._.c:3946:10: note: use '==' to turn this assignment into an equality comparison 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] if( env = getEnv(P_CACHEDIR) ) scan_CACHEDIR(stralloc(env)); ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:3947:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_CACHEDIR) ) scan_CACHEDIR(stralloc(env)); ^ ( ) delegated._.c:3947:10: note: use '==' to turn this assignment into an equality comparison 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] if( env = getEnv(P_CACHEFILE)) scan_CACHEFILE(stralloc(env)); ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:3948:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_CACHEFILE)) scan_CACHEFILE(stralloc(env)); ^ ( ) delegated._.c:3948:10: note: use '==' to turn this assignment into an equality comparison 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] if( env = getEnv(P_COUNTER) ) scan_COUNTER(Conn,env); ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:3953:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_COUNTER) ) scan_COUNTER(Conn,env); ^ ( ) delegated._.c:3953:10: note: use '==' to turn this assignment into an equality comparison 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] 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 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 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] if( env = getEnv("HUPENV") ){ ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:4099:10: note: place parentheses around the assignment to silence this warning if( env = getEnv("HUPENV") ){ ^ ( ) delegated._.c:4099:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv("HUPENV") ){ ^ == delegated._.c:4179:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strheadstrX(av[ai],"-Fkill-",0) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:4179:10: note: place parentheses around the assignment to silence this warning if( dp = strheadstrX(av[ai],"-Fkill-",0) ){ ^ ( ) delegated._.c:4179:10: note: use '==' to turn this assignment into an equality comparison if( dp = strheadstrX(av[ai],"-Fkill-",0) ){ ^ == delegated._.c:4637:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( na = aliveServ(Conn) ){ ~~~^~~~~~~~~~~~~~~~~ delegated._.c:4637:11: note: place parentheses around the assignment to silence this warning if( na = aliveServ(Conn) ){ ^ ( ) delegated._.c:4637:11: note: use '==' to turn this assignment into an equality comparison if( na = aliveServ(Conn) ){ ^ == delegated._.c:4671:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] }else{ ^ delegated._.c:4926:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( port = getClientHostPort(Conn,QVStr(from+4,from)) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:4926:10: note: place parentheses around the assignment to silence this warning if( port = getClientHostPort(Conn,QVStr(from+4,from)) ) ^ ( ) delegated._.c:4926:10: note: use '==' to turn this assignment into an equality comparison 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] if( name = strrpbrk(EXEC_PATH,"/\\") ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:5115:11: note: place parentheses around the assignment to silence this warning if( name = strrpbrk(EXEC_PATH,"/\\") ) ^ ( ) delegated._.c:5115:11: note: use '==' to turn this assignment into an equality comparison if( name = strrpbrk(EXEC_PATH,"/\\") ) ^ == delegated._.c:5141:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( closestdIO = frominetd || IamCGI ){ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:5141:17: note: place parentheses around the assignment to silence this warning if( closestdIO = frominetd || IamCGI ){ ^ ( ) delegated._.c:5141:17: note: use '==' to turn this assignment into an equality comparison if( closestdIO = frominetd || IamCGI ){ ^ == delegated._.c:5362:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nonexist = !File_is(apath) ){ ~~~~~~~~~^~~~~~~~~~~~~~~~~ delegated._.c:5362:15: note: place parentheses around the assignment to silence this warning if( nonexist = !File_is(apath) ){ ^ ( ) delegated._.c:5362:15: note: use '==' to turn this assignment into an equality comparison if( nonexist = !File_is(apath) ){ ^ == delegated._.c:5363:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strpbrk(apath," \t") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ delegated._.c:5363:10: note: place parentheses around the assignment to silence this warning if( dp = strpbrk(apath," \t") ){ ^ ( ) delegated._.c:5363:10: note: use '==' to turn this assignment into an equality comparison if( dp = strpbrk(apath," \t") ){ ^ == delegated._.c:5424:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrpbrk(av[ai],"/\\") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:5424:10: note: place parentheses around the assignment to silence this warning if( dp = strrpbrk(av[ai],"/\\") ) ^ ( ) delegated._.c:5424:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrpbrk(av[ai],"/\\") ) ^ == delegated._.c:5582:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dgargs = getenv("DELEGATE_ARGS") ){ ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:5582:13: note: place parentheses around the assignment to silence this warning if( dgargs = getenv("DELEGATE_ARGS") ){ ^ ( ) delegated._.c:5582:13: note: use '==' to turn this assignment into an equality comparison if( dgargs = getenv("DELEGATE_ARGS") ){ ^ == delegated._.c:5619:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fi = 0; file = sysfiles[fi]; fi++ ){ ~~~~~^~~~~~~~~~~~~~ delegated._.c:5619:20: note: place parentheses around the assignment to silence this warning for( fi = 0; file = sysfiles[fi]; fi++ ){ ^ ( ) delegated._.c:5619:20: note: use '==' to turn this assignment into an equality comparison for( fi = 0; file = sysfiles[fi]; fi++ ){ ^ == delegated._.c:5667:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("PATH") ){ ~~~~^~~~~~~~~~~~~~~~ delegated._.c:5667:10: note: place parentheses around the assignment to silence this warning if( env = getenv("PATH") ){ ^ ( ) delegated._.c:5667:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("PATH") ){ ^ == delegated._.c:5675:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dgd = strrpbrk(av[0],"/\\") ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:5675:10: note: place parentheses around the assignment to silence this warning if( dgd = strrpbrk(av[0],"/\\") ) ^ ( ) delegated._.c:5675:10: note: use '==' to turn this assignment into an equality comparison if( dgd = strrpbrk(av[0],"/\\") ) ^ == delegated._.c:5726:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; env = environ[ei]; ei++ ){ ~~~~^~~~~~~~~~~~~ delegated._.c:5726:19: note: place parentheses around the assignment to silence this warning for( ei = 0; env = environ[ei]; ei++ ){ ^ ( ) delegated._.c:5726:19: note: use '==' to turn this assignment into an equality comparison for( ei = 0; env = environ[ei]; ei++ ){ ^ == delegated._.c:6147:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pid = Fork("SUDO") ){ ~~~~^~~~~~~~~~~~~~ delegated._.c:6147:10: note: place parentheses around the assignment to silence this warning if( pid = Fork("SUDO") ){ ^ ( ) delegated._.c:6147:10: note: use '==' to turn this assignment into an equality comparison if( pid = Fork("SUDO") ){ ^ == delegated._.c:6286:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_RES_DEBUG) ) ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:6286:11: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_RES_DEBUG) ) ^ ( ) delegated._.c:6286:11: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_RES_DEBUG) ) ^ == delegated._.c:6325:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( root = getEnv(P_CHROOT) ){ ~~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:6325:11: note: place parentheses around the assignment to silence this warning if( root = getEnv(P_CHROOT) ){ ^ ( ) delegated._.c:6325:11: note: use '==' to turn this assignment into an equality comparison if( root = getEnv(P_CHROOT) ){ ^ == delegated._.c:6420:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen(wh,AVStr(path),"r-") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6420:10: note: place parentheses around the assignment to silence this warning if( fp = dirfopen(wh,AVStr(path),"r-") ){ ^ ( ) delegated._.c:6420:10: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen(wh,AVStr(path),"r-") ){ ^ == delegated._.c:6441:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen("SoftBreak",AVStr(path),"w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6441:10: note: place parentheses around the assignment to silence this warning if( fp = dirfopen("SoftBreak",AVStr(path),"w") ){ ^ ( ) delegated._.c:6441:10: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen("SoftBreak",AVStr(path),"w") ){ ^ == delegated._.c:6467:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( np = name; nc = (unsigned char)*np; np++ ){ ~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:6467:21: note: place parentheses around the assignment to silence this warning for( np = name; nc = (unsigned char)*np; np++ ){ ^ ( ) delegated._.c:6467:21: note: use '==' to turn this assignment into an equality comparison 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] if( fp = dirfopen("getConfig",AVStr(path),"r") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6517:9: note: place parentheses around the assignment to silence this warning if( fp = dirfopen("getConfig",AVStr(path),"r") ){ ^ ( ) delegated._.c:6517:9: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen("getConfig",AVStr(path),"r") ){ ^ == delegated._.c:6527:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen("putConfig",AVStr(path),mode) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6527:9: note: place parentheses around the assignment to silence this warning if( fp = dirfopen("putConfig",AVStr(path),mode) ){ ^ ( ) delegated._.c:6527:9: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen("putConfig",AVStr(path),mode) ){ ^ == delegated._.c:6561:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen("DGHTML",AVStr(path),"w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6561:10: note: place parentheses around the assignment to silence this warning if( fp = dirfopen("DGHTML",AVStr(path),"w") ){ ^ ( ) delegated._.c:6561:10: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen("DGHTML",AVStr(path),"w") ){ ^ == delegated._.c:6622:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getv(av,"_isService") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6622:10: note: place parentheses around the assignment to silence this warning if( env = getv(av,"_isService") ){ ^ ( ) delegated._.c:6622:10: note: use '==' to turn this assignment into an equality comparison if( env = getv(av,"_isService") ){ ^ == delegated._.c:6631:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv("_ServerPid") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6631:10: note: place parentheses around the assignment to silence this warning if( env = getEnv("_ServerPid") ){ ^ ( ) delegated._.c:6631:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv("_ServerPid") ){ ^ == delegated._.c:6704:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( name = strrpbrk(EXEC_PATH,"/\\") ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6704:11: note: place parentheses around the assignment to silence this warning if( name = strrpbrk(EXEC_PATH,"/\\") ) ^ ( ) delegated._.c:6704:11: note: use '==' to turn this assignment into an equality comparison if( name = strrpbrk(EXEC_PATH,"/\\") ) ^ == delegated._.c:6709:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( func = getEnvBin(P_FUNC) ){ ~~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:6709:11: note: place parentheses around the assignment to silence this warning if( func = getEnvBin(P_FUNC) ){ ^ ( ) delegated._.c:6709:11: note: use '==' to turn this assignment into an equality comparison if( func = getEnvBin(P_FUNC) ){ ^ == delegated._.c:6758:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_DGPATH) ) ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:6758:11: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_DGPATH) ) ^ ( ) delegated._.c:6758:11: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_DGPATH) ) ^ == delegated._.c:6788:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_DGPATH) ) ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:6788:11: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_DGPATH) ) ^ ( ) delegated._.c:6788:11: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_DGPATH) ) ^ == delegated._.c:6815:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_DGPATH) ) ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:6815:11: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_DGPATH) ) ^ ( ) delegated._.c:6815:11: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_DGPATH) ) ^ == delegated._.c:6868:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_INPARAM) ) ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:6868:12: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_INPARAM) ) ^ ( ) delegated._.c:6868:12: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_INPARAM) ) ^ == delegated._.c:6985:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopenInitLog(get_svname(),mode) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:6985:10: note: place parentheses around the assignment to silence this warning if( fp = fopenInitLog(get_svname(),mode) ){ ^ ( ) delegated._.c:6985:10: note: use '==' to turn this assignment into an equality comparison if( fp = fopenInitLog(get_svname(),mode) ){ ^ == delegated._.c:7014:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 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 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 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] 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 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 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] if( env = getEnv(P_LOGCENTER) ) ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:7060:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_LOGCENTER) ) ^ ( ) delegated._.c:7060:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_LOGCENTER) ) ^ == delegated._.c:7191:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv("LINGER") ) DELEGATE_LINGER = atoi(env); ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:7191:10: note: place parentheses around the assignment to silence this warning if( env = getEnv("LINGER") ) DELEGATE_LINGER = atoi(env); ^ ( ) delegated._.c:7191:10: note: use '==' to turn this assignment into an equality comparison 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] if( env = getEnv(P_TUNNEL) ){ ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:7198:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_TUNNEL) ){ ^ ( ) delegated._.c:7198:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_TUNNEL) ){ ^ == delegated._.c:7214:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv("_masterp") ){ ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:7214:11: note: place parentheses around the assignment to silence this warning if( env = getEnv("_masterp") ){ ^ ( ) delegated._.c:7214:11: note: use '==' to turn this assignment into an equality comparison if( env = getEnv("_masterp") ){ ^ == delegated._.c:7217:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_MASTERP) ){ ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:7217:11: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_MASTERP) ){ ^ ( ) delegated._.c:7217:11: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_MASTERP) ){ ^ == delegated._.c:7240:25: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] int openLocalServPorts(); ^~ delegated._.c:7240:25: note: replace parentheses with an initializer to declare a variable int openLocalServPorts(); ^~ = 0 delegated._.c:7561:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( logMMap = filemmap("","w+",0,sizeof(LogControls)) ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:7561:14: note: place parentheses around the assignment to silence this warning if( logMMap = filemmap("","w+",0,sizeof(LogControls)) ){ ^ ( ) delegated._.c:7561:14: note: use '==' to turn this assignment into an equality comparison if( logMMap = filemmap("","w+",0,sizeof(LogControls)) ){ ^ == delegated._.c:7998:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ndead = cleanup_zombis(0) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:7998:13: note: place parentheses around the assignment to silence this warning if( ndead = cleanup_zombis(0) ){ ^ ( ) delegated._.c:7998:13: note: use '==' to turn this assignment into an equality comparison if( ndead = cleanup_zombis(0) ){ ^ == delegated._.c:8029:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pid = ForkX("SequentialServer",xproc) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:8029:10: note: place parentheses around the assignment to silence this warning if( pid = ForkX("SequentialServer",xproc) ) ^ ( ) delegated._.c:8029:10: note: use '==' to turn this assignment into an equality comparison if( pid = ForkX("SequentialServer",xproc) ) ^ == delegated._.c:8136:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pid = ForkX("OnetimeServer",xproc) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:8136:10: note: place parentheses around the assignment to silence this warning if( pid = ForkX("OnetimeServer",xproc) ) ^ ( ) delegated._.c:8136:10: note: use '==' to turn this assignment into an equality comparison if( pid = ForkX("OnetimeServer",xproc) ) ^ == delegated._.c:8182:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strrpbrk(eb,"/\\") ){ ~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:8182:10: note: place parentheses around the assignment to silence this warning if( ep = strrpbrk(eb,"/\\") ){ ^ ( ) delegated._.c:8182:10: note: use '==' to turn this assignment into an equality comparison if( ep = strrpbrk(eb,"/\\") ){ ^ == delegated._.c:8273:24: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] const char *myExePath(); ^~ delegated._.c:8273:24: note: replace parentheses with an initializer to declare a variable const char *myExePath(); ^~ = NULL delegated._.c:8276:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_EXEC_PATH) ) ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:8276:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_EXEC_PATH) ) ^ ( ) delegated._.c:8276:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_EXEC_PATH) ) ^ == delegated._.c:8280:24: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] const char *myExePath(); ^~ delegated._.c:8280:24: note: replace parentheses with an initializer to declare a variable const char *myExePath(); ^~ = NULL delegated._.c:8328:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pid = Fork("FilterTrace") ){ ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:8328:11: note: place parentheses around the assignment to silence this warning if( pid = Fork("FilterTrace") ){ ^ ( ) delegated._.c:8328:11: note: use '==' to turn this assignment into an equality comparison if( pid = Fork("FilterTrace") ){ ^ == delegated._.c:8388:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ndead = cleanup_zombis(1) ) ~~~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:8388:12: note: place parentheses around the assignment to silence this warning if( ndead = cleanup_zombis(1) ) ^ ( ) delegated._.c:8388:12: note: use '==' to turn this assignment into an equality comparison if( ndead = cleanup_zombis(1) ) ^ == delegated._.c:8424:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ndead = cleanup_zombis(1) ) ~~~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:8424:12: note: place parentheses around the assignment to silence this warning if( ndead = cleanup_zombis(1) ) ^ ( ) delegated._.c:8424:12: note: use '==' to turn this assignment into an equality comparison if( ndead = cleanup_zombis(1) ) ^ == delegated._.c:8479:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ndone = StickyDone - lastdoneN ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:8479:12: note: place parentheses around the assignment to silence this warning if( ndone = StickyDone - lastdoneN ){ ^ ( ) delegated._.c:8479:12: note: use '==' to turn this assignment into an equality comparison if( ndone = StickyDone - lastdoneN ){ ^ == delegated._.c:8484:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( nserved = StickyNserved - lastserveN ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:8484:14: note: place parentheses around the assignment to silence this warning if( nserved = StickyNserved - lastserveN ){ ^ ( ) delegated._.c:8484:14: note: use '==' to turn this assignment into an equality comparison if( nserved = StickyNserved - lastserveN ){ ^ == delegated._.c:8495:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( idle = getStickyIdle("lo1",shlock) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:8495:12: note: place parentheses around the assignment to silence this warning if( idle = getStickyIdle("lo1",shlock) ) ^ ( ) delegated._.c:8495:12: note: use '==' to turn this assignment into an equality comparison if( idle = getStickyIdle("lo1",shlock) ) ^ == delegated._.c:9089:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( to = strstr(opts,"expire/") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9089:9: note: place parentheses around the assignment to silence this warning if( to = strstr(opts,"expire/") ){ ^ ( ) delegated._.c:9089:9: note: use '==' to turn this assignment into an equality comparison if( to = strstr(opts,"expire/") ){ ^ == delegated._.c:9339:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sport = clSock->_clif._portProto ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9339:12: note: place parentheses around the assignment to silence this warning if( sport = clSock->_clif._portProto ){ ^ ( ) delegated._.c:9339:12: note: use '==' to turn this assignment into an equality comparison if( sport = clSock->_clif._portProto ){ ^ == delegated._.c:9340:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( sname = servicename(sport,0) ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9340:13: note: place parentheses around the assignment to silence this warning if( sname = servicename(sport,0) ){ ^ ( ) delegated._.c:9340:13: note: use '==' to turn this assignment into an equality comparison if( sname = servicename(sport,0) ){ ^ == delegated._.c:9735:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( logaddr = setmmap(logmmap,0,sizeof(LogControls)) ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9735:15: note: place parentheses around the assignment to silence this warning if( logaddr = setmmap(logmmap,0,sizeof(LogControls)) ){ ^ ( ) delegated._.c:9735:15: note: use '==' to turn this assignment into an equality comparison if( logaddr = setmmap(logmmap,0,sizeof(LogControls)) ){ ^ == delegated._.c:9809:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_EXEC_ENV) ) ~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:9809:11: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_EXEC_ENV) ) ^ ( ) delegated._.c:9809:11: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_EXEC_ENV) ) ^ == delegated._.c:9835:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_EXEC_PATH) ) strcpy(EXEC_PATH,env); ~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:9835:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_EXEC_PATH) ) strcpy(EXEC_PATH,env); ^ ( ) delegated._.c:9835:10: note: use '==' to turn this assignment into an equality comparison 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] if( env = getEnv(P_START_TIME) ) START_TIME = atoi(env); ~~~~^~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9836:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_START_TIME) ) START_TIME = atoi(env); ^ ( ) delegated._.c:9836:10: note: use '==' to turn this assignment into an equality comparison 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] if( env = getEnv(P_ALIVE_PEERS)) NUM_CHILDREN = atoi(env); ~~~~^~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9837:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_ALIVE_PEERS)) NUM_CHILDREN = atoi(env); ^ ( ) delegated._.c:9837:10: note: use '==' to turn this assignment into an equality comparison 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] if( fp = dirfopen("WORKFILE",AVStr(pid),"w") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9909:10: note: place parentheses around the assignment to silence this warning if( fp = dirfopen("WORKFILE",AVStr(pid),"w") ) ^ ( ) delegated._.c:9909:10: note: use '==' to turn this assignment into an equality comparison if( fp = dirfopen("WORKFILE",AVStr(pid),"w") ) ^ == delegated._.c:9945:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( tx = 0; workfile = workFiles[tx]; tx++ ){ ~~~~~~~~~^~~~~~~~~~~~~~~ delegated._.c:9945:24: note: place parentheses around the assignment to silence this warning for( tx = 0; workfile = workFiles[tx]; tx++ ){ ^ ( ) delegated._.c:9945:24: note: use '==' to turn this assignment into an equality comparison for( tx = 0; workfile = workFiles[tx]; tx++ ){ ^ == delegated._.c:9946:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrpbrk(workfile,"/\\") ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9946:10: note: place parentheses around the assignment to silence this warning if( dp = strrpbrk(workfile,"/\\") ) ^ ( ) delegated._.c:9946:10: note: use '==' to turn this assignment into an equality comparison if( dp = strrpbrk(workfile,"/\\") ) ^ == delegated._.c:9958:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( file = getEnv("STATFILE") ) ~~~~~^~~~~~~~~~~~~~~~~~~~ delegated._.c:9958:11: note: place parentheses around the assignment to silence this warning if( file = getEnv("STATFILE") ) ^ ( ) delegated._.c:9958:11: note: use '==' to turn this assignment into an equality comparison if( file = getEnv("STATFILE") ) ^ == delegated._.c:9959:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = openStatusFile(file) ){ ~~~^~~~~~~~~~~~~~~~~~~~~~ delegated._.c:9959:9: note: place parentheses around the assignment to silence this warning if( fp = openStatusFile(file) ){ ^ ( ) delegated._.c:9959:9: note: use '==' to turn this assignment into an equality comparison if( fp = openStatusFile(file) ){ ^ == delegated._.c:9971:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pxaddr = gethostaddr(pxhost) ) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ delegated._.c:9971:13: note: place parentheses around the assignment to silence this warning if( pxaddr = gethostaddr(pxhost) ) ^ ( ) delegated._.c:9971:13: note: use '==' to turn this assignment into an equality comparison if( pxaddr = gethostaddr(pxhost) ) ^ == delegated._.c:10011:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cachefp = fopen(cachepath,"r+") ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:10011:15: note: place parentheses around the assignment to silence this warning if( cachefp = fopen(cachepath,"r+") ){ ^ ( ) delegated._.c:10011:15: note: use '==' to turn this assignment into an equality comparison if( cachefp = fopen(cachepath,"r+") ){ ^ == delegated._.c:10054:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( cachefp = dirfopen("X-Proxy",AVStr(cachepath),"w") ){ ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ delegated._.c:10054:15: note: place parentheses around the assignment to silence this warning if( cachefp = dirfopen("X-Proxy",AVStr(cachepath),"w") ){ ^ ( ) delegated._.c:10054:15: note: use '==' to turn this assignment into an equality comparison 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] if( env = getEnv(P_CONNECT) ){ ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:10096:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_CONNECT) ){ ^ ( ) delegated._.c:10096:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_CONNECT) ){ ^ == delegated._.c:10118:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_VARDIR) ){ ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:10118:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_VARDIR) ){ ^ ( ) delegated._.c:10118:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_VARDIR) ){ ^ == delegated._.c:10122:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_LOGDIR) ){ ~~~~^~~~~~~~~~~~~~~~~~ delegated._.c:10122:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_LOGDIR) ){ ^ ( ) delegated._.c:10122:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_LOGDIR) ){ ^ == delegated._.c:10126:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getEnv(P_LOGFILE) ){ ~~~~^~~~~~~~~~~~~~~~~~~ delegated._.c:10126:10: note: place parentheses around the assignment to silence this warning if( env = getEnv(P_LOGFILE) ){ ^ ( ) delegated._.c:10126:10: note: use '==' to turn this assignment into an equality comparison if( env = getEnv(P_LOGFILE) ){ ^ == delegated._.c:10193:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pid = fork() ) ~~~~^~~~~~~~ delegated._.c:10193:11: note: place parentheses around the assignment to silence this warning if( pid = fork() ) ^ ( ) delegated._.c:10193:11: note: use '==' to turn this assignment into an equality comparison if( pid = fork() ) ^ == delegated._.c:10463:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( ei = 0; e1 = environ[ei]; ei++ ){ ~~~^~~~~~~~~~~~~ delegated._.c:10463:18: note: place parentheses around the assignment to silence this warning for( ei = 0; e1 = environ[ei]; ei++ ){ ^ ( ) delegated._.c:10463:18: note: use '==' to turn this assignment into an equality comparison for( ei = 0; e1 = environ[ei]; ei++ ){ ^ == delegated._.c:10537:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( mask = sigblock(0) ){ ~~~~~^~~~~~~~~~~~~ delegated._.c:10537:12: note: place parentheses around the assignment to silence this warning if( mask = sigblock(0) ){ ^ ( ) delegated._.c:10537:12: note: use '==' to turn this assignment into an equality comparison if( mask = sigblock(0) ){ ^ == 159 warnings generated. ../mkcpp commands.c commands._.c -- mkcpp set time: 1712064800 -> 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] for( fi = 0; name = subfuncs[fi].f_name; fi++ ) ~~~~~^~~~~~~~~~~~~~~~~~~~~ commands._.c:279:20: note: place parentheses around the assignment to silence this warning for( fi = 0; name = subfuncs[fi].f_name; fi++ ) ^ ( ) commands._.c:279:20: note: use '==' to turn this assignment into an equality comparison 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] if( dp = strrpbrk(name,"\\/") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ commands._.c:289:9: note: place parentheses around the assignment to silence this warning if( dp = strrpbrk(name,"\\/") ) ^ ( ) commands._.c:289:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrpbrk(name,"\\/") ) ^ == commands._.c:291:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strtailstrX(name,".exe",1) ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands._.c:291:9: note: place parentheses around the assignment to silence this warning if( dp = strtailstrX(name,".exe",1) ) ^ ( ) commands._.c:291:9: note: use '==' to turn this assignment into an equality comparison if( dp = strtailstrX(name,".exe",1) ) ^ == commands._.c:293:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fi = 0; n1 = subfuncs[fi].f_name; fi++ ){ ~~~^~~~~~~~~~~~~~~~~~~~~ commands._.c:293:18: note: place parentheses around the assignment to silence this warning for( fi = 0; n1 = subfuncs[fi].f_name; fi++ ){ ^ ( ) commands._.c:293:18: note: use '==' to turn this assignment into an equality comparison 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] if( fi = asFunc(func) ){ ~~~^~~~~~~~~~~~~~ commands._.c:320:10: note: place parentheses around the assignment to silence this warning if( fi = asFunc(func) ){ ^ ( ) commands._.c:320:10: note: use '==' to turn this assignment into an equality comparison if( fi = asFunc(func) ){ ^ == commands._.c:332:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fi = asFunc(func) ) ~~~^~~~~~~~~~~~~~ commands._.c:332:9: note: place parentheses around the assignment to silence this warning if( fi = asFunc(func) ) ^ ( ) commands._.c:332:9: note: use '==' to turn this assignment into an equality comparison if( fi = asFunc(func) ) ^ == commands._.c:396:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen(kfile,"w") ){ ~~~^~~~~~~~~~~~~~~~~~ commands._.c:396:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(kfile,"w") ){ ^ ( ) commands._.c:396:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(kfile,"w") ){ ^ == commands._.c:403:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( pp = popen(command,"w") ){ ~~~^~~~~~~~~~~~~~~~~~~~ commands._.c:403:9: note: place parentheses around the assignment to silence this warning if( pp = popen(command,"w") ){ ^ ( ) commands._.c:403:9: note: use '==' to turn this assignment into an equality comparison if( pp = popen(command,"w") ){ ^ == commands._.c:414:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( fi = 0; fname = subfuncs[fi].f_name; fi++ ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~ commands._.c:414:21: note: place parentheses around the assignment to silence this warning for( fi = 0; fname = subfuncs[fi].f_name; fi++ ) ^ ( ) commands._.c:414:21: note: use '==' to turn this assignment into an equality comparison 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] for( fi = 0; fname = subfuncs[fi].f_name; fi++ ){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ commands._.c:519:21: note: place parentheses around the assignment to silence this warning for( fi = 0; fname = subfuncs[fi].f_name; fi++ ){ ^ ( ) commands._.c:519:21: note: use '==' to turn this assignment into an equality comparison for( fi = 0; fname = subfuncs[fi].f_name; fi++ ){ ^ == 10 warnings generated. ../mkcpp croncom.c croncom._.c -- mkcpp set time: 1712064800 -> 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] if( env = DELEGATE_getEnv(P_EXPIRE) ) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ croncom._.c:156:11: note: place parentheses around the assignment to silence this warning if( env = DELEGATE_getEnv(P_EXPIRE) ) ^ ( ) croncom._.c:156:11: note: use '==' to turn this assignment into an equality comparison if( env = DELEGATE_getEnv(P_EXPIRE) ) ^ == 1 warning generated. ../mkcpp remote.c remote._.c -- mkcpp set time: 1712064801 -> 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: 1712064801 -> 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] if( hp = gethostbyname(host) ) ~~~^~~~~~~~~~~~~~~~~~~~~ ./inets.c:318:9: note: place parentheses around the assignment to silence this warning if( hp = gethostbyname(host) ) ^ ( ) ./inets.c:318:9: note: use '==' to turn this assignment into an equality comparison if( hp = gethostbyname(host) ) ^ == 1 warning generated. ../mkcpp smtp_lib.c smtp_lib._.c -- mkcpp set time: 1712064801 -> 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] if( np = strstr(rbuf,"] ") ){ /* Timestamp */ ~~~^~~~~~~~~~~~~~~~~~~ smtp_lib._.c:387:10: note: place parentheses around the assignment to silence this warning if( np = strstr(rbuf,"] ") ){ /* Timestamp */ ^ ( ) smtp_lib._.c:387:10: note: use '==' to turn this assignment into an equality comparison if( np = strstr(rbuf,"] ") ){ /* Timestamp */ ^ == smtp_lib._.c:522:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dp = strrchr(tob,'%') ) ~~~^~~~~~~~~~~~~~~~~~ smtp_lib._.c:522:9: note: place parentheses around the assignment to silence this warning if( dp = strrchr(tob,'%') ) ^ ( ) smtp_lib._.c:522:9: note: use '==' to turn this assignment into an equality comparison if( dp = strrchr(tob,'%') ) ^ == smtp_lib._.c:523:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( op = strchr(dp,'@') ){ ~~~^~~~~~~~~~~~~~~~ smtp_lib._.c:523:9: note: place parentheses around the assignment to silence this warning if( op = strchr(dp,'@') ){ ^ ( ) smtp_lib._.c:523:9: note: use '==' to turn this assignment into an equality comparison if( op = strchr(dp,'@') ){ ^ == smtp_lib._.c:599:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( np = strchr(sp,'\n') ) ~~~^~~~~~~~~~~~~~~~~ smtp_lib._.c:599:10: note: place parentheses around the assignment to silence this warning if( np = strchr(sp,'\n') ) ^ ( ) smtp_lib._.c:599:10: note: use '==' to turn this assignment into an equality comparison if( np = strchr(sp,'\n') ) ^ == smtp_lib._.c:844:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ep = strpbrk(line,"\r\n") ) ~~~^~~~~~~~~~~~~~~~~~~~~~ smtp_lib._.c:844:11: note: place parentheses around the assignment to silence this warning if( ep = strpbrk(line,"\r\n") ) ^ ( ) smtp_lib._.c:844:11: note: use '==' to turn this assignment into an equality comparison 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/13.2-RELEASE-p10; FileSize-Bits=64/64,64/32,64,64; socket=65536/32768; sockpair=8192/8192,1016++U; char=signed; fcF=A; thread=PThread/pthread,32/128; zlib=112,308024; pam=3; stty=tcsetattr/termio; regex=regex; addr=A/31A740/821089D18; umem=231972/262100/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.2.13 -- ################ "/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 "" \ "gmake" commands MAKE="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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/subin @pkg-builder.dan.net.uk 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk #### [/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/subin] creating Makefile.go cpyfile Makefile[1-0][0-2026d9] > 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][201659-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: 1712064803 -> 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] /* 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: 1712064803 -> 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] /* 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: 1712064804 -> 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] /* 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: 1712064804 -> 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] /* 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: 1712064804 -> 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] /* 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: 1712064804 -> 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] /* 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] if( env = getenv("LINES") ){ ~~~~^~~~~~~~~~~~~~~~~ ./../rary/netsh.c:288:10: note: place parentheses around the assignment to silence this warning if( env = getenv("LINES") ){ ^ ( ) ./../rary/netsh.c:288:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("LINES") ){ ^ == ./../rary/netsh.c:291:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( env = getenv("COLUMNS") ){ ~~~~^~~~~~~~~~~~~~~~~~~ ./../rary/netsh.c:291:10: note: place parentheses around the assignment to silence this warning if( env = getenv("COLUMNS") ){ ^ ( ) ./../rary/netsh.c:291:10: note: use '==' to turn this assignment into an equality comparison if( env = getenv("COLUMNS") ){ ^ == ./../rary/netsh.c:1402:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = fopen("C:/DeleGate/dgpty.log","a") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../rary/netsh.c:1402:10: note: place parentheses around the assignment to silence this warning if( fp = fopen("C:/DeleGate/dgpty.log","a") ){ ^ ( ) ./../rary/netsh.c:1402:10: note: use '==' to turn this assignment into an equality comparison 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 \ "gmake" libxx MAKE="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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker @pkg-builder.dan.net.uk 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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: C++ requires a type specifier for all declarations ##ERROR## 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-builder.dan.net.uk 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk 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: 1712064806 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: 1712064806 -> 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: 1712064806 -> 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: 1712064806 -> 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: 1712064806 -> 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: 1712064806 -> 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-builder.dan.net.uk 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: 1712064808 -> 1411904544 ../gen/dglib.h ../mkcpp ../include/delegate.h ../gen/delegate.h -- mkcpp set time: 1712064808 -> 1409100207 ../gen/delegate.h ../mkcpp ../include/htswitch.h ../gen/htswitch.h -- mkcpp set time: 1712064808 -> 1250403944 ../gen/htswitch.h ../mkcpp ../include/ystrvec.h ../gen/ystrvec.h -- mkcpp set time: 1712064808 -> 1264936957 ../gen/ystrvec.h ../mkcpp ../include/vaddr.h ../gen/vaddr.h -- mkcpp set time: 1712064808 -> 1398938735 ../gen/vaddr.h ../mkcpp ../include/http.h ../gen/http.h -- mkcpp set time: 1712064808 -> 1411902220 ../gen/http.h ../mkcpp ../include/url.h ../gen/url.h -- mkcpp set time: 1712064808 -> 1407833903 ../gen/url.h ../mkcpp ../include/mime.h ../gen/mime.h -- mkcpp set time: 1712064808 -> 1258620620 ../gen/mime.h ../mkcpp ../include/htadmin.h ../gen/htadmin.h -- mkcpp set time: 1712064808 -> 1250403944 ../gen/htadmin.h ../mkcpp opt_s_htaccept.c opt_s_htaccept._.c -- mkcpp set time: 1712064808 -> 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] ACCEPT http://host:port/path -->> MOUNT="/path/* http://client/*" ^ opt_s_htaccept._.c:66:71: warning: '/*' within block comment [-Wcomment] ACCEPT http://host:port/path -->> MOUNT="/path/* http://client/*" ^ 2 warnings generated. ../mkcpp opt_s_sox.c opt_s_sox._.c -- mkcpp set time: 1712064808 -> 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 ../mkcpp opt_s_stls.c opt_s_stls._.c -- mkcpp set time: 1712064808 -> 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 ../mkcpp opt_s_vsap.c opt_s_vsap._.c -- mkcpp set time: 1712064808 -> 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] ... MOUNT="/path/* http://realserver/" ^ 1 warning generated. ../mkcpp opt_s_caps.c opt_s_caps._.c -- mkcpp set time: 1712064808 -> 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 "gmake" libx MAKE="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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker @pkg-builder.dan.net.uk gmake[3]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' /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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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: C++ requires a type specifier for all declarations ##ERROR## main(){ } ##ERROR## ^ ##ERROR## 1 error generated. ##ERROR## FATAL!!!!: Something wrong in the CFLAGS. -- checking LDLIBS = ../lib/libresolvy.a ../lib/libteleport.a ../lib/libmd5.a ../lib/libcfi.a ../lib/library.a ../lib/libgates.a ../lib/libmimekit.a ../lib/libfsx.a -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-builder.dan.net.uk 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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 #### loaded from '/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: 1712064809 gmake[5]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' gmake[5]: 'dummy.o' is up to date. gmake[5]: 'gxx.o' is up to date. gmake[5]: 'p2ll.o' is up to date. gmake[5]: 'p2i.o' is up to date. gmake[5]: 'dlopen.o' is up to date. gmake[5]: '__uname.o' is up to date. gmake[5]: 'uname.o' is up to date. gmake[5]: 'bcopy.o' is up to date. gmake[5]: 'bzero.o' is up to date. gmake[5]: 'putenv.o' is up to date. gmake[5]: 'unsetenv.o' is up to date. ../mkcpp unsetenv_.c unsetenv_.cc -- mkcpp set time: 1712064809 -> 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 gmake[5]: '__alloca.o' is up to date. ../mkcpp old_alloca.c old_alloca.cc -- mkcpp set time: 1712064809 -> 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 gmake[5]: 'alloca.o' is up to date. ../mkcpp __malloc_size.c __malloc_size.cc -- mkcpp set time: 1712064809 -> 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 gmake[5]: 'malloc_size.o' is up to date. gmake[5]: 'killpg.o' is up to date. gmake[5]: 'setsid.o' is up to date. gmake[5]: 'sigmask.o' is up to date. gmake[5]: 'sigsetmask.o' is up to date. gmake[5]: 'setresuid.o' is up to date. gmake[5]: 'seteuid.o' is up to date. gmake[5]: 'setegid.o' is up to date. gmake[5]: 'unaligned.o' is up to date. gmake[5]: 'timegm.o' is up to date. gmake[5]: '__usleep.o' is up to date. gmake[5]: 'usleep.o' is up to date. gmake[5]: '__ualarm.o' is up to date. gmake[5]: 'ualarm.o' is up to date. ../mkcpp _-poll.c _-poll.cc -- mkcpp set time: 1712064809 -> 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 gmake[5]: '_-select.o' is up to date. ../mkcpp _-poll1.c _-poll1.cc -- mkcpp set time: 1712064809 -> 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 gmake[5]: '_-poll2.o' is up to date. gmake[5]: '_-recv.o' is up to date. gmake[5]: 'sendFd1.o' is up to date. ../mkcpp sendFd2.c sendFd2.cc -- mkcpp set time: 1712064809 -> 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 gmake[5]: 'sendFd3.o' is up to date. gmake[5]: 'closesocket.o' is up to date. gmake[5]: 'yp_match.o' is up to date. gmake[5]: 'endhostent.o' is up to date. gmake[5]: 'gethostbyname2.o' is up to date. gmake[5]: '__gethostbyname2.o' is up to date. gmake[5]: 'socklen_u.o' is up to date. ../mkcpp socklen_s.c socklen_s.cc -- mkcpp set time: 1712064809 -> 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 gmake[5]: 'socketpair.o' is up to date. gmake[5]: 'inet_aton.o' is up to date. gmake[5]: '_-setferror.o' is up to date. gmake[5]: 'setferror.o' is up to date. gmake[5]: 'strerror.o' is up to date. gmake[5]: 'snprintf.o' is up to date. gmake[5]: 'strcasecmp.o' is up to date. gmake[5]: '_-strcasestr.o' is up to date. gmake[5]: 'strcasestr.o' is up to date. gmake[5]: 'strrcasestr.o' is up to date. gmake[5]: 'strstr.o' is up to date. gmake[5]: 'strdup.o' is up to date. gmake[5]: 'strncpy.o' is up to date. gmake[5]: 'setbuffer.o' is up to date. ../mkcpp setlinebuf.c setlinebuf.cc -- mkcpp set time: 1712064809 -> 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 gmake[5]: '__syslog.o' is up to date. gmake[5]: 'syslog.o' is up to date. gmake[5]: '__syscall.o' is up to date. gmake[5]: '__fork.o' is up to date. gmake[5]: 'fork.o' is up to date. ../mkcpp __ptrace.c __ptrace.cc -- mkcpp set time: 1712064809 -> 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 gmake[5]: '_-ptrace.o' is up to date. gmake[5]: 'ptrace.o' is up to date. gmake[5]: '__sigaction.o' is up to date. gmake[5]: 'sigaction.o' is up to date. gmake[5]: '__futimes.o' is up to date. gmake[5]: 'futimes.o' is up to date. gmake[5]: 'futimes_.o' is up to date. gmake[5]: '__utimes.o' is up to date. ../mkcpp utimes.c utimes.cc -- mkcpp set time: 1712064810 -> 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 gmake[5]: 'fsync.o' is up to date. gmake[5]: '__fchmod.o' is up to date. gmake[5]: 'fchmod.o' is up to date. gmake[5]: '__fchown.o' is up to date. gmake[5]: 'fchown.o' is up to date. gmake[5]: 'chown.o' is up to date. gmake[5]: '__link.o' is up to date. gmake[5]: 'link.o' is up to date. gmake[5]: '__symlink.o' is up to date. gmake[5]: 'symlink.o' is up to date. gmake[5]: 'readlink.o' is up to date. gmake[5]: '__lstat.o' is up to date. ../mkcpp lstat.c lstat.cc -- mkcpp set time: 1712064810 -> 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: 1712064810 -> 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 gmake[5]: '_-statvfs.o' is up to date. gmake[5]: 'statvfs.o' is up to date. gmake[5]: 'vfork.o' is up to date. gmake[5]: 'wait3.o' is up to date. gmake[5]: 'waitpid.o' is up to date. gmake[5]: 'getmsg.o' is up to date. gmake[5]: 'chroot.o' is up to date. gmake[5]: 'nice.o' is up to date. gmake[5]: '__getrlimit.o' is up to date. gmake[5]: 'getrlimit.o' is up to date. gmake[5]: '_-getrusage.o' is up to date. gmake[5]: 'getrusage.o' is up to date. ../mkcpp ___spawnvp.c ___spawnvp.cc -- mkcpp set time: 1712064810 -> 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: 1712064810 -> 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 gmake[5]: '_spawnvp.o' is up to date. gmake[5]: 'spawnvp.o' is up to date. gmake[5]: 'spawnvp_.o' is up to date. ../mkcpp __system.c __system.cc -- mkcpp set time: 1712064810 -> 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 gmake[5]: '_-system.o' is up to date. gmake[5]: '_-mutex.o' is up to date. gmake[5]: 'mutex.o' is up to date. gmake[5]: '__pthread_create.o' is up to date. gmake[5]: '___lwp_create.o' is up to date. gmake[5]: '__lwp_create.o' is up to date. gmake[5]: '_-pthread_create.o' is up to date. gmake[5]: '__pthread_kill.o' is up to date. gmake[5]: 'pthread_kill.o' is up to date. gmake[5]: '___beginthread.o' is up to date. gmake[5]: 'nothread.o' is up to date. gmake[5]: '__flock.o' is up to date. gmake[5]: '_-fcntl.o' is up to date. gmake[5]: 'flockfile.o' is up to date. gmake[5]: 'FMODE.o' is up to date. gmake[5]: 'getwd.o' is up to date. gmake[5]: 'getcwd.o' is up to date. gmake[5]: '__opendir.o' is up to date. ../mkcpp __scandir.c __scandir.cc -- mkcpp set time: 1712064810 -> 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 gmake[5]: 'pam_start.o' is up to date. gmake[5]: '__forkpty.o' is up to date. ../mkcpp _-forkpty.c _-forkpty.cc -- mkcpp set time: 1712064810 -> 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: 1712064810 -> 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 gmake[5]: 'forkpty.o' is up to date. gmake[5]: '__tcsetattr.o' is up to date. gmake[5]: 'Stty.o' is up to date. gmake[5]: '__getwinsize.o' is up to date. gmake[5]: 'getwinsize.o' is up to date. gmake[5]: '_-sgTTy.o' is up to date. gmake[5]: 'sgTTy.o' is up to date. gmake[5]: 'setlogin.o' is up to date. gmake[5]: '_-mkfifo.o' is up to date. gmake[5]: 'mkfifo.o' is up to date. gmake[5]: '_-fseeko.o' is up to date. gmake[5]: 'fseeko.o' is up to date. gmake[5]: '_-fgetpos.o' is up to date. ../mkcpp fgetpos.c fgetpos.cc -- mkcpp set time: 1712064810 -> 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 gmake[5]: 'fpurge.o' is up to date. gmake[5]: 'stdio.o' is up to date. gmake[5]: 'pendingcc1.o' is up to date. gmake[5]: 'pendingcc.o' is up to date. gmake[5]: '_-fcloseFILE.o' is up to date. ../mkcpp _-fcloseFILE2.c _-fcloseFILE2.cc -- mkcpp set time: 1712064810 -> 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 gmake[5]: 'fcloseFILE.o' is up to date. gmake[5]: '__setproctitle.o' is up to date. gmake[5]: 'setproctitle.o' is up to date. gmake[5]: '__sysctl.o' is up to date. gmake[5]: 'sysctl.o' is up to date. ../mkcpp __sysinfo.c __sysinfo.cc -- mkcpp set time: 1712064811 -> 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: 1712064811 -> 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 gmake[5]: 'sysinfo.o' is up to date. gmake[5]: 'sysctlbyname.o' is up to date. gmake[5]: '_-sysinfo.o' is up to date. gmake[5]: '_-sysconf.o' is up to date. gmake[5]: '_-sysconf2.o' is up to date. gmake[5]: 'netsh_none.o' is up to date. gmake[5]: '_-regex.o' is up to date. gmake[5]: 'regex.o' is up to date. gmake[5]: 'errno.o' is up to date. gmake[5]: 'Gates_Win32.o' is up to date. gmake[5]: 'gethostid.o' is up to date. gmake[5]: 'opt_s_vsap.o' is up to date. gmake[5]: 'opt_s_htaccept.o' is up to date. gmake[5]: 'opt_s_sox.o' is up to date. gmake[5]: 'opt_s_stls.o' is up to date. gmake[5]: 'opt_s_caps.o' is up to date. gmake[5]: 'opt_s_pilsner.o' is up to date. gmake[5]: 'opt_s_spinach.o' is up to date. gmake[5]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg-builder.dan.net.uk 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 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' [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg-builder.dan.net.uk 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 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk 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 ./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: 1712064811 -> 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] const char *DELEGATE_exesign(){ return "\n{EXESIGN=9.9.13:20240402133331+0000:0000000000000000:none@nowhere:''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''}\n"+10; } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./_builtin.c:1:313: note: use array indexing to silence this warning const char *DELEGATE_exesign(){ return "\n{EXESIGN=9.9.13:20240402133331+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] # # # # # # # # # # # # # # # # # # #}\"\n"+10+8; } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ./_builtin.c:89:44: note: use array indexing to silence this warning # # # # # # # # # # # # # # # # # # #}\"\n"+10+8; } ^ [ ] builtin._.c:48:9: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] return BUILT_SRCSIGN; ^~~~~~~~~~~~~ ../gen/bldsign.h:2:80: note: expanded from macro 'BUILT_SRCSIGN' {BLDSIGN\0759.9.13:20240402133327+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' {BLDSIGN\0759.9.13:20240402133327+0000:101a375aac289a4a:admin@example.com:-}\n"+10 ^ builtin._.c:81:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(i = 0; file1 = get_builtin_file(i); i++){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ builtin._.c:81:19: note: place parentheses around the assignment to silence this warning for(i = 0; file1 = get_builtin_file(i); i++){ ^ ( ) builtin._.c:81:19: note: use '==' to turn this assignment into an equality comparison 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] for(i = 0; file1 = get_builtin_file(i); i++){ ~~~~~~^~~~~~~~~~~~~~~~~~~~~ builtin._.c:104:19: note: place parentheses around the assignment to silence this warning for(i = 0; file1 = get_builtin_file(i); i++){ ^ ( ) builtin._.c:104:19: note: use '==' to turn this assignment into an equality comparison 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] if( fp = fopen(path,"r") ){ ~~~^~~~~~~~~~~~~~~~~ builtin._.c:126:9: note: place parentheses around the assignment to silence this warning if( fp = fopen(path,"r") ){ ^ ( ) builtin._.c:126:9: note: use '==' to turn this assignment into an equality comparison if( fp = fopen(path,"r") ){ ^ == builtin._.c:130:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( fp = dirfopen("builtin-data",AVStr(path),"w") ){ ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ builtin._.c:130:9: note: place parentheses around the assignment to silence this warning if( fp = dirfopen("builtin-data",AVStr(path),"w") ){ ^ ( ) builtin._.c:130:9: note: use '==' to turn this assignment into an equality comparison 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/13.2-RELEASE-p10; FileSize-Bits=64/64,64/32,64,64; socket=65536/32768; sockpair=8192/8192,1016++U; char=signed; fcF=A; thread=PThread/pthread,32/128; zlib=112,308024; pam=3; stty=tcsetattr/termio; regex=regex; addr=A/31A790/82083CD78; umem=231977/262100/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.2.13 -- ################ "/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 ../lib/libsubstx.a ../maker libsubstx.a \ "gmake" libxx MAKE="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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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-builder.dan.net.uk ####### -makeat: /wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker @pkg-builder.dan.net.uk 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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: C++ requires a type specifier for all declarations ##ERROR## 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-builder.dan.net.uk 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: C++ requires a type specifier for all declarations 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 struct _S{char A[]; char B[1];}S; ^ _.c:1:26: note: next field declaration is here struct _S{char A[]; char B[1];}S; ^ _.c:2:1: error: C++ requires a type specifier for all declarations main(){ } ^ 2 errors generated. ---- CC exit(256) 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: C++ requires a type specifier for all declarations 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 #### loaded from '/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: 1712064812 gmake[5]: Entering directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' gmake[5]: 'dummy.o' is up to date. gmake[5]: 'SSL_library_init.o' is up to date. gmake[5]: 'ERR_error_string_n.o' is up to date. gmake[5]: 'RSA_generate_key.o' is up to date. gmake[5]: 'SSL_set_SSL_CTX.o' is up to date. gmake[5]: 'SSL_CTX_set_tmp_rsa_callback.o' is up to date. gmake[5]: Leaving directory '/wrkdirs/usr/ports/net/delegate/work/delegate9.9.13/maker' [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg-builder.dan.net.uk 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 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' [cc -c -O2 -x c++ -DQS -DNONC99=3 -Dm64 ] NONC99=2, NONAZ0=6 @pkg-builder.dan.net.uk 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 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' ================ "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-builder.dan.net.uk ====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) 13:33:33.526 [77174] Path-Normalized<<< /wrkdirs/usr/ports/net/delegate/work/tmp/ (UNIX) 13:33:33.526 [77174] 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 2024040213 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 2024040213 0000000000000000 (none@nowhere) -- File MD5: 55f3e9b664387f92e0cc69c3ba7b7c49 old> 9.9.13 2024040213 0000000000000000 (none@nowhere) new> 9.9.13 2024040213 55f3e9b664387f92 (admin@example.com) 9.9.13:20240402133333+0000:55f3e9b664387f92:admin@example.com:-'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -rwxr-xr-x 1 root wheel 4102968 Apr 2 13:33 /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=2024-04-02T13:29:56+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=687edfacdc' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' 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 Tue Apr 2 14:33:37 BST 2024 build time: 00:03:42