=>> Building news/yencode build started at Fri Mar 13 04:27:31 EDT 2026 port directory: /usr/ports/news/yencode package name: yencode-0.46_8 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 382 Aug 27 2024 /usr/ports/news/yencode/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: af784c932c76 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 10 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/10/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/news/yencode/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/news/yencode/work XDG_CACHE_HOME=/wrkdirs/usr/ports/news/yencode/work/.cache HOME=/wrkdirs/usr/ports/news/yencode/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/news/yencode/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/news/yencode/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/news/yencode/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/news/yencode/work XDG_CACHE_HOME=/wrkdirs/usr/ports/news/yencode/work/.cache HOME=/wrkdirs/usr/ports/news/yencode/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/news/yencode/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/news/yencode/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="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -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=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/yencode" EXAMPLESDIR="share/examples/yencode" DATADIR="share/yencode" WWWDIR="www/yencode" ETCDIR="etc/yencode" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/yencode DOCSDIR=/usr/local/share/doc/yencode EXAMPLESDIR=/usr/local/share/examples/yencode WWWDIR=/usr/local/www/yencode ETCDIR=/usr/local/etc/yencode --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The yencode port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> yencode-0.46_8 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> yencode-0.46_8 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of yencode-0.46_8 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The yencode port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by yencode-0.46_8 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The yencode port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by yencode-0.46_8 for building => SHA256 Checksum OK for yencode-0.46.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The yencode port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by yencode-0.46_8 for building ===> Extracting for yencode-0.46_8 => SHA256 Checksum OK for yencode-0.46.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 yencode-0.46_8 ===> Applying FreeBSD patches for yencode-0.46_8 from /usr/ports/news/yencode/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> yencode-0.46_8 depends on package: gettext-runtime>=0.26 - not found ===> Installing existing package /packages/All/gettext-runtime-0.26.pkg [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 ===> yencode-0.46_8 depends on package: gettext-runtime>=0.26 - found ===> Returning to build of yencode-0.46_8 ===> yencode-0.46_8 depends on package: gettext-tools>=0.26 - not found ===> Installing existing package /packages/All/gettext-tools-0.26.pkg [pkg.DaveG.ca] Installing gettext-tools-0.26... [pkg.DaveG.ca] `-- Installing libtextstyle-0.26... [pkg.DaveG.ca] `-- Extracting libtextstyle-0.26: .......... done [pkg.DaveG.ca] Extracting gettext-tools-0.26: .......... done ===> yencode-0.46_8 depends on package: gettext-tools>=0.26 - found ===> Returning to build of yencode-0.46_8 ===> yencode-0.46_8 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. ===> yencode-0.46_8 depends on file: /usr/local/bin/ccache - found ===> Returning to build of yencode-0.46_8 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> yencode-0.46_8 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for yencode-0.46_8 configure: loading site script /usr/ports/Templates/config.site checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... (cached) /usr/bin/awk checking whether make sets ${MAKE}... yes checking for mawk... (cached) /usr/bin/awk checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for ranlib... ranlib checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for errno.h... (cached) yes checking for getopt.h... (cached) yes checking for libintl.h... yes checking for memory.h... (cached) yes checking for stdarg.h... (cached) yes checking for stddef.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for termios.h... yes checking for time.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for netdb.h... (cached) yes checking for netinet/in.h... (cached) yes checking for pwd.h... (cached) yes checking for signal.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/utsname.h... yes checking for cc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for stdlib.h... (cached) yes checking for working malloc... yes checking return type of signal handlers... void checking for gettimeofday... (cached) yes checking for memset... (cached) yes checking for setlocale... (cached) yes checking for strchr... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strstr... (cached) yes checking build system type... amd64-portbld-freebsd14.4 checking host system type... amd64-portbld-freebsd14.4 checking for strerror in -lcposix... no checking for inline... inline checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for off_t... (cached) yes checking for size_t... (cached) yes checking for working alloca.h... no checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking whether we are using the GNU C Library 2.1 or newer... no checking for argz.h... (cached) no checking for limits.h... (cached) yes checking for locale.h... (cached) yes checking for nl_types.h... yes checking for malloc.h... yes checking for stddef.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for feof_unlocked... yes checking for fgets_unlocked... no checking for getcwd... (cached) yes checking for getegid... (cached) yes checking for geteuid... (cached) yes checking for getgid... (cached) yes checking for getuid... (cached) yes checking for mempcpy... yes checking for munmap... (cached) yes checking for putenv... (cached) yes checking for setenv... (cached) yes checking for setlocale... (cached) yes checking for stpcpy... (cached) yes checking for strchr... (cached) yes checking for strcasecmp... (cached) yes checking for strdup... (cached) yes checking for strtoul... (cached) yes checking for tsearch... (cached) yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking for libintl.h... (cached) yes checking for GNU gettext in libc... no checking for GNU gettext in libintl... yes checking for dcgettext... yes checking for msgfmt... /usr/local/bin/msgfmt checking for gmsgfmt... /usr/local/bin/msgfmt checking for xgettext... /usr/local/bin/xgettext checking for bison... no configure: creating ./config.status config.status: creating Makefile config.status: creating intl/Makefile config.status: creating po/Makefile.in config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating src/ypost/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: creating po/POTFILES config.status: creating po/Makefile yencode version 0.46 configured for amd64-unknown-freebsd14.4 ---------------------------------------------------------------------------- Type `make' to build the package. Type `make install' to install the package. =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for yencode-0.46_8 --- ./config.h.in --- --- stamp-h --- cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/sh ./config.status config.status: creating config.h config.status: config.h is unchanged --- config.h --- --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in intl Making all in po Making all in lib --- alloca.o --- --- xmalloc.o --- --- xstrdup.o --- --- getoptstr.o --- --- error.o --- --- input.o --- --- path.o --- --- screen.o --- --- string.o --- --- timer.o --- --- alloca.o --- source='alloca.c' object='alloca.o' libtool=no depfile='.deps/alloca.Po' tmpdepfile='.deps/alloca.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f alloca.c || echo './'`alloca.c --- xmalloc.o --- source='xmalloc.c' object='xmalloc.o' libtool=no depfile='.deps/xmalloc.Po' tmpdepfile='.deps/xmalloc.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f xmalloc.c || echo './'`xmalloc.c --- xstrdup.o --- source='xstrdup.c' object='xstrdup.o' libtool=no depfile='.deps/xstrdup.Po' tmpdepfile='.deps/xstrdup.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f xstrdup.c || echo './'`xstrdup.c --- getoptstr.o --- source='getoptstr.c' object='getoptstr.o' libtool=no depfile='.deps/getoptstr.Po' tmpdepfile='.deps/getoptstr.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f getoptstr.c || echo './'`getoptstr.c --- error.o --- source='error.c' object='error.o' libtool=no depfile='.deps/error.Po' tmpdepfile='.deps/error.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f error.c || echo './'`error.c --- input.o --- source='input.c' object='input.o' libtool=no depfile='.deps/input.Po' tmpdepfile='.deps/input.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f input.c || echo './'`input.c --- path.o --- source='path.c' object='path.o' libtool=no depfile='.deps/path.Po' tmpdepfile='.deps/path.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f path.c || echo './'`path.c --- screen.o --- source='screen.c' object='screen.o' libtool=no depfile='.deps/screen.Po' tmpdepfile='.deps/screen.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f screen.c || echo './'`screen.c --- string.o --- source='string.c' object='string.o' libtool=no depfile='.deps/string.Po' tmpdepfile='.deps/string.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f string.c || echo './'`string.c --- timer.o --- source='timer.c' object='timer.o' libtool=no depfile='.deps/timer.Po' tmpdepfile='.deps/timer.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f timer.c || echo './'`timer.c --- path.o --- In file included from path.c:21: In file included from ./misc.h:64: ./getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from path.c:21: ./misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ./misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ./misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ./misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ 5 warnings generated. --- screen.o --- In file included from screen.c:21: In file included from ./misc.h:64: ./getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from screen.c:21: ./misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ./misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ./misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ./misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ 5 warnings generated. --- xmalloc.o --- xmalloc.c:51:28: warning: passing arguments to 'memory_error_and_abort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | memory_error_and_abort ("xmalloc"); | ^ xmalloc.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | xmalloc (bytes) | ^ xmalloc.c:68:28: warning: passing arguments to 'memory_error_and_abort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | memory_error_and_abort ("xrealloc"); | ^ xmalloc.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | xrealloc (pointer, bytes) | ^ xmalloc.c:78:3: warning: call to undeclared library function 'abort' with type 'void (void) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | abort (); | ^ xmalloc.c:78:3: note: include the header or explicitly provide a declaration for 'abort' xmalloc.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | memory_error_and_abort (fname) | ^ xmalloc.c:33: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] 33 | static void memory_error_and_abort (); | ^ 7 warnings generated. --- timer.o --- In file included from timer.c:22: In file included from ./misc.h:64: ./getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from timer.c:22: ./misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ --- xstrdup.o --- xstrdup.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | xstrdup (string) | ^ 1 warning generated. --- timer.o --- ./misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ./misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ./misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ 5 warnings generated. --- error.o --- In file included from error.c:21: In file included from ./misc.h:64: ./getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from error.c:21: ./misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ./misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ./misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ./misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ error.c:69:20: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | progname = xstrdup(name); | ^ error.c:72:27: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | short_progname = xstrdup(c+1); | ^ error.c:74:27: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | short_progname = xstrdup(name); | ^ error.c:77:26: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | long_progname = xstrdup(name); | ^ error.c:79:26: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | long_progname = xstrdup(resolved_path); | ^ error.c:119:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 119 | vsnprintf(msg, sizeof(msg), fmt, ap); | ^~~ /usr/include/stdio.h:299:33: note: passing argument to parameter here 299 | int vsnprintf(char * __restrict, size_t, const char * __restrict, | ^ error.c:131:9: warning: passing 'unsigned char[1024]' 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] 131 | fputs(msg, stderr); // message | ^~~ /usr/include/stdio.h:261:35: note: passing argument to parameter here 261 | int fputs(const char * __restrict, FILE * __restrict); | ^ 12 warnings generated. --- getoptstr.o --- In file included from getoptstr.c:21: In file included from ./misc.h:64: ./getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from getoptstr.c:21: ./misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ./misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ./misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ./misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ getoptstr.c:40:26: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | optstr = (char *)xmalloc(((opts * 3) + 1) * sizeof(char)); | ^ 6 warnings generated. --- string.o --- In file included from string.c:21: In file included from ./misc.h:64: ./getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from string.c:21: ./misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ./misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ./misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ./misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ string.c:46:51: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] 46 | snprintf(numbuf, sizeof(numbuf), "%lluT", number); | ~~~~ ^~~~~~ | %lu string.c:47:54: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] 47 | } else snprintf(numbuf, sizeof(numbuf), "%lluG", number); | ~~~~ ^~~~~~ | %lu string.c:48:53: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] 48 | } else snprintf(numbuf, sizeof(numbuf), "%lluM", number); | ~~~~ ^~~~~~ | %lu string.c:49:52: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] 49 | } else snprintf(numbuf, sizeof(numbuf), "%lluk", number); | ~~~~ ^~~~~~ | %lu string.c:50:50: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] 50 | } else snprintf(numbuf, sizeof(numbuf), "%llu", number); | ~~~~ ^~~~~~ | %lu string.c:51:17: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | return (xstrdup(numbuf)); | ^ string.c:246:25: warning: passing 'unsigned char *' 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] 246 | destlen = (d) ? strlen(d) : 0; | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ string.c:248:16: warning: passing arguments to 'xrealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | d = xrealloc(d, destlen + msglen + 1); | ^ 13 warnings generated. --- input.o --- In file included from input.c:21: In file included from ./misc.h:64: ./getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from input.c:21: ./misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ./misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ./misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ./misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ 5 warnings generated. --- libmisc.a --- rm -f libmisc.a ar cru libmisc.a alloca.o xmalloc.o xstrdup.o getoptstr.o error.o input.o path.o screen.o string.o timer.o ranlib libmisc.a Making all in doc Making all in src --- all-recursive --- Making all in ypost --- crc.o --- --- file.o --- --- meter.o --- --- nntp.o --- --- output.o --- --- prompt.o --- --- sock.o --- --- support.o --- --- usenet.o --- --- ypost.o --- --- crc.o --- source='../crc.c' object='crc.o' libtool=no depfile='.deps/crc.Po' tmpdepfile='.deps/crc.TPo' depmode=gcc3 /bin/sh ../../depcomp cc -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSTYPE=\"amd64-portbld-freebsd14.4\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o crc.o `test -f ../crc.c || echo './'`../crc.c --- file.o --- source='../file.c' object='file.o' libtool=no depfile='.deps/file.Po' tmpdepfile='.deps/file.TPo' depmode=gcc3 /bin/sh ../../depcomp cc -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSTYPE=\"amd64-portbld-freebsd14.4\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o file.o `test -f ../file.c || echo './'`../file.c --- meter.o --- source='meter.c' object='meter.o' libtool=no depfile='.deps/meter.Po' tmpdepfile='.deps/meter.TPo' depmode=gcc3 /bin/sh ../../depcomp cc -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSTYPE=\"amd64-portbld-freebsd14.4\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f meter.c || echo './'`meter.c --- nntp.o --- source='nntp.c' object='nntp.o' libtool=no depfile='.deps/nntp.Po' tmpdepfile='.deps/nntp.TPo' depmode=gcc3 /bin/sh ../../depcomp cc -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSTYPE=\"amd64-portbld-freebsd14.4\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f nntp.c || echo './'`nntp.c --- output.o --- source='../output.c' object='output.o' libtool=no depfile='.deps/output.Po' tmpdepfile='.deps/output.TPo' depmode=gcc3 /bin/sh ../../depcomp cc -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSTYPE=\"amd64-portbld-freebsd14.4\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o output.o `test -f ../output.c || echo './'`../output.c --- prompt.o --- source='prompt.c' object='prompt.o' libtool=no depfile='.deps/prompt.Po' tmpdepfile='.deps/prompt.TPo' depmode=gcc3 /bin/sh ../../depcomp cc -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSTYPE=\"amd64-portbld-freebsd14.4\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f prompt.c || echo './'`prompt.c --- sock.o --- source='sock.c' object='sock.o' libtool=no depfile='.deps/sock.Po' tmpdepfile='.deps/sock.TPo' depmode=gcc3 /bin/sh ../../depcomp cc -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSTYPE=\"amd64-portbld-freebsd14.4\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f sock.c || echo './'`sock.c --- support.o --- source='../support.c' object='support.o' libtool=no depfile='.deps/support.Po' tmpdepfile='.deps/support.TPo' depmode=gcc3 /bin/sh ../../depcomp cc -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSTYPE=\"amd64-portbld-freebsd14.4\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -o support.o `test -f ../support.c || echo './'`../support.c --- usenet.o --- source='usenet.c' object='usenet.o' libtool=no depfile='.deps/usenet.Po' tmpdepfile='.deps/usenet.TPo' depmode=gcc3 /bin/sh ../../depcomp cc -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSTYPE=\"amd64-portbld-freebsd14.4\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f usenet.c || echo './'`usenet.c --- ypost.o --- source='ypost.c' object='ypost.o' libtool=no depfile='.deps/ypost.Po' tmpdepfile='.deps/ypost.TPo' depmode=gcc3 /bin/sh ../../depcomp cc -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSTYPE=\"amd64-portbld-freebsd14.4\" -I. -I. -I../.. -I.. -I../../lib -I../../intl -I/usr/local/include -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f ypost.c || echo './'`ypost.c --- prompt.o --- In file included from prompt.c:22: In file included from ./ypost.h:24: In file included from ../y.h:26: In file included from ../../lib/misc.h:64: ../../lib/getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from prompt.c:22: In file included from ./ypost.h:24: In file included from ../y.h:26: ../../lib/misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ../../lib/misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ../../lib/misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ../../lib/misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ prompt.c:44:22: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | opt_author = xstrdup(input); | ^ prompt.c:69:34: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | opt_subject = (*input) ? xstrdup(input) : NULL; | ^ prompt.c:94:34: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | opt_comment = (*input) ? xstrdup(input) : NULL; | ^ prompt.c:115:25: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | opt_newsgroup = xstrdup(input); | ^ prompt.c:136:27: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | opt_nntp_server = xstrdup(input); | ^ prompt.c:177:23: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | opt_author = xstrdup(authorbuf); | ^ prompt.c:223:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 223 | subject = usenet_make_subject(y, -1); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 12 warnings generated. --- crc.o --- In file included from ../crc.c:21: In file included from ../y.h:26: In file included from ../../lib/misc.h:64: ../../lib/getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from ../crc.c:21: In file included from ../y.h:26: ../../lib/misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ../../lib/misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ../../lib/misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ../../lib/misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ 5 warnings generated. --- output.o --- In file included from ../output.c:21: In file included from ../y.h:26: In file included from ../../lib/misc.h:64: ../../lib/getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from ../output.c:21: In file included from ../y.h:26: ../../lib/misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ../../lib/misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ../../lib/misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ../../lib/misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ 5 warnings generated. --- meter.o --- In file included from meter.c:22: In file included from ./ypost.h:24: In file included from ../y.h:26: In file included from ../../lib/misc.h:64: ../../lib/getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from meter.c:22: In file included from ./ypost.h:24: In file included from ../y.h:26: ../../lib/misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ../../lib/misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ../../lib/misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ../../lib/misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ 5 warnings generated. --- sock.o --- In file included from sock.c:22: In file included from ./ypost.h:24: In file included from ../y.h:26: In file included from ../../lib/misc.h:64: ../../lib/getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from sock.c:22: In file included from ./ypost.h:24: In file included from ../y.h:26: ../../lib/misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ../../lib/misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ../../lib/misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ../../lib/misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ sock.c:215:32: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | buf = (unsigned char *)xmalloc(BUFFER_INCREMENT, 1); | ^ sock.c:232:18: warning: passing arguments to 'xrealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | buf = xrealloc(buf, buflen + BUFFER_INCREMENT); | ^ sock.c:239:43: warning: passing 'unsigned char *' 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] 239 | sockdebug(Y_SOCKDEBUG_RECV, buf, strlen(buf)); | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sock.c:288:23: warning: passing 'const unsigned char *' 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] 288 | int datalen = strlen(data); | ^~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sock.c:290:14: warning: passing 'const unsigned char *' 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] 290 | if (!strstr(data, CRLF)) // Append CR/LF if necessary | ^~~~ /usr/include/string.h:131:26: note: passing argument to parameter here 131 | char *strstr(const char *, const char *) __pure; | ^ sock.c:294:33: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | buf = (unsigned char *)xmalloc((datalen + 3) * sizeof(unsigned char)); | ^ sock.c:325:18: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 325 | len = vsnprintf(buf, sizeof(buf)-4, fmt, ap); | ^~~ /usr/include/stdio.h:299:33: note: passing argument to parameter here 299 | int vsnprintf(char * __restrict, size_t, const char * __restrict, | ^ sock.c:329:35: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | outbuf = (unsigned char *)xmalloc(((len * 2) + 1) * sizeof(unsigned char)); | ^ sock.c:356:23: warning: passing 'const unsigned char *' 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] 356 | int datalen = strlen(buf); // Length of data to write | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ sock.c:361:14: warning: passing 'const unsigned char *' 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] 361 | if (!strstr(buf, CRLF)) // Append CR/LF if necessary | ^~~ /usr/include/string.h:131:26: note: passing argument to parameter here 131 | char *strstr(const char *, const char *) __pure; | ^ sock.c:363:34: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | data = (unsigned char *)xmalloc((datalen + 3) * sizeof(unsigned char)); | ^ sock.c:371:34: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | data = (unsigned char *)xstrdup(buf); | ^ sock.c:390:34: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 390 | meter(current + offset, total, desc); | ^~~~ sock.c:390:34: note: treat the string as an argument to avoid this 390 | meter(current + offset, total, desc); | ^ | "%s", 18 warnings generated. --- support.o --- In file included from ../support.c:21: In file included from ../y.h:26: In file included from ../../lib/misc.h:64: ../../lib/getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from ../support.c:21: In file included from ../y.h:26: ../../lib/misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ../../lib/misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ../../lib/misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ../../lib/misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ ../support.c:41:71: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 41 | fprintf(out, "=ybegin line=%d size=%u name=%s\r\n", opt_line_length, buflen, filename); | ~~ ^~~~~~ | %zu ../support.c:69:47: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 69 | fprintf(out, "=yend size=%u crc32=%08x\r\n", buflen, crc); | ~~ ^~~~~~ | %zu ../support.c:157:52: warning: passing 'unsigned char *' 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] 157 | yencode_and_write_buffer(fp, outbase, buf, strlen(buf)); | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ../support.c:205:52: warning: passing 'unsigned char *' 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] 205 | yencode_and_write_buffer(fp, outbase, buf, strlen(buf)); | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ 9 warnings generated. --- file.o --- In file included from ../file.c:21: In file included from ../y.h:26: In file included from ../../lib/misc.h:64: ../../lib/getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from ../file.c:21: In file included from ../y.h:26: ../../lib/misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ../../lib/misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ../../lib/misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ../../lib/misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ ../file.c:57:35: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | YHEADER *new = (YHEADER *)xmalloc(sizeof(YHEADER)); | ^ ../file.c:70:31: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | YPART *new = (YPART *)xmalloc(sizeof(YPART)); | ^ ../file.c:83:35: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | YFOOTER *new = (YFOOTER *)xmalloc(sizeof(YFOOTER)); | ^ ../file.c:108:35: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | y->header->part = (int *)xmalloc(sizeof(int)); | ^ ../file.c:113:36: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | y->header->total = (int *)xmalloc(sizeof(int)); | ^ ../file.c:118:45: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | y->header->line = (unsigned long *)xmalloc(sizeof(unsigned long)); | ^ ../file.c:123:38: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | y->header->size = (size_t *)xmalloc(sizeof(size_t)); | ^ ../file.c:138:29: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | y->header->name = xstrdup(strtrim(namebuf+1)); | ^ ../file.c:141:29: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | y->header->name = xstrdup(namebuf); | ^ ../file.c:150:46: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | y->header->begin = (unsigned long *)xmalloc(sizeof(unsigned long)); | ^ ../file.c:157:44: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | y->header->end = (unsigned long *)xmalloc(sizeof(unsigned long)); | ^ ../file.c:189:44: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | y->part->begin = (unsigned long *)xmalloc(sizeof(unsigned long)); | ^ ../file.c:194:42: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | y->part->end = (unsigned long *)xmalloc(sizeof(unsigned long)); | ^ ../file.c:219:38: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | y->footer->size = (size_t *)xmalloc(sizeof(size_t)); | ^ ../file.c:224:35: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | y->footer->part = (int *)xmalloc(sizeof(int)); | ^ ../file.c:229:40: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | y->footer->crc32 = (crc32_t *)xmalloc(sizeof(crc32_t)); | ^ ../file.c:234:41: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | y->footer->pcrc32 = (crc32_t *)xmalloc(sizeof(crc32_t)); | ^ ../file.c:257:15: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | while (fgets(buf, sizeof(buf), fp)) | ^~~ /usr/include/stdio.h:257:30: note: passing argument to parameter here 257 | char *fgets(char * __restrict, int, FILE * __restrict); | ^ ../file.c:266:28: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 266 | ydecfile_add_yheader(y, buf, lineno, strict); | ^~~ ../file.c:95:41: note: passing argument to parameter 'line' here 95 | ydecfile_add_yheader(YDECFILE *y, char *line, unsigned long lineno, int strict) | ^ ../file.c:273:26: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 273 | ydecfile_add_ypart(y, buf, lineno, strict); | ^~~ ../file.c:176:39: note: passing argument to parameter 'line' here 176 | ydecfile_add_ypart(YDECFILE *y, char *line, unsigned long lineno, int strict) | ^ ../file.c:279:28: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 279 | ydecfile_add_yfooter(y, buf, lineno, strict); | ^~~ ../file.c:206:41: note: passing argument to parameter 'line' here 206 | ydecfile_add_yfooter(YDECFILE *y, char *line, unsigned long lineno, int strict) | ^ ../file.c:250:15: warning: variable 'got_begin' set but not used [-Wunused-but-set-variable] 250 | register int got_begin = 0; | ^ ../file.c:324:44: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | y->part->begin = (unsigned long *)xmalloc(sizeof(unsigned long)); | ^ ../file.c:331:42: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | y->part->end = (unsigned long *)xmalloc(sizeof(unsigned long)); | ^ ../file.c:338:42: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | y->part->end = (unsigned long *)xmalloc(sizeof(unsigned long)); | ^ ../file.c:387:25: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | y = (YDECFILE *)xmalloc(sizeof(YDECFILE)); | ^ ../file.c:389:29: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | y->input_filename = xstrdup(filename); | ^ ../file.c:390:38: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | y->input_st = (struct stat *)xmalloc(sizeof(struct stat)); | ^ ../file.c:406:37: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | YENCPART *new = (YENCPART *)xmalloc(sizeof(YENCPART)); | ^ ../file.c:422:26: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | ss = (seedstr) ? xstrdup(seedstr) : xstrdup(DEFAULT_SORT_FIRST_EXTENSIONS); | ^ ../file.c:422:45: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | ss = (seedstr) ? xstrdup(seedstr) : xstrdup(DEFAULT_SORT_FIRST_EXTENSIONS); | ^ ../file.c:429:33: warning: passing arguments to 'xrealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | sort_first = (char **)xrealloc(sort_first, (num_sort_first + 1) * sizeof(char *)); | ^ ../file.c:486:25: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | y = (YENCFILE *)xmalloc(sizeof(YENCFILE)); | ^ ../file.c:489:29: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | y->input_filename = xstrdup(input_filename); | ^ ../file.c:515:28: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | y->output_prefix = xstrdup(prefix); | ^ 40 warnings generated. --- nntp.o --- In file included from nntp.c:21: In file included from ./ypost.h:24: In file included from ../y.h:26: In file included from ../../lib/misc.h:64: ../../lib/getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from nntp.c:21: In file included from ./ypost.h:24: In file included from ../y.h:26: ../../lib/misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ../../lib/misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ../../lib/misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ../../lib/misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ nntp.c:59:35: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | outbuf = (unsigned char *)xmalloc(((len * 2) + 1) * sizeof(unsigned char)); | ^ nntp.c:79:38: warning: passing 'unsigned char *' 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] 79 | if (!(replynum = nntp_get_reply_num(reply))) | ^~~~~ nntp.c:31:32: note: passing argument to parameter 'reply' here 31 | nntp_get_reply_num(const char *reply) | ^ nntp.c:104:18: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 104 | len = vsnprintf(buf, sizeof(buf)-4, fmt, ap); | ^~~ /usr/include/stdio.h:299:33: note: passing argument to parameter here 299 | int vsnprintf(char * __restrict, size_t, const char * __restrict, | ^ nntp.c:125:18: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | len = vsnprintf(buf, sizeof(buf)-4, fmt, ap); | ^~~ /usr/include/stdio.h:299:33: note: passing argument to parameter here 299 | int vsnprintf(char * __restrict, size_t, const char * __restrict, | ^ 9 warnings generated. --- usenet.o --- In file included from usenet.c:22: In file included from ./ypost.h:24: In file included from ../y.h:26: In file included from ../../lib/misc.h:64: ../../lib/getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from usenet.c:22: In file included from ./ypost.h:24: In file included from ../y.h:26: ../../lib/misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ../../lib/misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ../../lib/misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ../../lib/misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ usenet.c:68:23: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | opt_sender = xstrdup(email); | ^ usenet.c:82:23: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | opt_sender = xstrdup(email); | ^ usenet.c:98:23: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | opt_sender = xstrdup(email); | ^ usenet.c:271:36: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 271 | sdprintf(&subj, "%u yEnc bytes", y->filesize); | ~~ ^~~~~~~~~~~ | %zu usenet.c:275:80: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 275 | sdprintf(&subj, "yEnc (%s/%d) %u bytes", pad_number(part, y->totalparts, 1), y->totalparts, y->filesize); | ~~ ^~~~~~~~~~~~~ | %zu usenet.c:275:95: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 275 | sdprintf(&subj, "yEnc (%s/%d) %u bytes", pad_number(part, y->totalparts, 1), y->totalparts, y->filesize); | ~~ ^~~~~~~~~~~ | %zu usenet.c:279:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 279 | format_subject(subj); | ^~~~ usenet.c:194:22: note: passing argument to parameter 'subject' here 194 | format_subject(char *subject) | ^ 12 warnings generated. --- ypost.o --- In file included from ypost.c:21: In file included from ./ypost.h:24: In file included from ../y.h:26: In file included from ../../lib/misc.h:64: ../../lib/getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from ypost.c:21: In file included from ./ypost.h:24: In file included from ../y.h:26: ../../lib/misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ../../lib/misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ../../lib/misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ../../lib/misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ ypost.c:206:26: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | opt_author = xstrdup(optarg); | ^ ypost.c:213:27: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | opt_comment = xstrdup(optarg); | ^ ypost.c:227:28: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | opt_newsgroup = xstrdup(optarg); | ^ ypost.c:250:29: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | opt_auth_pass = xstrdup(optarg); | ^ ypost.c:278:27: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | opt_subject = xstrdup(optarg); | ^ ypost.c:284:30: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | opt_nntp_server = xstrdup(optarg); | ^ ypost.c:292:28: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | opt_auth_user = xstrdup(optarg); | ^ ypost.c:310:39: warning: passing arguments to 'xrealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | input_files = (YENCFILE **)xrealloc(input_files, (num_input_files + 1) * sizeof(YENCFILE *)); | ^ ypost.c:382:24: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | opt_author = xstrdup(value); | ^ ypost.c:388:25: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | opt_comment = xstrdup(value); | ^ ypost.c:406:27: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | opt_newsgroup = xstrdup(value); | ^ ypost.c:442:27: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | opt_auth_pass = xstrdup(value); | ^ ypost.c:466:25: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | opt_subject = xstrdup(value); | ^ ypost.c:472:29: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | opt_nntp_server = xstrdup(value); | ^ ypost.c:484:27: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | opt_auth_user = xstrdup(value); | ^ ypost.c:490:28: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | opt_sort_first = xstrdup(value); | ^ ypost.c:557:34: warning: passing arguments to 'xrealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | y->part = (YENCPART **)xrealloc(y->part, (y->totalparts) * sizeof(YENCPART *)); | ^ ypost.c:586:38: warning: passing arguments to 'xrealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | y->part = (YENCPART **)xrealloc(y->part, (y->totalparts) * sizeof(YENCPART *)); | ^ ypost.c:628:39: warning: passing arguments to 'xrealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | y->part = (YENCPART **)xrealloc(y->part, (y->totalparts) * sizeof(YENCPART *)); | ^ ypost.c:684:26: warning: passing 'unsigned char *' 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] 684 | y->filesize = strlen(y->support_data); | ^~~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ypost.c:690:26: warning: passing 'unsigned char *' 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] 690 | y->filesize = strlen(y->support_data); | ^~~~~~~~~~~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ypost.c:737:27: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 736 | printf(" part %03d: begin=%lu end=%lu size=%u\n", part + 1, y->part[part]->begin, | ~~ | %zu 737 | y->part[part]->end, y->part[part]->size); | ^~~~~~~~~~~~~~~~~~~ ypost.c:813:30: warning: passing 'unsigned char *' 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] 813 | sock_write(headers, strlen(headers)); /* Output headers */ | ^~~~~~~ ./sock.h:34:61: note: expanded from macro 'sock_write' 34 | #define sock_write(b,c) sock_write_fd(_SOCK_CURRENT_FD, b, c) | ^ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ypost.c:822:25: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 821 | sock_printf("=ybegin line=%d size=%u name=%s\n", | ~~ | %zu 822 | opt_line_length, y->filesize, STRIP_PATH(y->input_filename)); | ^~~~~~~~~~~ ypost.c:825:22: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 824 | sock_printf("=ybegin part=%d total=%d line=%d size=%u name=%s\n", | ~~ | %zu 825 | part_current, y->totalparts, opt_line_length, y->filesize, STRIP_PATH(y->input_filename)); | ^~~~~~~~~~~~~ ypost.c:825:54: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 824 | sock_printf("=ybegin part=%d total=%d line=%d size=%u name=%s\n", | ~~ | %zu 825 | part_current, y->totalparts, opt_line_length, y->filesize, STRIP_PATH(y->input_filename)); | ^~~~~~~~~~~ ypost.c:927:46: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 927 | sock_printf("=yend size=%u crc32=%08X\n", y->filesize, y->crc); | ~~ ^~~~~~~~~~~ | %zu ypost.c:931:67: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 931 | sock_printf("=yend size=%u part=%d pcrc32=%08X crc32=%08X\n", y->part[part_current-1]->size, part_current, pcrc, y->crc); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %zu ypost.c:933:56: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 933 | sock_printf("=yend size=%u part=%d pcrc32=%08X\n", y->part[part_current-1]->size, part_current, pcrc); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %zu ypost.c:941:13: warning: passing 'char[2]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 941 | sock_puts("."); /* Do this even if opt_stdout, as a separator there */ | ^~~ ./sock.h:35:55: note: expanded from macro 'sock_puts' 35 | #define sock_puts(d) sock_puts_fd(_SOCK_CURRENT_FD, d) | ^ ./sock.h:56:55: note: passing argument to parameter 'data' here 56 | extern void sock_puts_fd(int fd, const unsigned char *data); | ^ ypost.c:946:34: warning: passing 'unsigned char *' 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] 946 | replynum = nntp_get_reply_num(reply); | ^~~~~ ./nntp.h:45:50: note: passing argument to parameter 'reply' here 45 | extern inline int nntp_get_reply_num(const char *reply); | ^ ypost.c:948:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 948 | Verbose("* %s", strtrim(reply)); | ^~~~~ ../../lib/misc.h:289:96: note: expanded from macro 'Verbose' 289 | #define Verbose(fmt, args...) _err_out(err_type_verbose, 0, 0, 0, __FILE__, __LINE__, fmt, ## args) | ^~~~ ../../lib/misc.h:318:28: note: passing argument to parameter 'str' here 318 | extern char *strtrim(char *str); | ^ ypost.c:950:39: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 950 | Verbose("* %s (%.2fk/s)", strtrim(reply), | ^~~~~ ../../lib/misc.h:289:96: note: expanded from macro 'Verbose' 289 | #define Verbose(fmt, args...) _err_out(err_type_verbose, 0, 0, 0, __FILE__, __LINE__, fmt, ## args) | ^~~~ ../../lib/misc.h:318:28: note: passing argument to parameter 'str' here 318 | extern char *strtrim(char *str); | ^ ypost.c:756:34: warning: variable 'total_lines' set but not used [-Wunused-but-set-variable] 756 | register int ct, linect, lines, total_lines; | ^ ypost.c:1088:38: warning: passing arguments to 'xrealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | input_files = (YENCFILE **)xrealloc(input_files, (num_input_files + 1) * sizeof(YENCFILE *)); | ^ In file included from ypost.c:21: In file included from ./ypost.h:24: In file included from ../y.h:26: ../../lib/misc.h:338:20: warning: inline function 'charline' is not defined [-Wundefined-inline] 338 | extern inline void charline(char c); | ^ ypost.c:720:3: note: used here 720 | charline('-'); | ^ In file included from ypost.c:21: In file included from ./ypost.h:49: ./nntp.h:45:19: warning: inline function 'nntp_get_reply_num' is not defined [-Wundefined-inline] 45 | extern inline int nntp_get_reply_num(const char *reply); | ^ ypost.c:946:15: note: used here 946 | replynum = nntp_get_reply_num(reply); | ^ 42 warnings generated. --- ypost --- cc -Wall -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -L/usr/local/lib -o ypost crc.o file.o meter.o nntp.o output.o prompt.o sock.o support.o usenet.o ypost.o ../../lib/libmisc.a -lintl --- yencode.o --- --- crc.o --- --- file.o --- --- output.o --- --- support.o --- --- ydecode.o --- --- yencode.o --- source='yencode.c' object='yencode.o' libtool=no depfile='.deps/yencode.Po' tmpdepfile='.deps/yencode.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSTYPE=\"amd64-portbld-freebsd14.4\" -I. -I. -I.. -I../lib -I../intl -I/usr/local/include -Wall -Wno-unused -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f yencode.c || echo './'`yencode.c --- crc.o --- source='crc.c' object='crc.o' libtool=no depfile='.deps/crc.Po' tmpdepfile='.deps/crc.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSTYPE=\"amd64-portbld-freebsd14.4\" -I. -I. -I.. -I../lib -I../intl -I/usr/local/include -Wall -Wno-unused -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f crc.c || echo './'`crc.c --- file.o --- source='file.c' object='file.o' libtool=no depfile='.deps/file.Po' tmpdepfile='.deps/file.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSTYPE=\"amd64-portbld-freebsd14.4\" -I. -I. -I.. -I../lib -I../intl -I/usr/local/include -Wall -Wno-unused -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f file.c || echo './'`file.c --- output.o --- source='output.c' object='output.o' libtool=no depfile='.deps/output.Po' tmpdepfile='.deps/output.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSTYPE=\"amd64-portbld-freebsd14.4\" -I. -I. -I.. -I../lib -I../intl -I/usr/local/include -Wall -Wno-unused -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f output.c || echo './'`output.c --- ydecode.o --- source='ydecode.c' object='ydecode.o' libtool=no depfile='.deps/ydecode.Po' tmpdepfile='.deps/ydecode.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSTYPE=\"amd64-portbld-freebsd14.4\" -I. -I. -I.. -I../lib -I../intl -I/usr/local/include -Wall -Wno-unused -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f ydecode.c || echo './'`ydecode.c --- support.o --- source='support.c' object='support.o' libtool=no depfile='.deps/support.Po' tmpdepfile='.deps/support.TPo' depmode=gcc3 /bin/sh ../depcomp cc -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSTYPE=\"amd64-portbld-freebsd14.4\" -I. -I. -I.. -I../lib -I../intl -I/usr/local/include -Wall -Wno-unused -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c `test -f support.c || echo './'`support.c --- output.o --- In file included from output.c:21: In file included from ./y.h:26: In file included from ../lib/misc.h:64: ../lib/getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from output.c:21: In file included from ./y.h:26: ../lib/misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ../lib/misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ../lib/misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ../lib/misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ 5 warnings generated. --- crc.o --- In file included from crc.c:21: In file included from ./y.h:26: In file included from ../lib/misc.h:64: ../lib/getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from crc.c:21: In file included from ./y.h:26: ../lib/misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ../lib/misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ../lib/misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ../lib/misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ 5 warnings generated. --- support.o --- In file included from support.c:21: In file included from ./y.h:26: In file included from ../lib/misc.h:64: ../lib/getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from support.c:21: In file included from ./y.h:26: ../lib/misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ../lib/misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ../lib/misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ../lib/misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ support.c:41:71: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 41 | fprintf(out, "=ybegin line=%d size=%u name=%s\r\n", opt_line_length, buflen, filename); | ~~ ^~~~~~ | %zu support.c:69:47: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 69 | fprintf(out, "=yend size=%u crc32=%08x\r\n", buflen, crc); | ~~ ^~~~~~ | %zu support.c:157:52: warning: passing 'unsigned char *' 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] 157 | yencode_and_write_buffer(fp, outbase, buf, strlen(buf)); | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ support.c:205:52: warning: passing 'unsigned char *' 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] 205 | yencode_and_write_buffer(fp, outbase, buf, strlen(buf)); | ^~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ 9 warnings generated. --- yencode.o --- In file included from yencode.c:21: In file included from ./y.h:26: In file included from ../lib/misc.h:64: ../lib/getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from yencode.c:21: In file included from ./y.h:26: ../lib/misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ../lib/misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ../lib/misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ../lib/misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ yencode.c:198:39: warning: passing arguments to 'xrealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | input_files = (YENCFILE **)xrealloc(input_files, (num_input_files + 1) * sizeof(YENCFILE *)); | ^ yencode.c:374:43: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 373 | headers = fprintf(out, "=ybegin part=%d total=%d line=%d size=%u name=%s\r\n", | ~~ | %zu 374 | part, totalparts, opt_line_length, insize, STRIP_PATH(f->input_filename)); | ^~~~~~ yencode.c:390:29: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 389 | headers = fprintf(out, "=ybegin line=%d size=%u name=%s\r\n", | ~~ | %zu 390 | opt_line_length, insize, STRIP_PATH(f->input_filename)); | ^~~~~~ yencode.c:404:31: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 403 | headers += fprintf(out, "=yend part=%d total=%d size=%u pcrc32=%08X", | ~~ | %zu 404 | part, totalparts, decpart, pcrc32); | ^~~~~~~ yencode.c:409:60: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 409 | headers += fprintf(out, "=yend size=%u crc32=%08X\r\n", insize, crc32); | ~~ ^~~~~~ | %zu 10 warnings generated. --- file.o --- In file included from file.c:21: In file included from ./y.h:26: In file included from ../lib/misc.h:64: ../lib/getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from file.c:21: In file included from ./y.h:26: ../lib/misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ../lib/misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ../lib/misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ../lib/misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ file.c:57:35: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | YHEADER *new = (YHEADER *)xmalloc(sizeof(YHEADER)); | ^ file.c:70:31: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | YPART *new = (YPART *)xmalloc(sizeof(YPART)); | ^ file.c:83:35: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | YFOOTER *new = (YFOOTER *)xmalloc(sizeof(YFOOTER)); | ^ file.c:108:35: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | y->header->part = (int *)xmalloc(sizeof(int)); | ^ file.c:113:36: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | y->header->total = (int *)xmalloc(sizeof(int)); | ^ file.c:118:45: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | y->header->line = (unsigned long *)xmalloc(sizeof(unsigned long)); | ^ file.c:123:38: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | y->header->size = (size_t *)xmalloc(sizeof(size_t)); | ^ file.c:138:29: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | y->header->name = xstrdup(strtrim(namebuf+1)); | ^ file.c:141:29: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | y->header->name = xstrdup(namebuf); | ^ file.c:150:46: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | y->header->begin = (unsigned long *)xmalloc(sizeof(unsigned long)); | ^ file.c:157:44: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | y->header->end = (unsigned long *)xmalloc(sizeof(unsigned long)); | ^ file.c:189:44: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | y->part->begin = (unsigned long *)xmalloc(sizeof(unsigned long)); | ^ file.c:194:42: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | y->part->end = (unsigned long *)xmalloc(sizeof(unsigned long)); | ^ file.c:219:38: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | y->footer->size = (size_t *)xmalloc(sizeof(size_t)); | ^ file.c:224:35: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | y->footer->part = (int *)xmalloc(sizeof(int)); | ^ file.c:229:40: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | y->footer->crc32 = (crc32_t *)xmalloc(sizeof(crc32_t)); | ^ file.c:234:41: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | y->footer->pcrc32 = (crc32_t *)xmalloc(sizeof(crc32_t)); | ^ file.c:257:15: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | while (fgets(buf, sizeof(buf), fp)) | ^~~ /usr/include/stdio.h:257:30: note: passing argument to parameter here 257 | char *fgets(char * __restrict, int, FILE * __restrict); | ^ file.c:266:28: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 266 | ydecfile_add_yheader(y, buf, lineno, strict); | ^~~ file.c:95:41: note: passing argument to parameter 'line' here 95 | ydecfile_add_yheader(YDECFILE *y, char *line, unsigned long lineno, int strict) | ^ file.c:273:26: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 273 | ydecfile_add_ypart(y, buf, lineno, strict); | ^~~ file.c:176:39: note: passing argument to parameter 'line' here 176 | ydecfile_add_ypart(YDECFILE *y, char *line, unsigned long lineno, int strict) | ^ file.c:279:28: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 279 | ydecfile_add_yfooter(y, buf, lineno, strict); | ^~~ file.c:206:41: note: passing argument to parameter 'line' here 206 | ydecfile_add_yfooter(YDECFILE *y, char *line, unsigned long lineno, int strict) | ^ file.c:324:44: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | y->part->begin = (unsigned long *)xmalloc(sizeof(unsigned long)); | ^ file.c:331:42: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | y->part->end = (unsigned long *)xmalloc(sizeof(unsigned long)); | ^ file.c:338:42: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | y->part->end = (unsigned long *)xmalloc(sizeof(unsigned long)); | ^ file.c:387:25: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | y = (YDECFILE *)xmalloc(sizeof(YDECFILE)); | ^ file.c:389:29: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | y->input_filename = xstrdup(filename); | ^ file.c:390:38: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | y->input_st = (struct stat *)xmalloc(sizeof(struct stat)); | ^ file.c:406:37: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | YENCPART *new = (YENCPART *)xmalloc(sizeof(YENCPART)); | ^ file.c:422:26: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | ss = (seedstr) ? xstrdup(seedstr) : xstrdup(DEFAULT_SORT_FIRST_EXTENSIONS); | ^ file.c:422:45: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | ss = (seedstr) ? xstrdup(seedstr) : xstrdup(DEFAULT_SORT_FIRST_EXTENSIONS); | ^ file.c:429:33: warning: passing arguments to 'xrealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | sort_first = (char **)xrealloc(sort_first, (num_sort_first + 1) * sizeof(char *)); | ^ file.c:486:25: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | y = (YENCFILE *)xmalloc(sizeof(YENCFILE)); | ^ file.c:489:29: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | y->input_filename = xstrdup(input_filename); | ^ file.c:515:28: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | y->output_prefix = xstrdup(prefix); | ^ 39 warnings generated. --- yencode --- cc -Wall -Wno-unused -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -L/usr/local/lib -o yencode yencode.o crc.o file.o output.o support.o ../lib/libmisc.a -lintl --- ydecode.o --- In file included from ydecode.c:21: In file included from ./y.h:26: In file included from ../lib/misc.h:64: ../lib/getopt.h:104:12: 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] 104 | extern int getopt (); | ^ /usr/include/unistd.h:378:6: note: conflicting prototype is here 378 | int getopt(int, char * const [], const char *); | ^ In file included from ydecode.c:21: In file included from ./y.h:26: ../lib/misc.h:95: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 previous declaration [-Wdeprecated-non-prototype] 95 | extern char *strerror (); | ^ ../lib/misc.h:99:12: 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] 99 | extern int strcasecmp (); | ^ ../lib/misc.h:103:12: 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] 103 | extern int strncasecmp (); | ^ ../lib/misc.h:107:12: 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] 107 | extern int strcoll (); | ^ /usr/include/string.h:86:6: note: conflicting prototype is here 86 | int strcoll(const char *, const char *); | ^ ydecode.c:109:27: warning: passing arguments to 'xrealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | dirs = (char **)xrealloc(dirs, (num_dirs + 1) * sizeof(char *)); | ^ ydecode.c:126:33: warning: passing arguments to 'xrealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | yfiles = (YDECFILE **)xrealloc(yfiles, (num_yfiles + 1) * sizeof(YDECFILE *)); | ^ ydecode.c:299:35: warning: passing arguments to 'xrealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | yfiles = (YDECFILE **)xrealloc(yfiles, (num_yfiles + 1) * sizeof(YDECFILE *)); | ^ ydecode.c:403:30: warning: passing arguments to 'xstrdup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | y->output_filename = xstrdup(outfile); | ^ ydecode.c:438:15: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 438 | while (fgets(inbuf, sizeof(inbuf), in)) | ^~~~~ /usr/include/stdio.h:257:30: note: passing argument to parameter here 257 | char *fgets(char * __restrict, int, FILE * __restrict); | ^ ydecode.c:576:47: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 576 | snprintf(errmsg, sizeof(errmsg), "size-%u", decodedsize); | ~~ ^~~~~~~~~~~ | %zu ydecode.c:817:49: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 817 | snprintf(errmsg, sizeof(errmsg), "psize-%u", decpart); | ~~ ^~~~~~~ | %zu ydecode.c:850:47: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 850 | snprintf(errmsg, sizeof(errmsg), "size-%u", decodedsize); | ~~ ^~~~~~~~~~~ | %zu 13 warnings generated. --- ydecode --- cc -Wall -Wno-unused -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -L/usr/local/lib -o ydecode ydecode.o crc.o file.o output.o ../lib/libmisc.a -lintl --- ./config.h.in --- --- config.h --- =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for yencode-0.46_8 ===> Generating temporary packing list Making install in intl if test "yencode" = "gettext" && test '' = 'intl-compat.o'; then /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/lib /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/include; install -m 0644 libintl.h /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/include/libintl.h; @LIBTOOL@ --mode=install install -m 0644 libintl.a /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/lib/libintl.a; else : ; fi if test 'no' = yes; then /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/lib; temp=/wrkdirs/usr/ports/news/yencode/work/stage/usr/local/lib/t-charset.alias; dest=/wrkdirs/usr/ports/news/yencode/work/stage/usr/local/lib/charset.alias; if test -f /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/lib/charset.alias; then orig=/wrkdirs/usr/ports/news/yencode/work/stage/usr/local/lib/charset.alias; sed -f ref-add.sed $orig > $temp; install -m 0644 $temp $dest; rm -f $temp; else if test no = no; then orig=charset.alias; sed -f ref-add.sed $orig > $temp; install -m 0644 $temp $dest; rm -f $temp; fi; fi; /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/locale; test -f /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/locale/locale.alias && orig=/wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/locale/locale.alias || orig=./locale.alias; temp=/wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/locale/t-locale.alias; dest=/wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/locale/locale.alias; sed -f ref-add.sed $orig > $temp; install -m 0644 $temp $dest; rm -f $temp; else : ; fi if test "yencode" = "gettext"; then /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/gettext/intl; install -m 0644 VERSION /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/gettext/intl/VERSION; install -m 0644 ChangeLog.inst /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/gettext/intl/ChangeLog; dists="COPYING.LIB-2 COPYING.LIB-2.1 Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gettext.h gettextP.h hash-string.h libgnuintl.h libgettext.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y localcharset.c intl-compat.c"; for file in $dists; do install -m 0644 ./$file /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/gettext/intl/$file; done; chmod a+x /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/gettext/intl/config.charset; dists="plural.c"; for file in $dists; do if test -f $file; then dir=.; else dir=.; fi; install -m 0644 $dir/$file /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/gettext/intl/$file; done; dists="xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c"; for file in $dists; do rm -f /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/gettext/intl/$file; done; else : ; fi Making install in po /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share if test "yencode" = "gettext"; then /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/gettext/po; install -m 0644 ./Makefile.in.in /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/gettext/po/Makefile.in.in; else : ; fi Making install in lib Making install in doc /bin/sh ../mkinstalldirs /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/man/man1 install -m 0644 ./yencode.1 /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/man/man1/yencode.1 install -m 0644 ./ydecode.1 /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/man/man1/ydecode.1 install -m 0644 ./ypost.1 /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/man/man1/ypost.1 /bin/sh ../mkinstalldirs /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/man/man5 install -m 0644 ./ypostrc.5 /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/share/man/man5/ypostrc.5 Making install in src Making install in ypost /bin/sh ../../mkinstalldirs /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/bin install -s -m 555 ypost /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/bin/ypost /bin/sh ../mkinstalldirs /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/bin install -s -m 555 yencode /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/bin/yencode install -s -m 555 ydecode /wrkdirs/usr/ports/news/yencode/work/stage/usr/local/bin/ydecode --- PROGRAMS INSTALLED ----------------------------- /usr/local/bin/yencode A program to create yEnc encoded files. /usr/local/bin/ydecode A program to decode yEnc encoded files. /usr/local/bin/ypost A program to encode and post files via Usenet. --- DOCUMENTATION INSTALLED ------------------------ /usr/local/share/man/yencode.1 Manual page for the `yencode' program. /usr/local/share/man/ydecode.1 Manual page for the `ydecode' program. /usr/local/share/man/ypost.1 Manual page for the `ypost' program. /usr/local/share/man/ypostrc.5 Manual page describing the `~/.ypostrc' format. ====> 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-03-13T08:27:31+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=af784c932c76' '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 yencode-0.46_8 ===> Building yencode-0.46_8 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for yencode-0.46_8 build of news/yencode | yencode-0.46_8 ended at Fri Mar 13 04:27:54 EDT 2026 build time: 00:00:25