=>> Building mail/procmail build started at Sun Mar 31 07:59:43 BST 2024 port directory: /usr/ports/mail/procmail package name: procmail-3.22_11 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: sunpoet@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1616 Feb 1 08:45 /usr/ports/mail/procmail/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: f139e51116 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 10 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/10/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for procmail-3.22_11: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- sunpoet@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/procmail/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/procmail/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/procmail/work/.cache HOME=/wrkdirs/usr/ports/mail/procmail/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/mail/procmail/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/procmail/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/procmail/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/procmail/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/procmail/work/.cache HOME=/wrkdirs/usr/ports/mail/procmail/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/mail/procmail/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/procmail/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" PORTEXAMPLES="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/procmail" EXAMPLESDIR="share/examples/procmail" DATADIR="share/procmail" WWWDIR="www/procmail" ETCDIR="etc/procmail" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/procmail DOCSDIR=/usr/local/share/doc/procmail EXAMPLESDIR=/usr/local/share/examples/procmail WWWDIR=/usr/local/www/procmail ETCDIR=/usr/local/etc/procmail --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> procmail-3.22_11 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> procmail-3.22_11 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of procmail-3.22_11 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by procmail-3.22_11 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by procmail-3.22_11 for building => SHA256 Checksum OK for procmail-3.22.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by procmail-3.22_11 for building ===> Extracting for procmail-3.22_11 => SHA256 Checksum OK for procmail-3.22.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for procmail-3.22_11 ===> Applying extra patch /usr/ports/mail/procmail/files/procmail-3.22-getline.patch with -p1 ===> Applying FreeBSD patches for procmail-3.22_11 from /usr/ports/mail/procmail/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for procmail-3.22_11 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for procmail-3.22_11 /bin/sh ./initmake /bin/sh "/bin/sh" "/bin/rm -f" "mv -f" "ln" "-lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun -lgen -lsockdns -ldl" "/lib /usr/lib /usr/local/lib" /dev/null "/usr/bin/make" o "cc" "" "-s " "procmail lockfile formail mailstat" "procmail formail lockfile" "procmailrc procmailsc procmailex" "src man" "/usr/local/bin" "strip" cc seems to work fine, using that as the C-compiler ...scanning for 13 libraries... Added LDFLAGS= -lm -ldl -lc /usr/bin/make make all /usr/bin/make -C src ../autoconf.h /bin/sh ./autoconf /bin/sh "/bin/rm -f" "mv -f" /dev/null "grep -F" "/usr/bin/make" o "/tmp ." "/usr/local/bin" ../autoconf.h Using the following directories for the LOCKINGTESTs: /tmp . Initiating fcntl()/kernel-locking-support tests Proceeding with kernel-locking-support tests in the background Testing for const Testing for volatile Testing for prototypes Testing for enum Checking for POSIX and ANSI/ISO system include files Checking for network/comsat/biff support Testing for void*, size_t, off_t, pid_t, time_t, mode_t, uid_t & gid_t Checking realloc implementation Testing for WIFEXITED(), WIFSTOPPED(), WEXITSTATUS() & WSIGTERM() Testing for various struct passwd members Testing for memmove, strchr, strpbrk, strcspn, strtol, strstr, rename, setrgid, setegid, pow, opendir, mkdir, waitpid, fsync, ftruncate, strtod, strncasecmp, strerror, strlcat, memset, bzero, and _exit Determining the maximum number of 16 byte arguments execv() takes Benchmarking your system's strstr() implementation Waiting for the kernel-locking tests to finish... Every two digits a file is locked. First digit: which file, second digit: which program, XX indicates a lock conflict or failure Starting test 4 on /tmp/_locktest XX38 07XX38XX32 16XX32XX2a 15XX2aXX22 14XX22XX18 03XX18XX12 12XX12XX8 01XX8XX0 00XX0 Starting test 2 on /tmp/_locktest 17 05 16 01 14 07 13 05 12 02 10 16 11 01 14 01 17 04 13 04 04 15 03 12 05 10 03 16 02 11 00 17 06 14 15 07 13 06 12 04 03 11 06 10 02 15 02 17 05 14 02 13 07 11 03 16 01 10 00 15 00 14 05 12 00 Starting test 2 on ./_locktest 14 07 06 16 16 05 03 13 02 13 01 13 00 11 04 13 07 10 06 11 05 11 02 15 04 14 03 14 14 07 14 00 17 06 14 01 10 14 02 11 05 12 03 07 17 06 00 10 01 10 05 10 10 02 15 15 03 12 07 15 06 13 01 12 07 Starting test 3 on /tmp/_locktest Collecting results from kernel-locking tests =============================autoconf.h=================================== /* This file was automagically generated by autoconf */ /* 2 moves in 64 steps of size 16384 when reallocing */ #define WMACROS_NON_POSIX #define GOT_bin_test #define MAX_argc 30720 /* Your system's strstr() is 1.00 times SLOWER than my C-routine */ #define UDP_protocolno 17 #define BIFF_serviceport "512" #define IP_localhost {127,0,0,1} #define MAILSPOOLDIR "/var/mail/" #define SENDMAIL "/usr/sbin/sendmail" #define CF_no_procmail_yet #define defPATH "PATH=$HOME/bin:/bin:/usr/bin:/usr/local/bin" #define defSPATH "PATH=/bin:/usr/bin:/usr/local/bin" #define PM_VERSION "3.22" /*locktype: 4, countlocks: 80, timeout 0, watchdog 14, /tmp/_locktest*/ /*locktype: 2, countlocks: 0, timeout 0, watchdog 8, /tmp/_locktest*/ /*locktype: 2, countlocks: 0, timeout 0, watchdog 8, ./_locktest*/ /*locktype: 3, countlocks: 80, timeout 1, watchdog 14, /tmp/_locktest*/ /* Hotwire LOCKINGTEST=010 */ /* Procmail will lock via: dotlocking, lockf() */ #define NOfcntl_lock #define USElockf /* autoconf completed */ ========================================================================== echo Housekeeping file >config.check /usr/bin/make -C src ../new/procmail ../new/lockfile ../new/formail ../new/mailstat cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing procmail.c In file included from procmail.c:20: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from procmail.c:20: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ procmail.c:76:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(tpass=auth_finduid(uid,0)) /* save by copying */ ~~~~~^~~~~~~~~~~~~~~~~~~~ procmail.c:76:11: note: place parentheses around the assignment to silence this warning if(tpass=auth_finduid(uid,0)) /* save by copying */ ^ ( ) procmail.c:76:11: note: use '==' to turn this assignment into an equality comparison if(tpass=auth_finduid(uid,0)) /* save by copying */ ^ == procmail.c:132:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(chp2=(char*)argv[argc+1]) ~~~~^~~~~~~~~~~~~~~~~~~~ procmail.c:132:19: note: place parentheses around the assignment to silence this warning else if(chp2=(char*)argv[argc+1]) ^ ( ) procmail.c:132:19: note: use '==' to turn this assignment into an equality comparison else if(chp2=(char*)argv[argc+1]) ^ == procmail.c:141:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(chp2=(char*)argv[argc+1]) ~~~~^~~~~~~~~~~~~~~~~~~~ procmail.c:141:19: note: place parentheses around the assignment to silence this warning else if(chp2=(char*)argv[argc+1]) ^ ( ) procmail.c:141:19: note: use '==' to turn this assignment into an equality comparison else if(chp2=(char*)argv[argc+1]) ^ == procmail.c:293:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pidchild=sfork()) ~~~~~~~~^~~~~~~~ procmail.c:293:15: note: place parentheses around the assignment to silence this warning if(pidchild=sfork()) ^ ( ) procmail.c:293:15: note: use '==' to turn this assignment into an equality comparison if(pidchild=sfork()) ^ == procmail.c:299:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ procmail.c:305:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(chp=(char*)argv[argc]); ~~~^~~~~~~~~~~~~~~~~~ procmail.c:305:14: note: place parentheses around the assignment to silence this warning while(chp=(char*)argv[argc]); ^ ( ) procmail.c:305:14: note: use '==' to turn this assignment into an equality comparison while(chp=(char*)argv[argc]); ^ == procmail.c:427:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(chp=(char*)argv[argc]) /* interpret command line specs first */ ~~~^~~~~~~~~~~~~~~~~~ procmail.c:427:12: note: place parentheses around the assignment to silence this warning while(chp=(char*)argv[argc]) /* interpret command line specs first */ ^ ( ) procmail.c:427:12: note: use '==' to turn this assignment into an equality comparison while(chp=(char*)argv[argc]) /* interpret command line specs first */ ^ == procmail.c:736:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(chp=buf;i= *chp++;) ~^~~~~~~~ procmail.c:736:20: note: place parentheses around the assignment to silence this warning for(chp=buf;i= *chp++;) ^ ( ) procmail.c:736:20: note: use '==' to turn this assignment into an equality comparison for(chp=buf;i= *chp++;) ^ == procmail.c:791:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(ofiltflag=flags[FILTER]) ~~~~~~~~~^~~~~~~~~~~~~~ procmail.c:791:17: note: place parentheses around the assignment to silence this warning if(ofiltflag=flags[FILTER]) ^ ( ) procmail.c:791:17: note: use '==' to turn this assignment into an equality comparison if(ofiltflag=flags[FILTER]) ^ == procmail.c:793:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(chp=gobenv(buf,end)) /* can it be an environment name? */ ~~~^~~~~~~~~~~~~~~~ procmail.c:793:11: note: place parentheses around the assignment to silence this warning if(chp=gobenv(buf,end)) /* can it be an environment name? */ ^ ( ) procmail.c:793:11: note: use '==' to turn this assignment into an equality comparison if(chp=gobenv(buf,end)) /* can it be an environment name? */ ^ == 31 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing cstdio.c In file included from cstdio.c:11: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from cstdio.c:11: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ cstdio.c:75:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dp=incnamed->enext) /* fixup the name list */ ~~^~~~~~~~~~~~~~~~ cstdio.c:75:11: note: place parentheses around the assignment to silence this warning if(dp=incnamed->enext) /* fixup the name list */ ^ ( ) cstdio.c:75:11: note: use '==' to turn this assignment into an equality comparison if(dp=incnamed->enext) /* fixup the name list */ ^ == cstdio.c:251:17: warning: implicit declaration of function 'waitfor' is invalid in C99 [-Wimplicit-function-declaration] { if((retcode=waitfor(childserverpid))==EXIT_SUCCESS) ^ 23 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing common.c In file included from common.c:11: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from common.c:11: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ common.c:29:44: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(*(p=(const char**)newargv)=binsh;*++p= *argv++;); ~~~~^~~~~~~~~ common.c:29:44: note: place parentheses around the assignment to silence this warning for(*(p=(const char**)newargv)=binsh;*++p= *argv++;); ^ ( ) common.c:29:44: note: use '==' to turn this assignment into an equality comparison for(*(p=(const char**)newargv)=binsh;*++p= *argv++;); ^ == common.c:36:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] { while(p=strpbrk(p,"\t\n\v\f\r")) ~^~~~~~~~~~~~~~~~~~~~~~~~ common.c:36:10: note: place parentheses around the assignment to silence this warning { while(p=strpbrk(p,"\t\n\v\f\r")) ^ ( ) common.c:36:10: note: use '==' to turn this assignment into an equality comparison { while(p=strpbrk(p,"\t\n\v\f\r")) ^ == 23 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing exopen.c In file included from exopen.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from exopen.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ 21 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing goodies.c In file included from goodies.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from goodies.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ goodies.c:309:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(q=simplesplit(p,startb,fencepost,&got)) /* simply split */ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ goodies.c:309:12: note: place parentheses around the assignment to silence this warning if(q=simplesplit(p,startb,fencepost,&got)) /* simply split */ ^ ( ) goodies.c:309:12: note: use '==' to turn this assignment into an equality comparison if(q=simplesplit(p,startb,fencepost,&got)) /* simply split */ ^ == goodies.c:385:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] { if(sh=!!strpbrk(p,shellmetas)) ~~^~~~~~~~~~~~~~~~~~~~~~~~ goodies.c:385:8: note: place parentheses around the assignment to silence this warning { if(sh=!!strpbrk(p,shellmetas)) ^ ( ) goodies.c:385:8: note: use '==' to turn this assignment into an equality comparison { if(sh=!!strpbrk(p,shellmetas)) ^ == 23 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing locking.c In file included from locking.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from locking.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ 21 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mailfold.c In file included from mailfold.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from mailfold.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ mailfold.c:58:34: warning: passing 'const char *' to parameter of type 'char *const' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ffrom=fifrom(fromw,restbody,endp); /* scan body block */ ^~~~ mailfold.c:140:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(dirp=opendir(buf)) ~~~~^~~~~~~~~~~~~ mailfold.c:140:13: note: place parentheses around the assignment to silence this warning if(dirp=opendir(buf)) ^ ( ) mailfold.c:140:13: note: use '==' to turn this assignment into an equality comparison if(dirp=opendir(buf)) ^ == mailfold.c:141:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] { while(dp=readdir(dirp)) /* there still are directory entries */ ~~^~~~~~~~~~~~~~ mailfold.c:141:17: note: place parentheses around the assignment to silence this warning { while(dp=readdir(dirp)) /* there still are directory entries */ ^ ( ) mailfold.c:141:17: note: use '==' to turn this assignment into an equality comparison { while(dp=readdir(dirp)) /* there still are directory entries */ ^ == mailfold.c:188:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(errno=EEXIST||!stat(buf,&stbuf)||errno!=ENOENT||rename(buf2,buf)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailfold.c:188:16: note: place parentheses around the assignment to silence this warning else if(errno=EEXIST||!stat(buf,&stbuf)||errno!=ENOENT||rename(buf2,buf)) ^ ( ) mailfold.c:188:16: note: use '==' to turn this assignment into an equality comparison else if(errno=EEXIST||!stat(buf,&stbuf)||errno!=ENOENT||rename(buf2,buf)) ^ == mailfold.c:207:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(blen=Tmnate-linkfolder) /* copy the names into safety */ ~~~~^~~~~~~~~~~~~~~~~~ mailfold.c:207:13: note: place parentheses around the assignment to silence this warning if(blen=Tmnate-linkfolder) /* copy the names into safety */ ^ ( ) mailfold.c:207:13: note: use '==' to turn this assignment into an equality comparison if(blen=Tmnate-linkfolder) /* copy the names into safety */ ^ == mailfold.c:338:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] { if(chp=strchr(themail.p,'\n')) ~~~^~~~~~~~~~~~~~~~~~~~~~~ mailfold.c:338:11: note: place parentheses around the assignment to silence this warning { if(chp=strchr(themail.p,'\n')) ^ ( ) mailfold.c:338:11: note: use '==' to turn this assignment into an equality comparison { if(chp=strchr(themail.p,'\n')) ^ == mailfold.c:416:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(thebody=strchr(thebody,'\n')) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ mailfold.c:416:15: note: place parentheses around the assignment to silence this warning while(thebody=strchr(thebody,'\n')) ^ ( ) mailfold.c:416:15: note: use '==' to turn this assignment into an equality comparison while(thebody=strchr(thebody,'\n')) ^ == 28 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing foldinfo.c In file included from foldinfo.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from foldinfo.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ foldinfo.c:60:12: warning: implicit declaration of function 'ultoan' is invalid in C99 [-Wimplicit-function-declaration] *p++='.';ultoan((unsigned long)stbuf->st_ino,p); /* i-node numbered */ ^ 22 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing misc.c In file included from misc.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from misc.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ misc.c:51:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p=lmax?frealloc(old,newmax):fmalloc(newmax))/* fragile allocation */ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:51:6: note: place parentheses around the assignment to silence this warning if(p=lmax?frealloc(old,newmax):fmalloc(newmax))/* fragile allocation */ ^ ( ) misc.c:51:6: note: use '==' to turn this assignment into an equality comparison if(p=lmax?frealloc(old,newmax):fmalloc(newmax))/* fragile allocation */ ^ == misc.c:217:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(p= *gargv) ~^~~~~~~~ misc.c:217:10: note: place parentheses around the assignment to silence this warning while(p= *gargv) ^ ( ) misc.c:217:10: note: use '==' to turn this assignment into an equality comparison while(p= *gargv) ^ == misc.c:264:6: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(i=(lcking&~lck__NOMSG)>>1) ~^~~~~~~~~~~~~~~~~~~~~~~~ misc.c:264:6: note: place parentheses around the assignment to silence this warning if(i=(lcking&~lck__NOMSG)>>1) ^ ( ) misc.c:264:6: note: use '==' to turn this assignment into an equality comparison if(i=(lcking&~lck__NOMSG)>>1) ^ == misc.c:397:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 25 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing pipes.c In file included from pipes.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from pipes.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ pipes.c:133:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(newargv[argc]= *walkargs++) ~~~~~~~~~~~~~^~~~~~~~~~~~~ pipes.c:133:27: note: place parentheses around the assignment to silence this warning while(newargv[argc]= *walkargs++) ^ ( ) pipes.c:133:27: note: use '==' to turn this assignment into an equality comparison while(newargv[argc]= *walkargs++) ^ == 22 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing regexp.c In file included from regexp.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from regexp.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ regexp.c:431:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(thiss= *(reg= &PC(oldthis=thiss,th1))) /* wipe out list till you */ ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regexp.c:431:14: note: place parentheses around the assignment to silence this warning while(thiss= *(reg= &PC(oldthis=thiss,th1))) /* wipe out list till you */ ^ ( ) regexp.c:431:14: note: use '==' to turn this assignment into an equality comparison while(thiss= *(reg= &PC(oldthis=thiss,th1))) /* wipe out list till you */ ^ == 22 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing robust.c In file included from robust.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from robust.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ robust.c:42:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p=malloc(1)) ~^~~~~~~~~~ robust.c:42:7: note: place parentheses around the assignment to silence this warning if(p=malloc(1)) ^ ( ) robust.c:42:7: note: use '==' to turn this assignment into an equality comparison if(p=malloc(1)) ^ == robust.c:49:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p=malloc(len)) ~^~~~~~~~~~~~ robust.c:49:7: note: place parentheses around the assignment to silence this warning if(p=malloc(len)) ^ ( ) robust.c:49:7: note: use '==' to turn this assignment into an equality comparison if(p=malloc(len)) ^ == robust.c:54:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p=malloc(len)) /* some other process has paniced (and died 8-) */ ~^~~~~~~~~~~~ robust.c:54:10: note: place parentheses around the assignment to silence this warning if(p=malloc(len)) /* some other process has paniced (and died 8-) */ ^ ( ) robust.c:54:10: note: use '==' to turn this assignment into an equality comparison if(p=malloc(len)) /* some other process has paniced (and died 8-) */ ^ == robust.c:65:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p=realloc(old,len)) ~^~~~~~~~~~~~~~~~~ robust.c:65:7: note: place parentheses around the assignment to silence this warning if(p=realloc(old,len)) ^ ( ) robust.c:65:7: note: use '==' to turn this assignment into an equality comparison if(p=realloc(old,len)) ^ == robust.c:70:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p=realloc(old,len)) ~^~~~~~~~~~~~~~~~~ robust.c:70:10: note: place parentheses around the assignment to silence this warning if(p=realloc(old,len)) ^ ( ) robust.c:70:10: note: use '==' to turn this assignment into an equality comparison if(p=realloc(old,len)) ^ == robust.c:186:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else /* set it manually again, to avoid problems with */ ^ 27 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing sublib.c In file included from sublib.c:13: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from sublib.c:13: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ 21 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing acommon.c In file included from acommon.c:13: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from acommon.c:13: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ 21 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing mcommon.c In file included from mcommon.c:11: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from mcommon.c:11: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ 21 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing lastdirsep.c In file included from lastdirsep.c:11: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from lastdirsep.c:11: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ lastdirsep.c:18:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(p=strpbrk(filename,dirsep)) ~^~~~~~~~~~~~~~~~~~~~~~~~~ lastdirsep.c:18:10: note: place parentheses around the assignment to silence this warning while(p=strpbrk(filename,dirsep)) ^ ( ) lastdirsep.c:18:10: note: use '==' to turn this assignment into an equality comparison while(p=strpbrk(filename,dirsep)) ^ == 22 warnings generated. cc -c -DPROCMAIL -O2 -pipe -fstack-protector-strong -fno-strict-aliasing authenticate.c In file included from authenticate.c:20: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from authenticate.c:20: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ authenticate.c:50:41: warning: '/*' within block comment [-Wcomment] /*#define MAILSPOOLHOME "/.mail" /* watch the leading / */ ^ authenticate.c:80:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p=strchr(user,'@')) /* does the username contain an @? */ ~^~~~~~~~~~~~~~~~~ authenticate.c:80:10: note: place parentheses around the assignment to silence this warning if(p=strchr(user,'@')) /* does the username contain an @? */ ^ ( ) authenticate.c:80:10: note: use '==' to turn this assignment into an equality comparison if(p=strchr(user,'@')) /* does the username contain an @? */ ^ == authenticate.c:148:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p=(struct passwd*)pass->pw) ~^~~~~~~~~~~~~~~~~~~~~~~~~ authenticate.c:148:7: note: place parentheses around the assignment to silence this warning if(p=(struct passwd*)pass->pw) ^ ( ) authenticate.c:148:7: note: use '==' to turn this assignment into an equality comparison if(p=(struct passwd*)pass->pw) ^ == authenticate.c:170:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p=(struct passwd*)pass->pw) ~^~~~~~~~~~~~~~~~~~~~~~~~~ authenticate.c:170:7: note: place parentheses around the assignment to silence this warning if(p=(struct passwd*)pass->pw) ^ ( ) authenticate.c:170:7: note: use '==' to turn this assignment into an equality comparison if(p=(struct passwd*)pass->pw) ^ == 25 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing lmtp.c In file included from lmtp.c:12: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from lmtp.c:12: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ lmtp.c:54:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static ctopfd; ~~~~~~ ^ 22 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing memblk.c In file included from memblk.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from memblk.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ memblk.c:151:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(newlast=(*read_func)(mb->p+filled,mb->len-filled,data)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memblk.c:151:12: note: place parentheses around the assignment to silence this warning if(newlast=(*read_func)(mb->p+filled,mb->len-filled,data)) ^ ( ) memblk.c:151:12: note: use '==' to turn this assignment into an equality comparison if(newlast=(*read_func)(mb->p+filled,mb->len-filled,data)) ^ == 22 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing variables.c In file included from variables.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from variables.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ variables.c:70:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] { while(*preenv=preenv[1]) /* wipe this entry out of the environment */ ~~~~~~~^~~~~~~~~~ variables.c:70:22: note: place parentheses around the assignment to silence this warning { while(*preenv=preenv[1]) /* wipe this entry out of the environment */ ^ ( ) variables.c:70:22: note: use '==' to turn this assignment into an equality comparison { while(*preenv=preenv[1]) /* wipe this entry out of the environment */ ^ == variables.c:159:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(ep=emax;p= *ep;ep++) /* scan for this keeper */ ~^~~~~ variables.c:159:15: note: place parentheses around the assignment to silence this warning for(ep=emax;p= *ep;ep++) /* scan for this keeper */ ^ ( ) variables.c:159:15: note: use '==' to turn this assignment into an equality comparison for(ep=emax;p= *ep;ep++) /* scan for this keeper */ ^ == variables.c:184:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(pp=ld_;p= *pp;pp++) /* does it start with LD_ or similar? */ ~^~~~~ variables.c:184:18: note: place parentheses around the assignment to silence this warning for(pp=ld_;p= *pp;pp++) /* does it start with LD_ or similar? */ ^ ( ) variables.c:184:18: note: use '==' to turn this assignment into an equality comparison for(pp=ld_;p= *pp;pp++) /* does it start with LD_ or similar? */ ^ == variables.c:300:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(chp=strchr(src,'=')) /* is it an assignment? */ ~~~^~~~~~~~~~~~~~~~ variables.c:300:9: note: place parentheses around the assignment to silence this warning if(chp=strchr(src,'=')) /* is it an assignment? */ ^ ( ) variables.c:300:9: note: use '==' to turn this assignment into an equality comparison if(chp=strchr(src,'=')) /* is it an assignment? */ ^ == variables.c:314:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(chp=eputenv(chp,src)) ~~~^~~~~~~~~~~~~~~~~ variables.c:314:8: note: place parentheses around the assignment to silence this warning if(chp=eputenv(chp,src)) ^ ( ) variables.c:314:8: note: use '==' to turn this assignment into an equality comparison if(chp=eputenv(chp,src)) ^ == 26 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing from.c In file included from from.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from from.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ from.c:137:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ from.c:161:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(from) /* whole new From_? */ ^ from.c:179:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(grp=getgrgid(gid)) /* check out the invoker's gid */ ~~~^~~~~~~~~~~~~~ from.c:179:12: note: place parentheses around the assignment to silence this warning if(grp=getgrgid(gid)) /* check out the invoker's gid */ ^ ( ) from.c:179:12: note: use '==' to turn this assignment into an equality comparison if(grp=getgrgid(gid)) /* check out the invoker's gid */ ^ == 24 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing comsat.c In file included from comsat.c:15: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from comsat.c:15: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ In file included from comsat.c:26: ./network.h:4:6: warning: '/*' within block comment [-Wcomment] /* SOCK_DGRAM */ ^ ./network.h:6:6: warning: '/*' within block comment [-Wcomment] /* getprotobyname() */ ^ comsat.c:113:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(csvalid=newvalid) ~~~~~~~^~~~~~~~~ comsat.c:113:13: note: place parentheses around the assignment to silence this warning if(csvalid=newvalid) ^ ( ) comsat.c:113:13: note: use '==' to turn this assignment into an equality comparison if(csvalid=newvalid) ^ == 24 warnings generated. In file included from setid.c:7: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from setid.c:7: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ 21 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing procmail.o cstdio.o common.o exopen.o goodies.o locking.o mailfold.o foldinfo.o misc.o pipes.o regexp.o robust.o sublib.o acommon.o mcommon.o lastdirsep.o authenticate.o lmtp.o memblk.o variables.o from.o comsat.o -o procmail -fstack-protector-strong -s -lm -ldl -lc ln ../src/procmail ../new/procmail cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing lockfile.c In file included from lockfile.c:21: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from lockfile.c:21: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ 21 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing lockfile.o exopen.o sublib.o acommon.o mcommon.o authenticate.o lastdirsep.o -o lockfile -fstack-protector-strong -s -lm -ldl -lc ln ../src/lockfile ../new/lockfile cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing formail.c In file included from formail.c:16: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from formail.c:16: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ formail.c:133:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(;chp=strstr(chp,"\n>");*++chp=' '); /* continued regular field */ ~~~^~~~~~~~~~~~~~~~~~ formail.c:133:14: note: place parentheses around the assignment to silence this warning for(;chp=strstr(chp,"\n>");*++chp=' '); /* continued regular field */ ^ ( ) formail.c:133:14: note: use '==' to turn this assignment into an equality comparison for(;chp=strstr(chp,"\n>");*++chp=' '); /* continued regular field */ ^ == formail.c:135:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] { for(chp=p->fld_text;chp=strchr(chp,'\n');) /* continued regular */ ~~~^~~~~~~~~~~~~~~~~ formail.c:135:29: note: place parentheses around the assignment to silence this warning { for(chp=p->fld_text;chp=strchr(chp,'\n');) /* continued regular */ ^ ( ) formail.c:135:29: note: use '==' to turn this assignment into an equality comparison { for(chp=p->fld_text;chp=strchr(chp,'\n');) /* continued regular */ ^ == formail.c:138:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(chp=p->fld_text;chp=strstr(chp,"\n ");*++chp='>'); ~~~^~~~~~~~~~~~~~~~~~ formail.c:138:29: note: place parentheses around the assignment to silence this warning for(chp=p->fld_text;chp=strstr(chp,"\n ");*++chp='>'); ^ ( ) formail.c:138:29: note: use '==' to turn this assignment into an equality comparison for(chp=p->fld_text;chp=strstr(chp,"\n ");*++chp='>'); ^ == formail.c:165:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fp2=findf(fldp,&Rheader)) /* explicitly rename field */ ~~~^~~~~~~~~~~~~~~~~~~~~ formail.c:165:12: note: place parentheses around the assignment to silence this warning if(fp2=findf(fldp,&Rheader)) /* explicitly rename field */ ^ ( ) formail.c:165:12: note: use '==' to turn this assignment into an equality comparison if(fp2=findf(fldp,&Rheader)) /* explicitly rename field */ ^ == formail.c:174:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if(fp2=findf(fldp,&Uheader)) ~~~^~~~~~~~~~~~~~~~~~~~~ formail.c:174:13: note: place parentheses around the assignment to silence this warning else if(fp2=findf(fldp,&Uheader)) ^ ( ) formail.c:174:13: note: use '==' to turn this assignment into an equality comparison else if(fp2=findf(fldp,&Uheader)) ^ == formail.c:232:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(pastad=strchr(chp,' ')) /* found an address? */ ~~~~~~^~~~~~~~~~~~~~~~ formail.c:232:11: note: place parentheses around the assignment to silence this warning if(pastad=strchr(chp,' ')) /* found an address? */ ^ ( ) formail.c:232:11: note: use '==' to turn this assignment into an equality comparison if(pastad=strchr(chp,' ')) /* found an address? */ ^ == formail.c:374:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(chp=(char*)*++argv) ~~~^~~~~~~~~~~~~~~ formail.c:374:15: note: place parentheses around the assignment to silence this warning while(chp=(char*)*++argv) ^ ( ) formail.c:374:15: note: use '==' to turn this assignment into an equality comparison while(chp=(char*)*++argv) ^ == formail.c:487:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ formail.c:621:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(fldp->Tot_len<=j+2) ^ formail.c:662:55: warning: sizeof on pointer operation will return size of 'const char *' instead of 'const char[5]' [-Wsizeof-array-decay] if(strncasecmp(skpspace(chp=subj->rexp),Re,STRLEN(Re))) /* Re: */ ^~ ./formail.h:8:16: note: expanded from macro 'Re' #define Re (re+1) ~~^ ./includes.h:547:27: note: expanded from macro 'STRLEN' #define STRLEN(x) (sizeof(x)-1) ^ formail.c:721:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ formail.c:726:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fldp=findf(fsubject,&rdheader)) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ formail.c:726:9: note: place parentheses around the assignment to silence this warning if(fldp=findf(fsubject,&rdheader)) ^ ( ) formail.c:726:9: note: use '==' to turn this assignment into an equality comparison if(fldp=findf(fsubject,&rdheader)) ^ == formail.c:842:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(fldp=rdheader) /* we already read some "valid" fields */ ~~~~^~~~~~~~~ formail.c:842:9: note: place parentheses around the assignment to silence this warning if(fldp=rdheader) /* we already read some "valid" fields */ ^ ( ) formail.c:842:9: note: use '==' to turn this assignment into an equality comparison if(fldp=rdheader) /* we already read some "valid" fields */ ^ == formail.c:849:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p=memchr(chp,'\n',fldp->Tot_len)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ formail.c:849:8: note: place parentheses around the assignment to silence this warning if(p=memchr(chp,'\n',fldp->Tot_len)) ^ ( ) formail.c:849:8: note: use '==' to turn this assignment into an equality comparison if(p=memchr(chp,'\n',fldp->Tot_len)) ^ == formail.c:858:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(fldp=fp2); /* escape all fields we found */ ~~~~^~~~ formail.c:858:15: note: place parentheses around the assignment to silence this warning while(fldp=fp2); /* escape all fields we found */ ^ ( ) formail.c:858:15: note: use '==' to turn this assignment into an equality comparison while(fldp=fp2); /* escape all fields we found */ ^ == 36 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing fields.c In file included from fields.c:11: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from fields.c:11: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ fields.c:34:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for(pp=&rdheader;p= *pp;pp= &(*pp)->fld_next) ~^~~~~ fields.c:34:21: note: place parentheses around the assignment to silence this warning for(pp=&rdheader;p= *pp;pp= &(*pp)->fld_next) ^ ( ) fields.c:34:21: note: use '==' to turn this assignment into an equality comparison for(pp=&rdheader;p= *pp;pp= &(*pp)->fld_next) ^ == 22 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing formisc.c In file included from formisc.c:11: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from formisc.c:11: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ 21 warnings generated. cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ecommon.c In file included from ecommon.c:11: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from ecommon.c:11: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ ecommon.c:21:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p=malloc(len)) ~^~~~~~~~~~~~ ecommon.c:21:7: note: place parentheses around the assignment to silence this warning if(p=malloc(len)) ^ ( ) ecommon.c:21:7: note: use '==' to turn this assignment into an equality comparison if(p=malloc(len)) ^ == ecommon.c:27:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] { if(old=realloc(old,len)) ~~~^~~~~~~~~~~~~~~~~ ecommon.c:27:9: note: place parentheses around the assignment to silence this warning { if(old=realloc(old,len)) ^ ( ) ecommon.c:27:9: note: use '==' to turn this assignment into an equality comparison { if(old=realloc(old,len)) ^ == 23 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing formail.o common.o fields.o formisc.o sublib.o ecommon.o acommon.o -o formail -fstack-protector-strong -s -lm -ldl -lc ln ../src/formail ../new/formail cp ../examples/mailstat mailstat ln ../src/mailstat ../new/mailstat /usr/bin/make -C man ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5 In file included from manconf.c:6: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from manconf.c:6: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ manconf.c:368:23: warning: while loop has empty body [-Wempty-body] while(*++p=='\t');*(q=strchr(p,'\n'))='\0'; ^ manconf.c:368:23: note: put the semicolon on a separate line to silence this warning 22 warnings generated. /bin/sh ./mansed /bin/sh procmail.man procmail.1 "/bin/rm -f" /dev/null ln ../man/procmail.1 ../new/procmail.1 /bin/sh ./mansed /bin/sh formail.man formail.1 "/bin/rm -f" /dev/null ln ../man/formail.1 ../new/formail.1 /bin/sh ./mansed /bin/sh lockfile.man lockfile.1 "/bin/rm -f" /dev/null ln ../man/lockfile.1 ../new/lockfile.1 /bin/sh ./mansed /bin/sh procmailrc.man procmailrc.5 "/bin/rm -f" /dev/null ln ../man/procmailrc.5 ../new/procmailrc.5 /bin/sh ./mansed /bin/sh procmailsc.man procmailsc.5 "/bin/rm -f" /dev/null ln ../man/procmailsc.5 ../new/procmailsc.5 /bin/sh ./mansed /bin/sh procmailex.man procmailex.5 "/bin/rm -f" /dev/null ln ../man/procmailex.5 ../new/procmailex.5 In file included from recommend.c:6: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:43: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/bin:/usr/bin" /* */ ^ ./../config.h:37:51: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:129:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from recommend.c:6: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ recommend.c:31:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ recommend.c:40:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(grp=getgrgid(gid)) ~~~^~~~~~~~~~~~~~ recommend.c:40:12: note: place parentheses around the assignment to silence this warning if(grp=getgrgid(gid)) ^ ( ) recommend.c:40:12: note: use '==' to turn this assignment into an equality comparison if(grp=getgrgid(gid)) ^ == recommend.c:42:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 24 warnings generated. ================================================================ =============== If you are a system administrator you should consider integrating procmail into the mail-delivery system -- for advanced functionality, speed AND SECURITY --. For more information about this topic you should look in the examples/advanced file. ================================================================ =============== If you would like to inspect the results before running make install: All installable files can be found in the new/ subdirectory. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for procmail-3.22_11 ===> Generating temporary packing list /usr/bin/make -C src ../new/procmail ../new/lockfile ../new/formail ../new/mailstat `../new/procmail' is up to date. `../new/lockfile' is up to date. `../new/formail' is up to date. `../new/mailstat' is up to date. cp new/procmail new/lockfile new/formail new/mailstat /wrkdirs/usr/ports/mail/procmail/work/stage/usr/local/bin echo Housekeeping file >install.bin /usr/bin/make -C man ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5 `../man/man.sed' is up to date. `../new/procmail.1' is up to date. `../new/formail.1' is up to date. `../new/lockfile.1' is up to date. `../new/procmailrc.5' is up to date. `../new/procmailsc.5' is up to date. `../new/procmailex.5' is up to date. echo Housekeeping file >install.man /bin/mkdir -p /wrkdirs/usr/ports/mail/procmail/work/stage/usr/local/share/doc/procmail/ /wrkdirs/usr/ports/mail/procmail/work/stage/usr/local/share/examples/procmail/ cd /wrkdirs/usr/ports/mail/procmail/work/procmail-3.22/ && install -m 0644 FAQ FEATURES HISTORY KNOWN_BUGS README /wrkdirs/usr/ports/mail/procmail/work/stage/usr/local/share/doc/procmail/ cd /wrkdirs/usr/ports/mail/procmail/work/procmail-3.22/examples/ && install -m 0644 1procmailrc 1rmail 2procmailrc 2rmail 3procmailrc 3rmail advanced dirname forward local_procmail_lmtp.m4 mailstat /wrkdirs/usr/ports/mail/procmail/work/stage/usr/local/share/examples/procmail/ ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-03-31T06:59:43+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=f139e51116' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for procmail-3.22_11 ===> Building procmail-3.22_11 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for procmail-3.22_11 build of mail/procmail | procmail-3.22_11 ended at Sun Mar 31 08:03:12 BST 2024 build time: 00:03:31