=>> Building textproc/agrep build started at Tue Jan 20 13:29:54 EST 2026 port directory: /usr/ports/textproc/agrep package name: agrep-3.41.5 building for: FreeBSD pkg.DaveG.ca 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 1403000 amd64 maintained by: dinoex@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 760 Aug 27 2024 /usr/ports/textproc/agrep/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: 38968fa4ef4f Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1403000 Job Id: 12 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1403000 UNAME_v=FreeBSD 14.3-RELEASE-p7 1403000 UNAME_r=14.3-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_3_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_3_x64-HEAD-ALL/12/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_3_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_3_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--- ===> The following configuration options are available for agrep-3.41.5: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- dinoex@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/agrep/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/agrep/work XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/agrep/work/.cache HOME=/wrkdirs/usr/ports/textproc/agrep/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/textproc/agrep/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/agrep/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/agrep/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/agrep/work XDG_CACHE_HOME=/wrkdirs/usr/ports/textproc/agrep/work/.cache HOME=/wrkdirs/usr/ports/textproc/agrep/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/textproc/agrep/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/agrep/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " 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-- PORTDOCS="" OSREL=14.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/agrep" EXAMPLESDIR="share/examples/agrep" DATADIR="share/agrep" WWWDIR="www/agrep" ETCDIR="etc/agrep" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/agrep DOCSDIR=/usr/local/share/doc/agrep EXAMPLESDIR=/usr/local/share/examples/agrep WWWDIR=/usr/local/www/agrep ETCDIR=/usr/local/etc/agrep --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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> agrep-3.41.5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> agrep-3.41.5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of agrep-3.41.5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by agrep-3.41.5 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by agrep-3.41.5 for building => SHA256 Checksum OK for Wikinaut-agrep-3.41.5-7b7f350_GH0.tar.gz. => SHA256 Checksum OK for agrep-patch-ansi1. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by agrep-3.41.5 for building ===> Extracting for agrep-3.41.5 => SHA256 Checksum OK for Wikinaut-agrep-3.41.5-7b7f350_GH0.tar.gz. => SHA256 Checksum OK for agrep-patch-ansi1. /bin/rm -f -v /wrkdirs/usr/ports/textproc/agrep/work/agrep-7b7f350/*.orig /wrkdirs/usr/ports/textproc/agrep/work/agrep-7b7f350/bitap.c.orig /wrkdirs/usr/ports/textproc/agrep/work/agrep-7b7f350/io.c.orig =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for agrep-3.41.5 ===> Applying distribution patches for agrep-3.41.5 ===> Applying FreeBSD patches for agrep-3.41.5 from /usr/ports/textproc/agrep/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> agrep-3.41.5 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done ===> agrep-3.41.5 depends on package: gmake>=4.4.1 - found ===> Returning to build of agrep-3.41.5 ===> agrep-3.41.5 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. ===> agrep-3.41.5 depends on file: /usr/local/bin/ccache - found ===> Returning to build of agrep-3.41.5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for agrep-3.41.5 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for agrep-3.41.5 cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o follow.o follow.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o asearch.o asearch.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o asearch1.o asearch1.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o agrep.o agrep.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o bitap.o bitap.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o checkfil.o checkfil.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o compat.o compat.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o dummyfil.o dummyfil.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o main.o main.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o maskgen.o maskgen.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o parse.o parse.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o checksg.o checksg.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o preproce.o preproce.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o delim.o delim.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o asplit.o asplit.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o recursiv.o recursiv.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o sgrep.o sgrep.c dummyfil.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | forward_tcompressed_word(begin, end, delim, len, outtail, flags) | ^ dummyfil.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | backward_tcompressed_word(end, begin, delim, len, outtail, flags) | ^ 2 warnings generated. main.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | main(argc, argv) | ^ 1 warning generated. cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o newmgrep.o newmgrep.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o utilitie.o utilitie.c checkfil.c:47:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | int check_file(fname) | ^ 1 warning generated. follow.c:29:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | char *extend_re(s) | ^ follow.c:38:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | void free_pos(fpos, pos_cnt) | ^ follow.c:58:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | void free_cset(cset) | ^ follow.c:72:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | void free_re(e) | ^ follow.c:144:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | void mk_followpos_1(e, fpos) | ^ follow.c:188:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | Pset_array mk_followpos(tree, npos) | ^ follow.c:210:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | int init(s, table) | ^ 7 warnings generated. cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o codepage.o codepage.c cc -O2 -pipe -Wno-pointer-sign -fstack-protector-strong -fno-strict-aliasing -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -c -DHAVE_DIRENT_H=1 -DHAVE_SYS_DIR_H=0 -DHAVE_SYS_NDIR_H=0 -DHAVE_NDIR_H=0 -DUTIME=1 -DISO_CHAR_SET=1 -DS_IFLNK=-1 -Dlstat=stat -O3 -c -o agrephlp.o agrephlp.c preproce.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | preprocess(D_pattern, Pattern) /* need two parameters */ | ^ 1 warning generated. checksg.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | checksg(Pattern, D, set) | ^ 1 warning generated. recursiv.c:119:11: warning: passing arguments to 'treewalk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | treewalk(name_buf); | ^ recursiv.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | recursive(argc, argv) | ^ recursiv.c:164:15: 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] 164 | extern void *malloc(); | ^ recursiv.c:194:17: warning: passing arguments to 'directory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | directory(name); | ^ recursiv.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | treewalk(name) | ^ recursiv.c:101: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] 101 | static void treewalk(); | ^ recursiv.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | directory(name) | ^ recursiv.c:100:6: 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] 100 | void directory(); | ^ 8 warnings generated. delim.c:8:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | preprocess_delimiter(src, srclen, dest, pdestlen) | ^ delim.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | exists_delimiter(begin, end, delim, len) | ^ delim.c:39:56: warning: passing arguments to 'exists_tcompressed_word' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | if (TCOMPRESSED == ON) return (exists_tcompressed_word(delim, len, begin, end - begin, EASYSEARCH)); | ^ delim.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | forward_delimiter(begin, end, delim, len, outtail) | ^ delim.c:63:56: warning: passing arguments to 'forward_tcompressed_word' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if (TCOMPRESSED == ON) return forward_tcompressed_word(begin, end, delim, len, outtail, EASYSEARCH); | ^ delim.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | backward_delimiter(end, begin, delim, len, outtail) | ^ delim.c:88:57: warning: passing arguments to 'backward_tcompressed_word' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | if (TCOMPRESSED == ON) return backward_tcompressed_word(end, begin, delim, len, outtail, EASYSEARCH); | ^ 7 warnings generated. bitap.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | bitap(old_D_pat, Pattern, fd, M, D) | ^ bitap.c:455:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | int fill_buf(fd, buf, record_size) | ^ bitap.c:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | alloc_buf(fd, buf, size) | ^ bitap.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | free_buf(fd, buf) | ^ 4 warnings generated. maskgen.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | maskgen(Pattern, D) | ^ 1 warning generated. parse.c:52:2: 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] 52 | new_node(Re_Lit, l, l); | ^ ./re.h:75:15: note: expanded from macro 'new_node' 75 | extern void *malloc();\ | ^ parse.c:53:2: 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] 53 | new_node(Re_node, node, node); | ^ ./re.h:75:15: note: expanded from macro 'new_node' 75 | extern void *malloc();\ | ^ parse.c:66:29: warning: passing arguments to 'create_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | Firstpos(node) = create_pos(lit_pos(l)); | ^ parse.c:44:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | Re_node mk_leaf(opval, type, ch, cset) | ^ parse.c:83:2: 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] 83 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^ ./re.h:75:15: note: expanded from macro 'new_node' 75 | extern void *malloc();\ | ^ parse.c:86:3: 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] 86 | new_node(Ch_Range, range, range); | ^ ./re.h:75:15: note: expanded from macro 'new_node' 75 | extern void *malloc();\ | ^ parse.c:111:3: 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] 111 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^ ./re.h:75:15: note: expanded from macro 'new_node' 75 | extern void *malloc();\ | ^ parse.c:75:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | Re_node parse_cset(s) | ^ parse.c:135:2: 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] 135 | new_node(Ch_Range, r, r); | ^ ./re.h:75:15: note: expanded from macro 'new_node' 75 | extern void *malloc();\ | ^ parse.c:138:2: 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] 138 | new_node(Ch_Set, s, s); | ^ ./re.h:75:15: note: expanded from macro 'new_node' 75 | extern void *malloc();\ | ^ parse.c:148:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | Re_node parse_chlit(ch) | ^ parse.c:162:10: warning: passing arguments to 'free_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | free_re(tok_val(next_token)); | ^ parse.c:156:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | void free_tok(next_token) | ^ parse.c:188:2: 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] 188 | new_node(Tok_node, rn, rn); | ^ ./re.h:75:15: note: expanded from macro 'new_node' 75 | extern void *malloc();\ | ^ parse.c:182:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | Tok_node get_token(s) | ^ parse.c:252:2: 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] 252 | new_node(Re_node, r, r); | ^ ./re.h:75:15: note: expanded from macro 'new_node' 75 | extern void *malloc();\ | ^ parse.c:258:10: warning: passing arguments to 'free_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | free_re(Rchild(r)); | ^ parse.c:259:10: warning: passing arguments to 'free_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | free_re(Lchild(r)); | ^ parse.c:245:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | Stack cat2(stk) | ^ parse.c:284:2: 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] 284 | new_node(Re_node, r, r); | ^ ./re.h:75:15: note: expanded from macro 'new_node' 75 | extern void *malloc();\ | ^ parse.c:289:10: warning: passing arguments to 'free_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | free_re(Child(r)); | ^ parse.c:277:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | Stack wrap(s, opv) | ^ parse.c:310:2: 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] 310 | new_node(Re_node, node, node); | ^ ./re.h:75:15: note: expanded from macro 'new_node' 75 | extern void *malloc();\ | ^ parse.c:303:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | Stack mk_alt(s, r) | ^ parse.c:326:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | Re_node parse_re(s, end) | ^ parse.c:435:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | Re_node parse(s) | ^ 26 warnings generated. In file included from asplit.c:4: ./putils.c:6:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | is_complex_boolean(buffer, len) | ^ ./putils.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | get_token_bool(buffer, len, ptr, tokenbuf, tokenlen) | ^ ./putils.c:69:15: warning: parameter 'level' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 69 | print_tree(t, level) | ^ 70 | ParseTree *t; 71 | { ./putils.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | print_tree(t, level) | ^ ./putils.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | destroy_tree(t) | ^ asplit.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | aparse_flat(begin, end, prev, next) | ^ asplit.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | asplit_pattern_flat(APattern, AM, terminals, pnum_terminals, pAParse) | ^ asplit.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | aparse_tree(buffer, len, bufptr, terminals, pnum_terminals) | ^ asplit.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | asplit_pattern(APattern, AM, terminals, pnum_terminals, pAParse) | ^ asplit.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | eval_tree(tree, matched_terminals) | ^ asplit.c:384:22: warning: passing arguments to 'checksg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | if ((type = checksg(aterminals[first].data.leaf.value, D, 0)) == -1) return -1; | ^ asplit.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | asplit_terminal(first, last, pat_buf, pat_ptr) | ^ 12 warnings generated. codepage.c:50:26: warning: parameter 'VOID' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | int get_current_codepage(VOID) | ^ codepage.c:50:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | int get_current_codepage(VOID) | ^ 2 warnings generated. utilitie.c:28:2: 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] 28 | new_node(Stack, node, node); | ^ ./re.h:75:15: note: expanded from macro 'new_node' 75 | extern void *malloc();\ | ^ utilitie.c:22:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | Stack Push(s, v) | ^ utilitie.c:38:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | Re_node Pop(s) | ^ utilitie.c:54:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | Re_node Top(s) | ^ utilitie.c:61:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | int Size(s) | ^ utilitie.c:74:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | int occurs_in(n, p) | ^ utilitie.c:95:4: 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 | new_node(Pset, new, new); | ^ ./re.h:75:15: note: expanded from macro 'new_node' 75 | extern void *malloc();\ | ^ utilitie.c:86:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | Pset pset_union(s1, s2) | ^ utilitie.c:117:2: 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] 117 | new_node(Pset, x, x); | ^ ./re.h:75:15: note: expanded from macro 'new_node' 75 | extern void *malloc();\ | ^ utilitie.c:112:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | Pset create_pos(n) | ^ utilitie.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | subset_pset(s1, s2) | ^ utilitie.c:142:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | int eq_pset(s1, s2) | ^ utilitie.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | word_exists(word, wordlen, line, linelen) | ^ 13 warnings generated. asearch1.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | asearch1(old_D_pat, Text, D) | ^ 1 warning generated. asearch.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | asearch(old_D_pat, text, D) | ^ asearch.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | asearch0(old_D_pat, text, D) | ^ 2 warnings generated. newmgrep.c:360:34: warning: passing arguments to 'f_prep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | for(i=1; i<=num_pat; i++) f_prep(i, patt[i]); | ^ newmgrep.c:363:35: warning: passing arguments to 'f_prep1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | for(i=1; i<=num_pat; i++) f_prep1(i, patt[i]); | ^ newmgrep.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | prepf(mfp, mbuf, mlen) | ^ newmgrep.c:485:47: warning: passing arguments to 'tuncompressible' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | if ((TCOMPRESSED == ON) && tuncompressible(text+MAXLINE, num_read)) { | ^ newmgrep.c:624:47: warning: passing arguments to 'tuncompressible' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | if ((TCOMPRESSED == ON) && tuncompressible(text+MAXLINE, num_read)) { | ^ newmgrep.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | mgrep(fd) | ^ newmgrep.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | countline(text, len) | ^ newmgrep.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | print_options(pat_index, text, curtextbegin, curtextend) | ^ newmgrep.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | monkey1( text, start, end ) | ^ newmgrep.c:1299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1299 | m_short(text, start, end) | ^ newmgrep.c:1724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1724 | f_prep(pat_index, Pattern) | ^ newmgrep.c:148: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] 148 | static void f_prep(); | ^ newmgrep.c:1782:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1782 | f_prep1(pat_index, Pattern) | ^ newmgrep.c:149: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] 149 | static void f_prep1(); | ^ 14 warnings generated. sgrep.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | mystrchr(s, c) | ^ sgrep.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | char_tr(pat, m) | ^ sgrep.c:262:32: warning: parameter 'samepattern' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 262 | int sgrep(in_pat, in_m, fd, D, samepattern) | ^ 263 | 264 | CHARTYPE *in_pat; 265 | int fd, in_m, D; 266 | { sgrep.c:341:47: warning: passing arguments to 'tuncompressible' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | if ((TCOMPRESSED == ON) && tuncompressible(text+offset, num_read)) { | ^ sgrep.c:351:49: warning: passing arguments to 'quick_tcompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | if (samepattern || ((newm = quick_tcompress(FREQ_FILE, HASH_FILE, pat, m, newpat, MAXLINE-8, EASYSEARCH)) > 0)) { | ^ sgrep.c:564:45: warning: passing arguments to 'tuncompressible' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | if ((TCOMPRESSED == ON) && tuncompressible(text+1, num_read)) { | ^ sgrep.c:574:47: warning: passing arguments to 'quick_tcompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | if (samepattern || ((newm = quick_tcompress(FREQ_FILE, HASH_FILE, pat, m, newpat, MAXLINE-8, EASYSEARCH)) > 0)) { | ^ sgrep.c:262:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | int sgrep(in_pat, in_m, fd, D, samepattern) | ^ sgrep.c:694:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | int bm(pat, m, text, textend, oldpat, oldm) | ^ sgrep.c:802:38: warning: passing arguments to 'exists_tcompressed_word' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | if (-1 == exists_tcompressed_word(pat, m, curtextbegin, text - curtextbegin + m, EASYSEARCH)) { | ^ sgrep.c:899:34: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, curtextbegin, curtextend-curtextbegin, agrep_finalfp, -1, EASYSEARCH); | ^ sgrep.c:901:39: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | if ((newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, curtextbegin, curtextend-curtextbegin, agrep_outbuffer, agrep_outlen - agrep_outpointer, EASYSEARCH)) > 0) { | ^ sgrep.c:937:34: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, curtextbegin - lastout, agrep_finalfp, -1, EASYSEARCH); | ^ sgrep.c:939:39: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | if ((newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, curtextbegin - lastout, agrep_outbuffer, agrep_outlen - agrep_outpointer, EASYSEARCH)) > 0) { | ^ sgrep.c:990:31: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, textend - lastout + 1, agrep_finalfp, -1, EASYSEARCH); | ^ sgrep.c:992:36: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | if ((newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, textend - lastout + 1, agrep_outbuffer, agrep_outlen - agrep_outpointer, EASYSEARCH)) > 0) { | ^ sgrep.c:1023:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | static void initmask(pattern, Mask, m, D, endposition) | ^ sgrep.c:1054:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | prep(Pattern, M, D) /* preprocessing for partitioning_bm */ | ^ sgrep.c:1102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | agrep( pat, M, text, textend, D, oldpat, oldM) | ^ sgrep.c:1245:31: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, textend - lastout + 1, agrep_finalfp, -1, EASYSEARCH); | ^ sgrep.c:1247:36: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1247 | if ((newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, textend - lastout + 1, agrep_outbuffer, agrep_outlen - agrep_outpointer, EASYSEARCH)) > 0) { | ^ sgrep.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | s_output(text, i, textbegin, textend, lastout, pat, m, oldpat, oldm) | ^ sgrep.c:1320:36: warning: passing arguments to 'exists_tcompressed_word' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | if (-1 == exists_tcompressed_word(pat, m, curtextbegin, text + *i - curtextbegin + m, EASYSEARCH)) { | ^ sgrep.c:1339:31: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, *lastout, curtextbegin - *lastout, agrep_finalfp, -1, EASYSEARCH); | ^ sgrep.c:1341:36: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1341 | if ((newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, *lastout, curtextbegin - *lastout, agrep_outbuffer, agrep_outlen - agrep_outpointer, EASYSEARCH)) > 0) { | ^ sgrep.c:1447:30: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1447 | newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, curtextbegin, curtextend-curtextbegin, agrep_finalfp, -1, EASYSEARCH); | ^ sgrep.c:1450:35: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1450 | if ((newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, curtextbegin, curtextend-curtextbegin, agrep_outbuffer, agrep_outlen - agrep_outpointer, EASYSEARCH)) > 0) { | ^ sgrep.c:1486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | prep_bm(Pattern, m) | ^ sgrep.c:1541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1541 | monkey( pat, m, text, textend ) | ^ sgrep.c:1626:38: warning: passing arguments to 'exists_tcompressed_word' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1626 | if (-1 == exists_tcompressed_word(pat, m, curtextbegin, text - curtextbegin + m, EASYSEARCH)) { | ^ sgrep.c:1720:34: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1720 | newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, curtextbegin, curtextend-curtextbegin, agrep_finalfp, -1, EASYSEARCH); | ^ sgrep.c:1722:39: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | if ((newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, curtextbegin, curtextend-curtextbegin, agrep_outbuffer, agrep_outlen - agrep_outpointer, EASYSEARCH)) > 0) { | ^ sgrep.c:1758:34: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1758 | newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, curtextbegin - lastout, agrep_finalfp, -1, EASYSEARCH); | ^ sgrep.c:1760:39: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1760 | if ((newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, curtextbegin - lastout, agrep_outbuffer, agrep_outlen - agrep_outpointer, EASYSEARCH)) > 0) { | ^ sgrep.c:1808:31: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1808 | newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, textend - lastout + 1, agrep_finalfp, -1, EASYSEARCH); | ^ sgrep.c:1810:36: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1810 | if ((newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, textend - lastout + 1, agrep_outbuffer, agrep_outlen - agrep_outpointer, EASYSEARCH)) > 0) { | ^ sgrep.c:1839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1839 | a_monkey( pat, m, text, textend, D ) | ^ sgrep.c:1986:35: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1986 | newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, curtextbegin, curtextend-curtextbegin, agrep_finalfp, -1, EASYSEARCH); | ^ sgrep.c:1988:40: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | if ((newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, curtextbegin, curtextend-curtextbegin, agrep_outbuffer, agrep_outlen - agrep_outpointer, EASYSEARCH)) > 0) { | ^ sgrep.c:2024:35: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2024 | newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, curtextbegin - lastout, agrep_finalfp, -1, EASYSEARCH); | ^ sgrep.c:2026:40: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2026 | if ((newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, curtextbegin - lastout, agrep_outbuffer, agrep_outlen - agrep_outpointer, EASYSEARCH)) > 0) { | ^ sgrep.c:2073:31: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2073 | newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, textend - lastout + 1, agrep_finalfp, -1, EASYSEARCH); | ^ sgrep.c:2075:36: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2075 | if ((newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, textend - lastout + 1, agrep_outbuffer, agrep_outlen - agrep_outpointer, EASYSEARCH)) > 0) { | ^ sgrep.c:2102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2102 | am_preprocess(Pattern) | ^ sgrep.c:2119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2119 | verify(m, n, D, pat, text) | ^ sgrep.c:2150:37: warning: unsequenced modification and access to 'last' [-Wunsequenced] 2150 | if(A[last] < D) A[last+1] = A[last++]+1; | ~~~~ ^ sgrep.c:2172:37: warning: unsequenced modification and access to 'last' [-Wunsequenced] 2172 | if(B[last] < D) B[last+1] = B[last++]+1; | ~~~~ ^ sgrep.c:2187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2187 | m_preprocess(Pattern) | ^ sgrep.c:2221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2221 | monkey4( pat, m, text, textend, D ) | ^ sgrep.c:2369:35: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2369 | newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, curtextbegin, curtextend-curtextbegin, agrep_finalfp, -1, EASYSEARCH); | ^ sgrep.c:2371:40: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2371 | if ((newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, curtextbegin, curtextend-curtextbegin, agrep_outbuffer, agrep_outlen - agrep_outpointer, EASYSEARCH)) > 0) { | ^ sgrep.c:2407:35: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2407 | newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, curtextbegin - lastout, agrep_finalfp, -1, EASYSEARCH); | ^ sgrep.c:2409:40: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2409 | if ((newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, curtextbegin - lastout, agrep_outbuffer, agrep_outlen - agrep_outpointer, EASYSEARCH)) > 0) { | ^ sgrep.c:2453:31: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2453 | newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, textend - lastout + 1, agrep_finalfp, -1, EASYSEARCH); | ^ sgrep.c:2455:36: warning: passing arguments to 'quick_tuncompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2455 | if ((newlen = quick_tuncompress(FREQ_FILE, STRING_FILE, lastout, textend - lastout + 1, agrep_outbuffer, agrep_outlen - agrep_outpointer, EASYSEARCH)) > 0) { | ^ sgrep.c:2482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2482 | prep4(Pattern, m) | ^ sgrep.c:2519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2519 | blog(base, m ) | ^ 57 warnings generated. agrep.c:423:14: warning: passing arguments to 'exponen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | k = exponen(M); | ^ agrep.c:440:13: warning: passing arguments to 'exponen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | k = exponen(M/2); | ^ agrep.c:400:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | void compute_next(M, Next, Next1) | ^ agrep.c:463:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | int exponen(m) | ^ agrep.c:230:6: 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] 230 | int exponen(); /* agrep.c */ | ^ agrep.c:577:25: warning: passing arguments to 'r_output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^ agrep.c:634:25: warning: passing arguments to 'r_output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^ agrep.c:712:25: warning: passing arguments to 'r_output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^ agrep.c:769:25: warning: passing arguments to 'r_output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^ agrep.c:895:25: warning: passing arguments to 'r_output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 895 | if (-1 == r_output(buffer, i, end, j)) {free_buf(Text, buffer); return -1;} | ^ agrep.c:1004:25: warning: passing arguments to 'r_output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | if (-1 == r_output(buffer, i, end, j)) {free_buf(Text, buffer); return -1;} | ^ agrep.c:1132:25: warning: passing arguments to 'r_output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1132 | if (-1 == r_output(buffer, i, end, j)) {free_buf(Text, buffer); return -1;} | ^ agrep.c:1241:25: warning: passing arguments to 'r_output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | if (-1 == r_output(buffer, i, end, j)) {free_buf(Text, buffer); return -1;} | ^ agrep.c:472:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | int re1(Text, M, D) | ^ agrep.c:1362:25: warning: passing arguments to 'r_output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1362 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^ agrep.c:1415:25: warning: passing arguments to 'r_output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1415 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^ agrep.c:1493:25: warning: passing arguments to 'r_output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1493 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^ agrep.c:1546:25: warning: passing arguments to 'r_output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^ agrep.c:1646:25: warning: passing arguments to 'r_output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^ agrep.c:1718:25: warning: passing arguments to 'r_output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1718 | if (-1 == r_output(buffer, i, end, j)) {free_buf(Text, buffer); return -1;} | ^ agrep.c:1821:25: warning: passing arguments to 'r_output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1821 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^ agrep.c:1893:25: warning: passing arguments to 'r_output' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1893 | if (-1 == r_output(buffer, i, end, j)) {free_buf(Text, buffer); return -1;} | ^ agrep.c:1271:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | int re(Text, M, D) | ^ agrep.c:1923:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1923 | int r_output (buffer, i, end, j) | ^ agrep.c:231:6: 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] 231 | int r_output(); /* agrep.c */ | ^ agrep.c:2370:21: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 2370 | pattern_index = abs(argv - original_argv); | ^ agrep.c:2370:21: note: use function 'labs' instead 2370 | pattern_index = abs(argv - original_argv); | ^~~ | labs agrep.c:2409:21: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 2409 | pattern_index = abs(argv - original_argv); | ^ agrep.c:2409:21: note: use function 'labs' instead 2409 | pattern_index = abs(argv - original_argv); | ^~~ | labs agrep.c:2516:15: warning: passing arguments to 'prepf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2516 | if (prepf(-1, multibuf, multilen) <= -1) { | ^ agrep.c:2859:13: warning: passing arguments to 'prepf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2859 | if (prepf(multifd, NULL, 0) <= -1) { | ^ agrep.c:2895:19: warning: passing arguments to 'initialize_common' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2895 | initialize_common(FREQ_FILE, 0); /* no error msgs */ | ^ agrep.c:2911:19: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 2911 | pattern_index = abs(argv - original_argv); | ^ agrep.c:2911:19: note: use function 'labs' instead 2911 | pattern_index = abs(argv - original_argv); | ^~~ | labs agrep.c:2956:30: warning: passing arguments to 'check_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2956 | if ((filetype = check_file(*argv)) == NOSUCHFILE) { | ^ agrep.c:2062:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2062 | int agrep_init(argc, argv, initialfd, pattern_len, pattern_buffer) | ^ agrep.c:3021:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3021 | int memagrep_init(argc, argv, pattern_len, pattern_buffer) | ^ agrep.c:3030:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3030 | int fileagrep_init(argc, argv, pattern_len, pattern_buffer) | ^ agrep.c:3141:30: warning: passing arguments to 'check_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3141 | if ((filetype = check_file(*(char **)input)) == NOSUCHFILE) { | ^ agrep.c:3173:20: warning: passing arguments to 'checksg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3173 | if (-1 == checksg(Pattern, D, 1)) return -1; /* check if the pattern is simple */ | ^ agrep.c:3178:24: warning: passing arguments to 'preprocess' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3178 | if (-1 == preprocess(D_pattern, Pattern)) return -1; | ^ agrep.c:3183:32: warning: passing arguments to 'maskgen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3183 | if(!AParse && ((M = maskgen(Pattern, D)) == -1)) return -1; | ^ agrep.c:3190:39: warning: passing arguments to 'quick_tcompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3190 | if ((tc_D_length = quick_tcompress(FREQ_FILE,HASH_FILE,D_pattern,D_length,tc_D_pattern,MaxDelimit*2,TC_EASYSEARCH)) <= 0) { | ^ agrep.c:3204:20: warning: passing arguments to 'prepf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3204 | prepf_ret= prepf(-1, multibuf, multilen); | ^ agrep.c:3226:14: warning: passing arguments to 'exec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3226 | ret = exec(execfd, NULL); | ^ agrep.c:3228:23: warning: passing arguments to 'recursive' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3228 | ret = ( recursive( Numfiles, Textfiles ) ); | ^ agrep.c:3230:16: warning: passing arguments to 'exec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3230 | ret = ( exec( execfd, Textfiles ) ); | ^ agrep.c:3041:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3041 | int agrep_search(pattern_len, pattern_buffer, initialfd, input_len, input, output_len, output) | ^ agrep.c:3245:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3245 | int memagrep_search(pattern_len, pattern_buffer, input_len, input_buffer, output_len, output) | ^ agrep.c:3257:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3257 | int fileagrep_search(pattern_len, pattern_buffer, file_num, file_buffer, output_len, output) | ^ agrep.c:3286:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3286 | int memagrep(argc, argv, input_len, input_buffer, output_len, output) | ^ agrep.c:3304:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3304 | int fileagrep(argc, argv, output_len, output) | ^ agrep.c:3361:35: warning: passing arguments to 'mgrep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3361 | if(PAT_FILE || PAT_BUFFER) mgrep(fd, AParse); | ^ agrep.c:3363:25: warning: passing arguments to 'sgrep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3363 | if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, 0); | ^ agrep.c:3364:25: warning: passing arguments to 'bitap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3364 | else ret = bitap(old_D_pat, Pattern, fd, M, D); | ^ agrep.c:3425:33: warning: passing arguments to 'tuncompressible_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3425 | if (!tuncompressible_filename(file_list[i], strlen(file_list[i]))) TCOMPRESSED = OFF; | ^ agrep.c:3432:37: warning: passing arguments to 'mgrep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3432 | if(PAT_FILE || PAT_BUFFER) mgrep(fd, AParse); | ^ agrep.c:3434:27: warning: passing arguments to 'sgrep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3434 | if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, i); | ^ agrep.c:3435:27: warning: passing arguments to 'bitap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3435 | else ret = bitap(old_D_pat, Pattern, fd, M, D); | ^ agrep.c:3564:24: warning: passing arguments to 'file_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3564 | if (-1 == file_out(file_list[i])) { | ^ agrep.c:3590:24: warning: passing arguments to 'preprocess' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3590 | if(-1 == preprocess(D_pattern, Pattern)) return -1; | ^ agrep.c:3592:20: warning: passing arguments to 'maskgen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3592 | if((M = maskgen(Pattern, D)) == -1) return -1; | ^ agrep.c:3609:39: warning: passing arguments to 'mgrep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3609 | if(PAT_FILE || PAT_BUFFER) mgrep(fd, AParse); | ^ agrep.c:3611:29: warning: passing arguments to 'sgrep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3611 | if(SGREP) ret = sgrep(OldPattern,strlen(OldPattern),fd,D, i); | ^ agrep.c:3612:24: warning: passing arguments to 'bitap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3612 | else ret = bitap(old_D_pat,Pattern,fd,M,D); | ^ agrep.c:3696:15: warning: passing arguments to 'mgrep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3696 | mgrep( fd, AParse ); | ^ agrep.c:3701:23: warning: passing arguments to 'sgrep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3701 | ret = sgrep( OldPattern, strlen(OldPattern), fd, D, i ); | ^ agrep.c:3703:23: warning: passing arguments to 'bitap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3703 | ret = bitap( old_D_pat, Pattern, fd, M, D ); | ^ agrep.c:3336:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3336 | int exec(fd, file_list) | ^ agrep.c:229:6: 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] 229 | int exec(); /* agrep.c */ | ^ agrep.c:3760:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3760 | int file_out(fname) | ^ agrep.c:232:6: 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] 232 | int file_out(); /* agrep.c */ | ^ agrep.c:3809:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3809 | int output(buffer, i1, i2, j) | ^ 70 warnings generated. cc -o agrep follow.o asearch.o asearch1.o agrep.o bitap.o checkfil.o compat.o dummyfil.o main.o maskgen.o parse.o checksg.o preproce.o delim.o asplit.o recursiv.o sgrep.o newmgrep.o utilitie.o codepage.o agrephlp.o =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for agrep-3.41.5 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/textproc/agrep/work/agrep-7b7f350/agrep /wrkdirs/usr/ports/textproc/agrep/work/stage/usr/local/bin/agrep /bin/mkdir -p /wrkdirs/usr/ports/textproc/agrep/work/stage/usr/local/share/doc/agrep cd /wrkdirs/usr/ports/textproc/agrep/work/agrep-7b7f350/docs && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . /wrkdirs/usr/ports/textproc/agrep/work/stage/usr/local/share/doc/agrep/ cd /wrkdirs/usr/ports/textproc/agrep/work/agrep-7b7f350 && install -m 0644 CHANGES COPYRIGHT README.md /wrkdirs/usr/ports/textproc/agrep/work/stage/usr/local/share/doc/agrep/ ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-01-20T18:29:54+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=38968fa4ef4f' '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 agrep-3.41.5 ===> Building agrep-3.41.5 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for agrep-3.41.5 build of textproc/agrep | agrep-3.41.5 ended at Tue Jan 20 13:30:02 EST 2026 build time: 00:00:10