=>> Building mail/xmail build started at Sun Jan 25 01:33:24 EST 2026 port directory: /usr/ports/mail/xmail package name: xmail-1.6_3 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: cy@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 612 Aug 27 2024 /usr/ports/mail/xmail/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: e427ab10bfca Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 07 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/07/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- cy@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/mail/xmail/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/xmail/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/xmail/work/.cache HOME=/wrkdirs/usr/ports/mail/xmail/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/xmail/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/xmail/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/mail/xmail/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/xmail/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/xmail/work/.cache HOME=/wrkdirs/usr/ports/mail/xmail/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/xmail/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/xmail/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 -Wno-incompatible-function-pointer-types -lutil -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-incompatible-function-pointer-types -lutil -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xmail" EXAMPLESDIR="share/examples/xmail" DATADIR="share/xmail" WWWDIR="www/xmail" ETCDIR="etc/xmail" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xmail DOCSDIR=/usr/local/share/doc/xmail EXAMPLESDIR=/usr/local/share/examples/xmail WWWDIR=/usr/local/www/xmail ETCDIR=/usr/local/etc/xmail --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --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 ===> xmail-1.6_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> xmail-1.6_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xmail-1.6_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by xmail-1.6_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by xmail-1.6_3 for building => SHA256 Checksum OK for xmail_1.6.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 xmail-1.6_3 for building ===> Extracting for xmail-1.6_3 => SHA256 Checksum OK for xmail_1.6.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 xmail-1.6_3 ===> Applying FreeBSD patches for xmail-1.6_3 from /usr/ports/mail/xmail/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xmail-1.6_3 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.10_1,1.pkg [pkg.DaveG.ca] Installing imake-1.0.10_1,1... [pkg.DaveG.ca] `-- Installing gccmakedep-1.0.4... [pkg.DaveG.ca] `-- Extracting gccmakedep-1.0.4: .. done [pkg.DaveG.ca] `-- Installing makedepend-1.0.9,1... [pkg.DaveG.ca] `-- Extracting makedepend-1.0.9,1: .. done [pkg.DaveG.ca] `-- Installing perl5-5.42.0_1... [pkg.DaveG.ca] `-- Extracting perl5-5.42.0_1: .......... done [pkg.DaveG.ca] `-- Installing xorg-cf-files-1.0.8_1... [pkg.DaveG.ca] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [pkg.DaveG.ca] Extracting imake-1.0.10_1,1: .......... done ===> xmail-1.6_3 depends on executable: imake - found ===> Returning to build of xmail-1.6_3 ===> xmail-1.6_3 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.3.pkg [pkg.DaveG.ca] Installing tradcpp-0.5.3... [pkg.DaveG.ca] Extracting tradcpp-0.5.3: .. done ===> xmail-1.6_3 depends on executable: tradcpp - found ===> Returning to build of xmail-1.6_3 ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/ice.pc - not found ===> Installing existing package /packages/All/libICE-1.1.2,1.pkg [pkg.DaveG.ca] Installing libICE-1.1.2,1... [pkg.DaveG.ca] Extracting libICE-1.1.2,1: .......... done ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> Returning to build of xmail-1.6_3 ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/sm.pc - not found ===> Installing existing package /packages/All/libSM-1.2.6,1.pkg [pkg.DaveG.ca] Installing libSM-1.2.6,1... [pkg.DaveG.ca] Extracting libSM-1.2.6,1: ........ done ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> Returning to build of xmail-1.6_3 ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.12,1.pkg [pkg.DaveG.ca] Installing libX11-1.8.12,1... [pkg.DaveG.ca] `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] Extracting libX11-1.8.12,1: .......... done ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of xmail-1.6_3 ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - not found ===> Installing existing package /packages/All/libXaw-1.0.16,2.pkg [pkg.DaveG.ca] Installing libXaw-1.0.16,2... [pkg.DaveG.ca] `-- Installing libXext-1.3.6,1... [pkg.DaveG.ca] `-- Extracting libXext-1.3.6,1: .......... done [pkg.DaveG.ca] `-- Installing libXmu-1.1.4,1... [pkg.DaveG.ca] | `-- Installing libXt-1.3.0,1... [pkg.DaveG.ca] | `-- Extracting libXt-1.3.0,1: .......... done [pkg.DaveG.ca] `-- Extracting libXmu-1.1.4,1: .......... done [pkg.DaveG.ca] `-- Installing libXpm-3.5.17_1... [pkg.DaveG.ca] | `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] | `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] `-- Extracting libXpm-3.5.17_1: .......... done [pkg.DaveG.ca] Extracting libXaw-1.0.16,2: .......... done ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Returning to build of xmail-1.6_3 ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/xbitmaps.pc - not found ===> Installing existing package /packages/All/xbitmaps-1.1.3.pkg [pkg.DaveG.ca] Installing xbitmaps-1.1.3... [pkg.DaveG.ca] Extracting xbitmaps-1.1.3: .......... done ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/xbitmaps.pc - found ===> Returning to build of xmail-1.6_3 ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> xmail-1.6_3 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> xmail-1.6_3 depends on file: /usr/local/bin/ccache - found ===> Returning to build of xmail-1.6_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for xmail-1.6_3 mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_DIRENT -DXPM -DMAILBOX_DIRECTORY=\"/var/mail\" -DDEFAULT_VISUAL=\"/usr/bin/vi\" -DDEFAULT_MAILER=\"/usr/bin/Mail\" -DSIGACTION -- Mailwatch.c HelpText.c actions.c callMail.c callbacks.c confirm.c directory.c environs.c handler.c mail.c parser.c utils.c windows.c xmail.c > .depend =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for xmail-1.6_3 --- Mailwatch.o --- --- HelpText.o --- --- actions.o --- --- callMail.o --- --- callbacks.o --- --- confirm.o --- --- directory.o --- --- environs.o --- --- handler.o --- --- mail.o --- --- parser.o --- --- utils.o --- --- windows.o --- --- xmail.o --- --- xmail._man --- --- Mailwatch.o --- cc -O2 -pipe -Wno-incompatible-function-pointer-types -lutil -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_DIRENT -DXPM -DMAILBOX_DIRECTORY=\"/var/mail\" -DDEFAULT_VISUAL=\"/usr/bin/vi\" -DDEFAULT_MAILER=\"/usr/bin/Mail\" -DSIGACTION -c Mailwatch.c -o Mailwatch.o --- HelpText.o --- cc -O2 -pipe -Wno-incompatible-function-pointer-types -lutil -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_DIRENT -DXPM -DMAILBOX_DIRECTORY=\"/var/mail\" -DDEFAULT_VISUAL=\"/usr/bin/vi\" -DDEFAULT_MAILER=\"/usr/bin/Mail\" -DSIGACTION -c HelpText.c -o HelpText.o --- actions.o --- cc -O2 -pipe -Wno-incompatible-function-pointer-types -lutil -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_DIRENT -DXPM -DMAILBOX_DIRECTORY=\"/var/mail\" -DDEFAULT_VISUAL=\"/usr/bin/vi\" -DDEFAULT_MAILER=\"/usr/bin/Mail\" -DSIGACTION -c actions.c -o actions.o --- callMail.o --- cc -O2 -pipe -Wno-incompatible-function-pointer-types -lutil -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_DIRENT -DXPM -DMAILBOX_DIRECTORY=\"/var/mail\" -DDEFAULT_VISUAL=\"/usr/bin/vi\" -DDEFAULT_MAILER=\"/usr/bin/Mail\" -DSIGACTION -c callMail.c -o callMail.o --- callbacks.o --- cc -O2 -pipe -Wno-incompatible-function-pointer-types -lutil -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_DIRENT -DXPM -DMAILBOX_DIRECTORY=\"/var/mail\" -DDEFAULT_VISUAL=\"/usr/bin/vi\" -DDEFAULT_MAILER=\"/usr/bin/Mail\" -DSIGACTION -c callbacks.c -o callbacks.o --- confirm.o --- cc -O2 -pipe -Wno-incompatible-function-pointer-types -lutil -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_DIRENT -DXPM -DMAILBOX_DIRECTORY=\"/var/mail\" -DDEFAULT_VISUAL=\"/usr/bin/vi\" -DDEFAULT_MAILER=\"/usr/bin/Mail\" -DSIGACTION -c confirm.c -o confirm.o --- directory.o --- cc -O2 -pipe -Wno-incompatible-function-pointer-types -lutil -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_DIRENT -DXPM -DMAILBOX_DIRECTORY=\"/var/mail\" -DDEFAULT_VISUAL=\"/usr/bin/vi\" -DDEFAULT_MAILER=\"/usr/bin/Mail\" -DSIGACTION -c directory.c -o directory.o --- environs.o --- cc -O2 -pipe -Wno-incompatible-function-pointer-types -lutil -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_DIRENT -DXPM -DMAILBOX_DIRECTORY=\"/var/mail\" -DDEFAULT_VISUAL=\"/usr/bin/vi\" -DDEFAULT_MAILER=\"/usr/bin/Mail\" -DSIGACTION -c environs.c -o environs.o --- handler.o --- cc -O2 -pipe -Wno-incompatible-function-pointer-types -lutil -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_DIRENT -DXPM -DMAILBOX_DIRECTORY=\"/var/mail\" -DDEFAULT_VISUAL=\"/usr/bin/vi\" -DDEFAULT_MAILER=\"/usr/bin/Mail\" -DSIGACTION -c handler.c -o handler.o --- utils.o --- cc -O2 -pipe -Wno-incompatible-function-pointer-types -lutil -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_DIRENT -DXPM -DMAILBOX_DIRECTORY=\"/var/mail\" -DDEFAULT_VISUAL=\"/usr/bin/vi\" -DDEFAULT_MAILER=\"/usr/bin/Mail\" -DSIGACTION -c utils.c -o utils.o --- mail.o --- cc -O2 -pipe -Wno-incompatible-function-pointer-types -lutil -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_DIRENT -DXPM -DMAILBOX_DIRECTORY=\"/var/mail\" -DDEFAULT_VISUAL=\"/usr/bin/vi\" -DDEFAULT_MAILER=\"/usr/bin/Mail\" -DSIGACTION -c mail.c -o mail.o --- parser.o --- cc -O2 -pipe -Wno-incompatible-function-pointer-types -lutil -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_DIRENT -DXPM -DMAILBOX_DIRECTORY=\"/var/mail\" -DDEFAULT_VISUAL=\"/usr/bin/vi\" -DDEFAULT_MAILER=\"/usr/bin/Mail\" -DSIGACTION -c parser.c -o parser.o --- windows.o --- cc -O2 -pipe -Wno-incompatible-function-pointer-types -lutil -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_DIRENT -DXPM -DMAILBOX_DIRECTORY=\"/var/mail\" -DDEFAULT_VISUAL=\"/usr/bin/vi\" -DDEFAULT_MAILER=\"/usr/bin/Mail\" -DSIGACTION -c windows.c -o windows.o --- xmail.o --- cc -O2 -pipe -Wno-incompatible-function-pointer-types -lutil -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DUSE_DIRENT -DXPM -DMAILBOX_DIRECTORY=\"/var/mail\" -DDEFAULT_VISUAL=\"/usr/bin/vi\" -DDEFAULT_MAILER=\"/usr/bin/Mail\" -DSIGACTION -c xmail.c -o xmail.o --- xmail._man --- rm -f xmail._man if test -z "" ; then cd `dirname xmail` && ln -s `basename xmail.man` `basename xmail._man`; else tradcpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/local -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xmail.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xmail._man; fi --- HelpText.o --- cc: warning: -lutil: 'linker' input unused [-Wunused-command-line-argument] --- callMail.o --- cc: warning: -lutil: 'linker' input unused [-Wunused-command-line-argument] In file included from callMail.c:51: /usr/include/sys/termios.h:2:2: warning: "this file includes which is deprecated, use instead" [-W#warnings] 2 | #warning "this file includes which is deprecated, use instead" | ^ callMail.c:320:21: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 320 | (void) exit(1); | ^ callMail.c:320:21: note: include the header or explicitly provide a declaration for 'exit' callMail.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | callMail(argv) | ^ In file included from callMail.c:33: ./global.h:134:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 134 | extern void callMail(); /* fork child, exec mail */ | ^ 4 warnings generated. --- confirm.o --- cc: warning: -lutil: 'linker' input unused [-Wunused-command-line-argument] confirm.c:129:43: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 129 | &root_x, &root_y, &child_x, &child_y, &buttons); | ^~~~~~~~ /usr/local/include/X11/Xlib.h:3003:1: note: passing argument to parameter here 3003 | ); | ^ confirm.c:141:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 141 | if (query = (String) XtMalloc((unsigned) strlen(prompt) + 2)) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ confirm.c:141:15: note: place parentheses around the assignment to silence this warning 141 | if (query = (String) XtMalloc((unsigned) strlen(prompt) + 2)) { | ^ | ( ) confirm.c:141:15: note: use '==' to turn this assignment into an equality comparison 141 | if (query = (String) XtMalloc((unsigned) strlen(prompt) + 2)) { | ^ | == 2 warnings generated. --- directory.o --- cc: warning: -lutil: 'linker' input unused [-Wunused-command-line-argument] directory.c:144:8: warning: call to undeclared function 'qsort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 144 | qsort((char *)ftbl, total, sizeof(char *), str_compare); | ^ directory.c:188:15: warning: call to undeclared function 'AddInfoHandler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | AddInfoHandler(bw, Folder_Info[1]); | ^ directory.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | SetDirectory(w, event, params, num_params) | ^ In file included from directory.c:29: ./global.h:142:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 142 | extern void SetDirectory(); /* create folder files list */ | ^ 4 warnings generated. --- mail.o --- cc: warning: -lutil: 'linker' input unused [-Wunused-command-line-argument] mail.c:144:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 144 | if (p = GetMailEnv("editheaders")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ mail.c:144:8: note: place parentheses around the assignment to silence this warning 144 | if (p = GetMailEnv("editheaders")) { | ^ | ( ) mail.c:144:8: note: use '==' to turn this assignment into an equality comparison 144 | if (p = GetMailEnv("editheaders")) { | ^ | == mail.c:292:52: warning: missing sentinel in function call [-Wsentinel] 292 | (void) execl("/bin/sh", "sh", "-c", cmd, 0); | ^ | , NULL /usr/include/unistd.h:331:6: note: function has been explicitly marked sentinel here 331 | int execl(const char *, const char *, ...) __null_sentinel; | ^ ~~~~~~~~~~~~~~~ mail.c:353:2: warning: call to undeclared function 'AddInfoHandler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | AddInfoHandler(input_window, info); | ^ mail.c:380:2: warning: call to undeclared function 'AddInfoHandler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 380 | AddInfoHandler(button, info); | ^ 4 warnings generated. --- utils.o --- cc: warning: -lutil: 'linker' input unused [-Wunused-command-line-argument] utils.c:121:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 121 | else | ^ 1 warning generated. --- handler.o --- cc: warning: -lutil: 'linker' input unused [-Wunused-command-line-argument] In file included from handler.c:41: ./MailwatchP.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 65 | #endif _XtMailwatchP_h | ^ | // handler.c:99:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 99 | if (fp = fopen(cmd, "w")) { /* create a bogus mail file */ | ~~~^~~~~~~~~~~~~~~~~ handler.c:99:27: note: place parentheses around the assignment to silence this warning 99 | if (fp = fopen(cmd, "w")) { /* create a bogus mail file */ | ^ | ( ) handler.c:99:27: note: use '==' to turn this assignment into an equality comparison 99 | if (fp = fopen(cmd, "w")) { /* create a bogus mail file */ | ^ | == handler.c:249:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 249 | file_handler(void) | ^ | int handler.c:269:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 269 | (void) sprintf(msgnum_str, c); | ^ handler.c:269:29: note: treat the string as an argument to avoid this 269 | (void) sprintf(msgnum_str, c); | ^ | "%s", handler.c:285:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 285 | if (c = strrchr(headers, '\n')) c++; | ~~^~~~~~~~~~~~~~~~~~~~~~~~ handler.c:285:14: note: place parentheses around the assignment to silence this warning 285 | if (c = strrchr(headers, '\n')) c++; | ^ | ( ) handler.c:285:14: note: use '==' to turn this assignment into an equality comparison 285 | if (c = strrchr(headers, '\n')) c++; | ^ | == handler.c:306:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 306 | if (p = strrchr(headers, '\n')) p++; | ~~^~~~~~~~~~~~~~~~~~~~~~~~ handler.c:306:17: note: place parentheses around the assignment to silence this warning 306 | if (p = strrchr(headers, '\n')) p++; | ^ | ( ) handler.c:306:17: note: use '==' to turn this assignment into an equality comparison 306 | if (p = strrchr(headers, '\n')) p++; | ^ | == handler.c:334:15: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | msg_num = atoi(msgnum_str); | ^ 7 warnings generated. --- xmail.o --- cc: warning: -lutil: 'linker' input unused [-Wunused-command-line-argument] xmail.c:155:20: warning: call to undeclared function 'getenv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | if ((cp = (char *)getenv("XMAILER")) == NULL) /* first looks up env var */ | ^ xmail.c:155:12: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 155 | if ((cp = (char *)getenv("XMAILER")) == NULL) /* first looks up env var */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ xmail.c:172:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 172 | if (fp = fopen(InReply, "w")) { /* create our bogus mail file */ | ~~~^~~~~~~~~~~~~~~~~~~~~ xmail.c:172:12: note: place parentheses around the assignment to silence this warning 172 | if (fp = fopen(InReply, "w")) { /* create our bogus mail file */ | ^ | ( ) xmail.c:172:12: note: use '==' to turn this assignment into an equality comparison 172 | if (fp = fopen(InReply, "w")) { /* create our bogus mail file */ | ^ | == xmail.c:204:14: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | if ((i = atoi(value.addr)) > XMail.borderWidth) | ^ xmail.c:210:14: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | if ((i = atoi(value.addr)) > XMail.borderWidth) | ^ xmail.c:292:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 292 | SetHints(void) | ^ | int xmail.c:367:1: warning: non-void function does not return a value [-Wreturn-type] 367 | } /* SetHints */ | ^ xmail.c:373:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 373 | main(int argc, String *argv) | ^ | int xmail.c:486:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 486 | exit(-1); | ^ xmail.c:486:5: note: include the header or explicitly provide a declaration for 'exit' xmail.c:509:10: warning: passing arguments to 'callMail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | callMail(mailargv); /* attempt to start Mail connection */ | ^ 10 warnings generated. --- Mailwatch.o --- cc: warning: -lutil: 'linker' input unused [-Wunused-command-line-argument] In file included from Mailwatch.c:88: ./MailwatchP.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 65 | #endif _XtMailwatchP_h | ^ | // Mailwatch.c:145:9: warning: 'min' macro redefined [-Wmacro-redefined] 145 | #define min(a,b) ((a) < (b) ? (a) : (b)) | ^ /usr/local/include/X11/Xlibint.h:705:9: note: previous definition is here 705 | #define min(a,b) (((a) < (b)) ? (a) : (b)) | ^ Mailwatch.c:146:9: warning: 'max' macro redefined [-Wmacro-redefined] 146 | #define max(a,b) ((a) > (b) ? (a) : (b)) | ^ /usr/local/include/X11/Xlibint.h:706:9: note: previous definition is here 706 | #define max(a,b) (((a) > (b)) ? (a) : (b)) | ^ Mailwatch.c:258:9: warning: call to undeclared function 'XmuCreatePixmapFromBitmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 258 | return XmuCreatePixmapFromBitmap(dpy, w->core.window, bitmap, | ^ Mailwatch.c:441:1: warning: non-void function does not return a value [-Wreturn-type] 441 | } | ^ Mailwatch.c:455:1: warning: non-void function does not return a value [-Wreturn-type] 455 | } | ^ Mailwatch.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | split_path_string (src) | ^ Mailwatch.c:534:19: warning: cast to smaller integer type 'XrmName' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 534 | xrm_name[1] = (XrmName) NULL; | ^~~~~~~~~~~~~~ Mailwatch.c:536:20: warning: cast to smaller integer type 'XrmClass' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 536 | xrm_class[1] = (XrmClass) NULL; | ^~~~~~~~~~~~~~~ Mailwatch.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | XMyLocateXPixmapFile(w, name, widthp, heightp) | ^ Mailwatch.c:644:37: warning: passing arguments to 'XmuLocateBitmapFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | if (bitmap = XmuLocateBitmapFile(w->core.screen, w->mailbox.mail.bitmap, | ^ Mailwatch.c:644:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 644 | if (bitmap = XmuLocateBitmapFile(w->core.screen, w->mailbox.mail.bitmap, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 645 | NULL, 0, &w->mailbox.mail.width, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 646 | &w->mailbox.mail.height, &x, &y)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mailwatch.c:644:16: note: place parentheses around the assignment to silence this warning 644 | if (bitmap = XmuLocateBitmapFile(w->core.screen, w->mailbox.mail.bitmap, | ^ | ( 645 | NULL, 0, &w->mailbox.mail.width, 646 | &w->mailbox.mail.height, &x, &y)) | | ) Mailwatch.c:644:16: note: use '==' to turn this assignment into an equality comparison 644 | if (bitmap = XmuLocateBitmapFile(w->core.screen, w->mailbox.mail.bitmap, | ^ | == Mailwatch.c:683:37: warning: passing arguments to 'XmuLocateBitmapFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | if (bitmap = XmuLocateBitmapFile(w->core.screen, w->mailbox.nomail.bitmap, | ^ Mailwatch.c:683:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 683 | if (bitmap = XmuLocateBitmapFile(w->core.screen, w->mailbox.nomail.bitmap, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 684 | NULL, 0, &w->mailbox.nomail.width, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 685 | &w->mailbox.nomail.height, &x, &y)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mailwatch.c:683:16: note: place parentheses around the assignment to silence this warning 683 | if (bitmap = XmuLocateBitmapFile(w->core.screen, w->mailbox.nomail.bitmap, | ^ | ( 684 | NULL, 0, &w->mailbox.nomail.width, 685 | &w->mailbox.nomail.height, &x, &y)) | | ) Mailwatch.c:683:16: note: use '==' to turn this assignment into an equality comparison 683 | if (bitmap = XmuLocateBitmapFile(w->core.screen, w->mailbox.nomail.bitmap, | ^ | == Mailwatch.c:770:8: warning: call to undeclared function 'UnsetNewmail'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 770 | UnsetNewmail(w, NULL, NULL); | ^ Mailwatch.c:778:11: warning: call to undeclared function 'UnsetNewmail'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 778 | UnsetNewmail(w, NULL, NULL); | ^ Mailwatch.c:787:33: warning: call to undeclared function 'GetMailrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 787 | if (p = (char *)GetMailrc("bell")) | ^ Mailwatch.c:787:25: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 787 | if (p = (char *)GetMailrc("bell")) | ^~~~~~~~~~~~~~~~~~~~~~~~~ Mailwatch.c:787:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 787 | if (p = (char *)GetMailrc("bell")) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mailwatch.c:787:23: note: place parentheses around the assignment to silence this warning 787 | if (p = (char *)GetMailrc("bell")) | ^ | ( ) Mailwatch.c:787:23: note: use '==' to turn this assignment into an equality comparison 787 | if (p = (char *)GetMailrc("bell")) | ^ | == Mailwatch.c:815:40: warning: call to undeclared function 'GetMailEnv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 815 | if (! (w->mailbox.filename = (String) GetMailEnv("MAIL"))) { | ^ Mailwatch.c:815:31: warning: cast to 'String' (aka 'char *') from smaller integer type 'int' [-Wint-to-pointer-cast] 815 | if (! (w->mailbox.filename = (String) GetMailEnv("MAIL"))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mailwatch.c:821:47: warning: format string contains '\0' within the string body [-Wformat] 821 | (void) sprintf(w->mailbox.filename, "%s/%s\0", MAILBOX_DIRECTORY, w->mailbox.username); | ~~~~~~^~~ Mailwatch.c:950:27: warning: call to undeclared function 'GetMailrc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 950 | if (p = (char *)GetMailrc("bell")) | ^ Mailwatch.c:950:19: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 950 | if (p = (char *)GetMailrc("bell")) | ^~~~~~~~~~~~~~~~~~~~~~~~~ Mailwatch.c:950:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 950 | if (p = (char *)GetMailrc("bell")) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Mailwatch.c:950:17: note: place parentheses around the assignment to silence this warning 950 | if (p = (char *)GetMailrc("bell")) | ^ | ( ) Mailwatch.c:950:17: note: use '==' to turn this assignment into an equality comparison 950 | if (p = (char *)GetMailrc("bell")) | ^ | == 25 warnings generated. --- windows.o --- cc: warning: -lutil: 'linker' input unused [-Wunused-command-line-argument] In file included from windows.c:41: ./MailwatchP.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 65 | #endif _XtMailwatchP_h | ^ | // windows.c:655:25: warning: passing 'unsigned char[60]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 655 | national_bits, national_width, national_height); | ^~~~~~~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ windows.c:719:28: warning: passing 'Cardinal *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 719 | res = XParseGeometry(str, x, y, &w, &h); | ^ /usr/local/include/X11/Xlib.h:2869:25: note: passing argument to parameter here 2869 | int* /* x_return */, | ^ windows.c:719:31: warning: passing 'Cardinal *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 719 | res = XParseGeometry(str, x, y, &w, &h); | ^ /usr/local/include/X11/Xlib.h:2870:25: note: passing argument to parameter here 2870 | int* /* y_return */, | ^ 4 warnings generated. --- actions.o --- cc: warning: -lutil: 'linker' input unused [-Wunused-command-line-argument] actions.c:89:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 89 | if (cp = GetMailEnv("folder")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~ actions.c:89:12: note: place parentheses around the assignment to silence this warning 89 | if (cp = GetMailEnv("folder")) { | ^ | ( ) actions.c:89:12: note: use '==' to turn this assignment into an equality comparison 89 | if (cp = GetMailEnv("folder")) { | ^ | == actions.c:105:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | str_compare(char **s1, char **s2) | ^ | int actions.c:261:14: warning: passing arguments to 'Autograph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | Autograph(button, *params, NULL); | ^ actions.c:409:19: warning: passing arguments to 'callMail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | callMail(mailargv); | ^ actions.c:510:18: warning: call to undeclared function 'system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 510 | (void) system(buf); | ^ actions.c:609:12: warning: call to undeclared function 'AddInfoHandler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 609 | AddInfoHandler(bw, "Copy this alias to the current header field"); | ^ actions.c:749:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 749 | if (dirp = opendir((char *)foldir)) { /* and folder is readable... */ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ actions.c:749:20: note: place parentheses around the assignment to silence this warning 749 | if (dirp = opendir((char *)foldir)) { /* and folder is readable... */ | ^ | ( ) actions.c:749:20: note: use '==' to turn this assignment into an equality comparison 749 | if (dirp = opendir((char *)foldir)) { /* and folder is readable... */ | ^ | == actions.c:808:11: warning: call to undeclared function 'qsort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 808 | qsort((String) ftbl, total, sizeof(String), str_compare); | ^ actions.c:857:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] 857 | } else isAdir = FALSE; | ^ actions.c:876:15: warning: call to undeclared function 'AddInfoHandler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 876 | AddInfoHandler(this_one, Folder_Info[2]); | ^ actions.c:878:15: warning: call to undeclared function 'AddInfoHandler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 878 | AddInfoHandler(this_one, Folder_Info[1]); | ^ actions.c:1004:9: warning: call to undeclared function 'AddInfoHandler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1004 | AddInfoHandler(next, info); | ^ 12 warnings generated. --- parser.o --- cc: warning: -lutil: 'linker' input unused [-Wunused-command-line-argument] In file included from parser.c:46: ./MailwatchP.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 65 | #endif _XtMailwatchP_h | ^ | // parser.c:136:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 136 | if (bp = (char *)re_comp(cp->pat)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:136:13: note: place parentheses around the assignment to silence this warning 136 | if (bp = (char *)re_comp(cp->pat)) { | ^ | ( ) parser.c:136:13: note: use '==' to turn this assignment into an equality comparison 136 | if (bp = (char *)re_comp(cp->pat)) { | ^ | == parser.c:172:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 171 | static | ~~~~~~ | int 172 | update_times(void) | ^ parser.c:194:1: warning: non-void function does not return a value [-Wreturn-type] 194 | } /* end - update_times */ | ^ parser.c:240:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 240 | if (h = strrchr(buf, '!')) /* UUCP - host![host!]user[@host]... */ | ~~^~~~~~~~~~~~~~~~~~~ parser.c:240:11: note: place parentheses around the assignment to silence this warning 240 | if (h = strrchr(buf, '!')) /* UUCP - host![host!]user[@host]... */ | ^ | ( ) parser.c:240:11: note: use '==' to turn this assignment into an equality comparison 240 | if (h = strrchr(buf, '!')) /* UUCP - host![host!]user[@host]... */ | ^ | == parser.c:243:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 243 | if (h = strchr(buf, '@')) { /* ARPA address - user[%host]@host */ | ~~^~~~~~~~~~~~~~~~~~ parser.c:243:14: note: place parentheses around the assignment to silence this warning 243 | if (h = strchr(buf, '@')) { /* ARPA address - user[%host]@host */ | ^ | ( ) parser.c:243:14: note: use '==' to turn this assignment into an equality comparison 243 | if (h = strchr(buf, '@')) { /* ARPA address - user[%host]@host */ | ^ | == parser.c:245:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 245 | if (h = strchr(buf, '%')) | ~~^~~~~~~~~~~~~~~~~~ parser.c:245:17: note: place parentheses around the assignment to silence this warning 245 | if (h = strchr(buf, '%')) | ^ | ( ) parser.c:245:17: note: use '==' to turn this assignment into an equality comparison 245 | if (h = strchr(buf, '%')) | ^ | == parser.c:247:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 247 | if (h = strrchr(buf, ':')) /* DECNet form - host::user%host@host */ | ~~^~~~~~~~~~~~~~~~~~~ parser.c:247:17: note: place parentheses around the assignment to silence this warning 247 | if (h = strrchr(buf, ':')) /* DECNet form - host::user%host@host */ | ^ | ( ) parser.c:247:17: note: use '==' to turn this assignment into an equality comparison 247 | if (h = strrchr(buf, ':')) /* DECNet form - host::user%host@host */ | ^ | == parser.c:254:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 254 | if (h = GetMailEnv("outfolder")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:254:8: note: place parentheses around the assignment to silence this warning 254 | if (h = GetMailEnv("outfolder")) { | ^ | ( ) parser.c:254:8: note: use '==' to turn this assignment into an equality comparison 254 | if (h = GetMailEnv("outfolder")) { | ^ | == parser.c:397:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 397 | if (c = GetMailEnv("screen")) { | ~~^~~~~~~~~~~~~~~~~~~~~~ parser.c:397:30: note: place parentheses around the assignment to silence this warning 397 | if (c = GetMailEnv("screen")) { | ^ | ( ) parser.c:397:30: note: use '==' to turn this assignment into an equality comparison 397 | if (c = GetMailEnv("screen")) { | ^ | == parser.c:407:33: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 407 | if (c = GetMailrc("nohold")) XtFree((String) c); | ~~^~~~~~~~~~~~~~~~~~~~~ parser.c:407:33: note: place parentheses around the assignment to silence this warning 407 | if (c = GetMailrc("nohold")) XtFree((String) c); | ^ | ( ) parser.c:407:33: note: use '==' to turn this assignment into an equality comparison 407 | if (c = GetMailrc("nohold")) XtFree((String) c); | ^ | == parser.c:430:38: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 430 | if (msgnum = file_handler()) { | ~~~~~~~^~~~~~~~~~~~~~~~ parser.c:430:38: note: place parentheses around the assignment to silence this warning 430 | if (msgnum = file_handler()) { | ^ | ( ) parser.c:430:38: note: use '==' to turn this assignment into an equality comparison 430 | if (msgnum = file_handler()) { | ^ | == parser.c:471:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 471 | if (endOfLine = strchr(msg, '\n')) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ parser.c:471:21: note: place parentheses around the assignment to silence this warning 471 | if (endOfLine = strchr(msg, '\n')) | ^ | ( ) parser.c:471:21: note: use '==' to turn this assignment into an equality comparison 471 | if (endOfLine = strchr(msg, '\n')) | ^ | == parser.c:740:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 740 | if (endOfLine = strchr(output,'\n')) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ parser.c:740:19: note: place parentheses around the assignment to silence this warning 740 | if (endOfLine = strchr(output,'\n')) | ^ | ( ) parser.c:740:19: note: use '==' to turn this assignment into an equality comparison 740 | if (endOfLine = strchr(output,'\n')) | ^ | == 14 warnings generated. --- environs.o --- cc: warning: -lutil: 'linker' input unused [-Wunused-command-line-argument] environs.c:36:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 36 | alias_compare(AliasRec **a1, AliasRec **a2) | ^ | int environs.c:59:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 59 | if (last_line = strrchr(buffer, '\t')) last_line++; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ environs.c:59:19: note: place parentheses around the assignment to silence this warning 59 | if (last_line = strrchr(buffer, '\t')) last_line++; | ^ | ( ) environs.c:59:19: note: use '==' to turn this assignment into an equality comparison 59 | if (last_line = strrchr(buffer, '\t')) last_line++; | ^ | == environs.c:84:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 84 | if (cp = strchr(next_alias, ',')) *cp++ = '\0'; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ environs.c:84:16: note: place parentheses around the assignment to silence this warning 84 | if (cp = strchr(next_alias, ',')) *cp++ = '\0'; | ^ | ( ) environs.c:84:16: note: use '==' to turn this assignment into an equality comparison 84 | if (cp = strchr(next_alias, ',')) *cp++ = '\0'; | ^ | == environs.c:140:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 140 | if (s = strchr(p, '\n')) | ~~^~~~~~~~~~~~~~~~~ environs.c:140:22: note: place parentheses around the assignment to silence this warning 140 | if (s = strchr(p, '\n')) | ^ | ( ) environs.c:140:22: note: use '==' to turn this assignment into an equality comparison 140 | if (s = strchr(p, '\n')) | ^ | == environs.c:147:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 147 | if (value = strchr(p, '\n')) { /* could be more than one */ | ~~~~~~^~~~~~~~~~~~~~~~~ environs.c:147:29: note: place parentheses around the assignment to silence this warning 147 | if (value = strchr(p, '\n')) { /* could be more than one */ | ^ | ( ) environs.c:147:29: note: use '==' to turn this assignment into an equality comparison 147 | if (value = strchr(p, '\n')) { /* could be more than one */ | ^ | == environs.c:179:8: warning: call to undeclared function 'qsort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | qsort((char *)aliases, n, sizeof(char *), alias_compare); | ^ environs.c:281:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 281 | if (s = getenv(buf)) | ~~^~~~~~~~~~~~~ environs.c:281:14: note: place parentheses around the assignment to silence this warning 281 | if (s = getenv(buf)) | ^ | ( ) environs.c:281:14: note: use '==' to turn this assignment into an equality comparison 281 | if (s = getenv(buf)) | ^ | == environs.c:289:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 289 | if (c = strchr(s, '\n')) *c = '\0'; | ~~^~~~~~~~~~~~~~~~~ environs.c:289:14: note: place parentheses around the assignment to silence this warning 289 | if (c = strchr(s, '\n')) *c = '\0'; | ^ | ( ) environs.c:289:14: note: use '==' to turn this assignment into an equality comparison 289 | if (c = strchr(s, '\n')) *c = '\0'; | ^ | == environs.c:325:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 325 | while (s = strchr(value, '$')) { | ~~^~~~~~~~~~~~~~~~~~~~ environs.c:325:15: note: place parentheses around the assignment to silence this warning 325 | while (s = strchr(value, '$')) { | ^ | ( ) environs.c:325:15: note: use '==' to turn this assignment into an equality comparison 325 | while (s = strchr(value, '$')) { | ^ | == environs.c:336:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 336 | if (nvalue = (String) XtMalloc((unsigned) strlen(value) - length + strlen(e) + 2)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ environs.c:336:20: note: place parentheses around the assignment to silence this warning 336 | if (nvalue = (String) XtMalloc((unsigned) strlen(value) - length + strlen(e) + 2)) { | ^ | ( ) environs.c:336:20: note: use '==' to turn this assignment into an equality comparison 336 | if (nvalue = (String) XtMalloc((unsigned) strlen(value) - length + strlen(e) + 2)) { | ^ | == environs.c:359:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 359 | if (s = getenv("MAILRC")) | ~~^~~~~~~~~~~~~~~~~~ environs.c:359:8: note: place parentheses around the assignment to silence this warning 359 | if (s = getenv("MAILRC")) | ^ | ( ) environs.c:359:8: note: use '==' to turn this assignment into an equality comparison 359 | if (s = getenv("MAILRC")) | ^ | == environs.c:438:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 438 | while (s = fgets(buf, BUFSIZ, fp)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ environs.c:438:29: note: place parentheses around the assignment to silence this warning 438 | while (s = fgets(buf, BUFSIZ, fp)) { | ^ | ( ) environs.c:438:29: note: use '==' to turn this assignment into an equality comparison 438 | while (s = fgets(buf, BUFSIZ, fp)) { | ^ | == 12 warnings generated. --- callbacks.o --- cc: warning: -lutil: 'linker' input unused [-Wunused-command-line-argument] In file included from callbacks.c:31: ./MailwatchP.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] 65 | #endif _XtMailwatchP_h | ^ | // callbacks.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | Autograph(w, closure, call_data) | ^ In file included from callbacks.c:30: ./global.h:109:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | extern void Autograph(); /* adds Signature to message */ | ^ callbacks.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | endDelivery(signum) | ^ In file included from callbacks.c:30: ./global.h:113:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | extern int endDelivery(); /* catch delivery completion */ | ^ callbacks.c:177:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 177 | DoCopy(file, to, subject, inreply, cc, bcc, outfolder, edits, add_face) | ^ | int callbacks.c:210:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 210 | if (pw = getpwnam(tmp)) | ~~~^~~~~~~~~~~~~~~ callbacks.c:210:21: note: place parentheses around the assignment to silence this warning 210 | if (pw = getpwnam(tmp)) | ^ | ( ) callbacks.c:210:21: note: use '==' to turn this assignment into an equality comparison 210 | if (pw = getpwnam(tmp)) | ^ | == callbacks.c:246:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 246 | (void) fprintf(stderr, tmp); | ^~~ callbacks.c:246:31: note: treat the string as an argument to avoid this 246 | (void) fprintf(stderr, tmp); | ^ | "%s", callbacks.c:248:41: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 248 | (void) fprintf(fp, From); | ^~~~ callbacks.c:248:41: note: treat the string as an argument to avoid this 248 | (void) fprintf(fp, From); | ^ | "%s", callbacks.c:276:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 276 | if (m = XGetDefault(XtDisplay(toplevel), "XMail", "customHeader")) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c:276:20: note: place parentheses around the assignment to silence this warning 276 | if (m = XGetDefault(XtDisplay(toplevel), "XMail", "customHeader")) | ^ | ( ) callbacks.c:276:20: note: use '==' to turn this assignment into an equality comparison 276 | if (m = XGetDefault(XtDisplay(toplevel), "XMail", "customHeader")) | ^ | == callbacks.c:289:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 289 | if (m = XGetDefault(XtDisplay(toplevel), "XMail", "customHeader")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c:289:14: note: place parentheses around the assignment to silence this warning 289 | if (m = XGetDefault(XtDisplay(toplevel), "XMail", "customHeader")) { | ^ | ( ) callbacks.c:289:14: note: use '==' to turn this assignment into an equality comparison 289 | if (m = XGetDefault(XtDisplay(toplevel), "XMail", "customHeader")) { | ^ | == callbacks.c:337:18: warning: call to undeclared function 'system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 337 | (void) system(tmp); | ^ callbacks.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | DoCopy(file, to, subject, inreply, cc, bcc, outfolder, edits, add_face) | ^ In file included from callbacks.c:30: ./global.h:116:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | extern int DoCopy(); /* folder copy mail delivery */ | ^ callbacks.c:342:1: warning: non-void function does not return a value [-Wreturn-type] 342 | } /* end - DoCopy */ | ^ callbacks.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | Done(w, closure, call_data) | ^ callbacks.c:363:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 363 | FILE *fp, *xf, *popen(); | ^ /usr/include/stdio.h:327:7: note: conflicting prototype is here 327 | FILE *popen(const char *, const char *); | ^ callbacks.c:411:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 411 | if (pw = getpwnam(tmp)) | ~~~^~~~~~~~~~~~~~~ callbacks.c:411:27: note: place parentheses around the assignment to silence this warning 411 | if (pw = getpwnam(tmp)) | ^ | ( ) callbacks.c:411:27: note: use '==' to turn this assignment into an equality comparison 411 | if (pw = getpwnam(tmp)) | ^ | == callbacks.c:419:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 419 | if (fp = fopen(Copy, "a")) { | ~~~^~~~~~~~~~~~~~~~~~ callbacks.c:419:18: note: place parentheses around the assignment to silence this warning 419 | if (fp = fopen(Copy, "a")) { | ^ | ( ) callbacks.c:419:18: note: use '==' to turn this assignment into an equality comparison 419 | if (fp = fopen(Copy, "a")) { | ^ | == callbacks.c:510:31: warning: add explicit braces to avoid dangling else [-Wdangling-else] 510 | } else len--; /* break at a word boundary */ | ^ callbacks.c:564:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 564 | if (z = strchr(q, ',')) { /* find the end of next alias in list */ | ~~^~~~~~~~~~~~~~~~ callbacks.c:564:18: note: place parentheses around the assignment to silence this warning 564 | if (z = strchr(q, ',')) { /* find the end of next alias in list */ | ^ | ( ) callbacks.c:564:18: note: use '==' to turn this assignment into an equality comparison 564 | if (z = strchr(q, ',')) { /* find the end of next alias in list */ | ^ | == callbacks.c:583:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 583 | if (q = strchr(q, ',')) q--; | ~~^~~~~~~~~~~~~~~~ callbacks.c:583:30: note: place parentheses around the assignment to silence this warning 583 | if (q = strchr(q, ',')) q--; | ^ | ( ) callbacks.c:583:30: note: use '==' to turn this assignment into an equality comparison 583 | if (q = strchr(q, ',')) q--; | ^ | == callbacks.c:588:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 588 | if (q = strchr(q, ',')) q--; | ~~^~~~~~~~~~~~~~~~ callbacks.c:588:30: note: place parentheses around the assignment to silence this warning 588 | if (q = strchr(q, ',')) q--; | ^ | ( ) callbacks.c:588:30: note: use '==' to turn this assignment into an equality comparison 588 | if (q = strchr(q, ',')) q--; | ^ | == callbacks.c:631:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 631 | if (m = GetMailEnv("outfolder")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c:631:14: note: place parentheses around the assignment to silence this warning 631 | if (m = GetMailEnv("outfolder")) { | ^ | ( ) callbacks.c:631:14: note: use '==' to turn this assignment into an equality comparison 631 | if (m = GetMailEnv("outfolder")) { | ^ | == callbacks.c:636:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 636 | if (m = GetMailEnv("record")) { | ~~^~~~~~~~~~~~~~~~~~~~~~ callbacks.c:636:14: note: place parentheses around the assignment to silence this warning 636 | if (m = GetMailEnv("record")) { | ^ | ( ) callbacks.c:636:14: note: use '==' to turn this assignment into an equality comparison 636 | if (m = GetMailEnv("record")) { | ^ | == callbacks.c:641:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 641 | if (m = GetMailEnv("editheaders")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c:641:14: note: place parentheses around the assignment to silence this warning 641 | if (m = GetMailEnv("editheaders")) { | ^ | ( ) callbacks.c:641:14: note: use '==' to turn this assignment into an equality comparison 641 | if (m = GetMailEnv("editheaders")) { | ^ | == callbacks.c:700:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 700 | if (m = XGetDefault(XtDisplay(toplevel), "XMail", "customHeader")) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c:700:26: note: place parentheses around the assignment to silence this warning 700 | if (m = XGetDefault(XtDisplay(toplevel), "XMail", "customHeader")) | ^ | ( ) callbacks.c:700:26: note: use '==' to turn this assignment into an equality comparison 700 | if (m = XGetDefault(XtDisplay(toplevel), "XMail", "customHeader")) | ^ | == callbacks.c:713:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 713 | if (m = XGetDefault(XtDisplay(toplevel), "XMail", "customHeader")) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c:713:20: note: place parentheses around the assignment to silence this warning 713 | if (m = XGetDefault(XtDisplay(toplevel), "XMail", "customHeader")) | ^ | ( ) callbacks.c:713:20: note: use '==' to turn this assignment into an equality comparison 713 | if (m = XGetDefault(XtDisplay(toplevel), "XMail", "customHeader")) | ^ | == callbacks.c:802:8: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 802 | exit(1); /* the delivery child sub-process */ | ^ callbacks.c:802:8: note: include the header or explicitly provide a declaration for 'exit' callbacks.c:814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | DoIt(w, closure, call_data) | ^ callbacks.c:825:34: warning: format specifies type 'char *' but the argument has type 'XtPointer' (aka 'void *') [-Wformat] 825 | (void) sprintf(Command, "%s\n", closure); | ~~ ^~~~~~~ callbacks.c:852:18: warning: passing arguments to 'callMail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | callMail(mailargv); /* restart the mail connections */ | ^ callbacks.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | DoPrint(w, closure, call_data) | ^ callbacks.c:879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | DoQuit(w, closure, call_data) | ^ callbacks.c:914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | DoSet(w, closure, call_data) | ^ callbacks.c:951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | DoWith(w, client_data, call_data) | ^ callbacks.c:981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 981 | DropIt(w, client_data, call_data) | ^ callbacks.c:998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 998 | GetAliasName(w, shell, call_data) | ^ callbacks.c:1024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | GetFolderName(w, client_data, call_data) | ^ callbacks.c:1066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | ReEdit(w, closure, call_data) | ^ callbacks.c:1091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | Reply(w, client_data, call_data) | ^ callbacks.c:1126:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1126 | if (p = GetMailEnv("editheaders")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c:1126:8: note: place parentheses around the assignment to silence this warning 1126 | if (p = GetMailEnv("editheaders")) { | ^ | ( ) callbacks.c:1126:8: note: use '==' to turn this assignment into an equality comparison 1126 | if (p = GetMailEnv("editheaders")) { | ^ | == callbacks.c:1137:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1137 | if (p = GetMailEnv("alwaysignore")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c:1137:11: note: place parentheses around the assignment to silence this warning 1137 | if (p = GetMailEnv("alwaysignore")) { | ^ | ( ) callbacks.c:1137:11: note: use '==' to turn this assignment into an equality comparison 1137 | if (p = GetMailEnv("alwaysignore")) { | ^ | == callbacks.c:1161:46: warning: for loop has empty body [-Wempty-body] 1161 | for (; *r && *r != '\n'; r++); | ^ callbacks.c:1161:46: note: put the semicolon on a separate line to silence this warning callbacks.c:1182:46: warning: for loop has empty body [-Wempty-body] 1182 | for (; *r && *r != '\n'; r++); | ^ callbacks.c:1182:46: note: put the semicolon on a separate line to silence this warning callbacks.c:1373:52: warning: field width should have type 'int', but argument has type 'unsigned long' [-Wformat] 1373 | (void) sprintf(InReply, "%s: Mail from '%s'\n%*sdated: %s", r, author, | ~~^ 1374 | strlen(r) - 5, " ", date); | ~~~~~~~~~~~~~ callbacks.c:1435:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1435 | if (p = XGetDefault(XtDisplay(toplevel), "XMail", "customHeader")) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c:1435:14: note: place parentheses around the assignment to silence this warning 1435 | if (p = XGetDefault(XtDisplay(toplevel), "XMail", "customHeader")) { | ^ | ( ) callbacks.c:1435:14: note: use '==' to turn this assignment into an equality comparison 1435 | if (p = XGetDefault(XtDisplay(toplevel), "XMail", "customHeader")) { | ^ | == callbacks.c:1472:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1472 | while (n = read(erasable, Command, BUFSIZ)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c:1472:14: note: place parentheses around the assignment to silence this warning 1472 | while (n = read(erasable, Command, BUFSIZ)) | ^ | ( ) callbacks.c:1472:14: note: use '==' to turn this assignment into an equality comparison 1472 | while (n = read(erasable, Command, BUFSIZ)) | ^ | == callbacks.c:1487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1487 | Save(w, client_data, call_data) | ^ callbacks.c:1552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1552 | SetNewmail(w, client_data, call_data) | ^ callbacks.c:1565:5: warning: call to undeclared function 'reset_mailbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1565 | reset_mailbox(XtNameToWidget(toplevel, "icon.mailbox"), 0); | ^ callbacks.c:1575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1575 | UnsetNewmail(w, client_data, call_data) | ^ callbacks.c:1587:5: warning: call to undeclared function 'reset_mailbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1587 | reset_mailbox(XtNameToWidget(toplevel, "icon.mailbox"), 1); | ^ 53 warnings generated. --- xmail --- rm -f xmail cc -o xmail -L/usr/local/lib Mailwatch.o HelpText.o actions.o callMail.o callbacks.o confirm.o directory.o environs.o handler.o mail.o parser.o utils.o windows.o xmail.o -lXpm -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXext -lX11 -lcompat -lutil -Wl,-rpath,/usr/local/lib =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/xbitmaps.pc - found ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> xmail-1.6_3 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for xmail-1.6_3 ===> Generating temporary packing list /usr/bin/install -c -s xmail /wrkdirs/usr/ports/mail/xmail/work/stage/usr/local/bin/xmail /usr/bin/install -c -m 0444 XMail.ad /wrkdirs/usr/ports/mail/xmail/work/stage/usr/local/lib/X11/app-defaults/XMail install in . done rm -f /wrkdirs/usr/ports/mail/xmail/work/stage/usr/local/share/man/man1/xmail.1* /usr/bin/install -c -m 0444 xmail._man /wrkdirs/usr/ports/mail/xmail/work/stage/usr/local/share/man/man1/xmail.1 gzip -n /wrkdirs/usr/ports/mail/xmail/work/stage/usr/local/share/man/man1/xmail.1 install.man in . done ====> 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=2026-01-25T06:33:24+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=e427ab10bfca' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for xmail-1.6_3 ===> Building xmail-1.6_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xmail-1.6_3 build of mail/xmail | xmail-1.6_3 ended at Sun Jan 25 01:33:53 EST 2026 build time: 00:00:39