Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/uw-imap.spec'], chrootPath='/var/lib/mock/f29-build-8178-2333/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/uw-imap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/uw-imap-2007f-21.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/uw-imap.spec'], chrootPath='/var/lib/mock/f29-build-8178-2333/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/uw-imap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qAJlIi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf imap-2007f + /usr/bin/gzip -dc /builddir/build/SOURCES/imap-2007f.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd imap-2007f + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (imap-2007-paths.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .paths --fuzz=0 Patch #1 (imap-2007-paths.patch): patching file src/osdep/unix/Makefile + echo 'Patch #2 (imap-2004a-doc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .doc --fuzz=0 Patch #2 (imap-2004a-doc.patch): patching file src/imapd/imapd.8 Hunk #1 succeeded at 16 (offset 13 lines). patching file src/ipopd/ipopd.8 Hunk #1 succeeded at 16 (offset 13 lines). Patch #5 (imap-2007e-overflow.patch): + echo 'Patch #5 (imap-2007e-overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .overflow --fuzz=0 patching file src/c-client/rfc822.c + echo 'Patch #9 (imap-2007e-shared.patch):' Patch #9 (imap-2007e-shared.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .shared --fuzz=0 patching file src/osdep/unix/Makefile Hunk #2 succeeded at 857 (offset 8 lines). Hunk #3 succeeded at 913 (offset 8 lines). Hunk #4 succeeded at 927 (offset 8 lines). + echo 'Patch #10 (imap-2007e-authmd5.patch):' Patch #10 (imap-2007e-authmd5.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .authmd5 --fuzz=0 patching file src/c-client/auth_md5.c + install -p -m644 /builddir/build/SOURCES/imap-password.pam imap.pam + echo 'Patch #12 (imap-2007f-format-security.patch):' Patch #12 (imap-2007f-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fmt-sec --fuzz=0 patching file src/osdep/unix/flocklnx.c Patch #13 (imap-2007e-poll.patch): + echo 'Patch #13 (imap-2007e-poll.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .poll --fuzz=0 patching file src/osdep/unix/os_lnx.c patching file src/osdep/unix/os_slx.c patching file src/osdep/unix/tcp_unix.c Patch #14 (1006_openssl1.1_autoverify.patch): + echo 'Patch #14 (1006_openssl1.1_autoverify.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .openssl11 --fuzz=0 patching file src/osdep/unix/ssl_unix.c Patch #15 (imap-2007f-ldflags.patch): + echo 'Patch #15 (imap-2007f-ldflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ldflags --fuzz=0 patching file src/osdep/unix/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.B1D728 + umask 022 + cd /builddir/build/BUILD + cd imap-2007f + test -f /etc/profile.d/krb5-devel.sh + test -f /etc/profile.d/krb5.sh BUILDSTDERR: ++ krb5-config --prefix + GSSDIR=/usr BUILDSTDERR: ++ pkg-config --cflags openssl + export 'EXTRACFLAGS= ' + EXTRACFLAGS=' ' + export 'EXTRACFLAGS= -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + EXTRACFLAGS=' -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export 'EXTRACFLAGS= -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + EXTRACFLAGS=' -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing' + export 'EXTRACFLAGS= -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -Wno-pointer-sign' + EXTRACFLAGS=' -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -Wno-pointer-sign' + echo -e 'y\ny' BUILDSTDERR: ++ pwd + make -j4 lnp IP=6 'EXTRACFLAGS= -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -Wno-pointer-sign' 'EXTRALDFLAGS= -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' EXTRAAUTHENTICATORS=gss 'SPECIALS=GSSDIR=/usr LOCKPGM=/usr/sbin/mlock SSLCERTS=/etc/pki/tls/certs SSLDIR=/etc/pki/tls SSLINCLUDE=/usr/include/openssl SSLKEYS=/etc/pki/tls/private SSLLIB=/usr/lib64' SSLTYPE=unix CCLIENTLIB=/builddir/build/BUILD/imap-2007f/c-client/libc-client.so.2007 SHLIBBASE=c-client SHLIBNAME=libc-client.so.2007 make[1]: Entering directory '/builddir/build/BUILD/imap-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in PARTIAL compliance with RFC 3501 security + requirements: + Compliant: ++ TLS/SSL encryption is supported + Non-compliant: ++ Unencrypted plaintext passwords are permitted + + In order to rectify this problem, you MUST build with: ++ SSLTYPE=unix.nopwd +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Do you want to continue this build anyway? Type y or n please: make[1]: Leaving directory '/builddir/build/BUILD/imap-2007f' Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . make build EXTRACFLAGS='-fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -Wno-pointer-sign' EXTRALDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=std SSLTYPE=unix IP=6 EXTRASPECIALS='' BUILDTYPE=lnp BUILDSTDERR: make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/builddir/build/BUILD/imap-2007f' make[2]: Entering directory '/builddir/build/BUILD/imap-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building with IPv6 support + + NOTE: Some versions of glibc have a bug in the getaddrinfo + call which does DNS name resolution. This bug causes host + names to be canonicalized incorrectly, as well as doing an + unnecessary and performance-sapping reverse DNS call. This + problem does not affect the IPv4 gethostbyname call. + + getaddrinfo works properly on Mac OS X and Windows. However, + the problem has been observed on some Linux systems. + + If you answer n to the following question the build will be + cancelled and you must rebuild. If you did not specify IPv6 + yourself, try adding IP6=4 to the make command line. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Do you want to build with IPv6 anyway? Type y or n please: OK, I will remember that you really want to build with IPv6. You will not see this message again. make[2]: Leaving directory '/builddir/build/BUILD/imap-2007f' Building c-client for lnp... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make lnp EXTRACFLAGS='-fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -Wno-pointer-sign'\ EXTRALDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS='gss'\ PASSWDTYPE=std SSLTYPE=unix IP=6\ GSSDIR=/usr LOCKPGM=/usr/sbin/mlock SSLCERTS=/etc/pki/tls/certs SSLDIR=/etc/pki/tls SSLINCLUDE=/usr/include/openssl SSLKEYS=/etc/pki/tls/private SSLLIB=/usr/lib64 make[2]: Entering directory '/builddir/build/BUILD/imap-2007f/c-client' make build EXTRACFLAGS='-fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -Wno-pointer-sign' EXTRALDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=std SSLTYPE=unix IP=6 `cat SPECIALS` OS=slx \ SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer" \ BASELDFLAGS="-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpam -ldl" make[3]: Entering directory '/builddir/build/BUILD/imap-2007f/c-client' sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true' Once-only environment setup... echo cc > CCTYPE echo -g -O2 -pipe -fno-omit-frame-pointer '-fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-strict-aliasing -Wno-pointer-sign' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/spool/mail\" \ -DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"/usr/sbin/mlock\" \ -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \ -DLOCKPGM3=\"/etc/mlock\" > OSCFLAGS echo -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpam -ldl -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld > LDFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o;ranlib c-client.a" > ARCHIVE echo slx > OSTYPE ./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths gss ext md5 pla log make[4]: Entering directory '/builddir/build/BUILD/imap-2007f/c-client' echo -I/usr/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1 >> OSCFLAGS sh -c '(test -f /usr/lib/libk5crypto.a) && echo -L/usr/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L/usr/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS echo "#include \"kerb_mit.c\"" >> auths.c make[4]: Leaving directory '/builddir/build/BUILD/imap-2007f/c-client' echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c ln -s os_slx.h osdep.h ln -s os_slx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip6_unix.c ip_unix.c sh -c '(test slx = sc5 -o slx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' Standard password authentication ln -s ckp_pam.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include/openssl -I/usr/include/openssl/openssl -DSSL_CERT_DIRECTORY=\"/etc/pki/tls/certs\" -DSSL_KEY_DIRECTORY=\"/etc/pki/tls/private\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib64 -lssl -lcrypto -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld >> LDFLAGS cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c cc -fPIC -DPIC -D_REENTRANT `cat CFLAGS` `cat OSCFLAGS` -c osdep.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from osdep.h:43, BUILDSTDERR: from osdep.c:31: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from auths.c:2, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_gss.c: In function 'auth_gssapi_client': BUILDSTDERR: auth_gss.c:100:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (chal.value = (*challenger) (stream,(unsigned long *) &chal.length)) { BUILDSTDERR: ^~~~ BUILDSTDERR: auth_gss.c: In function 'auth_gssapi_server': BUILDSTDERR: auth_gss.c:339:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (resp.value = (*responder) ("",0,(unsigned long *) &resp.length)) { BUILDSTDERR: ^~~~ BUILDSTDERR: auth_gss.c:399:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: SERVER_LOG ("Failed to acquire credentials for %s",buf.value); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ BUILDSTDERR: auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' BUILDSTDERR: #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) BUILDSTDERR: ^ BUILDSTDERR: auth_gss.c:406:16: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: SERVER_LOG ("Unknown GSSAPI failure: %s",resp.value); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ BUILDSTDERR: auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' BUILDSTDERR: #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) BUILDSTDERR: ^ BUILDSTDERR: auth_gss.c:414:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: SERVER_LOG ("GSSAPI mechanism status: %s",resp.value); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ BUILDSTDERR: auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' BUILDSTDERR: #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) BUILDSTDERR: ^ BUILDSTDERR: In file included from auths.c:3, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_ext.c: In function 'auth_external_client': BUILDSTDERR: auth_ext.c:62:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (challenge = (*challenger) (stream,&clen)) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: auth_ext.c:66:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (challenge = (*challenger) (stream,&clen)) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from auths.c:4, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_md5.c: In function 'auth_md5_client': BUILDSTDERR: auth_md5.c:105:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (challenge = (*challenger) (stream,&clen)) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: auth_md5.c:120:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (challenge = (*challenger) (stream,&clen)) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: auth_md5.c: In function 'auth_md5_server': BUILDSTDERR: auth_md5.c:155:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (user = (*responder) (chal,cl = strlen (chal),NIL)) { BUILDSTDERR: ^~~~ BUILDSTDERR: auth_md5.c:157:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (hash = strrchr (user,' ')) { BUILDSTDERR: ^~~~ BUILDSTDERR: auth_md5.c:160:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (authuser = strchr (user,'*')) *authuser++ = '\0'; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: auth_md5.c:162:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = auth_md5_pwd ((authuser && *authuser) ? authuser : user)) { BUILDSTDERR: ^ BUILDSTDERR: auth_md5.c: In function 'apop_login': BUILDSTDERR: auth_md5.c:238:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (authuser = strchr (user,'*')) *authuser++ = '\0'; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: auth_md5.c:240:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = auth_md5_pwd ((authuser && *authuser) ? authuser : user)) { BUILDSTDERR: ^ BUILDSTDERR: In file included from auths.c:5, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_pla.c: In function 'auth_plain_client': BUILDSTDERR: auth_pla.c:66:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (challenge = (*challenger) (stream,&clen)) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: auth_pla.c:94:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (challenge = (*challenger) (stream,&clen)) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: auth_pla.c: In function 'auth_plain_server': BUILDSTDERR: auth_pla.c:123:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (aid = (*responder) ("",0,&len)) { BUILDSTDERR: ^~~ BUILDSTDERR: In file included from auths.c:6, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_log.c: In function 'auth_login_client': BUILDSTDERR: auth_log.c:66:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (challenge = (*challenger) (stream,&clen)) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: auth_log.c:81:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (challenge = (*challenger) (stream,&clen)) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: auth_log.c: In function 'auth_login_server': BUILDSTDERR: auth_log.c:107:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (user = (*responder) (PWD_USER,sizeof (PWD_USER),NIL)) { BUILDSTDERR: ^~~~ BUILDSTDERR: auth_log.c:108:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (pass = (*responder) (PWD_PWD,sizeof (PWD_PWD),NIL)) { BUILDSTDERR: ^~~~ BUILDSTDERR: auth_log.c:110:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (authuser = strchr (user,'*')) *authuser++ = '\0'; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from osdep.c:51: BUILDSTDERR: env_unix.c: In function 'do_date': BUILDSTDERR: env_unix.c:514:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (julian = t->tm_yday -julian) BUILDSTDERR: ^~~~~~ BUILDSTDERR: env_unix.c: In function 'valpwd': BUILDSTDERR: env_unix.c:669:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = auth_md5_pwd (user)) { BUILDSTDERR: ^ BUILDSTDERR: env_unix.c:676:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (pw = pwuser (user)) {/* can get user? */ BUILDSTDERR: ^~ BUILDSTDERR: env_unix.c: In function 'dotlock_lock': BUILDSTDERR: env_unix.c:1251:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (base->lock,'/')) { BUILDSTDERR: ^ BUILDSTDERR: In file included from osdep.c:31: BUILDSTDERR: env_unix.c: In function 'lock_work': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-Wimplicit-function-declaration] BUILDSTDERR: #define flock safe_flock BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: env_unix.c:1374:27: note: in expansion of macro 'flock' BUILDSTDERR: if (op & LOCK_NB) i = flock (fd,op); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from osdep.c:51: BUILDSTDERR: env_unix.c: In function 'dorc': BUILDSTDERR: env_unix.c:1582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (d = mail_valid (NIL,"INBOX",NIL)) { BUILDSTDERR: ^ BUILDSTDERR: env_unix.c:1595:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (d = (DRIVER *) mail_parameters (NIL,GET_DRIVER,(void *) k)) BUILDSTDERR: ^ BUILDSTDERR: In file included from osdep.c:54: BUILDSTDERR: tcp_unix.c: In function 'tcp_open': BUILDSTDERR: tcp_unix.c:175:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (adr = ip_stringtoaddr (tmp,&adrlen,&family)) { BUILDSTDERR: ^~~ BUILDSTDERR: tcp_unix.c:215:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (stream->ictr = ctr) *(stream->iptr = stream->ibuf) = tmp[0]; BUILDSTDERR: ^~~~~~ BUILDSTDERR: tcp_unix.c: In function 'tcp_aopen': BUILDSTDERR: tcp_unix.c:350:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (adr = ip_stringtoaddr (host,&len,&i)) fs_give ((void **) &adr); BUILDSTDERR: ^~~ BUILDSTDERR: tcp_unix.c: In function 'tcp_getbuffer': BUILDSTDERR: tcp_unix.c:526:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (n = min (size,stream->ictr)) { BUILDSTDERR: ^ BUILDSTDERR: tcp_unix.c: In function 'tcp_clienthost': BUILDSTDERR: tcp_unix.c:832:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (v = strchr (s,' ')) *v = '\0'; BUILDSTDERR: ^ BUILDSTDERR: tcp_unix.c: In function 'tcp_name': BUILDSTDERR: tcp_unix.c:959:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = tcp_name_valid (ip_sockaddrtoname (sadr))) { BUILDSTDERR: ^ BUILDSTDERR: tcp_unix.c: In function 'tcp_isclienthost': BUILDSTDERR: tcp_unix.c:1000:17: warning: unused variable 'sadrlen' [-Wunused-variable] BUILDSTDERR: size_t adrlen,sadrlen,len; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: osdep.c: In function 'checkpw': BUILDSTDERR: osdep.c:164:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (pw = ((pam_start ((char *) mail_parameters (NIL,GET_SERVICENAME,NIL), BUILDSTDERR: ^~ BUILDSTDERR: osdep.c: In function 'ssl_start_work': BUILDSTDERR: osdep.c:460:12: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: TLSv1_client_method () : BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/openssl/ct.h:13, BUILDSTDERR: from /usr/include/openssl/ssl.h:61, BUILDSTDERR: from osdep.c:268: BUILDSTDERR: /usr/include/openssl/ssl.h:1634:45: note: declared here BUILDSTDERR: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: osdep.c:479:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = (char *) mail_parameters (NIL,GET_SSLCAPATH,NIL)) BUILDSTDERR: ^ BUILDSTDERR: osdep.c:483:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cert = PEM_read_bio_X509 (bio = BIO_new_mem_buf (s,sl),NIL,NIL,NIL)) { BUILDSTDERR: ^~~~ BUILDSTDERR: osdep.c:492:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (key = PEM_read_bio_PrivateKey (bio = BIO_new_mem_buf (t,tl), BUILDSTDERR: ^~~ BUILDSTDERR: osdep.c:451:25: warning: unused variable 'scq' [-Wunused-variable] BUILDSTDERR: sslcertificatequery_t scq = BUILDSTDERR: ^~~ BUILDSTDERR: osdep.c:450:19: warning: unused variable 'tmp' [-Wunused-variable] BUILDSTDERR: char *s,*t,*err,tmp[MAILTMPLEN]; BUILDSTDERR: ^~~ BUILDSTDERR: osdep.c:450:15: warning: unused variable 'err' [-Wunused-variable] BUILDSTDERR: char *s,*t,*err,tmp[MAILTMPLEN]; BUILDSTDERR: ^~~ BUILDSTDERR: osdep.c: In function 'ssl_server_init': BUILDSTDERR: osdep.c:955:12: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: TLSv1_server_method () : BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/openssl/ct.h:13, BUILDSTDERR: from /usr/include/openssl/ssl.h:61, BUILDSTDERR: from osdep.c:268: BUILDSTDERR: /usr/include/openssl/ssl.h:1633:45: note: declared here BUILDSTDERR: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) /* TLSv1.0 */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: osdep.c:1007:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (i = ERR_get_error ()) /* SSL failure */ BUILDSTDERR: ^ BUILDSTDERR: osdep.c: In function 'ssl_genkey': BUILDSTDERR: osdep.c:1026:5: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/openssl/rsa.h:13, BUILDSTDERR: from /usr/include/openssl/x509.h:31, BUILDSTDERR: from /usr/include/openssl/x509v3.h:14, BUILDSTDERR: from osdep.c:267: BUILDSTDERR: /usr/include/openssl/rsa.h:193:1: note: declared here BUILDSTDERR: DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: osdep.c:1029:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (i = ERR_get_error ()) BUILDSTDERR: ^ BUILDSTDERR: osdep.c: At top level: BUILDSTDERR: osdep.c:299:14: warning: 'ssl_validate_cert' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: static char *ssl_validate_cert (X509 *cert,char *host); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from auths.c:4, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_md5.c: In function 'auth_md5_pwd': BUILDSTDERR: auth_md5.c:195:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.c:51: BUILDSTDERR: env_unix.c: In function 'pw_login': BUILDSTDERR: env_unix.c:785:37: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (ret = env_init (user,home))) chdir (myhomedir ()); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: osdep.c:601:13: warning: 'ssl_compare_hostnames' defined but not used [-Wunused-function] BUILDSTDERR: static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.c:54: BUILDSTDERR: tcp_unix.c: In function 'tcp_name': BUILDSTDERR: tcp_unix.c:953:44: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=] BUILDSTDERR: sprintf (tmp,"Reverse DNS resolution %s",adr); BUILDSTDERR: ^~ ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from osdep.c:32: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.c:54: BUILDSTDERR: tcp_unix.c:961:42: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: if (flag) sprintf (ret = tmp,"%s %s",t,adr); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from osdep.c:32: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ======================================================================== Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make slx SSLTYPE=none ======================================================================== cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mail.c BUILDSTDERR: mail.c: In function 'mm_cache': BUILDSTDERR: mail.c:212:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (stream->cache[i] = stream->cache[msgno]) BUILDSTDERR: ^~~~~~ BUILDSTDERR: mail.c: In function 'mail_parameters': BUILDSTDERR: mail.c:385:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (void *) d) d->flags &= ~DR_DISABLE; BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:390:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (void *) d) d->flags |= DR_DISABLE; BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:395:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (void *) a) a->flags &= ~AU_DISABLE; BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:400:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (void *) a) a->flags |= AU_DISABLE; BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:405:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (void *) a) a->flags &= ~AU_HIDE; BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:410:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (void *) a) a->flags |= AU_HIDE; BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:644:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (r = smtp_parameters (function,value)) ret = r; BUILDSTDERR: ^ BUILDSTDERR: mail.c:645:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (r = env_parameters (function,value)) ret = r; BUILDSTDERR: ^ BUILDSTDERR: mail.c:646:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (r = tcp_parameters (function,value)) ret = r; BUILDSTDERR: ^ BUILDSTDERR: mail.c:648:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (r = (*stream->dtb->parameters) (function,value)) ret = r; BUILDSTDERR: ^ BUILDSTDERR: mail.c:652:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (r = (d->parameters) (function,value)) ret = r; BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_valid_net_parse_work': BUILDSTDERR: mail.c:766:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strpbrk (s = t,"/:=")) { BUILDSTDERR: ^ BUILDSTDERR: mail.c:784:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strpbrk (v = t,"/:")) { BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_list': BUILDSTDERR: mail.c:919:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (d = d->next); /* until at the end */ BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_lsub': BUILDSTDERR: mail.c:952:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (d = d->next); /* until at the end */ BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_create': BUILDSTDERR: mail.c:996:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strpbrk (mailbox,"\015\012")) { BUILDSTDERR: ^ BUILDSTDERR: mail.c:1012:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = mail_utf7_valid (mailbox)) { BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_rename': BUILDSTDERR: mail.c:1092:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = mail_utf7_valid (newname)) { BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_open': BUILDSTDERR: mail.c:1199:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (stream = mail_open (stream,s+1,options)) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: mail.c:1216:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (stream = mail_open (stream,mb.mailbox,options)) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: mail.c:1243:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strpbrk (tmp,"/\\:")) *s++ = '\0'; BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_fetch_structure': BUILDSTDERR: mail.c:1543:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_fetch_message': BUILDSTDERR: mail.c:1655:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_fetch_header': BUILDSTDERR: mail.c:1725:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c:1778:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (rt.data = (unsigned char *) BUILDSTDERR: ^~ BUILDSTDERR: mail.c: In function 'mail_fetch_text': BUILDSTDERR: mail.c:1816:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_fetch_mime': BUILDSTDERR: mail.c:1871:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_fetch_body': BUILDSTDERR: mail.c:1954:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_partial_text': BUILDSTDERR: mail.c:2012:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_partial_body': BUILDSTDERR: mail.c:2082:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_msgno': BUILDSTDERR: mail.c:2232:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (delta = ((last - first) / 2)) { BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_search_default': BUILDSTDERR: mail.c:2386:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msg = utf8_badcharset (charset)) { BUILDSTDERR: ^~~ BUILDSTDERR: mail.c: In function 'mail_append_multiple': BUILDSTDERR: mail.c:2612:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (d = mail_valid (stream,mailbox,NIL)) BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_gc': BUILDSTDERR: mail.c:2650:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (elt = (MESSAGECACHE *) (*mailcache) (stream,i,CH_ELT)) BUILDSTDERR: ^~~ BUILDSTDERR: mail.c: In function 'mail_body': BUILDSTDERR: mail.c:2725:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (pt = b->nested.part) while (--i && (pt = pt->next)); BUILDSTDERR: ^~ BUILDSTDERR: mail.c: In function 'mail_parse_date': BUILDSTDERR: mail.c:3085:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = gmtime (&tn)) { /* minus UTC minutes since midnight */ BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_uid_sequence': BUILDSTDERR: mail.c:3306:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (x = mail_msgno (stream,i)) mail_elt (stream,x)->sequence = T; BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_match_lines': BUILDSTDERR: mail.c:3339:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (lines = lines->next); BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_filter': BUILDSTDERR: mail.c:3371:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = t - tmp) /* see if found in header */ BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_search_header_text': BUILDSTDERR: mail.c:3621:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (h.data = (unsigned char *) s) { BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_search_text': BUILDSTDERR: mail.c:3672:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (st = st->next) s = s->next = mail_newstringlist (); BUILDSTDERR: ^~ BUILDSTDERR: mail.c: In function 'mail_search_body': BUILDSTDERR: mail.c:3754:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (body = body->nested.msg->body) BUILDSTDERR: ^~~~ BUILDSTDERR: mail.c:3771:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (st.data = (unsigned char *) BUILDSTDERR: ^~ BUILDSTDERR: mail.c:3778:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (st.data = rfc822_qprint ((unsigned char *) s,i,&st.size)) { BUILDSTDERR: ^~ BUILDSTDERR: mail.c: In function 'mail_search_string': BUILDSTDERR: mail.c:3806:16: warning: unused variable 'sc' [-Wunused-variable] BUILDSTDERR: STRINGLIST **sc = st; BUILDSTDERR: ^~ BUILDSTDERR: mail.c: In function 'mail_search_keyword': BUILDSTDERR: mail.c:3859:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (st = st->next); BUILDSTDERR: ^~ BUILDSTDERR: mail.c: In function 'mail_search_addr': BUILDSTDERR: mail.c:3888:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (tadr.personal = a->personal) k += 3 + 2*strlen (a->personal); BUILDSTDERR: ^~~~ BUILDSTDERR: mail.c:3889:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (tadr.adl = a->adl) k += 3 + 2*strlen (a->adl); BUILDSTDERR: ^~~~ BUILDSTDERR: mail.c:3890:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (tadr.host = a->host) k += 3 + 2*strlen (a->host); BUILDSTDERR: ^~~~ BUILDSTDERR: mail.c: In function 'mail_criteria_string': BUILDSTDERR: mail.c:4125:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (d = strtok_r (c,end,r)) n = strlen (d); BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_sort_loadcache': BUILDSTDERR: mail.c:4336:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: ^ BUILDSTDERR: mail.c:4372:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: ^ BUILDSTDERR: mail.c:4380:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (v = strchr (v,':')) { BUILDSTDERR: ^ BUILDSTDERR: mail.c:4387:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (adr = rfc822_parse_address (&adr,adr,&t,BADHOST,0)) { BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:4405:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: ^ BUILDSTDERR: mail.c:4413:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (v = strchr (v,':')) { BUILDSTDERR: ^ BUILDSTDERR: mail.c:4420:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (adr = rfc822_parse_address (&adr,adr,&t,BADHOST,0)) { BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:4438:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: ^ BUILDSTDERR: mail.c:4446:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (v = strchr (v,':')) { BUILDSTDERR: ^ BUILDSTDERR: mail.c:4453:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (adr = rfc822_parse_address (&adr,adr,&t,BADHOST,0)) { BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:4472:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_strip_subject': BUILDSTDERR: mail.c:4506:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (src.size = strlen (t)) { /* have non-empty subject? */ BUILDSTDERR: ^~~ BUILDSTDERR: mail.c: In function 'mail_sort_compare': BUILDSTDERR: mail.c:4662:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (pgm = i ? NIL : pgm->next); BUILDSTDERR: ^~~ BUILDSTDERR: mail.c: In function 'mail_thread_orderedsubject': BUILDSTDERR: mail.c:4789:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (lst = (*sorter) (stream,charset,spg,&pgm,flags & ~(SE_FREE | SE_UID))){ BUILDSTDERR: ^~~ BUILDSTDERR: mail.c: In function 'mail_thread_references': BUILDSTDERR: mail.c:4903:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (env = mail_fetch_structure (stream,s->num,NIL,NIL)) { BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:4951:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: THREADLINKS); st = st->next; con = nxc) { BUILDSTDERR: ^~ BUILDSTDERR: mail.c: In function 'mail_thread_parse_references': BUILDSTDERR: mail.c:5183:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = mail_thread_parse_msgid (s,&s)) { BUILDSTDERR: ^ BUILDSTDERR: mail.c:5187:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (cur = ret; t = mail_thread_parse_msgid (s,&s); cur = cur->next) { BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_thread_c2node': BUILDSTDERR: mail.c:5289:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (nxt = CHILD (con)) cur->next = mail_thread_c2node (stream,nxt,flags); BUILDSTDERR: ^~~ BUILDSTDERR: mail.c: In function 'mail_parse_flags': BUILDSTDERR: mail.c:5440:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (n = strchr (t,' ')) *n++ = '\0'; BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'net_open_work': BUILDSTDERR: mail.c:6201:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (tstream = (*dv->open) (host,service,port | flags)) { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: mail.c: In function 'net_aopen': BUILDSTDERR: mail.c:6223:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (tstream = (*dv->aopen) (mb,service,user)) { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: mail.c: In function 'mail_parse_set': BUILDSTDERR: mail.c:4149:26: warning: 'cur' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: else cur = cur->next = mail_newsearchset (); BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` misc.c BUILDSTDERR: misc.c: In function 'hash_reset': BUILDSTDERR: misc.c:318:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (i = 0; i < hashtab->size; i++) if (ent = hashtab->table[i]) BUILDSTDERR: ^~~ BUILDSTDERR: misc.c: In function 'hash_index': BUILDSTDERR: misc.c:335:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (ret = 0; i = (unsigned int) *key++; ret += i) ret *= HASHMULT; BUILDSTDERR: ^ BUILDSTDERR: misc.c: In function 'compare_cstring': BUILDSTDERR: misc.c:452:37: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (; *s1 && *s2; s1++,s2++) if (i = (compare_uchar (*s1,*s2))) return i; BUILDSTDERR: ^ BUILDSTDERR: misc.c: In function 'compare_csizedtext': BUILDSTDERR: misc.c:472:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = (compare_uchar (*s1,*s))) return i; BUILDSTDERR: ^ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` newsrc.c BUILDSTDERR: newsrc.c: In function 'newsrc_newmessages': BUILDSTDERR: newsrc.c:126:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (k = elt->private.uid - 1) { BUILDSTDERR: ^ BUILDSTDERR: newsrc.c: In function 'newsrc_write': BUILDSTDERR: newsrc.c:343:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (f = fopen (newsrc,"rb")) {/* have existing newsrc file? */ BUILDSTDERR: ^ BUILDSTDERR: newsrc.c:368:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (f = newsrc_create (stream,NIL)) bf = NIL; BUILDSTDERR: ^ BUILDSTDERR: newsrc.c:384:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (f = newsrc_create (stream,T)) bf = NIL; BUILDSTDERR: ^ BUILDSTDERR: newsrc.c: In function 'newsrc_state': BUILDSTDERR: newsrc.c:468:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread (s,(size_t) 1,size,f); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` smanager.c BUILDSTDERR: smanager.c: In function 'sm_subscribe': BUILDSTDERR: smanager.c:46:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (f = fopen (db,"r")) { /* make sure not already there */ BUILDSTDERR: ^ BUILDSTDERR: smanager.c:48:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (tmp,'\n')) *s = '\0'; BUILDSTDERR: ^ BUILDSTDERR: smanager.c: In function 'sm_unsubscribe': BUILDSTDERR: smanager.c:88:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (tmp,'\n')) *s = '\0'; BUILDSTDERR: ^ BUILDSTDERR: smanager.c: In function 'sm_read': BUILDSTDERR: smanager.c:119:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (f = fopen (sbname,"r")) *sdb = (void *) f; BUILDSTDERR: ^ BUILDSTDERR: smanager.c:123:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (sbname,'\n')) *s = '\0'; BUILDSTDERR: ^ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` utf8.c BUILDSTDERR: utf8.c:114:39: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: static const CHARSET utf8_csvalid[] = { BUILDSTDERR: ^ BUILDSTDERR: utf8.c:347:38: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: static const SCRIPT utf8_scvalid[] = { BUILDSTDERR: ^ BUILDSTDERR: utf8.c: In function 'utf8_rmap_cs': BUILDSTDERR: utf8.c:662:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (ret = utf8_rmap_gen (cs,currmap)) { BUILDSTDERR: ^~~ BUILDSTDERR: utf8.c: In function 'utf8_rmaptext': BUILDSTDERR: utf8.c:794:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = utf8_rmapsize (text,rmap,errch,iso2022jp)) { BUILDSTDERR: ^ BUILDSTDERR: utf8.c: In function 'utf8_csvalidmap': BUILDSTDERR: utf8.c:1293:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cs = utf8_charset (s)) { BUILDSTDERR: ^~ BUILDSTDERR: utf8.c: In function 'ucs4_decompose': BUILDSTDERR: utf8.c:2395:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (m = (struct decomposemore *) *more) switch (m->type) { BUILDSTDERR: ^ BUILDSTDERR: utf8.c:2418:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = ucs4_dbmploixtab[c - UCS4_BMPLOMIN]) { BUILDSTDERR: ^ BUILDSTDERR: utf8.c:2448:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = ucs4_dbmphiixtab[c - UCS4_BMPHIMIN]) { BUILDSTDERR: ^ BUILDSTDERR: utf8.c: In function 'ucs4_decompose_recursive': BUILDSTDERR: utf8.c:2513:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (mr = (RECURSIVEMORE *) *more) switch (mr->more->type) { BUILDSTDERR: ^~ BUILDSTDERR: utf8.c:2533:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (mr = mn) { /* did this value recurse on us? */ BUILDSTDERR: ^~ BUILDSTDERR: utf8.c: In function 'ucs4_decompose': BUILDSTDERR: utf8.c:2497:10: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return ret; BUILDSTDERR: ^~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` utf8aux.c BUILDSTDERR: utf8aux.c: In function 'utf8_stringlist': BUILDSTDERR: utf8aux.c:47:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (st = st->next); BUILDSTDERR: ^~ BUILDSTDERR: utf8aux.c: In function 'utf8_mime2text': BUILDSTDERR: utf8aux.c:136:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ls = strchr (cs,'*')) *ls = '\0'; BUILDSTDERR: ^~ BUILDSTDERR: utf8aux.c: In function 'mime2_decode': BUILDSTDERR: utf8aux.c:241:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (txt->data = (unsigned char *) rfc822_base64 (t,te - t,&txt->size)) BUILDSTDERR: ^~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` siglocal.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` dummy.c BUILDSTDERR: dummy.c: In function 'dummy_scan': BUILDSTDERR: dummy.c:162:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (test,'/')) *++s = '\0'; BUILDSTDERR: ^ BUILDSTDERR: dummy.c:170:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strpbrk (test,"%*")) { BUILDSTDERR: ^ BUILDSTDERR: dummy.c:176:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (file,'/')){/* find directory name */ BUILDSTDERR: ^ BUILDSTDERR: dummy.c: In function 'dummy_lsub': BUILDSTDERR: dummy.c:233:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: ^ BUILDSTDERR: dummy.c: In function 'dummy_list_work': BUILDSTDERR: dummy.c:282:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (dp = opendir (tmp)) { /* do nothing if can't open directory */ BUILDSTDERR: ^~ BUILDSTDERR: dummy.c:294:62: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (!dir || dir[(len = strlen (dir)) - 1] == '/') while (d = readdir (dp)) BUILDSTDERR: ^ BUILDSTDERR: dummy.c: In function 'dummy_create_path': BUILDSTDERR: dummy.c:485:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (path,'/')) { /* found superior to this name? */ BUILDSTDERR: ^ BUILDSTDERR: dummy.c: In function 'dummy_append': BUILDSTDERR: dummy.c:728:23: warning: operation on 'ts' may be undefined [-Wsequence-point] BUILDSTDERR: if (!ts && !(*(ts = default_proto (NIL))->dtb->create) (ts,"INBOX")) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dummy.c: In function 'dummy_canonicalize': BUILDSTDERR: dummy.c:803:28: warning: value computed is not used [-Wunused-value] BUILDSTDERR: for (i = 0, s = tmp; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; BUILDSTDERR: ^~~~ BUILDSTDERR: dummy.c: In function 'dummy_scan_contents': BUILDSTDERR: dummy.c:383:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dummy.c: In function 'dummy_list_work': BUILDSTDERR: dummy.c:313:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: sprintf (path,"%s/",tmp); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from dummy.c:30: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 1025 bytes into a destination of size 1024 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dummy.c: In function 'dummy_delete': BUILDSTDERR: dummy.c:523:48: warning: '%.80s' directive argument is null [-Wformat-overflow=] BUILDSTDERR: sprintf (tmp,"Can't delete - invalid name: %.80s",s); BUILDSTDERR: ^~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` pseudo.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` netmsg.c BUILDSTDERR: netmsg.c: In function 'netmsg_slurp': BUILDSTDERR: netmsg.c:64:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (f = fopen (tmp,"wb+")) unlink (tmp); BUILDSTDERR: ^ BUILDSTDERR: netmsg.c:73:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = net_getline (stream)) { BUILDSTDERR: ^ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` flstring.c cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` fdstring.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from osdep.h:43, BUILDSTDERR: from fdstring.c:30: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: fdstring.c: In function 'fd_string_setpos': BUILDSTDERR: fdstring.c:94:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s->cursize = min (s->chunksize,SIZE (s))) { BUILDSTDERR: ^ BUILDSTDERR: fdstring.c:97:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read ((long) s->data,s->curpos,(size_t) s->cursize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fdstring.c: In function 'fd_string_init': BUILDSTDERR: fdstring.c:67:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (d->fd,s->chunk,(size_t) s->cursize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` rfc822.c BUILDSTDERR: rfc822.c: In function 'rfc822_parse_msg_full': BUILDSTDERR: rfc822.c:155:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = d = strchr (tmp,':')) { BUILDSTDERR: ^ BUILDSTDERR: rfc822.c:204:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (c = *d++) if (c != ' ') *t++ = c; BUILDSTDERR: ^ BUILDSTDERR: rfc822.c:218:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = rfc822_parse_phrase (d)) *t = '\0'; BUILDSTDERR: ^ BUILDSTDERR: rfc822.c:229:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (c = *d++) if (c != ' ') *t++ = c; BUILDSTDERR: ^ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_content': BUILDSTDERR: rfc822.c:381:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (m = GETPOS (bs)) m--; /* get position in front of character */ BUILDSTDERR: ^ BUILDSTDERR: rfc822.c:394:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (k = j - 2) for (s = s1; i-- && *s++ == (c = SNX (bs)) && --k;); BUILDSTDERR: ^ BUILDSTDERR: rfc822.c:449:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = part->body.mime.text.size) { BUILDSTDERR: ^ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_content_header': BUILDSTDERR: rfc822.c:550:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (name,' ')) *t = '\0'; BUILDSTDERR: ^ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_adrlist': BUILDSTDERR: rfc822.c:740:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (adr = rfc822_parse_address (lst,last,&string,host,0)) { BUILDSTDERR: ^~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_address': BUILDSTDERR: rfc822.c:794:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (adr = rfc822_parse_group (lst,last,string,defaulthost,depth)) last = adr; BUILDSTDERR: ^~~ BUILDSTDERR: rfc822.c:796:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (adr = rfc822_parse_mailbox (string,defaulthost)) { BUILDSTDERR: ^~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_group': BUILDSTDERR: rfc822.c:842:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (adr = rfc822_parse_address (lst,last,string,defaulthost,depth+1)) { BUILDSTDERR: ^~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_mailbox': BUILDSTDERR: rfc822.c:901:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (end = rfc822_parse_phrase (s)) { BUILDSTDERR: ^~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_addrspec': BUILDSTDERR: rfc822.c:1030:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = rfc822_parse_word (string,wspecials)) { BUILDSTDERR: ^ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_domain': BUILDSTDERR: rfc822.c:1098:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (t = rfc822_parse_word (string,wspecials)) { BUILDSTDERR: ^ BUILDSTDERR: rfc822.c:1108:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (string = rfc822_parse_domain (string,&t)) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_word': BUILDSTDERR: rfc822.c:1175:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (st = strchr (st,I2C_ESC)) BUILDSTDERR: ^~ BUILDSTDERR: rfc822.c: In function 'rfc822_output_data': BUILDSTDERR: rfc822.c:1374:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = min (len,buf->end - buf->cur)) { BUILDSTDERR: ^ BUILDSTDERR: rfc822.c: In function 'rfc822_output_cat': BUILDSTDERR: rfc822.c:1622:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (; s = strpbrk (src,"\\\""); src = s + 1) { BUILDSTDERR: ^ BUILDSTDERR: rfc822.c: In function 'rfc822_encode_body_7bit': BUILDSTDERR: rfc822.c:1740:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (part = part->next); /* until done */ BUILDSTDERR: ^~~~ BUILDSTDERR: rfc822.c: In function 'rfc822_encode_body_8bit': BUILDSTDERR: rfc822.c:1808:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (part = part->next); /* until done */ BUILDSTDERR: ^~~~ BUILDSTDERR: rfc822.c: In function 'rfc822_base64': BUILDSTDERR: rfc822.c:1964:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strpbrk (tmp,"\015\012")) *s = NIL; BUILDSTDERR: ^ BUILDSTDERR: rfc822.c: In function 'rfc822_output': BUILDSTDERR: rfc822.c:2345:10: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char tmp[SENDBUFLEN+1]; /* client to give us a big enough one */ BUILDSTDERR: ^~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` nntp.c BUILDSTDERR: nntp.c: In function 'nntp_list': BUILDSTDERR: nntp.c:353:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = net_getline (LOCAL->nntpstream->netstream)) { BUILDSTDERR: ^ BUILDSTDERR: nntp.c:358:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (s,' ')) { /* tie off after newsgroup name */ BUILDSTDERR: ^ BUILDSTDERR: nntp.c: In function 'nntp_lsub': BUILDSTDERR: nntp.c:397:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx)) BUILDSTDERR: ^ BUILDSTDERR: nntp.c:399:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: ^ BUILDSTDERR: nntp.c: In function 'nntp_canonicalize': BUILDSTDERR: nntp.c:430:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (s = wildmat; s = strchr (s,'%'); *s = '*'); BUILDSTDERR: ^ BUILDSTDERR: nntp.c: In function 'nntp_status': BUILDSTDERR: nntp.c:556:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (state = newsrc_state (stream,name)) { BUILDSTDERR: ^~~~~ BUILDSTDERR: nntp.c: In function 'nntp_overview': BUILDSTDERR: nntp.c:929:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (t = v = s; c = *v++;) BUILDSTDERR: ^ BUILDSTDERR: nntp.c: In function 'nntp_parse_overview': BUILDSTDERR: nntp.c:1039:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (ov->subject,'\t')) { BUILDSTDERR: ^ BUILDSTDERR: nntp.c:1042:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ov->date = strchr (t,'\t')) { BUILDSTDERR: ^~ BUILDSTDERR: nntp.c:1049:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ov->message_id = strchr (ov->date,'\t')) { BUILDSTDERR: ^~ BUILDSTDERR: nntp.c:1053:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ov->references = strchr (ov->message_id,'\t')) { BUILDSTDERR: ^~ BUILDSTDERR: nntp.c:1057:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (ov->references,'\t')) { BUILDSTDERR: ^ BUILDSTDERR: nntp.c:1062:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (t,'\t')) { BUILDSTDERR: ^ BUILDSTDERR: nntp.c:1066:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ov->optional.xref = strchr (t,'\t')) BUILDSTDERR: ^~ BUILDSTDERR: nntp.c: In function 'nntp_header': BUILDSTDERR: nntp.c:1099:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (f = netmsg_slurp (LOCAL->nntpstream->netstream,size,NIL)) { BUILDSTDERR: ^ BUILDSTDERR: nntp.c: In function 'nntp_text': BUILDSTDERR: nntp.c:89:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: #define LOCAL ((NNTPLOCAL *) stream->local) BUILDSTDERR: ^ BUILDSTDERR: nntp.c:1151:11: note: in expansion of macro 'LOCAL' BUILDSTDERR: if (LOCAL->txt = netmsg_slurp (LOCAL->nntpstream->netstream, BUILDSTDERR: ^~~~~ BUILDSTDERR: nntp.c: In function 'nntp_search': BUILDSTDERR: nntp.c:1216:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msg = utf8_badcharset (charset)) { BUILDSTDERR: ^~~ BUILDSTDERR: nntp.c: In function 'nntp_search_msg': BUILDSTDERR: nntp.c:1269:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (set = pgm->msgno) { /* must be inside this sequence */ BUILDSTDERR: ^~~ BUILDSTDERR: nntp.c:1277:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (set = pgm->uid) { /* must be inside this sequence */ BUILDSTDERR: ^~~ BUILDSTDERR: nntp.c: In function 'nntp_sort_loadcache': BUILDSTDERR: nntp.c:1513:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (t = v = s; c = *v++;) if ((c != '\012') && (c != '\015')) *t++ = c; BUILDSTDERR: ^ BUILDSTDERR: nntp.c:1522:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (v,'\t')) { BUILDSTDERR: ^ BUILDSTDERR: nntp.c:1524:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (adr = rfc822_parse_address (&adr,adr,&v,BADHOST,0)) { BUILDSTDERR: ^~~ BUILDSTDERR: nntp.c:1529:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (v = strchr (t,'\t')) { BUILDSTDERR: ^ BUILDSTDERR: nntp.c: In function 'nntp_open_full': BUILDSTDERR: nntp.c:1679:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (netstream = /* try to open ordinary connection */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: nntp.c:1720:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (stream->netstream->stream = BUILDSTDERR: ^~~~~~ BUILDSTDERR: nntp.c: In function 'nntp_extensions': BUILDSTDERR: nntp.c:1817:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (args = strchr (t,' ')) *args++ = '\0'; BUILDSTDERR: ^~~~ BUILDSTDERR: nntp.c: In function 'nntp_mail': BUILDSTDERR: nntp.c:1916:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strstr (env->date," (")) *s = NIL; BUILDSTDERR: ^ BUILDSTDERR: nntp.c:1887:8: warning: unused variable 'retry' [-Wunused-variable] BUILDSTDERR: long retry = NIL; BUILDSTDERR: ^~~~~ BUILDSTDERR: nntp.c:1886:8: warning: unused variable 'error' [-Wunused-variable] BUILDSTDERR: long error = NIL; BUILDSTDERR: ^~~~~ BUILDSTDERR: nntp.c: In function 'nntp_soutr': BUILDSTDERR: nntp.c:2214:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (t = strstr (s,"\015\012.")) { BUILDSTDERR: ^ BUILDSTDERR: nntp.c: In function 'nntp_mopen': BUILDSTDERR: nntp.c:764:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (size_t) 1,(size_t) k,f); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nntp.c: In function 'nntp_header': BUILDSTDERR: nntp.c:1100:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread (elt->private.msg.header.text.data = BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (unsigned char *) fs_get ((size_t) *size + 3), BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (size_t) 1,(size_t) *size,f); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` smtp.c BUILDSTDERR: smtp.c: In function 'smtp_open_full': BUILDSTDERR: smtp.c:172:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (netstream = /* try to open ordinary connection */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: smtp.c: In function 'smtp_soutr': BUILDSTDERR: smtp.c:783:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (t = strstr (s,"\015\012.")) { BUILDSTDERR: ^ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` imap4r1.c BUILDSTDERR: imap4r1.c: In function 'imap_lsub': BUILDSTDERR: imap4r1.c:505:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx)) BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:507:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_manage': BUILDSTDERR: imap4r1.c:681:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress] BUILDSTDERR: if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) && BUILDSTDERR: ^~ BUILDSTDERR: imap4r1.c: In function 'imap_open': BUILDSTDERR: imap4r1.c:849:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (reply = imap_rimap (stream,"*imap",&mb,usr,tmp)); BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c: In function 'imap_close': BUILDSTDERR: imap4r1.c:1317:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (thr = LOCAL->cap.threader) while (t = thr) { BUILDSTDERR: ^~~ BUILDSTDERR: imap4r1.c:1317:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (thr = LOCAL->cap.threader) while (t = thr) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_structure': BUILDSTDERR: imap4r1.c:1499:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = (set->last == 0xffffffff) ? stream->nmsgs : BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:1522:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (k = (k > i) ? k - i : 0) BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_msgdata': BUILDSTDERR: imap4r1.c:1700:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (t = strstr (section,".HEADER")) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_uid': BUILDSTDERR: imap4r1.c:1884:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (k = imap_uidlookahead) {/* build UID list */ BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_search': BUILDSTDERR: imap4r1.c:2048:48: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (set = ss; set; set = set->next) if (i = set->first) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_gc': BUILDSTDERR: imap4r1.c:2650:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (elt = (MESSAGECACHE *) (*mc) (stream,i,CH_ELT)) BUILDSTDERR: ^~~ BUILDSTDERR: imap4r1.c: In function 'imap_capability': BUILDSTDERR: imap4r1.c:2705:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (thr = LOCAL->cap.threader) while (t = thr) { BUILDSTDERR: ^~~ BUILDSTDERR: imap4r1.c:2705:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (thr = LOCAL->cap.threader) while (t = thr) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_send': BUILDSTDERR: imap4r1.c:2927:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (arglst = args) while (arg = *arglst++) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: imap4r1.c:2927:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (arglst = args) while (arg = *arglst++) { BUILDSTDERR: ^~~ BUILDSTDERR: imap4r1.c:2947:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_astring (stream,tag,&s,&st,NIL,CMDBASE+MAXCOMMAND)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:2951:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_literal (stream,tag,&s,arg->text)) return reply; BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:2959:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_astring (stream,tag,&s,&list->text,NIL, BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:2963:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (list = list->next); BUILDSTDERR: ^~~~ BUILDSTDERR: imap4r1.c:2967:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_spgm (stream,tag,CMDBASE,&s,arg->text, BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3053:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_astring (stream,tag,&s,&st,T,CMDBASE+MAXCOMMAND)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3075:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = map->flags) { /* flags given? */ BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:3087:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_astring (stream,tag,&s,&st,NIL, BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3091:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_literal (stream,tag,&s,map->message)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3121:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (list = list->next); BUILDSTDERR: ^~~~ BUILDSTDERR: imap4r1.c: In function 'imap_send_spgm': BUILDSTDERR: imap4r1.c:3355:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (hdr = pgm->header) do { BUILDSTDERR: ^~~ BUILDSTDERR: imap4r1.c:3357:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_astring (stream,tag,s,&hdr->line,NIL,limit)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3360:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_astring (stream,tag,s,&hdr->text,NIL,limit)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3362:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (hdr = hdr->next); BUILDSTDERR: ^~~ BUILDSTDERR: imap4r1.c:3365:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_spgm (stream,tag,base,s,pgo->first,limit)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3368:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_spgm (stream,tag,base,s,pgo->second,limit)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3374:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_spgm (stream,tag,base,s,pgl->pgm,limit)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c: In function 'imap_send_sset': BUILDSTDERR: imap4r1.c:3452:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_literal (stream,tag,s,&st)) return reply; BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3454:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_sset (stream,tag,NIL,s,set,prefix,limit)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c: In function 'imap_reply': BUILDSTDERR: imap4r1.c:3555:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_parse_reply (stream,net_getline (LOCAL->netstream))) { BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c: In function 'imap_parse_unsolicited': BUILDSTDERR: imap4r1.c:3733:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (prop = (strtok_r (t," )",&r))) { BUILDSTDERR: ^~~~ BUILDSTDERR: imap4r1.c:3808:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (t = strchr (s = t,' ')) *t++ = '\0'; BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:3907:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = strtok_r (NIL," )",&r)); BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:3911:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = strtoul (t,NIL,10)) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:3920:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (t = strtok_r (NIL," ",&r)); BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:3944:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = reply->text) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4008:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strtok_r (reply->text+1," ",&r)) do { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4017:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (t = strtok_r (NIL," ",&r)); BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4028:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = imap_parse_astring (stream,&s,reply,&j)) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4046:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = reply->text) { /* parse namespace results */ BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4166:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (t = strchr (s,' ')) t = s; BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4169:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (t = strpbrk (s," )")) t = s; BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_response': BUILDSTDERR: imap4r1.c:4266:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (strncpy (t = LOCAL->tmp,s,i),' ')) *s++ = '\0'; BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4275:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (elt = (MESSAGECACHE *) (*mc) (stream,j,CH_ELT)) BUILDSTDERR: ^~~ BUILDSTDERR: imap4r1.c:4286:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strtok_r (s+1," ",&r)) do { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4300:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = strtok_r (NIL," ",&r)); BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_astring': BUILDSTDERR: imap4r1.c:4845:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = *txtptr - s) { /* atom ends at atom_special */ BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_string': BUILDSTDERR: imap4r1.c:4958:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (rp) for (k = 0; j = min ((long) MAILTMPLEN,(long) i); i -= j) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4966:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (st = string; st = strpbrk (st,"\015\012\011"); *st++ = ' '); BUILDSTDERR: ^~ BUILDSTDERR: imap4r1.c: In function 'imap_parse_body_structure': BUILDSTDERR: imap4r1.c:5115:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) BUILDSTDERR: ^~~~ BUILDSTDERR: imap4r1.c:5155:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:5165:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) BUILDSTDERR: ^~~~ BUILDSTDERR: imap4r1.c:5176:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_language': BUILDSTDERR: imap4r1.c:5373:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_extension': BUILDSTDERR: imap4r1.c:5441:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = strtoul (*txtptr,(char **) txtptr,10)) do BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_capabilities': BUILDSTDERR: imap4r1.c:5477:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (thr = LOCAL->cap.threader) while (th = thr) { BUILDSTDERR: ^~~ BUILDSTDERR: imap4r1.c:5477:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (thr = LOCAL->cap.threader) while (th = thr) { BUILDSTDERR: ^~ BUILDSTDERR: imap4r1.c:5520:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (s = strchr (t,'=')) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_reform_sequence': BUILDSTDERR: imap4r1.c:5609:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (s = sequence; t = strpbrk (s,",:"); ) switch (*t++) { BUILDSTDERR: ^ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` pop3.c BUILDSTDERR: pop3.c: In function 'pop3_lsub': BUILDSTDERR: pop3.c:279:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx)) BUILDSTDERR: ^ BUILDSTDERR: pop3.c:281:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: ^ BUILDSTDERR: pop3.c: In function 'pop3_open': BUILDSTDERR: pop3.c:77:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: #define LOCAL ((POP3LOCAL *) stream->local) BUILDSTDERR: ^ BUILDSTDERR: pop3.c:429:11: note: in expansion of macro 'LOCAL' BUILDSTDERR: if (LOCAL->loser = mb.loser) strcat (tmp,"/loser"); BUILDSTDERR: ^~~~~ BUILDSTDERR: pop3.c: In function 'pop3_capa': BUILDSTDERR: pop3.c:499:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (args = strchr (t,' ')) *args++ = '\0'; BUILDSTDERR: ^~~~ BUILDSTDERR: pop3.c:510:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr(args,' ')){/* separate time from possible USER */ BUILDSTDERR: ^ BUILDSTDERR: pop3.c:521:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr(args,' ')){/* separate time from possible USER */ BUILDSTDERR: ^ BUILDSTDERR: pop3.c: In function 'pop3_header': BUILDSTDERR: pop3.c:843:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (elt->private.msg.header.text.size = pop3_cache (stream,elt)) BUILDSTDERR: ^~~ BUILDSTDERR: pop3.c: In function 'pop3_expunge': BUILDSTDERR: pop3.c:947:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = sequence ? ((options & EX_UID) ? BUILDSTDERR: ^~~ BUILDSTDERR: pop3.c: In function 'pop3_header': BUILDSTDERR: pop3.c:848:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread (elt->private.msg.header.text.data = (unsigned char *) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fs_get ((size_t) elt->private.msg.header.text.size + 1), BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (size_t) 1,(size_t) elt->private.msg.header.text.size,f); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` unix.c BUILDSTDERR: unix.c: In function 'unix_valid': BUILDSTDERR: unix.c:231:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] BUILDSTDERR: utime (file,tp); /* set the times */ BUILDSTDERR: ^~~~~ BUILDSTDERR: stime BUILDSTDERR: unix.c: In function 'unix_rename': BUILDSTDERR: unix.c:418:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (s,'/')) { BUILDSTDERR: ^ BUILDSTDERR: In file included from unix.c:46: BUILDSTDERR: unix.c: In function 'unix_open': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-Wimplicit-function-declaration] BUILDSTDERR: #define flock safe_flock BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: unix.c:530:5: note: in expansion of macro 'flock' BUILDSTDERR: flock (LOCAL->ld,LOCK_UN); /* release the lock */ BUILDSTDERR: ^~~~~ BUILDSTDERR: unix.c: In function 'unix_expunge': BUILDSTDERR: unix.c:845:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (sequence ? ((options & EX_UID) ? BUILDSTDERR: ^~~ BUILDSTDERR: unix.c:852:21: warning: unused variable 'elt' [-Wunused-variable] BUILDSTDERR: MESSAGECACHE *elt = mail_elt (stream,i); BUILDSTDERR: ^~~ BUILDSTDERR: unix.c: In function 'unix_append': BUILDSTDERR: unix.c:1037:17: warning: unused variable 'uidlocation' [-Wunused-variable] BUILDSTDERR: unsigned long uidlocation = 0; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_append_msgs': BUILDSTDERR: unix.c:1257:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (x = tmp; x = strchr (x,'\r'); --j) memmove (x,x+1,j-(x-tmp)); BUILDSTDERR: ^ BUILDSTDERR: unix.c: In function 'unix_parse': BUILDSTDERR: unix.c:1483:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (i = sbuf.st_size - LOCAL->filesize) { BUILDSTDERR: ^ BUILDSTDERR: unix.c:1770:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (u = strpbrk (err,"\r\n")) *u = '\0'; BUILDSTDERR: ^ BUILDSTDERR: unix.c: In function 'unix_xstatus': BUILDSTDERR: unix.c:2015:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (n = 0; n < NUSERFLAGS; ++n) if (t = stream->user_flags[n]) BUILDSTDERR: ^ BUILDSTDERR: unix.c:2037:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (n = elt->user_flags) do { BUILDSTDERR: ^ BUILDSTDERR: unix.c: In function 'unix_rewrite': BUILDSTDERR: unix.c:2101:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = unix_extend (stream,size)) { BUILDSTDERR: ^~~ BUILDSTDERR: unix.c: In function 'unix_write': BUILDSTDERR: unix.c:2311:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = i ? ((f->buflen - i) % OVERFLOWBUFLEN) : f->buflen) { BUILDSTDERR: ^ BUILDSTDERR: unix.c:2327:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = min (i,f->protect - f->filepos)) { BUILDSTDERR: ^ BUILDSTDERR: unix.c: In function 'unix_open': BUILDSTDERR: unix.c:519:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,i); /* make sure tied off */ BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_header': BUILDSTDERR: unix.c:630:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:640:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: elt->private.msg.header.text.size); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_text_work': BUILDSTDERR: unix.c:707:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_copy': BUILDSTDERR: unix.c:956:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:982:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_append': BUILDSTDERR: unix.c:1152:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_rewrite': BUILDSTDERR: unix.c:2139:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:2239:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize = size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_extend': BUILDSTDERR: unix.c:2285:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'mbox_ping': BUILDSTDERR: unix.c:2611:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (sfd,s = (char *) fs_get (size + 1),size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:2621:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:2629:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:2640:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_parse': BUILDSTDERR: unix.c:1749:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] BUILDSTDERR: sprintf (err,"Discarding bogus %s header in message %lu", BUILDSTDERR: ^~ BUILDSTDERR: (char *) tmp,elt->msgno); BUILDSTDERR: ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from unix.c:40: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mbx.c BUILDSTDERR: In file included from mbx.c:42: BUILDSTDERR: mbx.c: In function 'mbx_isvalid': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-Wimplicit-function-declaration] BUILDSTDERR: #define flock safe_flock BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: mbx.c:233:12: note: in expansion of macro 'flock' BUILDSTDERR: if (flock (fd,LOCK_SH) || BUILDSTDERR: ^~~~~ BUILDSTDERR: mbx.c:303:7: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] BUILDSTDERR: utime (tmp,tp); /* set the times */ BUILDSTDERR: ^~~~~ BUILDSTDERR: utimes BUILDSTDERR: mbx.c: In function 'mbx_rename': BUILDSTDERR: mbx.c:480:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (tmp,'/')) { BUILDSTDERR: ^ BUILDSTDERR: mbx.c: In function 'mbx_ping': BUILDSTDERR: mbx.c:825:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (ret = mbx_parse (stream)) { BUILDSTDERR: ^~~ BUILDSTDERR: mbx.c:829:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (elt = mbx_elt (stream,i,LOCAL->expok)) { BUILDSTDERR: ^~~ BUILDSTDERR: mbx.c: In function 'mbx_expunge': BUILDSTDERR: mbx.c:888:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = sequence ? ((options & EX_UID) ? BUILDSTDERR: ^~~ BUILDSTDERR: mbx.c:895:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (nexp = mbx_rewrite (stream,&reclaimed,sequence ? -1 : 1)) { BUILDSTDERR: ^~~~ BUILDSTDERR: mbx.c: In function 'mbx_snarf': BUILDSTDERR: mbx.c:938:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = hdrlen + txtlen) { BUILDSTDERR: ^ BUILDSTDERR: mbx.c: In function 'mbx_copy': BUILDSTDERR: mbx.c:1035:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = stream->user_flags[find_rightmost_bit (&j)]) BUILDSTDERR: ^ BUILDSTDERR: mbx.c:1044:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) { BUILDSTDERR: ^~~ BUILDSTDERR: mbx.c: In function 'mbx_hdrpos': BUILDSTDERR: mbx.c:1644:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (*size = elt->private.msg.header.text.size) return ret; BUILDSTDERR: ^ BUILDSTDERR: mbx.c: In function 'mbx_rewrite': BUILDSTDERR: mbx.c:1736:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (m = (elt = mbx_elt (stream,i,NIL))->private.special.offset - ppos) { BUILDSTDERR: ^ BUILDSTDERR: mbx.c:1776:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (m = (LOCAL->filesize -= delta) - pos) { BUILDSTDERR: ^ BUILDSTDERR: mbx.c:1795:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (elt = mbx_elt (stream,i,T)) { BUILDSTDERR: ^~~ BUILDSTDERR: mbx.c: In function 'mbx_header': BUILDSTDERR: mbx.c:709:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,s = LOCAL->buf,*length); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_snarf': BUILDSTDERR: mbx.c:965:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_copy': BUILDSTDERR: mbx.c:1046:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,j); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c:1060:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_append': BUILDSTDERR: mbx.c:1195:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_parse': BUILDSTDERR: mbx.c:1269:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,HDRSIZE); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_rewrite': BUILDSTDERR: mbx.c:1757:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,m); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c:1781:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mmdf.c BUILDSTDERR: mmdf.c: In function 'mmdf_isvalid': BUILDSTDERR: mmdf.c:382:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] BUILDSTDERR: utime (file,tp); /* set the times */ BUILDSTDERR: ^~~~~ BUILDSTDERR: stime BUILDSTDERR: mmdf.c: In function 'mmdf_rename': BUILDSTDERR: mmdf.c:557:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (s,'/')) { BUILDSTDERR: ^ BUILDSTDERR: In file included from mmdf.c:34: BUILDSTDERR: mmdf.c: In function 'mmdf_open': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-Wimplicit-function-declaration] BUILDSTDERR: #define flock safe_flock BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: mmdf.c:669:5: note: in expansion of macro 'flock' BUILDSTDERR: flock (LOCAL->ld,LOCK_UN); /* release the lock */ BUILDSTDERR: ^~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_expunge': BUILDSTDERR: mmdf.c:984:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (sequence ? ((options & EX_UID) ? BUILDSTDERR: ^~~ BUILDSTDERR: mmdf.c:991:21: warning: unused variable 'elt' [-Wunused-variable] BUILDSTDERR: MESSAGECACHE *elt = mail_elt (stream,i); BUILDSTDERR: ^~~ BUILDSTDERR: mmdf.c: In function 'mmdf_append': BUILDSTDERR: mmdf.c:1173:17: warning: unused variable 'uidlocation' [-Wunused-variable] BUILDSTDERR: unsigned long uidlocation = 0; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_append_msgs': BUILDSTDERR: mmdf.c:1394:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (x = tmp; x = strpbrk (x,"\01\r"); --j) memmove (x,x+1,j-(x-tmp)); BUILDSTDERR: ^ BUILDSTDERR: mmdf.c: In function 'mmdf_parse': BUILDSTDERR: mmdf.c:1612:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (i = sbuf.st_size - LOCAL->filesize) { BUILDSTDERR: ^ BUILDSTDERR: mmdf.c:1934:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (u = strpbrk (err,"\r\n")) *u = '\0'; BUILDSTDERR: ^ BUILDSTDERR: mmdf.c: In function 'mmdf_xstatus': BUILDSTDERR: mmdf.c:2178:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (n = 0; n < NUSERFLAGS; ++n) if (t = stream->user_flags[n]) BUILDSTDERR: ^ BUILDSTDERR: mmdf.c:2200:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (n = elt->user_flags) do { BUILDSTDERR: ^ BUILDSTDERR: mmdf.c: In function 'mmdf_rewrite': BUILDSTDERR: mmdf.c:2264:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = mmdf_extend (stream,size)) { BUILDSTDERR: ^~~ BUILDSTDERR: mmdf.c: In function 'mmdf_write': BUILDSTDERR: mmdf.c:2457:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = i ? ((f->buflen - i) % OVERFLOWBUFLEN) : f->buflen) { BUILDSTDERR: ^ BUILDSTDERR: mmdf.c:2473:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = min (i,f->protect - f->filepos)) { BUILDSTDERR: ^ BUILDSTDERR: mmdf.c: In function 'mmdf_open': BUILDSTDERR: mmdf.c:658:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,i); /* make sure tied off */ BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_header': BUILDSTDERR: mmdf.c:769:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c:779:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: elt->private.msg.header.text.size); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_text_work': BUILDSTDERR: mmdf.c:846:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_copy': BUILDSTDERR: mmdf.c:1091:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c:1118:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_append': BUILDSTDERR: mmdf.c:1288:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_rewrite': BUILDSTDERR: mmdf.c:2302:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c:2385:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize = size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_extend': BUILDSTDERR: mmdf.c:2431:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_parse': BUILDSTDERR: mmdf.c:1913:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] BUILDSTDERR: sprintf (err,"Discarding bogus %s header in message %lu", BUILDSTDERR: ^~ BUILDSTDERR: (char *) tmp,elt->msgno); BUILDSTDERR: ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from mmdf.c:28: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` tenex.c BUILDSTDERR: tenex.c: In function 'tenex_isvalid': BUILDSTDERR: tenex.c:206:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] BUILDSTDERR: utime (file,tp); /* set the times */ BUILDSTDERR: ^~~~~ BUILDSTDERR: stime BUILDSTDERR: In file included from tenex.c:47: BUILDSTDERR: tenex.c: In function 'tenex_rename': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-Wimplicit-function-declaration] BUILDSTDERR: #define flock safe_flock BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: tenex.c:315:7: note: in expansion of macro 'flock' BUILDSTDERR: if (flock (fd,LOCK_EX|LOCK_NB)) { BUILDSTDERR: ^~~~~ BUILDSTDERR: tenex.c:324:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (tmp,'/')) {/* found superior to destination name? */ BUILDSTDERR: ^ BUILDSTDERR: tenex.c: In function 'tenex_snarf': BUILDSTDERR: tenex.c:772:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = hdrlen + txtlen) { BUILDSTDERR: ^ BUILDSTDERR: tenex.c: In function 'tenex_fast': BUILDSTDERR: tenex.c:516:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_header': BUILDSTDERR: tenex.c:567:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,*length = i); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c:572:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,s,i); /* slurp the data */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_text': BUILDSTDERR: tenex.c:614:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,i); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c:629:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,s,i); /* slurp the data */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_snarf': BUILDSTDERR: tenex.c:799:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_expunge': BUILDSTDERR: tenex.c:890:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,m); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c:917:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_copy': BUILDSTDERR: tenex.c:1008:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,j); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c:1016:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_append': BUILDSTDERR: tenex.c:1150:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size);/* revert file */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_hdrpos': BUILDSTDERR: tenex.c:1456:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mtx.c BUILDSTDERR: mtx.c: In function 'mtx_isvalid': BUILDSTDERR: mtx.c:199:2: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] BUILDSTDERR: utime (file,tp); /* set the times */ BUILDSTDERR: ^~~~~ BUILDSTDERR: utimes BUILDSTDERR: In file included from mtx.c:42: BUILDSTDERR: mtx.c: In function 'mtx_rename': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-Wimplicit-function-declaration] BUILDSTDERR: #define flock safe_flock BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: mtx.c:308:7: note: in expansion of macro 'flock' BUILDSTDERR: if (flock (fd,LOCK_EX|LOCK_NB)) { BUILDSTDERR: ^~~~~ BUILDSTDERR: mtx.c:317:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (tmp,'/')) {/* found superior to destination name? */ BUILDSTDERR: ^ BUILDSTDERR: mtx.c: In function 'mtx_snarf': BUILDSTDERR: mtx.c:683:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = hdrlen + txtlen) { BUILDSTDERR: ^ BUILDSTDERR: mtx.c: In function 'mtx_header': BUILDSTDERR: mtx.c:515:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,*length); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_snarf': BUILDSTDERR: mtx.c:710:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_expunge': BUILDSTDERR: mtx.c:801:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,m); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c:827:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_copy': BUILDSTDERR: mtx.c:918:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,j); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c:926:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_append': BUILDSTDERR: mtx.c:1053:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size);/* revert file */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` news.c BUILDSTDERR: news.c: In function 'news_list': BUILDSTDERR: news.c:218:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (pattern,'.')) *++s = '\0'; BUILDSTDERR: ^ BUILDSTDERR: news.c:234:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strtok_r (s,"\n",&r)) do if (u = strchr (t,' ')) { BUILDSTDERR: ^ BUILDSTDERR: news.c:234:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strtok_r (s,"\n",&r)) do if (u = strchr (t,' ')) { BUILDSTDERR: ^ BUILDSTDERR: news.c:243:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (t = strtok_r (NIL,"\n",&r)); BUILDSTDERR: ^ BUILDSTDERR: news.c: In function 'news_canonicalize': BUILDSTDERR: news.c:286:34: warning: value computed is not used [-Wunused-value] BUILDSTDERR: for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; BUILDSTDERR: ^~~~ BUILDSTDERR: news.c: In function 'news_open': BUILDSTDERR: news.c:368:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = strchr (s,'.')) *s = '/'; BUILDSTDERR: ^ BUILDSTDERR: news.c:370:36: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from news.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: news.c:370:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from news.c:35: BUILDSTDERR: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' BUILDSTDERR: int (*__cmp) (const struct dirent **, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: const struct dirent **)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: news.c: In function 'news_select': BUILDSTDERR: news.c:409:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (c = *s++) if (!isdigit (c)) return NIL; BUILDSTDERR: ^ BUILDSTDERR: news.c: In function 'news_valid': BUILDSTDERR: news.c:161:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: news.c: In function 'news_list': BUILDSTDERR: news.c:228:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (fd,s = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` phile.c BUILDSTDERR: phile.c: In function 'phile_open': BUILDSTDERR: phile.c:292:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (k = t->tm_yday - k) i += ((k < 0) == (abs (k) == 1)) ? -24*60 : 24*60; BUILDSTDERR: ^ BUILDSTDERR: phile.c:309:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (pw = getpwuid (sbuf.st_uid)) strcpy (tmp,pw->pw_name); BUILDSTDERR: ^~ BUILDSTDERR: phile.c:321:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = phile_type (buf->data,buf->size,&j)) { BUILDSTDERR: ^ BUILDSTDERR: phile.c:317:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (fd,buf->data = (unsigned char *) fs_get (buf->size + 1),buf->size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mh.c BUILDSTDERR: mh.c: In function 'mh_path': BUILDSTDERR: mh.c:257:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (v = strpbrk (s," \t")) { BUILDSTDERR: ^ BUILDSTDERR: mh.c: In function 'mh_dirfmttest': BUILDSTDERR: mh.c:330:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (c = *s++) if (!isdigit (c)) return NIL; BUILDSTDERR: ^ BUILDSTDERR: mh.c: In function 'mh_scan': BUILDSTDERR: mh.c:349:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (test,'/')) *++s = '\0'; BUILDSTDERR: ^ BUILDSTDERR: mh.c:362:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strpbrk (test,"%*")) { BUILDSTDERR: ^ BUILDSTDERR: mh.c:369:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (file,'/')) { BUILDSTDERR: ^ BUILDSTDERR: mh.c: In function 'mh_lsub': BUILDSTDERR: mh.c:407:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: ^ BUILDSTDERR: mh.c: In function 'mh_list_work': BUILDSTDERR: mh.c:431:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (dp = opendir (curdir)) { /* open directory */ BUILDSTDERR: ^~ BUILDSTDERR: mh.c:432:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (d = readdir (dp)) /* scan, ignore . and numeric names */ BUILDSTDERR: ^ BUILDSTDERR: mh.c: In function 'mh_delete': BUILDSTDERR: mh.c:516:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (dirp = opendir (tmp)) { /* open directory */ BUILDSTDERR: ^~~~ BUILDSTDERR: mh.c:519:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (d = readdir (dirp)) if (mh_dirfmttest (d->d_name)) { BUILDSTDERR: ^ BUILDSTDERR: mh.c: In function 'mh_rename': BUILDSTDERR: mh.c:556:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (mh_file (tmp1,newname),'/')) { BUILDSTDERR: ^ BUILDSTDERR: mh.c: In function 'mh_ping': BUILDSTDERR: mh.c:865:46: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mh.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c:865:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mh.c:35: BUILDSTDERR: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' BUILDSTDERR: int (*__cmp) (const struct dirent **, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: const struct dirent **)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c:889:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = (void *) names) fs_give ((void **) &s); BUILDSTDERR: ^ BUILDSTDERR: mh.c:939:17: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: sprintf (tmp,"Message copy to MH mailbox failed: %.80s", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c: In function 'mh_expunge': BUILDSTDERR: mh.c:983:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = sequence ? ((options & EX_UID) ? BUILDSTDERR: ^~~ BUILDSTDERR: mh.c: In function 'mh_append': BUILDSTDERR: mh.c:1131:37: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mh.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c:1131:47: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mh.c:35: BUILDSTDERR: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' BUILDSTDERR: int (*__cmp) (const struct dirent **, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: const struct dirent **)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c:1138:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = (void *) names) fs_give ((void **) &s); BUILDSTDERR: ^ BUILDSTDERR: mh.c:1102:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] BUILDSTDERR: long i,size,last,nfiles; BUILDSTDERR: ^~~~ BUILDSTDERR: mh.c: In function 'mh_select': BUILDSTDERR: mh.c:1201:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (c = *s++) if (!isdigit (c)) return NIL; BUILDSTDERR: ^ BUILDSTDERR: mh.c: In function 'mh_canonicalize': BUILDSTDERR: mh.c:1264:34: warning: value computed is not used [-Wunused-value] BUILDSTDERR: for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; BUILDSTDERR: ^~~~ BUILDSTDERR: mh.c: In function 'mh_setdate': BUILDSTDERR: mh.c:1282:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] BUILDSTDERR: utime (file,tp); /* set the times */ BUILDSTDERR: ^~~~~ BUILDSTDERR: utimes BUILDSTDERR: mh.c: In function 'mh_path': BUILDSTDERR: mh.c:251:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (fd,(t = (char *) fs_get (sbuf.st_size + 1)),sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mx.c BUILDSTDERR: mx.c: In function 'mx_dirfmttest': BUILDSTDERR: mx.c:242:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (c = *name++) if (!isdigit (c)) return NIL; BUILDSTDERR: ^ BUILDSTDERR: mx.c: In function 'mx_scan_contents': BUILDSTDERR: mx.c:277:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:277:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' BUILDSTDERR: int (*__cmp) (const struct dirent **, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: const struct dirent **)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:289:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: ^ BUILDSTDERR: mx.c: In function 'mx_create': BUILDSTDERR: mx.c:348:7: warning: unused variable 'fd' [-Wunused-variable] BUILDSTDERR: int fd; BUILDSTDERR: ^~ BUILDSTDERR: mx.c: In function 'mx_delete': BUILDSTDERR: mx.c:395:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (dirp = opendir (tmp)) { /* open directory */ BUILDSTDERR: ^~~~ BUILDSTDERR: mx.c:398:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (d = readdir (dirp)) if (mx_select (d)) { BUILDSTDERR: ^ BUILDSTDERR: mx.c: In function 'mx_rename': BUILDSTDERR: mx.c:441:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (mx_file (tmp1,newname),'/')) { BUILDSTDERR: ^ BUILDSTDERR: mx.c:462:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:462:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' BUILDSTDERR: int (*__cmp) (const struct dirent **, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: const struct dirent **)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:469:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: ^ BUILDSTDERR: mx.c: In function 'mx_ping': BUILDSTDERR: mx.c:731:51: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:731:61: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' BUILDSTDERR: int (*__cmp) (const struct dirent **, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: const struct dirent **)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:752:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = (void *) names) fs_give ((void **) &s); BUILDSTDERR: ^ BUILDSTDERR: mx.c:803:17: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: sprintf (tmp,"Message copy to MX mailbox failed: %.80s", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c: In function 'mx_expunge': BUILDSTDERR: mx.c:847:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (sequence ? ((options & EX_UID) ? BUILDSTDERR: ^~~ BUILDSTDERR: mx.c: In function 'mx_copy': BUILDSTDERR: mx.c:939:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = ((fd = open (mx_fast_work (stream,elt),O_RDONLY,NIL)) BUILDSTDERR: ^~~ BUILDSTDERR: mx.c:949:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = elt->user_flags) do BUILDSTDERR: ^ BUILDSTDERR: mx.c:950:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = stream->user_flags[find_rightmost_bit (&j)]) BUILDSTDERR: ^ BUILDSTDERR: mx.c:960:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = mx_append_msg (astream,tmp,elt,&st,dest)) { BUILDSTDERR: ^~~ BUILDSTDERR: mx.c:904:21: warning: variable 'uid' set but not used [-Wunused-but-set-variable] BUILDSTDERR: unsigned long i,j,uid,uidv; BUILDSTDERR: ^~~ BUILDSTDERR: mx.c: In function 'mx_select': BUILDSTDERR: mx.c:1117:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (c = *s++) if (!isdigit (c)) return NIL; BUILDSTDERR: ^ BUILDSTDERR: In file included from mx.c:35: BUILDSTDERR: mx.c: In function 'mx_lockindex': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-Wimplicit-function-declaration] BUILDSTDERR: #define flock safe_flock BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: mx.c:1173:5: note: in expansion of macro 'flock' BUILDSTDERR: flock (LOCAL->fd,LOCK_EX); /* get exclusive lock */ BUILDSTDERR: ^~~~~ BUILDSTDERR: mx.c:1189:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (t = ++s,'\n')) { BUILDSTDERR: ^ BUILDSTDERR: mx.c: In function 'mx_setdate': BUILDSTDERR: mx.c:1286:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] BUILDSTDERR: utime (file,tp); /* set the times */ BUILDSTDERR: ^~~~~ BUILDSTDERR: utimes BUILDSTDERR: mx.c: In function 'mx_header': BUILDSTDERR: mx.c:636:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (fd,LOCAL->buf,elt->rfc822_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c: In function 'mx_lockindex': BUILDSTDERR: mx.c:1177:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c: In function 'mx_unlockindex': BUILDSTDERR: mx.c:1269:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mix.c BUILDSTDERR: mix.c: In function 'mix_scan_contents': BUILDSTDERR: mix.c:324:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:324:49: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' BUILDSTDERR: int (*__cmp) (const struct dirent **, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: const struct dirent **)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:336:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_create': BUILDSTDERR: mix.c:63:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:63:16: note: in definition of macro 'MTAFMT' BUILDSTDERR: #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from mix.c:33: BUILDSTDERR: mix.c: In function 'mix_delete': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-Wimplicit-function-declaration] BUILDSTDERR: #define flock safe_flock BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: mix.c:471:50: note: in expansion of macro 'flock' BUILDSTDERR: else if (((fd = open (tmp,O_RDWR,NIL)) < 0) || flock (fd,LOCK_EX|LOCK_NB)) BUILDSTDERR: ^~~~~ BUILDSTDERR: mix.c:480:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (dirp = opendir (tmp)) { /* open directory */ BUILDSTDERR: ^~~~ BUILDSTDERR: mix.c:483:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (d = readdir (dirp)) if (mix_dirfmttest (d->d_name)) { BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_rename': BUILDSTDERR: mix.c:531:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (tmp1,'/')) { BUILDSTDERR: ^ BUILDSTDERR: mix.c:556:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:569:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_open': BUILDSTDERR: mix.c:636:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (silent = stream->silent) LOCAL->internal = T; BUILDSTDERR: ^~~~~~ BUILDSTDERR: mix.c: In function 'mix_header': BUILDSTDERR: mix.c:754:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0'; BUILDSTDERR: ^ BUILDSTDERR: mix.c:711:7: warning: unused variable 'fd' [-Wunused-variable] BUILDSTDERR: int fd; BUILDSTDERR: ^~ BUILDSTDERR: mix.c: In function 'mix_text': BUILDSTDERR: mix.c:774:17: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: unsigned long i; BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_ping': BUILDSTDERR: mix.c:965:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (snarfok = mail_append_full (stream,"INBOX",flags,date,&msg)) { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: mix.c:990:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (statf = mix_parse (stream,&idxf,LONGT, BUILDSTDERR: ^~~~~ BUILDSTDERR: mix.c:929:15: warning: unused variable 'sfd' [-Wunused-variable] BUILDSTDERR: int mfd,ifd,sfd; BUILDSTDERR: ^~~ BUILDSTDERR: mix.c:929:11: warning: unused variable 'ifd' [-Wunused-variable] BUILDSTDERR: int mfd,ifd,sfd; BUILDSTDERR: ^~~ BUILDSTDERR: mix.c:929:7: warning: unused variable 'mfd' [-Wunused-variable] BUILDSTDERR: int mfd,ifd,sfd; BUILDSTDERR: ^~~ BUILDSTDERR: mix.c: In function 'mix_expunge': BUILDSTDERR: mix.c:1038:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (statf = mix_parse (stream,&idxf,LONGT, BUILDSTDERR: ^~~~~ BUILDSTDERR: mix.c:1054:53: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:1054:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' BUILDSTDERR: int (*__cmp) (const struct dirent **, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: const struct dirent **)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:1110:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: ^ BUILDSTDERR: mix.c:1026:11: warning: unused variable 'sfd' [-Wunused-variable] BUILDSTDERR: int ifd,sfd; BUILDSTDERR: ^~~ BUILDSTDERR: mix.c:1026:7: warning: unused variable 'ifd' [-Wunused-variable] BUILDSTDERR: int ifd,sfd; BUILDSTDERR: ^~~ BUILDSTDERR: mix.c: In function 'mix_burp': BUILDSTDERR: mix.c:1236:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (ret = !truncate (LOCAL->buf,burp->set.last)) BUILDSTDERR: ^~~ BUILDSTDERR: mix.c:1219:9: warning: variable 's' set but not used [-Wunused-but-set-variable] BUILDSTDERR: void *s; BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_burp_check': BUILDSTDERR: mix.c:1340:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (set = set->next); BUILDSTDERR: ^~~ BUILDSTDERR: mix.c: In function 'mix_copy': BUILDSTDERR: mix.c:1378:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (ret = ((astream = mail_open (NIL,mailbox,OP_SILENT)) && BUILDSTDERR: ^~~ BUILDSTDERR: mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: note: in definition of macro 'MSRFMT' BUILDSTDERR: #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] BUILDSTDERR: #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: note: in definition of macro 'MSRFMT' BUILDSTDERR: #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:1403:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgf = mix_data_open (astream,&fd,&size,newsize)) { BUILDSTDERR: ^~~~ BUILDSTDERR: mix.c:1432:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = elt->user_flags) do BUILDSTDERR: ^ BUILDSTDERR: mix.c:1455:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (mix_meta_update (astream) && BUILDSTDERR: ^~~ BUILDSTDERR: mix.c:1405:23: warning: variable 'uid' set but not used [-Wunused-but-set-variable] BUILDSTDERR: unsigned long j,uid,uidv; BUILDSTDERR: ^~~ BUILDSTDERR: mix.c: In function 'mix_append': BUILDSTDERR: mix.c:1519:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = compare_cstring (mailbox,"INBOX") ? BUILDSTDERR: ^~~ BUILDSTDERR: mix.c:1536:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = ((astream = mail_open (NIL,mailbox,OP_SILENT)) && BUILDSTDERR: ^~~ BUILDSTDERR: mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: note: in definition of macro 'MSRFMT' BUILDSTDERR: #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] BUILDSTDERR: #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: note: in definition of macro 'MSRFMT' BUILDSTDERR: #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:1555:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgf = mix_data_open (astream,&fd,&size,hdrsize + SIZE (message))) { BUILDSTDERR: ^~~~ BUILDSTDERR: mix.c: In function 'mix_append_msg': BUILDSTDERR: mix.c:1632:26: warning: unused variable 'hoff' [-Wunused-variable] BUILDSTDERR: unsigned long i,j,k,uf,hoff; BUILDSTDERR: ^~~~ BUILDSTDERR: mix.c:1632:17: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: unsigned long i,j,k,uf,hoff; BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_parse': BUILDSTDERR: mix.c:1743:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (s = mix_meta_slurp (stream,&i)) { BUILDSTDERR: ^ BUILDSTDERR: mix.c:1750:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strstr (t = s,"\015\012")) { BUILDSTDERR: ^ BUILDSTDERR: mix.c:1779:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (k = t,' ')) *t++ = '\0'; BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_index_update': BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 13 has type 'int' [-Wformat=] BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 15 has type 'int' [-Wformat=] BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 16 has type 'int' [-Wformat=] BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 17 has type 'int' [-Wformat=] BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_status_update': BUILDSTDERR: mix.c:67:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] BUILDSTDERR: #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:16: note: in definition of macro 'STRFMT' BUILDSTDERR: #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:16: note: in definition of macro 'STRFMT' BUILDSTDERR: #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] BUILDSTDERR: #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:16: note: in definition of macro 'STRFMT' BUILDSTDERR: #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_data_open': BUILDSTDERR: mix.c:2425:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgf = fdopen (*fd,"r+b")) fseek (msgf,*size,SEEK_SET); BUILDSTDERR: ^~~~ BUILDSTDERR: mix.c: In function 'mix_sortcache_open': BUILDSTDERR: mix.c:2489:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = mail_msgno (stream,uid)) { BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_sortcache_update': BUILDSTDERR: mix.c:2668:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (sl = s->references) /* count length of references */ BUILDSTDERR: ^~ BUILDSTDERR: mix.c: In function 'mix_read_record': BUILDSTDERR: mix.c:2723:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (buf,'\012')) { BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_copy': BUILDSTDERR: mix.c:1477:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,size); /* revert file */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_append': BUILDSTDERR: mix.c:1594:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,size); /* revert all writes to file*/ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_meta_update': BUILDSTDERR: mix.c:2209:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->mfd,i); /* and tie off at that point */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_index_update': BUILDSTDERR: mix.c:2255:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fileno (idxf),sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:2288:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: if (ret) ftruncate (fileno (idxf),ftell (idxf)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_status_update': BUILDSTDERR: mix.c:2335:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fileno (statf),sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:2369:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: if (ret) ftruncate (fileno (statf),ftell (statf)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_sortcache_update': BUILDSTDERR: mix.c:2697:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: if (ret) ftruncate (fileno (f),ftell (f)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_sortcache_open': BUILDSTDERR: mix.c:2640:8: warning: 'fd' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: else fchmod (fd,sbuf.st_mode); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ sh -c 'rm -rf c-client.a || true' ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o;ranlib c-client.a cc -fPIC -DPIC -D_REENTRANT `cat CFLAGS` `cat OSCFLAGS` -c osdep.c -o osdep.so BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from osdep.h:43, BUILDSTDERR: from osdep.c:31: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from auths.c:2, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_gss.c: In function 'auth_gssapi_client': BUILDSTDERR: auth_gss.c:100:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (chal.value = (*challenger) (stream,(unsigned long *) &chal.length)) { BUILDSTDERR: ^~~~ BUILDSTDERR: auth_gss.c: In function 'auth_gssapi_server': BUILDSTDERR: auth_gss.c:339:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (resp.value = (*responder) ("",0,(unsigned long *) &resp.length)) { BUILDSTDERR: ^~~~ BUILDSTDERR: auth_gss.c:399:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: SERVER_LOG ("Failed to acquire credentials for %s",buf.value); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ BUILDSTDERR: auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' BUILDSTDERR: #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) BUILDSTDERR: ^ BUILDSTDERR: auth_gss.c:406:16: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: SERVER_LOG ("Unknown GSSAPI failure: %s",resp.value); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ BUILDSTDERR: auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' BUILDSTDERR: #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) BUILDSTDERR: ^ BUILDSTDERR: auth_gss.c:414:14: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: SERVER_LOG ("GSSAPI mechanism status: %s",resp.value); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ BUILDSTDERR: auth_gss.c:55:43: note: in definition of macro 'SERVER_LOG' BUILDSTDERR: #define SERVER_LOG(x,y) syslog (LOG_ALERT,x,y) BUILDSTDERR: ^ BUILDSTDERR: In file included from auths.c:3, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_ext.c: In function 'auth_external_client': BUILDSTDERR: auth_ext.c:62:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (challenge = (*challenger) (stream,&clen)) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: auth_ext.c:66:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (challenge = (*challenger) (stream,&clen)) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from auths.c:4, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_md5.c: In function 'auth_md5_client': BUILDSTDERR: auth_md5.c:105:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (challenge = (*challenger) (stream,&clen)) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: auth_md5.c:120:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (challenge = (*challenger) (stream,&clen)) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: auth_md5.c: In function 'auth_md5_server': BUILDSTDERR: auth_md5.c:155:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (user = (*responder) (chal,cl = strlen (chal),NIL)) { BUILDSTDERR: ^~~~ BUILDSTDERR: auth_md5.c:157:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (hash = strrchr (user,' ')) { BUILDSTDERR: ^~~~ BUILDSTDERR: auth_md5.c:160:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (authuser = strchr (user,'*')) *authuser++ = '\0'; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: auth_md5.c:162:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = auth_md5_pwd ((authuser && *authuser) ? authuser : user)) { BUILDSTDERR: ^ BUILDSTDERR: auth_md5.c: In function 'apop_login': BUILDSTDERR: auth_md5.c:238:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (authuser = strchr (user,'*')) *authuser++ = '\0'; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: auth_md5.c:240:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = auth_md5_pwd ((authuser && *authuser) ? authuser : user)) { BUILDSTDERR: ^ BUILDSTDERR: In file included from auths.c:5, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_pla.c: In function 'auth_plain_client': BUILDSTDERR: auth_pla.c:66:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (challenge = (*challenger) (stream,&clen)) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: auth_pla.c:94:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (challenge = (*challenger) (stream,&clen)) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: auth_pla.c: In function 'auth_plain_server': BUILDSTDERR: auth_pla.c:123:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (aid = (*responder) ("",0,&len)) { BUILDSTDERR: ^~~ BUILDSTDERR: In file included from auths.c:6, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_log.c: In function 'auth_login_client': BUILDSTDERR: auth_log.c:66:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (challenge = (*challenger) (stream,&clen)) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: auth_log.c:81:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (challenge = (*challenger) (stream,&clen)) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: auth_log.c: In function 'auth_login_server': BUILDSTDERR: auth_log.c:107:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (user = (*responder) (PWD_USER,sizeof (PWD_USER),NIL)) { BUILDSTDERR: ^~~~ BUILDSTDERR: auth_log.c:108:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (pass = (*responder) (PWD_PWD,sizeof (PWD_PWD),NIL)) { BUILDSTDERR: ^~~~ BUILDSTDERR: auth_log.c:110:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (authuser = strchr (user,'*')) *authuser++ = '\0'; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from osdep.c:51: BUILDSTDERR: env_unix.c: In function 'do_date': BUILDSTDERR: env_unix.c:514:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (julian = t->tm_yday -julian) BUILDSTDERR: ^~~~~~ BUILDSTDERR: env_unix.c: In function 'valpwd': BUILDSTDERR: env_unix.c:669:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = auth_md5_pwd (user)) { BUILDSTDERR: ^ BUILDSTDERR: env_unix.c:676:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (pw = pwuser (user)) {/* can get user? */ BUILDSTDERR: ^~ BUILDSTDERR: env_unix.c: In function 'dotlock_lock': BUILDSTDERR: env_unix.c:1251:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (base->lock,'/')) { BUILDSTDERR: ^ BUILDSTDERR: In file included from osdep.c:31: BUILDSTDERR: env_unix.c: In function 'lock_work': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-Wimplicit-function-declaration] BUILDSTDERR: #define flock safe_flock BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: env_unix.c:1374:27: note: in expansion of macro 'flock' BUILDSTDERR: if (op & LOCK_NB) i = flock (fd,op); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from osdep.c:51: BUILDSTDERR: env_unix.c: In function 'dorc': BUILDSTDERR: env_unix.c:1582:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (d = mail_valid (NIL,"INBOX",NIL)) { BUILDSTDERR: ^ BUILDSTDERR: env_unix.c:1595:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (d = (DRIVER *) mail_parameters (NIL,GET_DRIVER,(void *) k)) BUILDSTDERR: ^ BUILDSTDERR: In file included from osdep.c:54: BUILDSTDERR: tcp_unix.c: In function 'tcp_open': BUILDSTDERR: tcp_unix.c:175:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (adr = ip_stringtoaddr (tmp,&adrlen,&family)) { BUILDSTDERR: ^~~ BUILDSTDERR: tcp_unix.c:215:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (stream->ictr = ctr) *(stream->iptr = stream->ibuf) = tmp[0]; BUILDSTDERR: ^~~~~~ BUILDSTDERR: tcp_unix.c: In function 'tcp_aopen': BUILDSTDERR: tcp_unix.c:350:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (adr = ip_stringtoaddr (host,&len,&i)) fs_give ((void **) &adr); BUILDSTDERR: ^~~ BUILDSTDERR: tcp_unix.c: In function 'tcp_getbuffer': BUILDSTDERR: tcp_unix.c:526:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (n = min (size,stream->ictr)) { BUILDSTDERR: ^ BUILDSTDERR: tcp_unix.c: In function 'tcp_clienthost': BUILDSTDERR: tcp_unix.c:832:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (v = strchr (s,' ')) *v = '\0'; BUILDSTDERR: ^ BUILDSTDERR: tcp_unix.c: In function 'tcp_name': BUILDSTDERR: tcp_unix.c:959:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = tcp_name_valid (ip_sockaddrtoname (sadr))) { BUILDSTDERR: ^ BUILDSTDERR: tcp_unix.c: In function 'tcp_isclienthost': BUILDSTDERR: tcp_unix.c:1000:17: warning: unused variable 'sadrlen' [-Wunused-variable] BUILDSTDERR: size_t adrlen,sadrlen,len; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: osdep.c: In function 'checkpw': BUILDSTDERR: osdep.c:164:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (pw = ((pam_start ((char *) mail_parameters (NIL,GET_SERVICENAME,NIL), BUILDSTDERR: ^~ BUILDSTDERR: osdep.c: In function 'ssl_start_work': BUILDSTDERR: osdep.c:460:12: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: TLSv1_client_method () : BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/openssl/ct.h:13, BUILDSTDERR: from /usr/include/openssl/ssl.h:61, BUILDSTDERR: from osdep.c:268: BUILDSTDERR: /usr/include/openssl/ssl.h:1634:45: note: declared here BUILDSTDERR: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: osdep.c:479:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = (char *) mail_parameters (NIL,GET_SSLCAPATH,NIL)) BUILDSTDERR: ^ BUILDSTDERR: osdep.c:483:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cert = PEM_read_bio_X509 (bio = BIO_new_mem_buf (s,sl),NIL,NIL,NIL)) { BUILDSTDERR: ^~~~ BUILDSTDERR: osdep.c:492:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (key = PEM_read_bio_PrivateKey (bio = BIO_new_mem_buf (t,tl), BUILDSTDERR: ^~~ BUILDSTDERR: osdep.c:451:25: warning: unused variable 'scq' [-Wunused-variable] BUILDSTDERR: sslcertificatequery_t scq = BUILDSTDERR: ^~~ BUILDSTDERR: osdep.c:450:19: warning: unused variable 'tmp' [-Wunused-variable] BUILDSTDERR: char *s,*t,*err,tmp[MAILTMPLEN]; BUILDSTDERR: ^~~ BUILDSTDERR: osdep.c:450:15: warning: unused variable 'err' [-Wunused-variable] BUILDSTDERR: char *s,*t,*err,tmp[MAILTMPLEN]; BUILDSTDERR: ^~~ BUILDSTDERR: osdep.c: In function 'ssl_server_init': BUILDSTDERR: osdep.c:955:12: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: TLSv1_server_method () : BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/openssl/ct.h:13, BUILDSTDERR: from /usr/include/openssl/ssl.h:61, BUILDSTDERR: from osdep.c:268: BUILDSTDERR: /usr/include/openssl/ssl.h:1633:45: note: declared here BUILDSTDERR: DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) /* TLSv1.0 */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: osdep.c:1007:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (i = ERR_get_error ()) /* SSL failure */ BUILDSTDERR: ^ BUILDSTDERR: osdep.c: In function 'ssl_genkey': BUILDSTDERR: osdep.c:1026:5: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/openssl/rsa.h:13, BUILDSTDERR: from /usr/include/openssl/x509.h:31, BUILDSTDERR: from /usr/include/openssl/x509v3.h:14, BUILDSTDERR: from osdep.c:267: BUILDSTDERR: /usr/include/openssl/rsa.h:193:1: note: declared here BUILDSTDERR: DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: osdep.c:1029:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (i = ERR_get_error ()) BUILDSTDERR: ^ BUILDSTDERR: osdep.c: At top level: BUILDSTDERR: osdep.c:299:14: warning: 'ssl_validate_cert' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: static char *ssl_validate_cert (X509 *cert,char *host); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from auths.c:4, BUILDSTDERR: from env_unix.c:260, BUILDSTDERR: from osdep.c:51: BUILDSTDERR: auth_md5.c: In function 'auth_md5_pwd': BUILDSTDERR: auth_md5.c:195:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.c:51: BUILDSTDERR: env_unix.c: In function 'pw_login': BUILDSTDERR: env_unix.c:785:37: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (ret = env_init (user,home))) chdir (myhomedir ()); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: osdep.c:601:13: warning: 'ssl_compare_hostnames' defined but not used [-Wunused-function] BUILDSTDERR: static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.c:54: BUILDSTDERR: tcp_unix.c: In function 'tcp_name': BUILDSTDERR: tcp_unix.c:953:44: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=] BUILDSTDERR: sprintf (tmp,"Reverse DNS resolution %s",adr); BUILDSTDERR: ^~ ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from osdep.c:32: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.c:54: BUILDSTDERR: tcp_unix.c:961:42: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: if (flag) sprintf (ret = tmp,"%s %s",t,adr); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from osdep.c:32: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mail.c -o mail.so BUILDSTDERR: mail.c: In function 'mm_cache': BUILDSTDERR: mail.c:212:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (stream->cache[i] = stream->cache[msgno]) BUILDSTDERR: ^~~~~~ BUILDSTDERR: mail.c: In function 'mail_parameters': BUILDSTDERR: mail.c:385:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (void *) d) d->flags &= ~DR_DISABLE; BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:390:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (void *) d) d->flags |= DR_DISABLE; BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:395:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (void *) a) a->flags &= ~AU_DISABLE; BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:400:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (void *) a) a->flags |= AU_DISABLE; BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:405:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (void *) a) a->flags &= ~AU_HIDE; BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:410:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (void *) a) a->flags |= AU_HIDE; BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:644:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (r = smtp_parameters (function,value)) ret = r; BUILDSTDERR: ^ BUILDSTDERR: mail.c:645:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (r = env_parameters (function,value)) ret = r; BUILDSTDERR: ^ BUILDSTDERR: mail.c:646:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (r = tcp_parameters (function,value)) ret = r; BUILDSTDERR: ^ BUILDSTDERR: mail.c:648:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (r = (*stream->dtb->parameters) (function,value)) ret = r; BUILDSTDERR: ^ BUILDSTDERR: mail.c:652:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (r = (d->parameters) (function,value)) ret = r; BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_valid_net_parse_work': BUILDSTDERR: mail.c:766:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strpbrk (s = t,"/:=")) { BUILDSTDERR: ^ BUILDSTDERR: mail.c:784:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strpbrk (v = t,"/:")) { BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_list': BUILDSTDERR: mail.c:919:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (d = d->next); /* until at the end */ BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_lsub': BUILDSTDERR: mail.c:952:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (d = d->next); /* until at the end */ BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_create': BUILDSTDERR: mail.c:996:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strpbrk (mailbox,"\015\012")) { BUILDSTDERR: ^ BUILDSTDERR: mail.c:1012:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = mail_utf7_valid (mailbox)) { BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_rename': BUILDSTDERR: mail.c:1092:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = mail_utf7_valid (newname)) { BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_open': BUILDSTDERR: mail.c:1199:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (stream = mail_open (stream,s+1,options)) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: mail.c:1216:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (stream = mail_open (stream,mb.mailbox,options)) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: mail.c:1243:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strpbrk (tmp,"/\\:")) *s++ = '\0'; BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_fetch_structure': BUILDSTDERR: mail.c:1543:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_fetch_message': BUILDSTDERR: mail.c:1655:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_fetch_header': BUILDSTDERR: mail.c:1725:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c:1778:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (rt.data = (unsigned char *) BUILDSTDERR: ^~ BUILDSTDERR: mail.c: In function 'mail_fetch_text': BUILDSTDERR: mail.c:1816:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_fetch_mime': BUILDSTDERR: mail.c:1871:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_fetch_body': BUILDSTDERR: mail.c:1954:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_partial_text': BUILDSTDERR: mail.c:2012:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_partial_body': BUILDSTDERR: mail.c:2082:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgno = mail_msgno (stream,msgno)) flags &= ~FT_UID; BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_msgno': BUILDSTDERR: mail.c:2232:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (delta = ((last - first) / 2)) { BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_search_default': BUILDSTDERR: mail.c:2386:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msg = utf8_badcharset (charset)) { BUILDSTDERR: ^~~ BUILDSTDERR: mail.c: In function 'mail_append_multiple': BUILDSTDERR: mail.c:2612:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (d = mail_valid (stream,mailbox,NIL)) BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_gc': BUILDSTDERR: mail.c:2650:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (elt = (MESSAGECACHE *) (*mailcache) (stream,i,CH_ELT)) BUILDSTDERR: ^~~ BUILDSTDERR: mail.c: In function 'mail_body': BUILDSTDERR: mail.c:2725:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (pt = b->nested.part) while (--i && (pt = pt->next)); BUILDSTDERR: ^~ BUILDSTDERR: mail.c: In function 'mail_parse_date': BUILDSTDERR: mail.c:3085:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = gmtime (&tn)) { /* minus UTC minutes since midnight */ BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_uid_sequence': BUILDSTDERR: mail.c:3306:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (x = mail_msgno (stream,i)) mail_elt (stream,x)->sequence = T; BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_match_lines': BUILDSTDERR: mail.c:3339:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (lines = lines->next); BUILDSTDERR: ^~~~~ BUILDSTDERR: mail.c: In function 'mail_filter': BUILDSTDERR: mail.c:3371:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = t - tmp) /* see if found in header */ BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_search_header_text': BUILDSTDERR: mail.c:3621:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (h.data = (unsigned char *) s) { BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_search_text': BUILDSTDERR: mail.c:3672:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (st = st->next) s = s->next = mail_newstringlist (); BUILDSTDERR: ^~ BUILDSTDERR: mail.c: In function 'mail_search_body': BUILDSTDERR: mail.c:3754:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (body = body->nested.msg->body) BUILDSTDERR: ^~~~ BUILDSTDERR: mail.c:3771:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (st.data = (unsigned char *) BUILDSTDERR: ^~ BUILDSTDERR: mail.c:3778:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (st.data = rfc822_qprint ((unsigned char *) s,i,&st.size)) { BUILDSTDERR: ^~ BUILDSTDERR: mail.c: In function 'mail_search_string': BUILDSTDERR: mail.c:3806:16: warning: unused variable 'sc' [-Wunused-variable] BUILDSTDERR: STRINGLIST **sc = st; BUILDSTDERR: ^~ BUILDSTDERR: mail.c: In function 'mail_search_keyword': BUILDSTDERR: mail.c:3859:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (st = st->next); BUILDSTDERR: ^~ BUILDSTDERR: mail.c: In function 'mail_search_addr': BUILDSTDERR: mail.c:3888:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (tadr.personal = a->personal) k += 3 + 2*strlen (a->personal); BUILDSTDERR: ^~~~ BUILDSTDERR: mail.c:3889:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (tadr.adl = a->adl) k += 3 + 2*strlen (a->adl); BUILDSTDERR: ^~~~ BUILDSTDERR: mail.c:3890:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (tadr.host = a->host) k += 3 + 2*strlen (a->host); BUILDSTDERR: ^~~~ BUILDSTDERR: mail.c: In function 'mail_criteria_string': BUILDSTDERR: mail.c:4125:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (d = strtok_r (c,end,r)) n = strlen (d); BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_sort_loadcache': BUILDSTDERR: mail.c:4336:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: ^ BUILDSTDERR: mail.c:4372:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: ^ BUILDSTDERR: mail.c:4380:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (v = strchr (v,':')) { BUILDSTDERR: ^ BUILDSTDERR: mail.c:4387:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (adr = rfc822_parse_address (&adr,adr,&t,BADHOST,0)) { BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:4405:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: ^ BUILDSTDERR: mail.c:4413:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (v = strchr (v,':')) { BUILDSTDERR: ^ BUILDSTDERR: mail.c:4420:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (adr = rfc822_parse_address (&adr,adr,&t,BADHOST,0)) { BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:4438:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: ^ BUILDSTDERR: mail.c:4446:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (v = strchr (v,':')) { BUILDSTDERR: ^ BUILDSTDERR: mail.c:4453:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (adr = rfc822_parse_address (&adr,adr,&t,BADHOST,0)) { BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:4472:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (x = ++t; x = strpbrk (x,"\012\015"); x++) BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_strip_subject': BUILDSTDERR: mail.c:4506:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (src.size = strlen (t)) { /* have non-empty subject? */ BUILDSTDERR: ^~~ BUILDSTDERR: mail.c: In function 'mail_sort_compare': BUILDSTDERR: mail.c:4662:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (pgm = i ? NIL : pgm->next); BUILDSTDERR: ^~~ BUILDSTDERR: mail.c: In function 'mail_thread_orderedsubject': BUILDSTDERR: mail.c:4789:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (lst = (*sorter) (stream,charset,spg,&pgm,flags & ~(SE_FREE | SE_UID))){ BUILDSTDERR: ^~~ BUILDSTDERR: mail.c: In function 'mail_thread_references': BUILDSTDERR: mail.c:4903:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (env = mail_fetch_structure (stream,s->num,NIL,NIL)) { BUILDSTDERR: ^~~ BUILDSTDERR: mail.c:4951:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: THREADLINKS); st = st->next; con = nxc) { BUILDSTDERR: ^~ BUILDSTDERR: mail.c: In function 'mail_thread_parse_references': BUILDSTDERR: mail.c:5183:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = mail_thread_parse_msgid (s,&s)) { BUILDSTDERR: ^ BUILDSTDERR: mail.c:5187:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (cur = ret; t = mail_thread_parse_msgid (s,&s); cur = cur->next) { BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'mail_thread_c2node': BUILDSTDERR: mail.c:5289:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (nxt = CHILD (con)) cur->next = mail_thread_c2node (stream,nxt,flags); BUILDSTDERR: ^~~ BUILDSTDERR: mail.c: In function 'mail_parse_flags': BUILDSTDERR: mail.c:5440:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (n = strchr (t,' ')) *n++ = '\0'; BUILDSTDERR: ^ BUILDSTDERR: mail.c: In function 'net_open_work': BUILDSTDERR: mail.c:6201:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (tstream = (*dv->open) (host,service,port | flags)) { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: mail.c: In function 'net_aopen': BUILDSTDERR: mail.c:6223:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (tstream = (*dv->aopen) (mb,service,user)) { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: mail.c: In function 'mail_parse_set': BUILDSTDERR: mail.c:4149:26: warning: 'cur' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: else cur = cur->next = mail_newsearchset (); BUILDSTDERR: ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` misc.c -o misc.so BUILDSTDERR: misc.c: In function 'hash_reset': BUILDSTDERR: misc.c:318:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (i = 0; i < hashtab->size; i++) if (ent = hashtab->table[i]) BUILDSTDERR: ^~~ BUILDSTDERR: misc.c: In function 'hash_index': BUILDSTDERR: misc.c:335:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (ret = 0; i = (unsigned int) *key++; ret += i) ret *= HASHMULT; BUILDSTDERR: ^ BUILDSTDERR: misc.c: In function 'compare_cstring': BUILDSTDERR: misc.c:452:37: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (; *s1 && *s2; s1++,s2++) if (i = (compare_uchar (*s1,*s2))) return i; BUILDSTDERR: ^ BUILDSTDERR: misc.c: In function 'compare_csizedtext': BUILDSTDERR: misc.c:472:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = (compare_uchar (*s1,*s))) return i; BUILDSTDERR: ^ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` newsrc.c -o newsrc.so BUILDSTDERR: newsrc.c: In function 'newsrc_newmessages': BUILDSTDERR: newsrc.c:126:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (k = elt->private.uid - 1) { BUILDSTDERR: ^ BUILDSTDERR: newsrc.c: In function 'newsrc_write': BUILDSTDERR: newsrc.c:343:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (f = fopen (newsrc,"rb")) {/* have existing newsrc file? */ BUILDSTDERR: ^ BUILDSTDERR: newsrc.c:368:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (f = newsrc_create (stream,NIL)) bf = NIL; BUILDSTDERR: ^ BUILDSTDERR: newsrc.c:384:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (f = newsrc_create (stream,T)) bf = NIL; BUILDSTDERR: ^ BUILDSTDERR: newsrc.c: In function 'newsrc_state': BUILDSTDERR: newsrc.c:468:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread (s,(size_t) 1,size,f); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` smanager.c -o smanager.so BUILDSTDERR: smanager.c: In function 'sm_subscribe': BUILDSTDERR: smanager.c:46:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (f = fopen (db,"r")) { /* make sure not already there */ BUILDSTDERR: ^ BUILDSTDERR: smanager.c:48:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (tmp,'\n')) *s = '\0'; BUILDSTDERR: ^ BUILDSTDERR: smanager.c: In function 'sm_unsubscribe': BUILDSTDERR: smanager.c:88:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (tmp,'\n')) *s = '\0'; BUILDSTDERR: ^ BUILDSTDERR: smanager.c: In function 'sm_read': BUILDSTDERR: smanager.c:119:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (f = fopen (sbname,"r")) *sdb = (void *) f; BUILDSTDERR: ^ BUILDSTDERR: smanager.c:123:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (sbname,'\n')) *s = '\0'; BUILDSTDERR: ^ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` utf8.c -o utf8.so BUILDSTDERR: utf8.c:114:39: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: static const CHARSET utf8_csvalid[] = { BUILDSTDERR: ^ BUILDSTDERR: utf8.c:347:38: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: static const SCRIPT utf8_scvalid[] = { BUILDSTDERR: ^ BUILDSTDERR: utf8.c: In function 'utf8_rmap_cs': BUILDSTDERR: utf8.c:662:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (ret = utf8_rmap_gen (cs,currmap)) { BUILDSTDERR: ^~~ BUILDSTDERR: utf8.c: In function 'utf8_rmaptext': BUILDSTDERR: utf8.c:794:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = utf8_rmapsize (text,rmap,errch,iso2022jp)) { BUILDSTDERR: ^ BUILDSTDERR: utf8.c: In function 'utf8_csvalidmap': BUILDSTDERR: utf8.c:1293:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cs = utf8_charset (s)) { BUILDSTDERR: ^~ BUILDSTDERR: utf8.c: In function 'ucs4_decompose': BUILDSTDERR: utf8.c:2395:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (m = (struct decomposemore *) *more) switch (m->type) { BUILDSTDERR: ^ BUILDSTDERR: utf8.c:2418:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = ucs4_dbmploixtab[c - UCS4_BMPLOMIN]) { BUILDSTDERR: ^ BUILDSTDERR: utf8.c:2448:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = ucs4_dbmphiixtab[c - UCS4_BMPHIMIN]) { BUILDSTDERR: ^ BUILDSTDERR: utf8.c: In function 'ucs4_decompose_recursive': BUILDSTDERR: utf8.c:2513:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (mr = (RECURSIVEMORE *) *more) switch (mr->more->type) { BUILDSTDERR: ^~ BUILDSTDERR: utf8.c:2533:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (mr = mn) { /* did this value recurse on us? */ BUILDSTDERR: ^~ BUILDSTDERR: utf8.c: In function 'ucs4_decompose': BUILDSTDERR: utf8.c:2497:10: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return ret; BUILDSTDERR: ^~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` utf8aux.c -o utf8aux.so BUILDSTDERR: utf8aux.c: In function 'utf8_stringlist': BUILDSTDERR: utf8aux.c:47:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (st = st->next); BUILDSTDERR: ^~ BUILDSTDERR: utf8aux.c: In function 'utf8_mime2text': BUILDSTDERR: utf8aux.c:136:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ls = strchr (cs,'*')) *ls = '\0'; BUILDSTDERR: ^~ BUILDSTDERR: utf8aux.c: In function 'mime2_decode': BUILDSTDERR: utf8aux.c:241:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (txt->data = (unsigned char *) rfc822_base64 (t,te - t,&txt->size)) BUILDSTDERR: ^~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` siglocal.c -o siglocal.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` dummy.c -o dummy.so BUILDSTDERR: dummy.c: In function 'dummy_scan': BUILDSTDERR: dummy.c:162:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (test,'/')) *++s = '\0'; BUILDSTDERR: ^ BUILDSTDERR: dummy.c:170:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strpbrk (test,"%*")) { BUILDSTDERR: ^ BUILDSTDERR: dummy.c:176:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (file,'/')){/* find directory name */ BUILDSTDERR: ^ BUILDSTDERR: dummy.c: In function 'dummy_lsub': BUILDSTDERR: dummy.c:233:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: ^ BUILDSTDERR: dummy.c: In function 'dummy_list_work': BUILDSTDERR: dummy.c:282:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (dp = opendir (tmp)) { /* do nothing if can't open directory */ BUILDSTDERR: ^~ BUILDSTDERR: dummy.c:294:62: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (!dir || dir[(len = strlen (dir)) - 1] == '/') while (d = readdir (dp)) BUILDSTDERR: ^ BUILDSTDERR: dummy.c: In function 'dummy_create_path': BUILDSTDERR: dummy.c:485:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (path,'/')) { /* found superior to this name? */ BUILDSTDERR: ^ BUILDSTDERR: dummy.c: In function 'dummy_append': BUILDSTDERR: dummy.c:728:23: warning: operation on 'ts' may be undefined [-Wsequence-point] BUILDSTDERR: if (!ts && !(*(ts = default_proto (NIL))->dtb->create) (ts,"INBOX")) BUILDSTDERR: ~~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dummy.c: In function 'dummy_canonicalize': BUILDSTDERR: dummy.c:803:28: warning: value computed is not used [-Wunused-value] BUILDSTDERR: for (i = 0, s = tmp; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; BUILDSTDERR: ^~~~ BUILDSTDERR: dummy.c: In function 'dummy_scan_contents': BUILDSTDERR: dummy.c:383:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dummy.c: In function 'dummy_list_work': BUILDSTDERR: dummy.c:313:24: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: sprintf (path,"%s/",tmp); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from dummy.c:30: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 1025 bytes into a destination of size 1024 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dummy.c: In function 'dummy_delete': BUILDSTDERR: dummy.c:523:48: warning: '%.80s' directive argument is null [-Wformat-overflow=] BUILDSTDERR: sprintf (tmp,"Can't delete - invalid name: %.80s",s); BUILDSTDERR: ^~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` pseudo.c -o pseudo.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` netmsg.c -o netmsg.so BUILDSTDERR: netmsg.c: In function 'netmsg_slurp': BUILDSTDERR: netmsg.c:64:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (f = fopen (tmp,"wb+")) unlink (tmp); BUILDSTDERR: ^ BUILDSTDERR: netmsg.c:73:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = net_getline (stream)) { BUILDSTDERR: ^ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` flstring.c -o flstring.so cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` fdstring.c -o fdstring.so BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from osdep.h:43, BUILDSTDERR: from fdstring.c:30: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: fdstring.c: In function 'fd_string_setpos': BUILDSTDERR: fdstring.c:94:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s->cursize = min (s->chunksize,SIZE (s))) { BUILDSTDERR: ^ BUILDSTDERR: fdstring.c:97:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read ((long) s->data,s->curpos,(size_t) s->cursize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fdstring.c: In function 'fd_string_init': BUILDSTDERR: fdstring.c:67:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (d->fd,s->chunk,(size_t) s->cursize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` rfc822.c -o rfc822.so BUILDSTDERR: rfc822.c: In function 'rfc822_parse_msg_full': BUILDSTDERR: rfc822.c:155:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = d = strchr (tmp,':')) { BUILDSTDERR: ^ BUILDSTDERR: rfc822.c:204:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (c = *d++) if (c != ' ') *t++ = c; BUILDSTDERR: ^ BUILDSTDERR: rfc822.c:218:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = rfc822_parse_phrase (d)) *t = '\0'; BUILDSTDERR: ^ BUILDSTDERR: rfc822.c:229:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (c = *d++) if (c != ' ') *t++ = c; BUILDSTDERR: ^ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_content': BUILDSTDERR: rfc822.c:381:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (m = GETPOS (bs)) m--; /* get position in front of character */ BUILDSTDERR: ^ BUILDSTDERR: rfc822.c:394:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (k = j - 2) for (s = s1; i-- && *s++ == (c = SNX (bs)) && --k;); BUILDSTDERR: ^ BUILDSTDERR: rfc822.c:449:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = part->body.mime.text.size) { BUILDSTDERR: ^ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_content_header': BUILDSTDERR: rfc822.c:550:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (name,' ')) *t = '\0'; BUILDSTDERR: ^ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_adrlist': BUILDSTDERR: rfc822.c:740:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (adr = rfc822_parse_address (lst,last,&string,host,0)) { BUILDSTDERR: ^~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_address': BUILDSTDERR: rfc822.c:794:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (adr = rfc822_parse_group (lst,last,string,defaulthost,depth)) last = adr; BUILDSTDERR: ^~~ BUILDSTDERR: rfc822.c:796:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (adr = rfc822_parse_mailbox (string,defaulthost)) { BUILDSTDERR: ^~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_group': BUILDSTDERR: rfc822.c:842:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (adr = rfc822_parse_address (lst,last,string,defaulthost,depth+1)) { BUILDSTDERR: ^~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_mailbox': BUILDSTDERR: rfc822.c:901:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (end = rfc822_parse_phrase (s)) { BUILDSTDERR: ^~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_addrspec': BUILDSTDERR: rfc822.c:1030:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = rfc822_parse_word (string,wspecials)) { BUILDSTDERR: ^ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_domain': BUILDSTDERR: rfc822.c:1098:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (t = rfc822_parse_word (string,wspecials)) { BUILDSTDERR: ^ BUILDSTDERR: rfc822.c:1108:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (string = rfc822_parse_domain (string,&t)) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: rfc822.c: In function 'rfc822_parse_word': BUILDSTDERR: rfc822.c:1175:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (st = strchr (st,I2C_ESC)) BUILDSTDERR: ^~ BUILDSTDERR: rfc822.c: In function 'rfc822_output_data': BUILDSTDERR: rfc822.c:1374:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = min (len,buf->end - buf->cur)) { BUILDSTDERR: ^ BUILDSTDERR: rfc822.c: In function 'rfc822_output_cat': BUILDSTDERR: rfc822.c:1622:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (; s = strpbrk (src,"\\\""); src = s + 1) { BUILDSTDERR: ^ BUILDSTDERR: rfc822.c: In function 'rfc822_encode_body_7bit': BUILDSTDERR: rfc822.c:1740:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (part = part->next); /* until done */ BUILDSTDERR: ^~~~ BUILDSTDERR: rfc822.c: In function 'rfc822_encode_body_8bit': BUILDSTDERR: rfc822.c:1808:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (part = part->next); /* until done */ BUILDSTDERR: ^~~~ BUILDSTDERR: rfc822.c: In function 'rfc822_base64': BUILDSTDERR: rfc822.c:1964:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strpbrk (tmp,"\015\012")) *s = NIL; BUILDSTDERR: ^ BUILDSTDERR: rfc822.c: In function 'rfc822_output': BUILDSTDERR: rfc822.c:2345:10: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char tmp[SENDBUFLEN+1]; /* client to give us a big enough one */ BUILDSTDERR: ^~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` nntp.c -o nntp.so BUILDSTDERR: nntp.c: In function 'nntp_list': BUILDSTDERR: nntp.c:353:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = net_getline (LOCAL->nntpstream->netstream)) { BUILDSTDERR: ^ BUILDSTDERR: nntp.c:358:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (s,' ')) { /* tie off after newsgroup name */ BUILDSTDERR: ^ BUILDSTDERR: nntp.c: In function 'nntp_lsub': BUILDSTDERR: nntp.c:397:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx)) BUILDSTDERR: ^ BUILDSTDERR: nntp.c:399:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: ^ BUILDSTDERR: nntp.c: In function 'nntp_canonicalize': BUILDSTDERR: nntp.c:430:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (s = wildmat; s = strchr (s,'%'); *s = '*'); BUILDSTDERR: ^ BUILDSTDERR: nntp.c: In function 'nntp_status': BUILDSTDERR: nntp.c:556:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (state = newsrc_state (stream,name)) { BUILDSTDERR: ^~~~~ BUILDSTDERR: nntp.c: In function 'nntp_overview': BUILDSTDERR: nntp.c:929:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (t = v = s; c = *v++;) BUILDSTDERR: ^ BUILDSTDERR: nntp.c: In function 'nntp_parse_overview': BUILDSTDERR: nntp.c:1039:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (ov->subject,'\t')) { BUILDSTDERR: ^ BUILDSTDERR: nntp.c:1042:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ov->date = strchr (t,'\t')) { BUILDSTDERR: ^~ BUILDSTDERR: nntp.c:1049:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ov->message_id = strchr (ov->date,'\t')) { BUILDSTDERR: ^~ BUILDSTDERR: nntp.c:1053:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ov->references = strchr (ov->message_id,'\t')) { BUILDSTDERR: ^~ BUILDSTDERR: nntp.c:1057:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (ov->references,'\t')) { BUILDSTDERR: ^ BUILDSTDERR: nntp.c:1062:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (t,'\t')) { BUILDSTDERR: ^ BUILDSTDERR: nntp.c:1066:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ov->optional.xref = strchr (t,'\t')) BUILDSTDERR: ^~ BUILDSTDERR: nntp.c: In function 'nntp_header': BUILDSTDERR: nntp.c:1099:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (f = netmsg_slurp (LOCAL->nntpstream->netstream,size,NIL)) { BUILDSTDERR: ^ BUILDSTDERR: nntp.c: In function 'nntp_text': BUILDSTDERR: nntp.c:89:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: #define LOCAL ((NNTPLOCAL *) stream->local) BUILDSTDERR: ^ BUILDSTDERR: nntp.c:1151:11: note: in expansion of macro 'LOCAL' BUILDSTDERR: if (LOCAL->txt = netmsg_slurp (LOCAL->nntpstream->netstream, BUILDSTDERR: ^~~~~ BUILDSTDERR: nntp.c: In function 'nntp_search': BUILDSTDERR: nntp.c:1216:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msg = utf8_badcharset (charset)) { BUILDSTDERR: ^~~ BUILDSTDERR: nntp.c: In function 'nntp_search_msg': BUILDSTDERR: nntp.c:1269:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (set = pgm->msgno) { /* must be inside this sequence */ BUILDSTDERR: ^~~ BUILDSTDERR: nntp.c:1277:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (set = pgm->uid) { /* must be inside this sequence */ BUILDSTDERR: ^~~ BUILDSTDERR: nntp.c: In function 'nntp_sort_loadcache': BUILDSTDERR: nntp.c:1513:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (t = v = s; c = *v++;) if ((c != '\012') && (c != '\015')) *t++ = c; BUILDSTDERR: ^ BUILDSTDERR: nntp.c:1522:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (v,'\t')) { BUILDSTDERR: ^ BUILDSTDERR: nntp.c:1524:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (adr = rfc822_parse_address (&adr,adr,&v,BADHOST,0)) { BUILDSTDERR: ^~~ BUILDSTDERR: nntp.c:1529:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (v = strchr (t,'\t')) { BUILDSTDERR: ^ BUILDSTDERR: nntp.c: In function 'nntp_open_full': BUILDSTDERR: nntp.c:1679:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (netstream = /* try to open ordinary connection */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: nntp.c:1720:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (stream->netstream->stream = BUILDSTDERR: ^~~~~~ BUILDSTDERR: nntp.c: In function 'nntp_extensions': BUILDSTDERR: nntp.c:1817:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (args = strchr (t,' ')) *args++ = '\0'; BUILDSTDERR: ^~~~ BUILDSTDERR: nntp.c: In function 'nntp_mail': BUILDSTDERR: nntp.c:1916:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strstr (env->date," (")) *s = NIL; BUILDSTDERR: ^ BUILDSTDERR: nntp.c:1887:8: warning: unused variable 'retry' [-Wunused-variable] BUILDSTDERR: long retry = NIL; BUILDSTDERR: ^~~~~ BUILDSTDERR: nntp.c:1886:8: warning: unused variable 'error' [-Wunused-variable] BUILDSTDERR: long error = NIL; BUILDSTDERR: ^~~~~ BUILDSTDERR: nntp.c: In function 'nntp_soutr': BUILDSTDERR: nntp.c:2214:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (t = strstr (s,"\015\012.")) { BUILDSTDERR: ^ BUILDSTDERR: nntp.c: In function 'nntp_mopen': BUILDSTDERR: nntp.c:764:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (size_t) 1,(size_t) k,f); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nntp.c: In function 'nntp_header': BUILDSTDERR: nntp.c:1100:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread (elt->private.msg.header.text.data = BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (unsigned char *) fs_get ((size_t) *size + 3), BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (size_t) 1,(size_t) *size,f); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` smtp.c -o smtp.so BUILDSTDERR: smtp.c: In function 'smtp_open_full': BUILDSTDERR: smtp.c:172:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (netstream = /* try to open ordinary connection */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: smtp.c: In function 'smtp_soutr': BUILDSTDERR: smtp.c:783:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (t = strstr (s,"\015\012.")) { BUILDSTDERR: ^ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` imap4r1.c -o imap4r1.so BUILDSTDERR: imap4r1.c: In function 'imap_lsub': BUILDSTDERR: imap4r1.c:505:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx)) BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:507:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_manage': BUILDSTDERR: imap4r1.c:681:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress] BUILDSTDERR: if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) && BUILDSTDERR: ^~ BUILDSTDERR: imap4r1.c: In function 'imap_open': BUILDSTDERR: imap4r1.c:849:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (reply = imap_rimap (stream,"*imap",&mb,usr,tmp)); BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c: In function 'imap_close': BUILDSTDERR: imap4r1.c:1317:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (thr = LOCAL->cap.threader) while (t = thr) { BUILDSTDERR: ^~~ BUILDSTDERR: imap4r1.c:1317:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (thr = LOCAL->cap.threader) while (t = thr) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_structure': BUILDSTDERR: imap4r1.c:1499:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = (set->last == 0xffffffff) ? stream->nmsgs : BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:1522:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (k = (k > i) ? k - i : 0) BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_msgdata': BUILDSTDERR: imap4r1.c:1700:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (t = strstr (section,".HEADER")) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_uid': BUILDSTDERR: imap4r1.c:1884:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (k = imap_uidlookahead) {/* build UID list */ BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_search': BUILDSTDERR: imap4r1.c:2048:48: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (set = ss; set; set = set->next) if (i = set->first) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_gc': BUILDSTDERR: imap4r1.c:2650:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (elt = (MESSAGECACHE *) (*mc) (stream,i,CH_ELT)) BUILDSTDERR: ^~~ BUILDSTDERR: imap4r1.c: In function 'imap_capability': BUILDSTDERR: imap4r1.c:2705:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (thr = LOCAL->cap.threader) while (t = thr) { BUILDSTDERR: ^~~ BUILDSTDERR: imap4r1.c:2705:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (thr = LOCAL->cap.threader) while (t = thr) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_send': BUILDSTDERR: imap4r1.c:2927:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (arglst = args) while (arg = *arglst++) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: imap4r1.c:2927:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (arglst = args) while (arg = *arglst++) { BUILDSTDERR: ^~~ BUILDSTDERR: imap4r1.c:2947:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_astring (stream,tag,&s,&st,NIL,CMDBASE+MAXCOMMAND)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:2951:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_literal (stream,tag,&s,arg->text)) return reply; BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:2959:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_astring (stream,tag,&s,&list->text,NIL, BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:2963:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (list = list->next); BUILDSTDERR: ^~~~ BUILDSTDERR: imap4r1.c:2967:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_spgm (stream,tag,CMDBASE,&s,arg->text, BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3053:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_astring (stream,tag,&s,&st,T,CMDBASE+MAXCOMMAND)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3075:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = map->flags) { /* flags given? */ BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:3087:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_astring (stream,tag,&s,&st,NIL, BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3091:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_literal (stream,tag,&s,map->message)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3121:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (list = list->next); BUILDSTDERR: ^~~~ BUILDSTDERR: imap4r1.c: In function 'imap_send_spgm': BUILDSTDERR: imap4r1.c:3355:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (hdr = pgm->header) do { BUILDSTDERR: ^~~ BUILDSTDERR: imap4r1.c:3357:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_astring (stream,tag,s,&hdr->line,NIL,limit)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3360:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_astring (stream,tag,s,&hdr->text,NIL,limit)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3362:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (hdr = hdr->next); BUILDSTDERR: ^~~ BUILDSTDERR: imap4r1.c:3365:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_spgm (stream,tag,base,s,pgo->first,limit)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3368:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_spgm (stream,tag,base,s,pgo->second,limit)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3374:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_spgm (stream,tag,base,s,pgl->pgm,limit)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c: In function 'imap_send_sset': BUILDSTDERR: imap4r1.c:3452:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_literal (stream,tag,s,&st)) return reply; BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c:3454:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_send_sset (stream,tag,NIL,s,set,prefix,limit)) BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c: In function 'imap_reply': BUILDSTDERR: imap4r1.c:3555:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (reply = imap_parse_reply (stream,net_getline (LOCAL->netstream))) { BUILDSTDERR: ^~~~~ BUILDSTDERR: imap4r1.c: In function 'imap_parse_unsolicited': BUILDSTDERR: imap4r1.c:3733:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (prop = (strtok_r (t," )",&r))) { BUILDSTDERR: ^~~~ BUILDSTDERR: imap4r1.c:3808:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (t = strchr (s = t,' ')) *t++ = '\0'; BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:3907:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = strtok_r (NIL," )",&r)); BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:3911:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = strtoul (t,NIL,10)) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:3920:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (t = strtok_r (NIL," ",&r)); BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:3944:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = reply->text) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4008:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strtok_r (reply->text+1," ",&r)) do { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4017:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (t = strtok_r (NIL," ",&r)); BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4028:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = imap_parse_astring (stream,&s,reply,&j)) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4046:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = reply->text) { /* parse namespace results */ BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4166:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (t = strchr (s,' ')) t = s; BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4169:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (t = strpbrk (s," )")) t = s; BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_response': BUILDSTDERR: imap4r1.c:4266:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (strncpy (t = LOCAL->tmp,s,i),' ')) *s++ = '\0'; BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4275:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (elt = (MESSAGECACHE *) (*mc) (stream,j,CH_ELT)) BUILDSTDERR: ^~~ BUILDSTDERR: imap4r1.c:4286:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strtok_r (s+1," ",&r)) do { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4300:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = strtok_r (NIL," ",&r)); BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_astring': BUILDSTDERR: imap4r1.c:4845:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = *txtptr - s) { /* atom ends at atom_special */ BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_string': BUILDSTDERR: imap4r1.c:4958:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (rp) for (k = 0; j = min ((long) MAILTMPLEN,(long) i); i -= j) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:4966:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (st = string; st = strpbrk (st,"\015\012\011"); *st++ = ' '); BUILDSTDERR: ^~ BUILDSTDERR: imap4r1.c: In function 'imap_parse_body_structure': BUILDSTDERR: imap4r1.c:5115:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) BUILDSTDERR: ^~~~ BUILDSTDERR: imap4r1.c:5155:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c:5165:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) BUILDSTDERR: ^~~~ BUILDSTDERR: imap4r1.c:5176:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_language': BUILDSTDERR: imap4r1.c:5373:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_extension': BUILDSTDERR: imap4r1.c:5441:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = strtoul (*txtptr,(char **) txtptr,10)) do BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_parse_capabilities': BUILDSTDERR: imap4r1.c:5477:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (thr = LOCAL->cap.threader) while (th = thr) { BUILDSTDERR: ^~~ BUILDSTDERR: imap4r1.c:5477:43: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (thr = LOCAL->cap.threader) while (th = thr) { BUILDSTDERR: ^~ BUILDSTDERR: imap4r1.c:5520:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (s = strchr (t,'=')) { BUILDSTDERR: ^ BUILDSTDERR: imap4r1.c: In function 'imap_reform_sequence': BUILDSTDERR: imap4r1.c:5609:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (s = sequence; t = strpbrk (s,",:"); ) switch (*t++) { BUILDSTDERR: ^ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` pop3.c -o pop3.so BUILDSTDERR: pop3.c: In function 'pop3_lsub': BUILDSTDERR: pop3.c:279:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx)) BUILDSTDERR: ^ BUILDSTDERR: pop3.c:281:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: ^ BUILDSTDERR: pop3.c: In function 'pop3_open': BUILDSTDERR: pop3.c:77:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: #define LOCAL ((POP3LOCAL *) stream->local) BUILDSTDERR: ^ BUILDSTDERR: pop3.c:429:11: note: in expansion of macro 'LOCAL' BUILDSTDERR: if (LOCAL->loser = mb.loser) strcat (tmp,"/loser"); BUILDSTDERR: ^~~~~ BUILDSTDERR: pop3.c: In function 'pop3_capa': BUILDSTDERR: pop3.c:499:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (args = strchr (t,' ')) *args++ = '\0'; BUILDSTDERR: ^~~~ BUILDSTDERR: pop3.c:510:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr(args,' ')){/* separate time from possible USER */ BUILDSTDERR: ^ BUILDSTDERR: pop3.c:521:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr(args,' ')){/* separate time from possible USER */ BUILDSTDERR: ^ BUILDSTDERR: pop3.c: In function 'pop3_header': BUILDSTDERR: pop3.c:843:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (elt->private.msg.header.text.size = pop3_cache (stream,elt)) BUILDSTDERR: ^~~ BUILDSTDERR: pop3.c: In function 'pop3_expunge': BUILDSTDERR: pop3.c:947:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = sequence ? ((options & EX_UID) ? BUILDSTDERR: ^~~ BUILDSTDERR: pop3.c: In function 'pop3_header': BUILDSTDERR: pop3.c:848:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread (elt->private.msg.header.text.data = (unsigned char *) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fs_get ((size_t) elt->private.msg.header.text.size + 1), BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (size_t) 1,(size_t) elt->private.msg.header.text.size,f); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` unix.c -o unix.so BUILDSTDERR: unix.c: In function 'unix_valid': BUILDSTDERR: unix.c:231:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] BUILDSTDERR: utime (file,tp); /* set the times */ BUILDSTDERR: ^~~~~ BUILDSTDERR: stime BUILDSTDERR: unix.c: In function 'unix_rename': BUILDSTDERR: unix.c:418:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (s,'/')) { BUILDSTDERR: ^ BUILDSTDERR: In file included from unix.c:46: BUILDSTDERR: unix.c: In function 'unix_open': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-Wimplicit-function-declaration] BUILDSTDERR: #define flock safe_flock BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: unix.c:530:5: note: in expansion of macro 'flock' BUILDSTDERR: flock (LOCAL->ld,LOCK_UN); /* release the lock */ BUILDSTDERR: ^~~~~ BUILDSTDERR: unix.c: In function 'unix_expunge': BUILDSTDERR: unix.c:845:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (sequence ? ((options & EX_UID) ? BUILDSTDERR: ^~~ BUILDSTDERR: unix.c:852:21: warning: unused variable 'elt' [-Wunused-variable] BUILDSTDERR: MESSAGECACHE *elt = mail_elt (stream,i); BUILDSTDERR: ^~~ BUILDSTDERR: unix.c: In function 'unix_append': BUILDSTDERR: unix.c:1037:17: warning: unused variable 'uidlocation' [-Wunused-variable] BUILDSTDERR: unsigned long uidlocation = 0; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_append_msgs': BUILDSTDERR: unix.c:1257:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (x = tmp; x = strchr (x,'\r'); --j) memmove (x,x+1,j-(x-tmp)); BUILDSTDERR: ^ BUILDSTDERR: unix.c: In function 'unix_parse': BUILDSTDERR: unix.c:1483:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (i = sbuf.st_size - LOCAL->filesize) { BUILDSTDERR: ^ BUILDSTDERR: unix.c:1770:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (u = strpbrk (err,"\r\n")) *u = '\0'; BUILDSTDERR: ^ BUILDSTDERR: unix.c: In function 'unix_xstatus': BUILDSTDERR: unix.c:2015:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (n = 0; n < NUSERFLAGS; ++n) if (t = stream->user_flags[n]) BUILDSTDERR: ^ BUILDSTDERR: unix.c:2037:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (n = elt->user_flags) do { BUILDSTDERR: ^ BUILDSTDERR: unix.c: In function 'unix_rewrite': BUILDSTDERR: unix.c:2101:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = unix_extend (stream,size)) { BUILDSTDERR: ^~~ BUILDSTDERR: unix.c: In function 'unix_write': BUILDSTDERR: unix.c:2311:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = i ? ((f->buflen - i) % OVERFLOWBUFLEN) : f->buflen) { BUILDSTDERR: ^ BUILDSTDERR: unix.c:2327:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = min (i,f->protect - f->filepos)) { BUILDSTDERR: ^ BUILDSTDERR: unix.c: In function 'unix_open': BUILDSTDERR: unix.c:519:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,i); /* make sure tied off */ BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_header': BUILDSTDERR: unix.c:630:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:640:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: elt->private.msg.header.text.size); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_text_work': BUILDSTDERR: unix.c:707:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_copy': BUILDSTDERR: unix.c:956:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:982:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_append': BUILDSTDERR: unix.c:1152:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_rewrite': BUILDSTDERR: unix.c:2139:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:2239:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize = size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_extend': BUILDSTDERR: unix.c:2285:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'mbox_ping': BUILDSTDERR: unix.c:2611:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (sfd,s = (char *) fs_get (size + 1),size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:2621:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:2629:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c:2640:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: unix.c: In function 'unix_parse': BUILDSTDERR: unix.c:1749:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] BUILDSTDERR: sprintf (err,"Discarding bogus %s header in message %lu", BUILDSTDERR: ^~ BUILDSTDERR: (char *) tmp,elt->msgno); BUILDSTDERR: ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from unix.c:40: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mbx.c -o mbx.so BUILDSTDERR: In file included from mbx.c:42: BUILDSTDERR: mbx.c: In function 'mbx_isvalid': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-Wimplicit-function-declaration] BUILDSTDERR: #define flock safe_flock BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: mbx.c:233:12: note: in expansion of macro 'flock' BUILDSTDERR: if (flock (fd,LOCK_SH) || BUILDSTDERR: ^~~~~ BUILDSTDERR: mbx.c:303:7: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] BUILDSTDERR: utime (tmp,tp); /* set the times */ BUILDSTDERR: ^~~~~ BUILDSTDERR: utimes BUILDSTDERR: mbx.c: In function 'mbx_rename': BUILDSTDERR: mbx.c:480:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (tmp,'/')) { BUILDSTDERR: ^ BUILDSTDERR: mbx.c: In function 'mbx_ping': BUILDSTDERR: mbx.c:825:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (ret = mbx_parse (stream)) { BUILDSTDERR: ^~~ BUILDSTDERR: mbx.c:829:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (elt = mbx_elt (stream,i,LOCAL->expok)) { BUILDSTDERR: ^~~ BUILDSTDERR: mbx.c: In function 'mbx_expunge': BUILDSTDERR: mbx.c:888:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = sequence ? ((options & EX_UID) ? BUILDSTDERR: ^~~ BUILDSTDERR: mbx.c:895:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (nexp = mbx_rewrite (stream,&reclaimed,sequence ? -1 : 1)) { BUILDSTDERR: ^~~~ BUILDSTDERR: mbx.c: In function 'mbx_snarf': BUILDSTDERR: mbx.c:938:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = hdrlen + txtlen) { BUILDSTDERR: ^ BUILDSTDERR: mbx.c: In function 'mbx_copy': BUILDSTDERR: mbx.c:1035:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = stream->user_flags[find_rightmost_bit (&j)]) BUILDSTDERR: ^ BUILDSTDERR: mbx.c:1044:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) { BUILDSTDERR: ^~~ BUILDSTDERR: mbx.c: In function 'mbx_hdrpos': BUILDSTDERR: mbx.c:1644:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (*size = elt->private.msg.header.text.size) return ret; BUILDSTDERR: ^ BUILDSTDERR: mbx.c: In function 'mbx_rewrite': BUILDSTDERR: mbx.c:1736:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (m = (elt = mbx_elt (stream,i,NIL))->private.special.offset - ppos) { BUILDSTDERR: ^ BUILDSTDERR: mbx.c:1776:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (m = (LOCAL->filesize -= delta) - pos) { BUILDSTDERR: ^ BUILDSTDERR: mbx.c:1795:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (elt = mbx_elt (stream,i,T)) { BUILDSTDERR: ^~~ BUILDSTDERR: mbx.c: In function 'mbx_header': BUILDSTDERR: mbx.c:709:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,s = LOCAL->buf,*length); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_snarf': BUILDSTDERR: mbx.c:965:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_copy': BUILDSTDERR: mbx.c:1046:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,j); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c:1060:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_append': BUILDSTDERR: mbx.c:1195:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_parse': BUILDSTDERR: mbx.c:1269:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,HDRSIZE); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c: In function 'mbx_rewrite': BUILDSTDERR: mbx.c:1757:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,m); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mbx.c:1781:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mmdf.c -o mmdf.so BUILDSTDERR: mmdf.c: In function 'mmdf_isvalid': BUILDSTDERR: mmdf.c:382:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] BUILDSTDERR: utime (file,tp); /* set the times */ BUILDSTDERR: ^~~~~ BUILDSTDERR: stime BUILDSTDERR: mmdf.c: In function 'mmdf_rename': BUILDSTDERR: mmdf.c:557:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (s,'/')) { BUILDSTDERR: ^ BUILDSTDERR: In file included from mmdf.c:34: BUILDSTDERR: mmdf.c: In function 'mmdf_open': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-Wimplicit-function-declaration] BUILDSTDERR: #define flock safe_flock BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: mmdf.c:669:5: note: in expansion of macro 'flock' BUILDSTDERR: flock (LOCAL->ld,LOCK_UN); /* release the lock */ BUILDSTDERR: ^~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_expunge': BUILDSTDERR: mmdf.c:984:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (sequence ? ((options & EX_UID) ? BUILDSTDERR: ^~~ BUILDSTDERR: mmdf.c:991:21: warning: unused variable 'elt' [-Wunused-variable] BUILDSTDERR: MESSAGECACHE *elt = mail_elt (stream,i); BUILDSTDERR: ^~~ BUILDSTDERR: mmdf.c: In function 'mmdf_append': BUILDSTDERR: mmdf.c:1173:17: warning: unused variable 'uidlocation' [-Wunused-variable] BUILDSTDERR: unsigned long uidlocation = 0; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_append_msgs': BUILDSTDERR: mmdf.c:1394:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (x = tmp; x = strpbrk (x,"\01\r"); --j) memmove (x,x+1,j-(x-tmp)); BUILDSTDERR: ^ BUILDSTDERR: mmdf.c: In function 'mmdf_parse': BUILDSTDERR: mmdf.c:1612:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (i = sbuf.st_size - LOCAL->filesize) { BUILDSTDERR: ^ BUILDSTDERR: mmdf.c:1934:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (u = strpbrk (err,"\r\n")) *u = '\0'; BUILDSTDERR: ^ BUILDSTDERR: mmdf.c: In function 'mmdf_xstatus': BUILDSTDERR: mmdf.c:2178:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (n = 0; n < NUSERFLAGS; ++n) if (t = stream->user_flags[n]) BUILDSTDERR: ^ BUILDSTDERR: mmdf.c:2200:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (n = elt->user_flags) do { BUILDSTDERR: ^ BUILDSTDERR: mmdf.c: In function 'mmdf_rewrite': BUILDSTDERR: mmdf.c:2264:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = mmdf_extend (stream,size)) { BUILDSTDERR: ^~~ BUILDSTDERR: mmdf.c: In function 'mmdf_write': BUILDSTDERR: mmdf.c:2457:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = i ? ((f->buflen - i) % OVERFLOWBUFLEN) : f->buflen) { BUILDSTDERR: ^ BUILDSTDERR: mmdf.c:2473:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = min (i,f->protect - f->filepos)) { BUILDSTDERR: ^ BUILDSTDERR: mmdf.c: In function 'mmdf_open': BUILDSTDERR: mmdf.c:658:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,i); /* make sure tied off */ BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_header': BUILDSTDERR: mmdf.c:769:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c:779:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: elt->private.msg.header.text.size); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_text_work': BUILDSTDERR: mmdf.c:846:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_copy': BUILDSTDERR: mmdf.c:1091:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c:1118:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_append': BUILDSTDERR: mmdf.c:1288:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_rewrite': BUILDSTDERR: mmdf.c:2302:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c:2385:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize = size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_extend': BUILDSTDERR: mmdf.c:2431:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mmdf.c: In function 'mmdf_parse': BUILDSTDERR: mmdf.c:1913:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] BUILDSTDERR: sprintf (err,"Discarding bogus %s header in message %lu", BUILDSTDERR: ^~ BUILDSTDERR: (char *) tmp,elt->msgno); BUILDSTDERR: ~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from mmdf.c:28: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` tenex.c -o tenex.so BUILDSTDERR: tenex.c: In function 'tenex_isvalid': BUILDSTDERR: tenex.c:206:2: warning: implicit declaration of function 'utime'; did you mean 'stime'? [-Wimplicit-function-declaration] BUILDSTDERR: utime (file,tp); /* set the times */ BUILDSTDERR: ^~~~~ BUILDSTDERR: stime BUILDSTDERR: In file included from tenex.c:47: BUILDSTDERR: tenex.c: In function 'tenex_rename': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-Wimplicit-function-declaration] BUILDSTDERR: #define flock safe_flock BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: tenex.c:315:7: note: in expansion of macro 'flock' BUILDSTDERR: if (flock (fd,LOCK_EX|LOCK_NB)) { BUILDSTDERR: ^~~~~ BUILDSTDERR: tenex.c:324:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (tmp,'/')) {/* found superior to destination name? */ BUILDSTDERR: ^ BUILDSTDERR: tenex.c: In function 'tenex_snarf': BUILDSTDERR: tenex.c:772:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = hdrlen + txtlen) { BUILDSTDERR: ^ BUILDSTDERR: tenex.c: In function 'tenex_fast': BUILDSTDERR: tenex.c:516:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_header': BUILDSTDERR: tenex.c:567:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,*length = i); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c:572:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,s,i); /* slurp the data */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_text': BUILDSTDERR: tenex.c:614:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,i); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c:629:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,s,i); /* slurp the data */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_snarf': BUILDSTDERR: tenex.c:799:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_expunge': BUILDSTDERR: tenex.c:890:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,m); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c:917:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_copy': BUILDSTDERR: tenex.c:1008:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,j); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c:1016:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_append': BUILDSTDERR: tenex.c:1150:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size);/* revert file */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tenex.c: In function 'tenex_hdrpos': BUILDSTDERR: tenex.c:1456:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mtx.c -o mtx.so BUILDSTDERR: mtx.c: In function 'mtx_isvalid': BUILDSTDERR: mtx.c:199:2: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] BUILDSTDERR: utime (file,tp); /* set the times */ BUILDSTDERR: ^~~~~ BUILDSTDERR: utimes BUILDSTDERR: In file included from mtx.c:42: BUILDSTDERR: mtx.c: In function 'mtx_rename': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-Wimplicit-function-declaration] BUILDSTDERR: #define flock safe_flock BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: mtx.c:308:7: note: in expansion of macro 'flock' BUILDSTDERR: if (flock (fd,LOCK_EX|LOCK_NB)) { BUILDSTDERR: ^~~~~ BUILDSTDERR: mtx.c:317:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (tmp,'/')) {/* found superior to destination name? */ BUILDSTDERR: ^ BUILDSTDERR: mtx.c: In function 'mtx_snarf': BUILDSTDERR: mtx.c:683:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = hdrlen + txtlen) { BUILDSTDERR: ^ BUILDSTDERR: mtx.c: In function 'mtx_header': BUILDSTDERR: mtx.c:515:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,*length); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_snarf': BUILDSTDERR: mtx.c:710:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_expunge': BUILDSTDERR: mtx.c:801:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,m); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c:827:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,LOCAL->filesize); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_copy': BUILDSTDERR: mtx.c:918:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,LOCAL->buf,j); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c:926:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mtx.c: In function 'mtx_append': BUILDSTDERR: mtx.c:1053:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,sbuf.st_size);/* revert file */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` news.c -o news.so BUILDSTDERR: news.c: In function 'news_list': BUILDSTDERR: news.c:218:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (pattern,'.')) *++s = '\0'; BUILDSTDERR: ^ BUILDSTDERR: news.c:234:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strtok_r (s,"\n",&r)) do if (u = strchr (t,' ')) { BUILDSTDERR: ^ BUILDSTDERR: news.c:234:42: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strtok_r (s,"\n",&r)) do if (u = strchr (t,' ')) { BUILDSTDERR: ^ BUILDSTDERR: news.c:243:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (t = strtok_r (NIL,"\n",&r)); BUILDSTDERR: ^ BUILDSTDERR: news.c: In function 'news_canonicalize': BUILDSTDERR: news.c:286:34: warning: value computed is not used [-Wunused-value] BUILDSTDERR: for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; BUILDSTDERR: ^~~~ BUILDSTDERR: news.c: In function 'news_open': BUILDSTDERR: news.c:368:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = strchr (s,'.')) *s = '/'; BUILDSTDERR: ^ BUILDSTDERR: news.c:370:36: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from news.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: news.c:370:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from news.c:35: BUILDSTDERR: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' BUILDSTDERR: int (*__cmp) (const struct dirent **, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: const struct dirent **)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: news.c: In function 'news_select': BUILDSTDERR: news.c:409:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (c = *s++) if (!isdigit (c)) return NIL; BUILDSTDERR: ^ BUILDSTDERR: news.c: In function 'news_valid': BUILDSTDERR: news.c:161:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: news.c: In function 'news_list': BUILDSTDERR: news.c:228:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (fd,s = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` phile.c -o phile.so BUILDSTDERR: phile.c: In function 'phile_open': BUILDSTDERR: phile.c:292:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (k = t->tm_yday - k) i += ((k < 0) == (abs (k) == 1)) ? -24*60 : 24*60; BUILDSTDERR: ^ BUILDSTDERR: phile.c:309:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (pw = getpwuid (sbuf.st_uid)) strcpy (tmp,pw->pw_name); BUILDSTDERR: ^~ BUILDSTDERR: phile.c:321:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = phile_type (buf->data,buf->size,&j)) { BUILDSTDERR: ^ BUILDSTDERR: phile.c:317:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (fd,buf->data = (unsigned char *) fs_get (buf->size + 1),buf->size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mh.c -o mh.so BUILDSTDERR: mh.c: In function 'mh_path': BUILDSTDERR: mh.c:257:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (v = strpbrk (s," \t")) { BUILDSTDERR: ^ BUILDSTDERR: mh.c: In function 'mh_dirfmttest': BUILDSTDERR: mh.c:330:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (c = *s++) if (!isdigit (c)) return NIL; BUILDSTDERR: ^ BUILDSTDERR: mh.c: In function 'mh_scan': BUILDSTDERR: mh.c:349:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (test,'/')) *++s = '\0'; BUILDSTDERR: ^ BUILDSTDERR: mh.c:362:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strpbrk (test,"%*")) { BUILDSTDERR: ^ BUILDSTDERR: mh.c:369:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (file,'/')) { BUILDSTDERR: ^ BUILDSTDERR: mh.c: In function 'mh_lsub': BUILDSTDERR: mh.c:407:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = sm_read (&sdb)); /* until no more subscriptions */ BUILDSTDERR: ^ BUILDSTDERR: mh.c: In function 'mh_list_work': BUILDSTDERR: mh.c:431:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (dp = opendir (curdir)) { /* open directory */ BUILDSTDERR: ^~ BUILDSTDERR: mh.c:432:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (d = readdir (dp)) /* scan, ignore . and numeric names */ BUILDSTDERR: ^ BUILDSTDERR: mh.c: In function 'mh_delete': BUILDSTDERR: mh.c:516:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (dirp = opendir (tmp)) { /* open directory */ BUILDSTDERR: ^~~~ BUILDSTDERR: mh.c:519:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (d = readdir (dirp)) if (mh_dirfmttest (d->d_name)) { BUILDSTDERR: ^ BUILDSTDERR: mh.c: In function 'mh_rename': BUILDSTDERR: mh.c:556:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (mh_file (tmp1,newname),'/')) { BUILDSTDERR: ^ BUILDSTDERR: mh.c: In function 'mh_ping': BUILDSTDERR: mh.c:865:46: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mh.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c:865:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mh.c:35: BUILDSTDERR: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' BUILDSTDERR: int (*__cmp) (const struct dirent **, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: const struct dirent **)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c:889:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = (void *) names) fs_give ((void **) &s); BUILDSTDERR: ^ BUILDSTDERR: mh.c:939:17: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: sprintf (tmp,"Message copy to MH mailbox failed: %.80s", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c: In function 'mh_expunge': BUILDSTDERR: mh.c:983:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = sequence ? ((options & EX_UID) ? BUILDSTDERR: ^~~ BUILDSTDERR: mh.c: In function 'mh_append': BUILDSTDERR: mh.c:1131:37: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mh.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c:1131:47: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mh.c:35: BUILDSTDERR: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' BUILDSTDERR: int (*__cmp) (const struct dirent **, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: const struct dirent **)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mh.c:1138:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = (void *) names) fs_give ((void **) &s); BUILDSTDERR: ^ BUILDSTDERR: mh.c:1102:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] BUILDSTDERR: long i,size,last,nfiles; BUILDSTDERR: ^~~~ BUILDSTDERR: mh.c: In function 'mh_select': BUILDSTDERR: mh.c:1201:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (c = *s++) if (!isdigit (c)) return NIL; BUILDSTDERR: ^ BUILDSTDERR: mh.c: In function 'mh_canonicalize': BUILDSTDERR: mh.c:1264:34: warning: value computed is not used [-Wunused-value] BUILDSTDERR: for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; BUILDSTDERR: ^~~~ BUILDSTDERR: mh.c: In function 'mh_setdate': BUILDSTDERR: mh.c:1282:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] BUILDSTDERR: utime (file,tp); /* set the times */ BUILDSTDERR: ^~~~~ BUILDSTDERR: utimes BUILDSTDERR: mh.c: In function 'mh_path': BUILDSTDERR: mh.c:251:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (fd,(t = (char *) fs_get (sbuf.st_size + 1)),sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mx.c -o mx.so BUILDSTDERR: mx.c: In function 'mx_dirfmttest': BUILDSTDERR: mx.c:242:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (c = *name++) if (!isdigit (c)) return NIL; BUILDSTDERR: ^ BUILDSTDERR: mx.c: In function 'mx_scan_contents': BUILDSTDERR: mx.c:277:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:277:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' BUILDSTDERR: int (*__cmp) (const struct dirent **, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: const struct dirent **)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:289:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: ^ BUILDSTDERR: mx.c: In function 'mx_create': BUILDSTDERR: mx.c:348:7: warning: unused variable 'fd' [-Wunused-variable] BUILDSTDERR: int fd; BUILDSTDERR: ^~ BUILDSTDERR: mx.c: In function 'mx_delete': BUILDSTDERR: mx.c:395:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (dirp = opendir (tmp)) { /* open directory */ BUILDSTDERR: ^~~~ BUILDSTDERR: mx.c:398:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (d = readdir (dirp)) if (mx_select (d)) { BUILDSTDERR: ^ BUILDSTDERR: mx.c: In function 'mx_rename': BUILDSTDERR: mx.c:441:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (mx_file (tmp1,newname),'/')) { BUILDSTDERR: ^ BUILDSTDERR: mx.c:462:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:462:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' BUILDSTDERR: int (*__cmp) (const struct dirent **, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: const struct dirent **)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:469:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: ^ BUILDSTDERR: mx.c: In function 'mx_ping': BUILDSTDERR: mx.c:731:51: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:731:61: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mx.c:35: BUILDSTDERR: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' BUILDSTDERR: int (*__cmp) (const struct dirent **, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: const struct dirent **)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c:752:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = (void *) names) fs_give ((void **) &s); BUILDSTDERR: ^ BUILDSTDERR: mx.c:803:17: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: sprintf (tmp,"Message copy to MX mailbox failed: %.80s", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c: In function 'mx_expunge': BUILDSTDERR: mx.c:847:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (sequence ? ((options & EX_UID) ? BUILDSTDERR: ^~~ BUILDSTDERR: mx.c: In function 'mx_copy': BUILDSTDERR: mx.c:939:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = ((fd = open (mx_fast_work (stream,elt),O_RDONLY,NIL)) BUILDSTDERR: ^~~ BUILDSTDERR: mx.c:949:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = elt->user_flags) do BUILDSTDERR: ^ BUILDSTDERR: mx.c:950:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = stream->user_flags[find_rightmost_bit (&j)]) BUILDSTDERR: ^ BUILDSTDERR: mx.c:960:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = mx_append_msg (astream,tmp,elt,&st,dest)) { BUILDSTDERR: ^~~ BUILDSTDERR: mx.c:904:21: warning: variable 'uid' set but not used [-Wunused-but-set-variable] BUILDSTDERR: unsigned long i,j,uid,uidv; BUILDSTDERR: ^~~ BUILDSTDERR: mx.c: In function 'mx_select': BUILDSTDERR: mx.c:1117:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (c = *s++) if (!isdigit (c)) return NIL; BUILDSTDERR: ^ BUILDSTDERR: In file included from mx.c:35: BUILDSTDERR: mx.c: In function 'mx_lockindex': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-Wimplicit-function-declaration] BUILDSTDERR: #define flock safe_flock BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: mx.c:1173:5: note: in expansion of macro 'flock' BUILDSTDERR: flock (LOCAL->fd,LOCK_EX); /* get exclusive lock */ BUILDSTDERR: ^~~~~ BUILDSTDERR: mx.c:1189:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (t = ++s,'\n')) { BUILDSTDERR: ^ BUILDSTDERR: mx.c: In function 'mx_setdate': BUILDSTDERR: mx.c:1286:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] BUILDSTDERR: utime (file,tp); /* set the times */ BUILDSTDERR: ^~~~~ BUILDSTDERR: utimes BUILDSTDERR: mx.c: In function 'mx_header': BUILDSTDERR: mx.c:636:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (fd,LOCAL->buf,elt->rfc822_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c: In function 'mx_lockindex': BUILDSTDERR: mx.c:1177:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mx.c: In function 'mx_unlockindex': BUILDSTDERR: mx.c:1269:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->fd,size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fPIC -DPIC -D_REENTRANT -c `cat CFLAGS` mix.c -o mix.so BUILDSTDERR: mix.c: In function 'mix_scan_contents': BUILDSTDERR: mix.c:324:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:324:49: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' BUILDSTDERR: int (*__cmp) (const struct dirent **, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: const struct dirent **)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:336:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_create': BUILDSTDERR: mix.c:63:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:63:16: note: in definition of macro 'MTAFMT' BUILDSTDERR: #define MTAFMT "V%08lx\015\012L%08lx\015\012N%08lx\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from mix.c:33: BUILDSTDERR: mix.c: In function 'mix_delete': BUILDSTDERR: osdep.h:60:15: warning: implicit declaration of function 'safe_flock'; did you mean 'mail_lock'? [-Wimplicit-function-declaration] BUILDSTDERR: #define flock safe_flock BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: mix.c:471:50: note: in expansion of macro 'flock' BUILDSTDERR: else if (((fd = open (tmp,O_RDWR,NIL)) < 0) || flock (fd,LOCK_EX|LOCK_NB)) BUILDSTDERR: ^~~~~ BUILDSTDERR: mix.c:480:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (dirp = opendir (tmp)) { /* open directory */ BUILDSTDERR: ^~~~ BUILDSTDERR: mix.c:483:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (d = readdir (dirp)) if (mix_dirfmttest (d->d_name)) { BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_rename': BUILDSTDERR: mix.c:531:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strrchr (tmp1,'/')) { BUILDSTDERR: ^ BUILDSTDERR: mix.c:556:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:569:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_open': BUILDSTDERR: mix.c:636:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (silent = stream->silent) LOCAL->internal = T; BUILDSTDERR: ^~~~~~ BUILDSTDERR: mix.c: In function 'mix_header': BUILDSTDERR: mix.c:754:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0'; BUILDSTDERR: ^ BUILDSTDERR: mix.c:711:7: warning: unused variable 'fd' [-Wunused-variable] BUILDSTDERR: int fd; BUILDSTDERR: ^~ BUILDSTDERR: mix.c: In function 'mix_text': BUILDSTDERR: mix.c:774:17: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: unsigned long i; BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_ping': BUILDSTDERR: mix.c:965:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (snarfok = mail_append_full (stream,"INBOX",flags,date,&msg)) { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: mix.c:990:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (statf = mix_parse (stream,&idxf,LONGT, BUILDSTDERR: ^~~~~ BUILDSTDERR: mix.c:929:15: warning: unused variable 'sfd' [-Wunused-variable] BUILDSTDERR: int mfd,ifd,sfd; BUILDSTDERR: ^~~ BUILDSTDERR: mix.c:929:11: warning: unused variable 'ifd' [-Wunused-variable] BUILDSTDERR: int mfd,ifd,sfd; BUILDSTDERR: ^~~ BUILDSTDERR: mix.c:929:7: warning: unused variable 'mfd' [-Wunused-variable] BUILDSTDERR: int mfd,ifd,sfd; BUILDSTDERR: ^~~ BUILDSTDERR: mix.c: In function 'mix_expunge': BUILDSTDERR: mix.c:1038:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (statf = mix_parse (stream,&idxf,LONGT, BUILDSTDERR: ^~~~~ BUILDSTDERR: mix.c:1054:53: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /usr/include/dirent.h:257:13: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' BUILDSTDERR: int (*__selector) (const struct dirent *), BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:1054:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from osdep.h:47, BUILDSTDERR: from mix.c:33: BUILDSTDERR: /usr/include/dirent.h:258:13: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' BUILDSTDERR: int (*__cmp) (const struct dirent **, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: const struct dirent **)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:1110:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (a = (void *) names) fs_give ((void **) &a); BUILDSTDERR: ^ BUILDSTDERR: mix.c:1026:11: warning: unused variable 'sfd' [-Wunused-variable] BUILDSTDERR: int ifd,sfd; BUILDSTDERR: ^~~ BUILDSTDERR: mix.c:1026:7: warning: unused variable 'ifd' [-Wunused-variable] BUILDSTDERR: int ifd,sfd; BUILDSTDERR: ^~~ BUILDSTDERR: mix.c: In function 'mix_burp': BUILDSTDERR: mix.c:1236:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (ret = !truncate (LOCAL->buf,burp->set.last)) BUILDSTDERR: ^~~ BUILDSTDERR: mix.c:1219:9: warning: variable 's' set but not used [-Wunused-but-set-variable] BUILDSTDERR: void *s; BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_burp_check': BUILDSTDERR: mix.c:1340:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (set = set->next); BUILDSTDERR: ^~~ BUILDSTDERR: mix.c: In function 'mix_copy': BUILDSTDERR: mix.c:1378:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (ret = ((astream = mail_open (NIL,mailbox,OP_SILENT)) && BUILDSTDERR: ^~~ BUILDSTDERR: mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: note: in definition of macro 'MSRFMT' BUILDSTDERR: #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] BUILDSTDERR: #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: note: in definition of macro 'MSRFMT' BUILDSTDERR: #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:1403:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgf = mix_data_open (astream,&fd,&size,newsize)) { BUILDSTDERR: ^~~~ BUILDSTDERR: mix.c:1432:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = elt->user_flags) do BUILDSTDERR: ^ BUILDSTDERR: mix.c:1455:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = (mix_meta_update (astream) && BUILDSTDERR: ^~~ BUILDSTDERR: mix.c:1405:23: warning: variable 'uid' set but not used [-Wunused-but-set-variable] BUILDSTDERR: unsigned long j,uid,uidv; BUILDSTDERR: ^~~ BUILDSTDERR: mix.c: In function 'mix_append': BUILDSTDERR: mix.c:1519:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = compare_cstring (mailbox,"INBOX") ? BUILDSTDERR: ^~~ BUILDSTDERR: mix.c:1536:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (ret = ((astream = mail_open (NIL,mailbox,OP_SILENT)) && BUILDSTDERR: ^~~ BUILDSTDERR: mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: note: in definition of macro 'MSRFMT' BUILDSTDERR: #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] BUILDSTDERR: #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:69:16: note: in definition of macro 'MSRFMT' BUILDSTDERR: #define MSRFMT "%s%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:1555:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgf = mix_data_open (astream,&fd,&size,hdrsize + SIZE (message))) { BUILDSTDERR: ^~~~ BUILDSTDERR: mix.c: In function 'mix_append_msg': BUILDSTDERR: mix.c:1632:26: warning: unused variable 'hoff' [-Wunused-variable] BUILDSTDERR: unsigned long i,j,k,uf,hoff; BUILDSTDERR: ^~~~ BUILDSTDERR: mix.c:1632:17: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: unsigned long i,j,k,uf,hoff; BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_parse': BUILDSTDERR: mix.c:1743:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (s = mix_meta_slurp (stream,&i)) { BUILDSTDERR: ^ BUILDSTDERR: mix.c:1750:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strstr (t = s,"\015\012")) { BUILDSTDERR: ^ BUILDSTDERR: mix.c:1779:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (k = t,' ')) *t++ = '\0'; BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_index_update': BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 13 has type 'int' [-Wformat=] BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 15 has type 'int' [-Wformat=] BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 16 has type 'int' [-Wformat=] BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 17 has type 'int' [-Wformat=] BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:65:16: note: in definition of macro 'IXRFMT' BUILDSTDERR: #define IXRFMT ":%08lx:%04d%02d%02d%02d%02d%02d%c%02d%02d:%08lx:%08lx:%08lx:%08lx:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_status_update': BUILDSTDERR: mix.c:67:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] BUILDSTDERR: #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:16: note: in definition of macro 'STRFMT' BUILDSTDERR: #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] BUILDSTDERR: #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:16: note: in definition of macro 'STRFMT' BUILDSTDERR: #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] BUILDSTDERR: #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:67:16: note: in definition of macro 'STRFMT' BUILDSTDERR: #define STRFMT ":%08lx:%08lx:%04x:%08lx:\015\012" BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_data_open': BUILDSTDERR: mix.c:2425:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (msgf = fdopen (*fd,"r+b")) fseek (msgf,*size,SEEK_SET); BUILDSTDERR: ^~~~ BUILDSTDERR: mix.c: In function 'mix_sortcache_open': BUILDSTDERR: mix.c:2489:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = mail_msgno (stream,uid)) { BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_sortcache_update': BUILDSTDERR: mix.c:2668:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (sl = s->references) /* count length of references */ BUILDSTDERR: ^~ BUILDSTDERR: mix.c: In function 'mix_read_record': BUILDSTDERR: mix.c:2723:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (buf,'\012')) { BUILDSTDERR: ^ BUILDSTDERR: mix.c: In function 'mix_copy': BUILDSTDERR: mix.c:1477:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,size); /* revert file */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_append': BUILDSTDERR: mix.c:1594:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fd,size); /* revert all writes to file*/ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_meta_update': BUILDSTDERR: mix.c:2209:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (LOCAL->mfd,i); /* and tie off at that point */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_index_update': BUILDSTDERR: mix.c:2255:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fileno (idxf),sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:2288:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: if (ret) ftruncate (fileno (idxf),ftell (idxf)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_status_update': BUILDSTDERR: mix.c:2335:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate (fileno (statf),sbuf.st_size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c:2369:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: if (ret) ftruncate (fileno (statf),ftell (statf)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_sortcache_update': BUILDSTDERR: mix.c:2697:16: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: if (ret) ftruncate (fileno (f),ftell (f)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mix.c: In function 'mix_sortcache_open': BUILDSTDERR: mix.c:2640:8: warning: 'fd' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: else fchmod (fd,sbuf.st_mode); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-soname,libc-client.so.2007 -o libc-client.so.2007 osdep.so mail.so misc.so newsrc.so smanager.so utf8.so utf8aux.so siglocal.so dummy.so pseudo.so netmsg.so flstring.so fdstring.so rfc822.so nntp.so smtp.so imap4r1.so pop3.so unix.so mbx.so mmdf.so tenex.so mtx.so news.so phile.so mh.so mx.so mix.so `cat LDFLAGS` BUILDSTDERR: osdep.so: In function `ssl_onceonlyinit': BUILDSTDERR: /builddir/build/BUILD/imap-2007f/c-client/osdep.c:338: warning: the use of `tmpnam' is dangerous, better use `mkstemp' ln -s libc-client.so.2007 libc-client.so make[3]: Leaving directory '/builddir/build/BUILD/imap-2007f/c-client' make[2]: Leaving directory '/builddir/build/BUILD/imap-2007f/c-client' echo lnp > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Building bundled tools... cd mtest;make make[2]: Entering directory '/builddir/build/BUILD/imap-2007f/mtest' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mtest.o mtest.c BUILDSTDERR: mtest.c: In function 'main': BUILDSTDERR: mtest.c:111:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (suffix = strchr (tmp,',')) suffix[0] = '\0'; BUILDSTDERR: ^~~~~~ BUILDSTDERR: mtest.c:132:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = sm_read (&sdb)) { BUILDSTDERR: ^ BUILDSTDERR: mtest.c:135:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = sm_read (&sdb)); BUILDSTDERR: ^ BUILDSTDERR: mtest.c: In function 'mm': BUILDSTDERR: mtest.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (arg = strchr (cmd,' ')) *arg++ = '\0'; BUILDSTDERR: ^~~ BUILDSTDERR: mtest.c:205:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = sm_read (&sdb)) { BUILDSTDERR: ^ BUILDSTDERR: mtest.c:208:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (s = sm_read (&sdb)); BUILDSTDERR: ^ BUILDSTDERR: mtest.c: In function 'overview_header': BUILDSTDERR: mtest.c:393:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = elt->user_flags) { BUILDSTDERR: ^ BUILDSTDERR: mtest.c: In function 'header': BUILDSTDERR: mtest.c:431:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = cache->user_flags) { BUILDSTDERR: ^ BUILDSTDERR: mtest.c: In function 'display_body': BUILDSTDERR: mtest.c:468:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (par = body->parameter) do BUILDSTDERR: ^~~ BUILDSTDERR: mtest.c:470:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (par = par->next); BUILDSTDERR: ^~~ BUILDSTDERR: mtest.c: In function 'status': BUILDSTDERR: mtest.c:525:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = imap_cap (stream)->auth) { BUILDSTDERR: ^ BUILDSTDERR: mtest.c:528:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (auth = mail_lookup_auth (find_rightmost_bit (&i) + 1)) { BUILDSTDERR: ^~~~ BUILDSTDERR: mtest.c:574:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = imap_cap (stream)->extlevel) { BUILDSTDERR: ^ BUILDSTDERR: mtest.c: In function 'prompt': BUILDSTDERR: mtest.c:598:3: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration] BUILDSTDERR: gets (txt); BUILDSTDERR: ^~~~ BUILDSTDERR: fgets BUILDSTDERR: mtest.c: In function 'mm_login': BUILDSTDERR: mtest.c:710:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (user,'\n')) *s = '\0'; BUILDSTDERR: ^ BUILDSTDERR: mtest.c: In function 'smtptest': BUILDSTDERR: mtest.c:797:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (stream = smtp_open (hostlist,debug)) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: mtest.c:804:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (stream = nntp_open (newslist,debug)) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: mtest.c: In function 'mm_login': BUILDSTDERR: mtest.c:708:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (user,NETMAXUSER-1,stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o /builddir/build/BUILD/imap-2007f/c-client/libc-client.so.2007 `cat ../c-client/LDFLAGS` BUILDSTDERR: mtest.o: In function `prompt': BUILDSTDERR: /builddir/build/BUILD/imap-2007f/mtest/mtest.c:598: warning: the `gets' function is dangerous and should not be used. make[2]: Leaving directory '/builddir/build/BUILD/imap-2007f/mtest' cd ipopd;make make[2]: Entering directory '/builddir/build/BUILD/imap-2007f/ipopd' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop2d.o ipop2d.c BUILDSTDERR: ipop2d.c: In function 'c_helo': BUILDSTDERR: ipop2d.c:299:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (u,'*')) *s++ = '\0'; BUILDSTDERR: ^ BUILDSTDERR: ipop2d.c: In function 'c_fold': BUILDSTDERR: ipop2d.c:358:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = (stream = mail_open (stream,t,NIL)) ? stream->nmsgs : 0) { BUILDSTDERR: ^ BUILDSTDERR: ipop2d.c: In function 'c_retr': BUILDSTDERR: ipop2d.c:432:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = mail_fetch_text (stream,msg[current],NIL,&i,FT_RETURNSTRINGSTRUCT)) BUILDSTDERR: ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o /builddir/build/BUILD/imap-2007f/c-client/libc-client.so.2007 `cat ../c-client/LDFLAGS` `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop3d.o ipop3d.c BUILDSTDERR: ipop3d.c: In function 'main': BUILDSTDERR: ipop3d.c:195:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = ssl_start_tls (NIL)) fs_give ((void **) &s); BUILDSTDERR: ^ BUILDSTDERR: ipop3d.c:197:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = !mail_parameters (NIL,GET_DISABLEPLAINTEXT,NIL)) BUILDSTDERR: ^ BUILDSTDERR: ipop3d.c:222:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (initial = strtok (NIL,"\015\012")) { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: ipop3d.c:275:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = ssl_start_tls (pgmname)) { BUILDSTDERR: ^ BUILDSTDERR: ipop3d.c:291:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (t,':')) { BUILDSTDERR: ^ BUILDSTDERR: ipop3d.c: In function 'pass_login': BUILDSTDERR: ipop3d.c:664:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (user,'*')) *t++ ='\0'; BUILDSTDERR: ^ BUILDSTDERR: ipop3d.c: In function 'mbxopen': BUILDSTDERR: ipop3d.c:780:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (j = stream->nmsgs) { /* if mailbox non-empty */ BUILDSTDERR: ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o /builddir/build/BUILD/imap-2007f/c-client/libc-client.so.2007 `cat ../c-client/LDFLAGS` make[2]: Leaving directory '/builddir/build/BUILD/imap-2007f/ipopd' cd imapd;make make[2]: Entering directory '/builddir/build/BUILD/imap-2007f/imapd' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -c -o imapd.o imapd.c BUILDSTDERR: imapd.c: In function 'main': BUILDSTDERR: imapd.c:327:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (proxy,'\n')) *s = '\0'; BUILDSTDERR: ^ BUILDSTDERR: imapd.c:400:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (cmdbuf,' ')) *t = '\0'; BUILDSTDERR: ^ BUILDSTDERR: imapd.c:514:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) { BUILDSTDERR: ^~~~ BUILDSTDERR: imapd.c:574:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (user,'*')) *s++ ='\0'; BUILDSTDERR: ^ BUILDSTDERR: imapd.c:592:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (lsterr = ssl_start_tls (pgmname)) response = lose; BUILDSTDERR: ^~~~~~ BUILDSTDERR: imapd.c:731:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (s = strtok (NIL," ")); BUILDSTDERR: ^ BUILDSTDERR: imapd.c:741:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (slst = mail_sort (stream,cs,spg,pgm,uid ? SE_UID:NIL)) { BUILDSTDERR: ^~~~ BUILDSTDERR: imapd.c:770:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (thr = mail_thread (stream,s,cs,spg,uid ? SE_UID : NIL)) { BUILDSTDERR: ^~~ BUILDSTDERR: imapd.c:848:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = snarf (&arg)) charset = cpystr (s); BUILDSTDERR: ^ BUILDSTDERR: imapd.c:966:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strpbrk (tmp,"\r\n")) *t = '\0'; BUILDSTDERR: ^ BUILDSTDERR: imapd.c:1132:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (t = strtok (NIL," ")); BUILDSTDERR: ^ BUILDSTDERR: imapd.c:1217:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (n = ns[i]) { BUILDSTDERR: ^ BUILDSTDERR: imapd.c:1237:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (p = n->param) do { BUILDSTDERR: ^ BUILDSTDERR: imapd.c:1244:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (p = p->next); BUILDSTDERR: ^ BUILDSTDERR: imapd.c:1246:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (n = n->next); BUILDSTDERR: ^ BUILDSTDERR: imapd.c:1379:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (i = (litplus.size > MAILTMPLEN) ? MAILTMPLEN : litplus.size) { BUILDSTDERR: ^ BUILDSTDERR: imapd.c:1394:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (tmp,'\012')) { BUILDSTDERR: ^ BUILDSTDERR: imapd.c:1498:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (lgoh = (logouthook_t) mail_parameters (NIL,GET_LOGOUTHOOK,NIL)) BUILDSTDERR: ^~~~ BUILDSTDERR: imapd.c: In function 'parse_astring': BUILDSTDERR: imapd.c:2042:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (*size = i) break; /* got atom if non-empty */ BUILDSTDERR: ^ BUILDSTDERR: imapd.c:2099:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (*del = *t) { /* have a delimiter? */ BUILDSTDERR: ^ BUILDSTDERR: imapd.c: In function 'snarf_list': BUILDSTDERR: imapd.c:2177:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (c = *t) { /* have a delimiter? */ BUILDSTDERR: ^ BUILDSTDERR: imapd.c: In function 'parse_stringlist': BUILDSTDERR: imapd.c:2218:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = *s) { /* need to reload strtok() state? */ BUILDSTDERR: ^ BUILDSTDERR: imapd.c: In function 'fetch_work': BUILDSTDERR: imapd.c:2646:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (list = (*t == '(')) t++; /* skip open paren */ BUILDSTDERR: ^~~~ BUILDSTDERR: imapd.c:2647:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strtok (t," ")) do { /* parse attribute list */ BUILDSTDERR: ^ BUILDSTDERR: imapd.c: In function 'fetch_body_part_binary': BUILDSTDERR: imapd.c:2968:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cst.data = rfc822_base64 (st.data,st.size,&cst.size)) break; BUILDSTDERR: ^~~ BUILDSTDERR: imapd.c:2976:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cst.data = rfc822_qprint (st.data,st.size,&cst.size)) break; BUILDSTDERR: ^~~ BUILDSTDERR: imapd.c: In function 'fetch_flags': BUILDSTDERR: imapd.c:3172:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (u = elt->user_flags) do /* any user flags? */ BUILDSTDERR: ^ BUILDSTDERR: imapd.c:3173:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = stream->user_flags[find_rightmost_bit (&u)]) put_flag (&c,t); BUILDSTDERR: ^ BUILDSTDERR: imapd.c: In function 'fetch_rfc822_text': BUILDSTDERR: imapd.c:3312:9: warning: unused variable 'f' [-Wunused-variable] BUILDSTDERR: int f = mail_elt (stream,i)->seen; BUILDSTDERR: ^ BUILDSTDERR: imapd.c: In function 'pbodystructure': BUILDSTDERR: imapd.c:3366:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (part = body->nested.part) BUILDSTDERR: ^~~~ BUILDSTDERR: imapd.c: In function 'pbody': BUILDSTDERR: imapd.c:3451:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (part = body->nested.part) BUILDSTDERR: ^~~~ BUILDSTDERR: imapd.c: In function 'pparam': BUILDSTDERR: imapd.c:3505:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (param = param->next) PBOUT (' '); BUILDSTDERR: ^~~~~ BUILDSTDERR: imapd.c: In function 'paddr': BUILDSTDERR: imapd.c:3531:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (a = a->next); /* until end of address */ BUILDSTDERR: ^ BUILDSTDERR: imapd.c: In function 'pset': BUILDSTDERR: imapd.c:3550:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cur = cur->next) PBOUT (','); BUILDSTDERR: ^~~ BUILDSTDERR: imapd.c: In function 'pastringlist': BUILDSTDERR: imapd.c:3690:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (s = s->next); BUILDSTDERR: ^ BUILDSTDERR: imapd.c: In function 'pnstringorlist': BUILDSTDERR: imapd.c:3707:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (s = s->next); BUILDSTDERR: ^ BUILDSTDERR: imapd.c: In function 'ptext': BUILDSTDERR: imapd.c:3765:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = txt->data) while (i && ((PBOUT ((c = *s++) ? c : 0x80) != EOF))) --i; BUILDSTDERR: ^ BUILDSTDERR: imapd.c: In function 'pthread': BUILDSTDERR: imapd.c:3782:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = thr->next) { /* any subsequent nodes? */ BUILDSTDERR: ^ BUILDSTDERR: imapd.c: In function 'pcapability': BUILDSTDERR: imapd.c:3830:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = ssl_start_tls (NIL)) fs_give ((void **) &s); BUILDSTDERR: ^ BUILDSTDERR: imapd.c: In function 'proxycopy': BUILDSTDERR: imapd.c:4025:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (mail_elt (stream,i)->spare = mail_elt (stream,i)->sequence) { BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: imapd.c: In function 'proxy_append': BUILDSTDERR: imapd.c:4080:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (i = elt->user_flags) do BUILDSTDERR: ^ BUILDSTDERR: imapd.c: In function 'append_msg': BUILDSTDERR: imapd.c:4112:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = ad->flags) fs_give ((void **) &ad->flags); BUILDSTDERR: ^ BUILDSTDERR: imapd.c:4113:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = ad->date) fs_give ((void **) &ad->date); BUILDSTDERR: ^ BUILDSTDERR: imapd.c:4114:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = ad->msg) fs_give ((void **) &ad->msg); BUILDSTDERR: ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o imapd imapd.o /builddir/build/BUILD/imap-2007f/c-client/libc-client.so.2007 `cat ../c-client/LDFLAGS` make[2]: Leaving directory '/builddir/build/BUILD/imap-2007f/imapd' cd mailutil;make make[2]: Entering directory '/builddir/build/BUILD/imap-2007f/mailutil' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mailutil.o mailutil.c BUILDSTDERR: mailutil.c: In function 'main': BUILDSTDERR: mailutil.c:284:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (source = mail_open (NIL,src,((i || rwcopyp) ? NIL : OP_READONLY) | BUILDSTDERR: ^~~~~~ BUILDSTDERR: mailutil.c:295:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (source = mail_open (NIL,src,((i || rwcopyp) ? NIL : OP_READONLY) | BUILDSTDERR: ^~~~~~ BUILDSTDERR: mailutil.c:376:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = strchr (tmp+1,'\n')) *t = '\0'; BUILDSTDERR: ^ BUILDSTDERR: mailutil.c:384:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (c = *t1++) { /* swap delimiters then */ BUILDSTDERR: ^ BUILDSTDERR: mailutil.c:396:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (source = mail_open (source,tmp+1,(debugp ? OP_DEBUG : NIL) | BUILDSTDERR: ^~~~~~ BUILDSTDERR: mailutil.c: In function 'mbxcopy': BUILDSTDERR: mailutil.c:595:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (tmp,'\n')) *s = '\0'; BUILDSTDERR: ^ BUILDSTDERR: mailutil.c:624:44: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: for (i = 0; i < NUSERFLAGS; ++i) if (t = source->user_flags[i]) { BUILDSTDERR: ^ BUILDSTDERR: mailutil.c: In function 'mm_login': BUILDSTDERR: mailutil.c:895:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s = strchr (username,'\n')) *s = '\0'; BUILDSTDERR: ^ BUILDSTDERR: mailutil.c: In function 'mbxcopy': BUILDSTDERR: mailutil.c:594:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (tmp,MAILTMPLEN-1,stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mailutil.c: In function 'mm_login': BUILDSTDERR: mailutil.c:893:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (username,NETMAXUSER-1,stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o /builddir/build/BUILD/imap-2007f/c-client/libc-client.so.2007 `cat ../c-client/LDFLAGS` make[2]: Leaving directory '/builddir/build/BUILD/imap-2007f/mailutil' cd mlock;make || true make[2]: Entering directory '/builddir/build/BUILD/imap-2007f/mlock' `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -c -o mlock.o mlock.c BUILDSTDERR: mlock.c: In function 'die': BUILDSTDERR: mlock.c:60:3: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] BUILDSTDERR: write (1,"?",1); /* indicate "impossible" failure */ BUILDSTDERR: ^~~~~ BUILDSTDERR: fwrite BUILDSTDERR: mlock.c: In function 'main': BUILDSTDERR: mlock.c:75:31: warning: implicit declaration of function 'getegid'; did you mean 'getgrgid'? [-Wimplicit-function-declaration] BUILDSTDERR: if (!grp || (grp->gr_gid != getegid ())) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: getgrgid BUILDSTDERR: mlock.c:94:3: warning: implicit declaration of function 'chdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] BUILDSTDERR: chdir (dir); BUILDSTDERR: ^~~~~ BUILDSTDERR: mkdir BUILDSTDERR: mlock.c:113:30: warning: implicit declaration of function 'time'; did you mean 'die'? [-Wimplicit-function-declaration] BUILDSTDERR: if (!stat (lock,&sb) && (time (0) > (sb.st_ctime + LOCKTIMEOUT * 60))) BUILDSTDERR: ^~~~ BUILDSTDERR: die BUILDSTDERR: mlock.c:114:7: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] BUILDSTDERR: unlink (lock); /* time out lock if enough time has passed */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: unix BUILDSTDERR: mlock.c:123:23: warning: implicit declaration of function 'getpid'; did you mean 'getenv'? [-Wimplicit-function-declaration] BUILDSTDERR: (unsigned long) getpid ()); BUILDSTDERR: ^~~~~~ BUILDSTDERR: getenv BUILDSTDERR: mlock.c:125:5: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] BUILDSTDERR: gethostname (hitch + len,MAXHOSTNAMELEN); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: gethostbyname BUILDSTDERR: mlock.c:132:7: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] BUILDSTDERR: close (ld); /* close the hitching-post */ BUILDSTDERR: ^~~~~ BUILDSTDERR: pclose BUILDSTDERR: mlock.c:138:11: warning: implicit declaration of function 'link'; did you mean 'bind'? [-Wimplicit-function-declaration] BUILDSTDERR: i = link (hitch,lock) ? errno : 0; BUILDSTDERR: ^~~~ BUILDSTDERR: bind BUILDSTDERR: mlock.c:161:20: warning: implicit declaration of function 'sleep'; did you mean 'strsep'? [-Wimplicit-function-declaration] BUILDSTDERR: if (tries--) sleep (1); /* sleep 1 second and try again */ BUILDSTDERR: ^~~~~ BUILDSTDERR: strsep BUILDSTDERR: mlock.c:169:3: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] BUILDSTDERR: read (0,tmp,1); /* read continue signal from parent */ BUILDSTDERR: ^~~~ BUILDSTDERR: fread `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -o mlock mlock.o make[2]: Leaving directory '/builddir/build/BUILD/imap-2007f/mlock' cd dmail;make || true make[2]: Entering directory '/builddir/build/BUILD/imap-2007f/dmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dmail.o dmail.c BUILDSTDERR: dmail.c: In function 'file_string_setpos': BUILDSTDERR: dmail.c:120:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s->cursize = min (s->chunksize,SIZE (s))) { BUILDSTDERR: ^ BUILDSTDERR: dmail.c: In function 'main': BUILDSTDERR: dmail.c:162:35: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] BUILDSTDERR: if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: dmail.c: In function 'deliver': BUILDSTDERR: dmail.c:229:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (mailbox = strchr (user,'+')) { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: dmail.c: In function 'file_string_setpos': BUILDSTDERR: dmail.c:123:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dmail.c: In function 'delivery_unsafe': BUILDSTDERR: dmail.c:443:5: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) type); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dquota.o dquota.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from ../c-client/osdep.h:43, BUILDSTDERR: from ../c-client/c-client.h:42, BUILDSTDERR: from dquota.c:29: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o dquota.o /builddir/build/BUILD/imap-2007f/c-client/libc-client.so.2007 `cat ../c-client/LDFLAGS` make[2]: Leaving directory '/builddir/build/BUILD/imap-2007f/dmail' cd tmail;make || true make[2]: Entering directory '/builddir/build/BUILD/imap-2007f/tmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tmail.o tmail.c BUILDSTDERR: tmail.c: In function 'file_string_setpos': BUILDSTDERR: tmail.c:121:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (s->cursize = min (s->chunksize,SIZE (s))) { BUILDSTDERR: ^ BUILDSTDERR: tmail.c: In function 'main': BUILDSTDERR: tmail.c:171:37: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] BUILDSTDERR: if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: tmail.c: In function 'getusername': BUILDSTDERR: tmail.c:605:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (*t = strchr (s,'+')) { /* have a mailbox specifier? */ BUILDSTDERR: ^ BUILDSTDERR: tmail.c: In function 'file_string_setpos': BUILDSTDERR: tmail.c:124:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tmail.c: In function 'delivery_unsafe': BUILDSTDERR: tmail.c:564:5: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) type); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tquota.o tquota.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdlib.h:25, BUILDSTDERR: from ../c-client/osdep.h:43, BUILDSTDERR: from ../c-client/c-client.h:42, BUILDSTDERR: from tquota.c:29: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o tquota.o /builddir/build/BUILD/imap-2007f/c-client/libc-client.so.2007 `cat ../c-client/LDFLAGS` make[2]: Leaving directory '/builddir/build/BUILD/imap-2007f/tmail' make[1]: Leaving directory '/builddir/build/BUILD/imap-2007f' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.l7xfrG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64 + cd imap-2007f + mkdir -p /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/lib64/ + install -p -m644 ./c-client/c-client.a /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/lib64/ + ln -s c-client.a /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/lib64/libc-client.a + install -p -m755 ./c-client/libc-client.so.2007 /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/lib64/ + touch c-client.cf + install -p -m644 -D c-client.cf /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/etc/c-client.cf + ln -s libc-client.so.2007 /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/lib64/libc-client.so + mkdir -p /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/include/imap/ + install -m644 ./c-client/c-client.h ./c-client/dummy.h ./c-client/env.h ./c-client/env_unix.h ./c-client/fdstring.h ./c-client/flockcyg.h ./c-client/flocksim.h ./c-client/flstring.h ./c-client/fs.h ./c-client/ftl.h ./c-client/imap4r1.h ./c-client/linkage.h ./c-client/mail.h ./c-client/misc.h ./c-client/netmsg.h ./c-client/newsrc.h ./c-client/nl.h ./c-client/nntp.h ./c-client/os_a32.h ./c-client/os_a41.h ./c-client/os_a52.h ./c-client/os_aix.h ./c-client/os_aos.h ./c-client/os_art.h ./c-client/os_asv.h ./c-client/os_aux.h ./c-client/os_bsd.h ./c-client/os_bsf.h ./c-client/os_bsi.h ./c-client/os_cvx.h ./c-client/os_cyg.h ./c-client/os_d-g.h ./c-client/os_do4.h ./c-client/os_drs.h ./c-client/os_dyn.h ./c-client/os_hpp.h ./c-client/os_isc.h ./c-client/os_lnx.h ./c-client/os_lyn.h ./c-client/os_mct.h ./c-client/os_mnt.h ./c-client/os_nto.h ./c-client/os_nxt.h ./c-client/os_os4.h ./c-client/os_osf.h ./c-client/os_osx.h ./c-client/os_ptx.h ./c-client/os_pyr.h ./c-client/os_qnx.h ./c-client/os_s40.h ./c-client/os_sc5.h ./c-client/os_sco.h ./c-client/os_sgi.h ./c-client/os_shp.h ./c-client/os_slx.h ./c-client/os_soln.h ./c-client/os_solo.h ./c-client/os_sos.h ./c-client/os_sua.h ./c-client/os_sun.h ./c-client/os_sv2.h ./c-client/os_sv4.h ./c-client/os_ult.h ./c-client/os_vu2.h ./c-client/osdep.h ./c-client/pseudo.h ./c-client/rfc822.h ./c-client/smtp.h ./c-client/sslio.h ./c-client/tcp.h ./c-client/tcp_unix.h ./c-client/unix.h ./c-client/utf8.h ./c-client/utf8aux.h /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/include/imap/ + install -m644 ./c-client/linkage.c /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/include/imap/ + install -m644 ./src/osdep/tops-20/shortsym.h /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/include/imap/ + install -p -D -m644 src/imapd/imapd.8 /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/share/man/man8/imapd.8uw + install -p -D -m644 src/ipopd/ipopd.8 /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/share/man/man8/ipopd.8uw + mkdir -p /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/sbin + install -p -m755 ipopd/ipop2d ipopd/ipop3d /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/sbin/ + install -p -m755 imapd/imapd /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/sbin/ + install -p -m755 mlock/mlock /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/sbin/ + mkdir -p /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/bin/ + install -p -m755 dmail/dmail mailutil/mailutil mtest/mtest tmail/tmail /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/bin/ + mkdir -p /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/share/man/man1/ + install -p -m644 src/dmail/dmail.1 src/mailutil/mailutil.1 src/tmail/tmail.1 /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/share/man/man1/ + install -p -m644 -D imap.pam /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/etc/pam.d/imap + install -p -m644 -D imap.pam /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/etc/pam.d/pop + install -p -m644 -D /builddir/build/SOURCES/imap-xinetd /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/etc/xinetd.d/imap + install -p -m644 -D /builddir/build/SOURCES/imaps-xinetd /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/etc/xinetd.d/imaps + install -p -m644 -D /builddir/build/SOURCES/ipop2-xinetd /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/etc/xinetd.d/ipop2 + install -p -m644 -D /builddir/build/SOURCES/ipop3-xinetd /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/etc/xinetd.d/ipop3 + install -p -m644 -D /builddir/build/SOURCES/pop3s-xinetd /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/etc/xinetd.d/pop3s + mkdir -p /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/etc/pki/tls/certs + touch /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/etc/pki/tls/certs/imapd.pem /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/etc/pki/tls/certs/ipop3d.pem + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2007f-21.fc29 --unique-debug-suffix -2007f-21.fc29.riscv64 --unique-debug-src-base uw-imap-2007f-21.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/imap-2007f extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/bin/mailutil extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/bin/tmail extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/bin/dmail extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/bin/mtest extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/sbin/ipop2d extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/sbin/mlock extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/sbin/imapd extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/sbin/ipop3d extracting debug info from /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/lib64/libc-client.so.2007 /usr/lib/rpm/sepdebugcrcfix: Updated 9 CRC32s, 0 CRC32s did match. BUILDSTDERR: 7347 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: uw-imap-2007f-21.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PZGrIO + umask 022 + cd /builddir/build/BUILD + cd imap-2007f + DOCDIR=/builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/share/doc/uw-imap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/share/doc/uw-imap + cp -pr docs/SSLBUILD /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/share/doc/uw-imap + exit 0 Provides: config(uw-imap) = 2007f-21.fc29 uw-imap = 2007f-21.fc29 uw-imap(riscv-64) = 2007f-21.fc29 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh openssl Requires(postun): /bin/sh Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc-client.so.2007()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcom_err.so.2()(64bit) libcrypto.so.1.1()(64bit) libdl.so.2()(64bit) libgssapi_krb5.so.2()(64bit) libkrb5.so.3()(64bit) libpam.so.0()(64bit) libssl.so.1.1()(64bit) rtld(GNU_HASH) Obsoletes: imap < 1:2007f Processing files: libc-client-2007f-21.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cJ3r9y + umask 022 + cd /builddir/build/BUILD + cd imap-2007f + DOCDIR=/builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/share/doc/libc-client + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/share/doc/libc-client + cp -pr LICENSE.txt /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/share/doc/libc-client + cp -pr NOTICE /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/share/doc/libc-client + cp -pr SUPPORT /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/share/doc/libc-client + cp -pr docs/RELNOTES /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/share/doc/libc-client + cp -pr docs/FAQ.txt docs/IPv6.txt docs/bugs.txt docs/calendar.txt docs/commndmt.txt docs/drivers.txt docs/formats.txt docs/imaprc.txt docs/internal.txt docs/locking.txt docs/md5.txt docs/mixfmt.txt docs/naming.txt /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64/usr/share/doc/libc-client + exit 0 Provides: config(libc-client) = 2007f-21.fc29 libc-client = 2007f-21.fc29 libc-client(riscv-64) = 2007f-21.fc29 libc-client.so.2007()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcom_err.so.2()(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libdl.so.2()(64bit) libgssapi_krb5.so.2()(64bit) libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit) libkrb5.so.3()(64bit) libkrb5.so.3(krb5_3_MIT)(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) rtld(GNU_HASH) Obsoletes: libc-client2004d < 1:2004d-2 libc-client2004e < 2004e-2 libc-client2004g < 2004g-7 libc-client2006 < 2006k-2 libc-client2007 < 2007-2 Processing files: uw-imap-devel-2007f-21.fc29.riscv64 Provides: libc-client-devel = 2007f-21.fc29 uw-imap-devel = 2007f-21.fc29 uw-imap-devel(riscv-64) = 2007f-21.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc-client.so.2007()(64bit) Obsoletes: imap-devel < 1:2007f libc-client-devel < 2007f-21.fc29 Processing files: uw-imap-static-2007f-21.fc29.riscv64 Provides: uw-imap-static = 2007f-21.fc29 uw-imap-static(riscv-64) = 2007f-21.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: uw-imap-utils-2007f-21.fc29.riscv64 Provides: uw-imap-utils = 2007f-21.fc29 uw-imap-utils(riscv-64) = 2007f-21.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc-client.so.2007()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcom_err.so.2()(64bit) libcrypto.so.1.1()(64bit) libdl.so.2()(64bit) libgssapi_krb5.so.2()(64bit) libkrb5.so.3()(64bit) libpam.so.0()(64bit) libssl.so.1.1()(64bit) rtld(GNU_HASH) Obsoletes: imap-utils < 1:2007f Processing files: uw-imap-debugsource-2007f-21.fc29.riscv64 Provides: uw-imap-debugsource = 2007f-21.fc29 uw-imap-debugsource(riscv-64) = 2007f-21.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: uw-imap-debuginfo-2007f-21.fc29.riscv64 Provides: debuginfo(build-id) = 1f553a512e70161048485f6a259ea627caf3f115 debuginfo(build-id) = a3669c00e984cf18ec693fda4637f3d218f75ee3 debuginfo(build-id) = f6329d0ffaa7462117197b72fd8cb8f16b0eaf1b uw-imap-debuginfo = 2007f-21.fc29 uw-imap-debuginfo(riscv-64) = 2007f-21.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: uw-imap-debugsource(riscv-64) = 2007f-21.fc29 Processing files: libc-client-debuginfo-2007f-21.fc29.riscv64 Provides: debuginfo(build-id) = ec7e8a4b4b2b0b6695ed1e907ab0c0d937bb04a8 libc-client-debuginfo = 2007f-21.fc29 libc-client-debuginfo(riscv-64) = 2007f-21.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: uw-imap-debugsource(riscv-64) = 2007f-21.fc29 Processing files: uw-imap-utils-debuginfo-2007f-21.fc29.riscv64 Provides: debuginfo(build-id) = 3bcac3a6709561444496595076ae25eedd6155fc debuginfo(build-id) = 681a8a84f010b7600b2b59de07289c27904c69e0 debuginfo(build-id) = 6a54a5f8cadcf4c7a2aa7aac8dcf3862c0f33883 debuginfo(build-id) = b3620392a041118cdc389fd637f9fb18bef044b5 debuginfo(build-id) = c3341cb9ed9c923c91ed308ebd740c68d1a53ab0 uw-imap-utils-debuginfo = 2007f-21.fc29 uw-imap-utils-debuginfo(riscv-64) = 2007f-21.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: uw-imap-debugsource(riscv-64) = 2007f-21.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64 Wrote: /builddir/build/RPMS/uw-imap-2007f-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libc-client-2007f-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/uw-imap-devel-2007f-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/uw-imap-static-2007f-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/uw-imap-utils-2007f-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/uw-imap-debugsource-2007f-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/uw-imap-debuginfo-2007f-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/libc-client-debuginfo-2007f-21.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/uw-imap-utils-debuginfo-2007f-21.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8bkG7j + umask 022 + cd /builddir/build/BUILD + cd imap-2007f + /usr/bin/rm -rf /builddir/build/BUILDROOT/uw-imap-2007f-21.fc29.riscv64 + exit 0 Child return code was: 0