=>> Building vietnamese/vnless build started at Wed Jan 21 19:33:45 EST 2026 port directory: /usr/ports/vietnamese/vnless package name: vi-vnless-1.0_2 building for: FreeBSD pkg.DaveG.ca 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 1403000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 687 Aug 27 2024 /usr/ports/vietnamese/vnless/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: 908d980e7eae Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1403000 Job Id: 04 ---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/04/.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--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/vietnamese/vnless/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/vietnamese/vnless/work XDG_CACHE_HOME=/wrkdirs/usr/ports/vietnamese/vnless/work/.cache HOME=/wrkdirs/usr/ports/vietnamese/vnless/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/vietnamese/vnless/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/vietnamese/vnless/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/vietnamese/vnless/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/vietnamese/vnless/work XDG_CACHE_HOME=/wrkdirs/usr/ports/vietnamese/vnless/work/.cache HOME=/wrkdirs/usr/ports/vietnamese/vnless/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/vietnamese/vnless/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/vietnamese/vnless/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-return-type -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-return-type -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.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/vnless" EXAMPLESDIR="share/examples/vnless" DATADIR="share/vnless" WWWDIR="www/vnless" ETCDIR="etc/vnless" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/vnless DOCSDIR=/usr/local/share/doc/vnless EXAMPLESDIR=/usr/local/share/examples/vnless WWWDIR=/usr/local/www/vnless ETCDIR=/usr/local/etc/vnless --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 vnless 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 ===> vi-vnless-1.0_2 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 ===> vi-vnless-1.0_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of vi-vnless-1.0_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The vnless 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 vi-vnless-1.0_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The vnless 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 vi-vnless-1.0_2 for building => SHA256 Checksum OK for vnless.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The vnless 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 vi-vnless-1.0_2 for building ===> Extracting for vi-vnless-1.0_2 ===> NOTICE: The vnless 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 vi-vnless-1.0_2 for building => SHA256 Checksum OK for vnless.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for vi-vnless-1.0_2 ===> Applying FreeBSD patches for vi-vnless-1.0_2 from /usr/ports/vietnamese/vnless/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> vi-vnless-1.0_2 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. ===> vi-vnless-1.0_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of vi-vnless-1.0_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for vi-vnless-1.0_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for vi-vnless-1.0_2 rm -f *.o vnless lesskey vecho install_less install_key install_help install_lman install_kman cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c main.c -o main.o main.c:65:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | error("No current file"); | ^ main.c:68:18: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | filename = save(av[curr_ac]); | ^ main.c:73:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | error("no previous file"); | ^ main.c:76:18: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | filename = save(previous_file); | ^ main.c:79:18: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | filename = save(filename); | ^ main.c:88:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | error("Can view standard input only once"); | ^ main.c:92:26: warning: passing arguments to 'bad_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | } else if ((m = bad_file(filename, message, sizeof(message))) != NULL) | ^ main.c:94:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | error(m); | ^ main.c:97:18: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | } else if ((f = open(filename, 0)) < 0) | ^ main.c:99:22: warning: passing arguments to 'errno_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | error(errno_message(filename, message, sizeof(message))); | ^ main.c:99:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | error(errno_message(filename, message, sizeof(message))); | ^ main.c:112:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | error("Can't take input from a terminal"); | ^ main.c:121:3: warning: call to undeclared function 'use_logfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | use_logfile(); | ^ main.c:135:21: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | prev_pos = position(TOP); | ^ main.c:140:9: warning: passing arguments to 'ch_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | ch_init(cbufs, 0); | ^ main.c:158:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | error(filename); | ^ main.c:165:12: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | jump_loc(initial_pos); | ^ main.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | edit(filename) | ^ In file included from main.c:5: In file included from ./less.h:91: ./funcs.h:1:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1 | public void edit (); | ^ main.c:181:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | error("No (N-th) next file"); | ^ main.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | next_file(n) | ^ In file included from main.c:5: In file included from ./less.h:91: ./funcs.h:2:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2 | public void next_file (); | ^ main.c:194:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | error("No (N-th) previous file"); | ^ main.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | prev_file(n) | ^ In file included from main.c:5: In file included from ./less.h:91: ./funcs.h:3:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | public void prev_file (); | ^ main.c:209:9: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | putchr(c); | ^ main.c:215:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 215 | use_logfile() | ^ | int main.c:231:11: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 231 | exists = open(namelogfile, 0); | ^ main.c:239:10: warning: passing arguments to 'strtcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | strtcpy(message+sizeof(w)-1, namelogfile, | ^ main.c:241:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | error(message); | ^ main.c:250:13: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 250 | logfile = creat(namelogfile, 0644); | ^ main.c:266:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | putstr("\n Overwrite, Append, or Don't log? "); | ^ main.c:268:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | putstr("\n"); | ^ main.c:277:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | error(message); | ^ main.c:286:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 286 | main(argc, argv) | ^ | int main.c:290:8: 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] 290 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ main.c:299:13: warning: passing arguments to 'scan_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | scan_option(getenv("LESS")); | ^ main.c:304:14: warning: passing arguments to 'scan_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | scan_option(*argv++); | ^ main.c:345:10: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | raw_mode(1); | ^ main.c:351:14: warning: passing arguments to 'init_signals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | init_signals(1); | ^ main.c:367:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | error("No filenames allowed with -t option"); | ^ main.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 | main(argc, argv) | ^ main.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | strtcpy(to, from, len) | ^ In file included from main.c:5: In file included from ./less.h:91: ./funcs.h:4:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | public void strtcpy (); | ^ main.c:427:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | error("cannot allocate memory"); | ^ main.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | save(s) | ^ In file included from main.c:5: In file included from ./less.h:91: ./funcs.h:5:16: 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] 5 | public char * save (); | ^ main.c:452:10: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | raw_mode(0); | ^ 48 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c option.c -o option.o option.c:212:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | error(prproto[pr_type]); | ^ option.c:214:16: warning: passing arguments to 'opt_P' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | (void) opt_P(s); | ^ option.c:223:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | error("no tag"); | ^ option.c:226:10: warning: passing arguments to 'findtag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | findtag(s); | ^ option.c:229:8: warning: passing arguments to 'edit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | edit(tagfile); | ^ option.c:247:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | error("no log file"); | ^ option.c:252:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | error(message); | ^ option.c:258:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | error("input is not a pipe"); | ^ option.c:263:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | error("log file is already in use"); | ^ option.c:266:21: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | namelogfile = save(s); | ^ option.c:267:3: warning: call to undeclared function 'use_logfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 267 | use_logfile(); | ^ option.c:305:14: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | n = getnum(&s, '\0'); | ^ option.c:328:12: warning: passing arguments to 'ch_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | ch_init(cbufs, 1); | ^ option.c:342:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | error(msg); | ^ option.c:349:18: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | if (control_char(c)) | ^ option.c:350:38: warning: passing arguments to 'carat_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | sprintf(message, "-^%c", carat_char(c)); | ^ option.c:354:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | error(message); | ^ option.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | toggle_option(s, do_toggle) | ^ In file included from option.c:8: In file included from ./less.h:91: ./funcs.h:8:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | public void toggle_option (); | ^ option.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | single_char_option(c) | ^ In file included from option.c:8: In file included from ./less.h:91: ./funcs.h:9: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] 9 | public int single_char_option (); | ^ option.c:399:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | error(message); | ^ option.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | optstring(s, c) | ^ option.c:438:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 438 | if (set_default = (*s == '+')) | ~~~~~~~~~~~~^~~~~~~~~~~~~ option.c:438:19: note: place parentheses around the assignment to silence this warning 438 | if (set_default = (*s == '+')) | ^ | ( ) option.c:438:19: note: use '==' to turn this assignment into an equality comparison 438 | if (set_default = (*s == '+')) | ^ | == option.c:444:26: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | every_first_cmd = save(++s); | ^ option.c:464:10: warning: passing arguments to 'findtag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | findtag(p); | ^ option.c:469:12: warning: passing arguments to 'opt_P' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | s = opt_P(s); | ^ option.c:507:23: warning: passing arguments to 'getnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | *(o->ovar) = getnum(&s, c); | ^ option.c:513:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | error(message); | ^ option.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | scan_option(s) | ^ In file included from option.c:8: In file included from ./less.h:91: ./funcs.h:10:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | public void scan_option (); | ^ option.c:541:15: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | *proto = save(s); | ^ option.c:521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | opt_P(s) | ^ option.c:64:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | static char *opt_P(); | ^ option.c:566:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | error(message); | ^ option.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | getnum(sp, c) | ^ In file included from option.c:8: In file included from ./less.h:91: ./funcs.h:11: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] 11 | public int getnum (); | ^ 37 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c prim.c -o prim.o prim.c:56:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | pos = position(BOTTOM_PLUS_ONE); | ^ prim.c:122:22: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | if (pos != position(BOTTOM_PLUS_ONE)) | ^ prim.c:130:16: warning: passing arguments to 'add_forw_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | add_forw_pos(pos); | ^ prim.c:139:11: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | putstr("...skipping...\n"); | ^ prim.c:149:18: warning: passing arguments to 'forw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | pos = forw_line(pos); | ^ prim.c:157:26: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | if (!force && position(TOP) != NULL_POSITION) | ^ prim.c:165:15: warning: passing arguments to 'add_forw_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | add_forw_pos(pos); | ^ prim.c:202:17: warning: passing arguments to 'currline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | (void) currline(BOTTOM); | ^ prim.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | forw(n, pos, force, only_last) | ^ prim.c:226:18: warning: passing arguments to 'back_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | pos = back_line(pos); | ^ prim.c:240:15: warning: passing arguments to 'add_back_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | add_back_pos(pos); | ^ prim.c:255:17: warning: passing arguments to 'currline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | (void) currline(BOTTOM); | ^ prim.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | back(n, pos, force, only_last) | ^ prim.c:275:12: warning: passing arguments to 'next_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | next_file(1); | ^ prim.c:279:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | pos = position(BOTTOM_PLUS_ONE); | ^ prim.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | forward(n, only_last) | ^ In file included from prim.c:5: In file included from ./less.h:91: ./funcs.h:12:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | public void forward (); | ^ prim.c:300:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | pos = position(TOP); | ^ prim.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | backward(n, only_last) | ^ In file included from prim.c:5: In file included from ./less.h:91: ./funcs.h:13:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | public void backward (); | ^ prim.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | prepaint(pos) | ^ prim.c:335:19: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | prepaint(position(TOP)); | ^ prim.c:350:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | error("Cannot seek to end of file"); | ^ prim.c:357:14: warning: passing arguments to 'add_back_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | add_back_pos(pos); | ^ prim.c:379:13: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | if (ch_seek((POSITION)0)) | ^ prim.c:387:12: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | jump_loc(ch_tell()); | ^ prim.c:388:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | error("Cannot get to beginning of file"); | ^ prim.c:403:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | error(message); | ^ prim.c:408:10: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | jump_loc(ch_tell()); | ^ prim.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | jump_back(n) | ^ In file included from prim.c:5: In file included from ./less.h:91: ./funcs.h:16:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | public void jump_back (); | ^ prim.c:429:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | error("Don't know length of file"); | ^ prim.c:437:13: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | if (ch_seek(pos) == 0) | ^ prim.c:445:10: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | jump_loc(pos); | ^ prim.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | jump_percent(percent) | ^ In file included from prim.c:5: In file included from ./less.h:91: ./funcs.h:17:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | public void jump_percent (); | ^ prim.c:458:23: warning: passing arguments to 'onscreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | if ((nline = onscreen(pos)) >= 0) | ^ prim.c:464:23: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | forw(nline, position(BOTTOM_PLUS_ONE), 1, 0); | ^ prim.c:472:13: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | if (ch_seek(pos)) | ^ prim.c:474:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | error("Cannot seek to that position"); | ^ prim.c:489:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | tpos = position(TOP); | ^ prim.c:498:20: warning: passing arguments to 'forw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | npos = forw_line(npos); | ^ prim.c:508:16: warning: passing arguments to 'add_back_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | add_back_pos(npos); | ^ prim.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | jump_loc(pos) | ^ In file included from prim.c:5: In file included from ./less.h:91: ./funcs.h:18:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | public void jump_loc (); | ^ prim.c:553:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | error("Choose a letter between 'a' and 'z'"); | ^ prim.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | badmark(c) | ^ prim.c:568:25: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | marks[c-'a'] = position(TOP); | ^ prim.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | setmark(c) | ^ In file included from prim.c:5: In file included from ./less.h:91: ./funcs.h:20:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | public void setmark (); | ^ prim.c:574:28: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | marks[LASTMARK] = position(TOP); | ^ prim.c:594:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | error("mark not set"); | ^ prim.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | gomark(c) | ^ In file included from prim.c:5: In file included from ./less.h:91: ./funcs.h:22:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | public void gomark (); | ^ prim.c:632:8: 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] 632 | char *re_comp(); | ^ /usr/include/unistd.h:553:7: note: conflicting prototype is here 553 | char *re_comp(const char *); | ^ prim.c:662:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | error(errmsg); | ^ prim.c:717:14: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | if (position(TOP) == NULL_POSITION) | ^ prim.c:732:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | pos = position(TOP); | ^ prim.c:738:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | pos = position(TOP); | ^ prim.c:740:23: warning: passing arguments to 'forw_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | pos = forw_raw_line(pos); | ^ prim.c:741:24: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | while (pos < position(TOP+1)); | ^ prim.c:747:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | pos = position(BOTTOM_PLUS_ONE); | ^ prim.c:753:17: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | pos = position(TOP_PLUS_ONE); | ^ prim.c:761:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | error("Nothing to search"); | ^ prim.c:765:24: warning: passing arguments to 'find_linenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | linenum = find_linenum(pos); | ^ prim.c:786:23: warning: passing arguments to 'forw_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | pos = forw_raw_line(pos); | ^ prim.c:795:23: warning: passing arguments to 'back_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | pos = back_raw_line(pos); | ^ prim.c:806:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | error("Pattern not found"); | ^ prim.c:816:12: warning: passing arguments to 'add_lnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | add_lnum(linenum, pos); | ^ prim.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | search(search_forward, pattern, n, wantmatch) | ^ In file included from prim.c:5: In file included from ./less.h:91: ./funcs.h:24:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | public void search (); | ^ 71 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c ch.c -o ch.o ch.c:134:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | error("pipe error"); | ^ ch.c:145:11: warning: passing arguments to 'iread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | n = iread(file, &bp->data[bp->datasize], BUFSIZ - bp->datasize); | ^ ch.c:150:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | error("read error"); | ^ ch.c:230:9: warning: passing arguments to 'ierror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | ierror("finishing logfile"); | ^ ch.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | buffered(block) | ^ ch.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | ch_seek(pos) | ^ In file included from ch.c:7: In file included from ./less.h:91: ./funcs.h:27: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] 27 | public int ch_seek (); | ^ ch.c:434:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | error(message); | ^ ch.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | ch_init(want_nbufs, keep) | ^ In file included from ch.c:7: In file included from ./less.h:91: ./funcs.h:34:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | public void ch_init (); | ^ ch.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | ch_addbuf(nnew) | ^ 11 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c position.c -o position.o position.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 | position(where) | ^ In file included from position.c:11: In file included from ./less.h:91: ./funcs.h:35:18: 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] 35 | public POSITION position (); | ^ position.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 | add_forw_pos(pos) | ^ In file included from position.c:11: In file included from ./less.h:91: ./funcs.h:36:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | public void add_forw_pos (); | ^ position.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | add_back_pos(pos) | ^ In file included from position.c:11: In file included from ./less.h:91: ./funcs.h:37:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | public void add_back_pos (); | ^ position.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | onscreen(pos) | ^ In file included from position.c:11: In file included from ./less.h:91: ./funcs.h:39: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] 39 | public int onscreen (); | ^ 8 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c input.c -o input.o input.c:31:42: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | if (curr_pos == NULL_POSITION || ch_seek(curr_pos)) | ^ input.c:55:14: warning: passing arguments to 'pappend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | if (pappend(c)) | ^ input.c:67:16: warning: passing arguments to 'pappend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | (void) pappend('\0'); | ^ input.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | forw_line(curr_pos) | ^ In file included from input.c:11: In file included from ./less.h:91: ./funcs.h:40:18: 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] 40 | public POSITION forw_line (); | ^ input.c:102:10: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | ch_seek(curr_pos-1)) | ^ input.c:169:13: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | if (ch_seek(new_pos)) | ^ input.c:183:14: warning: passing arguments to 'pappend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | if (pappend(c)) | ^ input.c:190:18: warning: passing arguments to 'pappend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | (void) pappend('\0'); | ^ input.c:197:16: warning: passing arguments to 'pappend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | (void) pappend('\0'); | ^ input.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | back_line(curr_pos) | ^ In file included from input.c:11: In file included from ./less.h:91: ./funcs.h:41:18: 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] 41 | public POSITION back_line (); | ^ 12 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c output.c -o output.o output.c:61:8: warning: multi-character character constant [-Wmultichar] 61 | case BE_CHAR: | ^ ./less.h:75:18: note: expanded from macro 'BE_CHAR' 75 | #define BE_CHAR '\28' /* Exit boldface mode */ | ^ output.c:68:11: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | putchr(' '); | ^ output.c:77:21: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | if (control_char (c & 0377)) | ^ output.c:84:11: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | putchr('^'); | ^ output.c:85:11: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | putchr(c & 0177); | ^ output.c:89:11: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | putchr(c); | ^ output.c:95:9: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | putchr('\n'); | ^ output.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | control_char(c) | ^ In file included from output.c:5: In file included from ./less.h:91: ./funcs.h:91: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] 91 | public int control_char (); | ^ output.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | carat_char(c) | ^ In file included from output.c:5: In file included from ./less.h:91: ./funcs.h:92: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] 92 | public int carat_char (); | ^ output.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | putchr(c) | ^ In file included from output.c:5: In file included from ./less.h:91: ./funcs.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 subsequent definition [-Wdeprecated-non-prototype] 95 | public void putchr (); | ^ output.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | putstr(s) | ^ In file included from output.c:5: In file included from ./less.h:91: ./funcs.h:96:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | public void putstr (); | ^ output.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | error(s) | ^ In file included from output.c:5: In file included from ./less.h:91: ./funcs.h:97:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | public void error (); | ^ output.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | ierror(s) | ^ In file included from output.c:5: In file included from ./less.h:91: ./funcs.h:98:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | public void ierror (); | ^ 19 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c screen.c -o screen.o In file included from screen.c:16: /usr/include/sys/termios.h:2:2: warning: "this file includes which is deprecated, use instead" [-W#warnings] 2 | #warning "this file includes which is deprecated, use instead" | ^ screen.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | raw_mode(on) | ^ In file included from screen.c:8: In file included from ./less.h:91: ./funcs.h:46:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | public void raw_mode (); | ^ screen.c:204:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | error(message); | ^ screen.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | cannot(s) | ^ screen.c:226:8: 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] 226 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ screen.c:233:7: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | if (tgetent(termbuf, term) <= 0) | ^ screen.c:250:16: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 250 | sc_height = tgetnum("li"); | ^ screen.c:251:28: warning: call to undeclared function 'tgetflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | hard = (sc_height < 0 || tgetflag("hc")); | ^ screen.c:290:18: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | sc_pad = tgetstr("pc", &sp); | ^ screen.c:294:19: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | sc_init = tgetstr("ti", &sp); | ^ screen.c:298:20: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | sc_deinit= tgetstr("te", &sp); | ^ screen.c:302:24: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | sc_eol_clear = tgetstr("ce", &sp); | ^ screen.c:309:20: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | sc_clear = tgetstr("cl", &sp); | ^ screen.c:316:19: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | sc_move = tgetstr("cm", &sp); | ^ screen.c:327:19: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | sc_s_in = tgetstr("so", &sp); | ^ screen.c:331:20: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | sc_s_out = tgetstr("se", &sp); | ^ screen.c:335:19: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | sc_u_in = tgetstr("us", &sp); | ^ screen.c:339:20: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | sc_u_out = tgetstr("ue", &sp); | ^ screen.c:343:19: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | sc_b_in = tgetstr("md", &sp); | ^ screen.c:350:21: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | sc_b_out = tgetstr("me", &sp); | ^ screen.c:355:26: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | sc_visual_bell = tgetstr("vb", &sp); | ^ screen.c:359:19: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | sc_home = tgetstr("ho", &sp); | ^ screen.c:379:20: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | strcpy(sp, tgoto(sc_move, 0, 0)); | ^ screen.c:385:25: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | sc_lower_left = tgetstr("ll", &sp); | ^ screen.c:398:20: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | strcpy(sp, tgoto(sc_move, 0, sc_height-1)); | ^ screen.c:408:27: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | if ((sc_addline = tgetstr("al", &sp)) == NULL || | ^ screen.c:410:23: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | sc_addline = tgetstr("sr", &sp); | ^ screen.c:424:25: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | sc_backspace = tgetstr("bc", &sp); | ^ screen.c:443:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | tputs(sc_init, sc_height, putchr); | ^ screen.c:452:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 452 | tputs(sc_deinit, sc_height, putchr); | ^ screen.c:461:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 461 | tputs(sc_home, 1, putchr); | ^ screen.c:471:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 471 | tputs(sc_addline, sc_height, putchr); | ^ screen.c:480:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 480 | tputs(sc_lower_left, 1, putchr); | ^ screen.c:492:9: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | putchr('\7'); | ^ screen.c:503:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 503 | tputs(sc_visual_bell, sc_height, putchr); | ^ screen.c:512:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 512 | tputs(sc_clear, sc_height, putchr); | ^ screen.c:522:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 522 | tputs(sc_eol_clear, 1, putchr); | ^ screen.c:531:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 531 | tputs(sc_s_in, 1, putchr); | ^ screen.c:540:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 540 | tputs(sc_s_out, 1, putchr); | ^ screen.c:550:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 550 | tputs(sc_u_in, 1, putchr); | ^ screen.c:559:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 559 | tputs(sc_u_out, 1, putchr); | ^ screen.c:568:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 568 | tputs(sc_b_in, 1, putchr); | ^ screen.c:577:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 577 | tputs(sc_b_out, 1, putchr); | ^ screen.c:590:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 590 | tputs(sc_backspace, 1, putchr); | ^ screen.c:591:8: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | putchr(' '); | ^ screen.c:601:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 601 | tputs(sc_backspace, 1, putchr); | ^ 47 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c prompt.c -o prompt.o prompt.c:50:19: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | prproto[0] = save(s_proto); | ^ prompt.c:51:19: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | prproto[1] = save(m_proto); | ^ prompt.c:52:19: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | prproto[2] = save(M_proto); | ^ prompt.c:53:16: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | eqproto = save(e_proto); | ^ prompt.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | ap_pos(pos) | ^ prompt.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | ap_int(n) | ^ prompt.c:106:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | pos = position(where); | ^ prompt.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | curr_byte(where) | ^ prompt.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | cond(c, where) | ^ prompt.c:176:10: warning: passing arguments to 'strtcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | strtcpy(mp, current_file, | ^ prompt.c:184:15: warning: passing arguments to 'currline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | n = currline(where); | ^ prompt.c:215:11: warning: passing arguments to 'strtcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | strtcpy(mp, av[curr_ac+1], | ^ prompt.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 | protochar(c, where) | ^ prompt.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | skipcond(p) | ^ prompt.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | wherechar(p, wp) | ^ prompt.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | pr_expand(proto, maxwidth) | ^ 16 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c line.c -o line.o line.c:98:15: warning: multi-character character constant [-Wmultichar] 98 | curr[-1] = BE_CHAR; | ^ ./less.h:75:18: note: expanded from macro 'BE_CHAR' 75 | #define BE_CHAR '\28' /* Exit boldface mode */ | ^ line.c:107:14: warning: multi-character character constant [-Wmultichar] 107 | *curr++ = BE_CHAR; | ^ ./less.h:75:18: note: expanded from macro 'BE_CHAR' 75 | #define BE_CHAR '\28' /* Exit boldface mode */ | ^ line.c:241:16: warning: multi-character character constant [-Wmultichar] 241 | curr[-2] = BE_CHAR; | ^ ./less.h:75:18: note: expanded from macro 'BE_CHAR' 75 | #define BE_CHAR '\28' /* Exit boldface mode */ | ^ line.c:313:16: warning: multi-character character constant [-Wmultichar] 313 | curr[-1] = BE_CHAR; | ^ ./less.h:75:18: note: expanded from macro 'BE_CHAR' 75 | #define BE_CHAR '\28' /* Exit boldface mode */ | ^ line.c:352:19: warning: implicit conversion from 'int' to 'char' changes value from 200 to -56 [-Wconstant-conversion] 352 | *curr++ = ('H' | 0200); | ~ ~~~~^~~~~~ line.c:364:18: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | if (control_char(c)) | ^ line.c:377:24: warning: passing arguments to 'carat_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | *curr++ = (carat_char(c) | 0200); | ^ line.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | pappend(c) | ^ In file included from line.c:8: In file included from ./less.h:91: ./funcs.h:69: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] 69 | public int pappend (); | ^ line.c:98:15: warning: implicit conversion from 'int' to 'char' changes value from 568 to 56 [-Wconstant-conversion] 98 | curr[-1] = BE_CHAR; | ~ ^~~~~~~ ./less.h:75:18: note: expanded from macro 'BE_CHAR' 75 | #define BE_CHAR '\28' /* Exit boldface mode */ | ^~~~~ line.c:107:14: warning: implicit conversion from 'int' to 'char' changes value from 568 to 56 [-Wconstant-conversion] 107 | *curr++ = BE_CHAR; | ~ ^~~~~~~ ./less.h:75:18: note: expanded from macro 'BE_CHAR' 75 | #define BE_CHAR '\28' /* Exit boldface mode */ | ^~~~~ line.c:241:16: warning: implicit conversion from 'int' to 'char' changes value from 568 to 56 [-Wconstant-conversion] 241 | curr[-2] = BE_CHAR; | ~ ^~~~~~~ ./less.h:75:18: note: expanded from macro 'BE_CHAR' 75 | #define BE_CHAR '\28' /* Exit boldface mode */ | ^~~~~ line.c:313:16: warning: implicit conversion from 'int' to 'char' changes value from 568 to 56 [-Wconstant-conversion] 313 | curr[-1] = BE_CHAR; | ~ ^~~~~~~ ./less.h:75:18: note: expanded from macro 'BE_CHAR' 75 | #define BE_CHAR '\28' /* Exit boldface mode */ | ^~~~~ line.c:402:42: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | if (curr_pos == NULL_POSITION || ch_seek(curr_pos) || | ^ line.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | forw_raw_line(curr_pos) | ^ In file included from line.c:8: In file included from ./less.h:91: ./funcs.h:70:18: 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] 70 | public POSITION forw_raw_line (); | ^ line.c:447:10: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | ch_seek(curr_pos-1)) | ^ line.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | back_raw_line(curr_pos) | ^ In file included from line.c:8: In file included from ./less.h:91: ./funcs.h:71:18: 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] 71 | public POSITION back_raw_line (); | ^ 19 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c signal.c -o signal.o signal.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | init_signals(on) | ^ In file included from signal.c:11: In file included from ./less.h:91: ./funcs.h:74:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | public void init_signals (); | ^ signal.c:172:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | raw_mode(0); | ^ signal.c:185:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | raw_mode(1); | ^ signal.c:206:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | error("Line numbers turned off"); | ^ 5 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c os.c -o os.o os.c:19:7: 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] 19 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ os.c:49:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | putstr("!"); | ^ os.c:50:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | putstr(cmd); | ^ os.c:51:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | putstr("\n"); | ^ os.c:59:10: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | raw_mode(0); | ^ os.c:64:14: warning: passing arguments to 'init_signals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | init_signals(0); | ^ os.c:72:6: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | if (open("/dev/tty", 0) < 0) | ^ os.c:103:14: warning: passing arguments to 'init_signals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | init_signals(1); | ^ os.c:104:10: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | raw_mode(1); | ^ os.c:108:2: warning: '/*' within block comment [-Wcomment] 108 | /* | ^ os.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 | lsystem(cmd) | ^ In file included from os.c:17: In file included from ./less.h:91: ./funcs.h:76:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | public void lsystem (); | ^ os.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | iread(fd, buf, len) | ^ In file included from os.c:17: In file included from ./less.h:91: ./funcs.h:77: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] 77 | public int iread (); | ^ os.c:171:7: 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] 171 | FILE *popen(); | ^ /usr/include/stdio.h:327:7: note: conflicting prototype is here 327 | FILE *popen(const char *, const char *); | ^ os.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | glob(filename) | ^ In file included from os.c:17: In file included from ./less.h:91: ./funcs.h:81:16: 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] 81 | public char * glob (); | ^ os.c:258:24: warning: passing arguments to 'errno_message' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | return (errno_message(filename, message, len)); | ^ os.c:263:10: warning: passing arguments to 'strtcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | strtcpy(message, filename, len-sizeof(is_dir)-1); | ^ os.c:270:10: warning: passing arguments to 'strtcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | strtcpy(message, filename, len-sizeof(not_reg)-1); | ^ os.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | bad_file(filename, message, len) | ^ In file included from os.c:17: In file included from ./less.h:91: ./funcs.h:83:16: 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] 83 | public char * bad_file (); | ^ os.c:316:5: warning: assigning to 'char *' from 'const char *const' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 316 | p = sys_errlist[errno]; | ^ ~~~~~~~~~~~~~~~~~~ os.c:322:9: warning: passing arguments to 'strtcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | strtcpy(message, filename, len-strlen(p)-3); | ^ os.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | errno_message(filename, message, len) | ^ In file included from os.c:17: In file included from ./less.h:91: ./funcs.h:85:16: 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] 85 | public char * errno_message (); | ^ 26 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c -DHELPFILE=\"/usr/local/share/misc/vnless.help\" help.c help.c:20:9: warning: passing arguments to 'lsystem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | lsystem(cmd); | ^ help.c:21:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | error("End of help"); | ^ 2 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c ttyin.c -o ttyin.o ttyin.c:30:17: warning: passing arguments to 'iread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | result = iread(tty, &c, 1); | ^ 1 warning generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c decode.c -o decode.o decode.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | cmd_decode(c) | ^ In file included from decode.c:18: In file included from ./less.h:91: ./funcs.h:99: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] 99 | public int cmd_decode (); | ^ decode.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | cmd_search(table, endtable) | ^ decode.c:220: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] 220 | extern char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ decode.c:233:6: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | f = open(filename, 0); | ^ decode.c:260:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | error("invalid user key file"); | ^ 6 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c command.c -o command.o command.c:48:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | cmd_reset() | ^ | int command.c:66:18: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | if (control_char(*--cp)) | ^ command.c:82:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 82 | start_mca(action, prompt) | ^ | int command.c:88:8: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | putstr(prompt); | ^ command.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | start_mca(action, prompt) | ^ command.c:130:19: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | if (control_char(c)) | ^ command.c:132:10: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | putchr('^'); | ^ command.c:134:18: warning: passing arguments to 'carat_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | c = carat_char(c); | ^ command.c:136:9: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | putchr(c); | ^ command.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | cmd_char(c) | ^ command.c:185:14: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | if (position(TOP) == NULL_POSITION) | ^ command.c:186:12: warning: passing arguments to 'jump_back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | jump_back(1); | ^ command.c:203:9: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | putchr(':'); | ^ command.c:207:9: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | putstr(p); | ^ command.c:229:30: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | if (cp > cmdbuf && position(TOP) == NULL_POSITION) | ^ command.c:264:9: warning: passing arguments to 'search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | search(1, cmdbuf, number, wsearch); | ^ command.c:267:9: warning: passing arguments to 'search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | search(0, cmdbuf, number, wsearch); | ^ command.c:280:26: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | every_first_cmd = save(p); | ^ command.c:283:16: warning: passing arguments to 'toggle_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | toggle_option(cmdbuf, 1); | ^ command.c:291:12: warning: passing arguments to 'glob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | edit(glob(p)); | ^ command.c:291:7: warning: passing arguments to 'edit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | edit(glob(p)); | ^ command.c:320:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | error("cannot allocate memory"); | ^ command.c:343:11: warning: passing arguments to 'lsystem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | lsystem(""); | ^ command.c:345:11: warning: passing arguments to 'lsystem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | lsystem(shellcmd); | ^ command.c:346:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | error("!done"); | ^ command.c:399:25: warning: passing arguments to 'single_char_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | single_char_option(c)) | ^ command.c:403:17: warning: passing arguments to 'toggle_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | toggle_option(cmdbuf, 1); | ^ command.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | mca_char(c) | ^ command.c:506:30: warning: passing arguments to 'cmd_decode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | switch (action = cmd_decode(c)) | ^ command.c:524:11: warning: passing arguments to 'forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | forward(number, 1); | ^ command.c:536:12: warning: passing arguments to 'backward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | backward(number, 1); | ^ command.c:546:11: warning: passing arguments to 'forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | forward(number, 0); | ^ command.c:556:12: warning: passing arguments to 'backward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | backward(number, 0); | ^ command.c:567:11: warning: passing arguments to 'forward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | forward(scroll, 0); | ^ command.c:578:12: warning: passing arguments to 'backward' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | backward(scroll, 0); | ^ command.c:588:12: warning: passing arguments to 'ch_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | ch_init(0, 0); | ^ command.c:607:13: warning: passing arguments to 'jump_back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | jump_back(number); | ^ command.c:619:16: warning: passing arguments to 'jump_percent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | jump_percent(number); | ^ command.c:630:14: warning: passing arguments to 'jump_back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | jump_back(number); | ^ command.c:638:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | error(eq_message()); | ^ command.c:646:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | error(version+4); | ^ command.c:694:10: warning: passing arguments to 'search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | search(mca==A_F_SEARCH, (char *)NULL, number, wsearch); | ^ command.c:703:10: warning: passing arguments to 'putstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | putstr("help"); | ^ command.c:724:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | error("Cannot edit standard input"); | ^ command.c:731:16: warning: passing arguments to 'currline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | c = currline(MIDDLE); | ^ command.c:739:11: warning: passing arguments to 'lsystem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | lsystem(cmdbuf); | ^ command.c:740:11: warning: passing arguments to 'ch_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | ch_init(0, 0); | ^ command.c:754:13: warning: passing arguments to 'next_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | next_file(number); | ^ command.c:763:13: warning: passing arguments to 'prev_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | prev_file(number); | ^ command.c:786:17: warning: passing arguments to 'toggle_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | toggle_option(cmdbuf, 0); | ^ command.c:822:11: warning: passing arguments to 'setmark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | setmark(c); | ^ command.c:835:10: warning: passing arguments to 'gomark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | gomark(c); | ^ command.c:846:20: warning: passing arguments to 'control_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | if (control_char(c)) | ^ command.c:848:11: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | putchr('^'); | ^ command.c:849:19: warning: passing arguments to 'carat_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | c = carat_char(c); | ^ command.c:851:10: warning: passing arguments to 'putchr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | putchr(c); | ^ 56 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c linenum.c -o linenum.o linenum.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | calcgap(p) | ^ linenum.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | add_lnum(line, pos) | ^ In file included from linenum.c:25: In file included from ./less.h:91: ./funcs.h:43:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | public void add_lnum (); | ^ linenum.c:205:8: warning: passing arguments to 'ierror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | ierror("Calculating line numbers"); | ^ linenum.c:276:14: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | if (ch_seek(p->pos)) | ^ linenum.c:284:24: warning: passing arguments to 'forw_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | cpos = forw_raw_line(cpos); | ^ linenum.c:317:14: warning: passing arguments to 'ch_seek' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | if (ch_seek(p->pos)) | ^ linenum.c:325:24: warning: passing arguments to 'back_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | cpos = back_raw_line(cpos); | ^ linenum.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | find_linenum(pos) | ^ In file included from linenum.c:25: In file included from ./less.h:91: ./funcs.h:44: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] 44 | public int find_linenum (); | ^ linenum.c:367:16: warning: passing arguments to 'position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | pos = position(where); | ^ linenum.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | currline(where) | ^ In file included from linenum.c:25: In file included from ./less.h:91: ./funcs.h:45: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] 45 | public int currline (); | ^ 13 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c tags.c -o tags.o tags.c:35:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | error("No tags file"); | ^ tags.c:104:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | error("No such tag in tags file"); | ^ tags.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | findtag(tag) | ^ In file included from tags.c:2: In file included from ./less.h:91: ./funcs.h:102: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] 102 | public int findtag (); | ^ tags.c:124:24: warning: passing arguments to 'find_linenum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | linenum = find_linenum(pos); | ^ tags.c:140:22: warning: passing arguments to 'forw_raw_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | pos = forw_raw_line(pos); | ^ tags.c:149:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | error("Tag not found"); | ^ tags.c:159:12: warning: passing arguments to 'add_lnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | add_lnum(linenum, pos); | ^ tags.c:168:10: warning: passing arguments to 'jump_loc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | jump_loc(linepos); | ^ 9 warnings generated. cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c version.c -o version.o cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c regerror.c -o regerror.o cc -o vnless main.o option.o prim.o ch.o position.o input.o output.o screen.o prompt.o line.o signal.o os.o help.o ttyin.o decode.o command.o linenum.o tags.o version.o regerror.o -lncurses -lc -lcompat cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c lesskey.c -o lesskey.o lesskey.c:97:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 97 | main(argc, argv) | ^ | int lesskey.c:112: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] 112 | extern char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ lesskey.c:127:6: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | usage(); | ^ lesskey.c:132:4: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | usage(); | ^ lesskey.c:136:3: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | usage(); | ^ lesskey.c:198:12: warning: call to undeclared function 'tchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | *up++ = tchar(&p); | ^ lesskey.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | main(argc, argv) | ^ lesskey.c:274:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 274 | tchar(pp) | ^ | int lesskey.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] lesskey.c:314:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 314 | usage() | ^ | int 10 warnings generated. cc -o lesskey lesskey.o -lcompat =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for vi-vnless-1.0_2 ===> Generating temporary packing list install -s -m 555 vnless /wrkdirs/usr/ports/vietnamese/vnless/work/stage/usr/local/bin/vnless install -m 0644 less.help /wrkdirs/usr/ports/vietnamese/vnless/work/stage/usr/local/share/misc/vnless.help install -s -m 555 lesskey /wrkdirs/usr/ports/vietnamese/vnless/work/stage/usr/local/bin/vnlesskey install -m 444 less.man /wrkdirs/usr/ports/vietnamese/vnless/work/stage/usr/local/share/man/man1/vnless.1 install -m 444 lesskey.man /wrkdirs/usr/ports/vietnamese/vnless/work/stage/usr/local/share/man/man1/vnlesskey.1 ====> 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-22T00:33:46+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=908d980e7eae' '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 vi-vnless-1.0_2 ===> Building vi-vnless-1.0_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for vi-vnless-1.0_2 build of vietnamese/vnless | vi-vnless-1.0_2 ended at Wed Jan 21 19:35:24 EST 2026 build time: 00:01:45