=>> Building math/xspread build started at Sat Oct 4 17:24:20 EDT 2025 port directory: /usr/ports/math/xspread package name: xspread-3.1.1c_6 building for: FreeBSD pkg.DaveG.ca 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1634 Oct 16 2024 /usr/ports/math/xspread/Makefile Ports top last git commit: a936fb9b16ba Ports top unclean checkout: no Port dir last git commit: bb1a2c2c421e Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500064 Jail OSVERSION: 1500064 Job Id: 03 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500064 UNAME_v=FreeBSD 15.0-ALPHA3 1500064 UNAME_r=15.0-ALPHA3 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_15_c_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_15_c_x64-HEAD-ALL/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_c_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for xspread-3.1.1c_6: DOCS=on: Build and/or install documentation X11=off: X11 (graphics) support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- ac_cv_header_X11_X_h=no XDG_DATA_HOME=/wrkdirs/usr/ports/math/xspread/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/xspread/work XDG_CACHE_HOME=/wrkdirs/usr/ports/math/xspread/work/.cache HOME=/wrkdirs/usr/ports/math/xspread/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/xspread/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/xspread/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/math/xspread/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/xspread/work XDG_CACHE_HOME=/wrkdirs/usr/ports/math/xspread/work/.cache HOME=/wrkdirs/usr/ports/math/xspread/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/xspread/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/xspread/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xspread" EXAMPLESDIR="share/examples/xspread" DATADIR="share/xspread" WWWDIR="www/xspread" ETCDIR="etc/xspread" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xspread DOCSDIR=/usr/local/share/doc/xspread EXAMPLESDIR=/usr/local/share/examples/xspread WWWDIR=/usr/local/www/xspread ETCDIR=/usr/local/etc/xspread --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 xspread 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 ===> xspread-3.1.1c_6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.3.1.pkg [pkg.DaveG.ca] Installing pkg-2.3.1... [pkg.DaveG.ca] Extracting pkg-2.3.1: .......... done ===> xspread-3.1.1c_6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xspread-3.1.1c_6 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xspread 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 xspread-3.1.1c_6 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xspread 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 xspread-3.1.1c_6 for building => SHA256 Checksum OK for xspread_3.1.1c.orig.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xspread 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 xspread-3.1.1c_6 for building ===> Extracting for xspread-3.1.1c_6 => SHA256 Checksum OK for xspread_3.1.1c.orig.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for xspread-3.1.1c_6 ===> Applying FreeBSD patches for xspread-3.1.1c_6 from /usr/ports/math/xspread/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xspread-3.1.1c_6 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. ===> xspread-3.1.1c_6 depends on file: /usr/local/bin/ccache - found ===> Returning to build of xspread-3.1.1c_6 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for xspread-3.1.1c_6 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking for bison... no checking for byacc... byacc checking for gcc... cc checking whether we are using GNU C... yes checking whether ln -s works... yes checking whether make sets ${MAKE}... yes checking for less... /usr/bin/less checking for crypt... /usr/bin/crypt checking for des... no checking for -lcurses... yes checking for -ltermlib... yes checking for -lgen... no checking for -lintl... no checking for -lPW... no checking for -lm... yes checking for -lieee... no checking for working terminal libraries... using -lcurses checking how to run the C preprocessor... cpp checking whether cross-compiling... no checking for ANSI C header files... (cached) yes checking for ctype.h... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/file.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/ptem.h... no checking for sys/stream.h... no checking for sys/time.h... (cached) yes checking for time.h... (cached) yes checking for unistd.h... (cached) yes checking for X11 headers and libraries checking for -ldnet... no checking for -ldnet_stub... no checking for -lsocket... no checking for -lnsl... no checking for X11/X.h... (cached) no checking for working const... yes checking for size_t... (cached) yes checking for st_blksize in struct stat... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working alloca.h... (cached) no checking for alloca... (cached) yes checking whether cc needs -traditional... no checking return type of signal handlers... void checking for strchr... (cached) yes checking for memcpy... (cached) yes checking for re_comp... no checking for regcmp... no checking for regcomp... yes checking for rint... yes checking for pow10... no checking for fmod... yes checking for fixterm... no checking for idlok... yes checking for keypad... yes checking for notimeout... yes checking for reset_prog_mode... yes checking for reset_term_mode... no checking for resetterm... no updating cache ./config.cache creating ./config.status creating Makefile creating config.h =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for xspread-3.1.1c_6 --- gram.o --- --- stamp-h --- --- gram.o --- cc -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./gram.c --- stamp-h --- CONFIG_FILES= CONFIG_HEADERS=config.h:config_h.in ./config.status creating config.h --- gram.o --- In file included from gram.y:31: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ gram.y:307:10: warning: call to undeclared function 'readstrfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | { (void) readstrfile(yyvsp[0].sval, currow, curcol, | ^ gram.y:311:10: warning: call to undeclared function 'readstrfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 311 | { (void) readstrfile(yyvsp[-1].sval, (yyvsp[0].rval.left.vp)->row, | ^ gram.y:317:10: warning: call to undeclared function 'readstrfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 317 | { (void) readstrfile(yyvsp[-1].sval, yyvsp[0].ent.vp->row, | ^ gram.y:540:34: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 540 | s = scxmalloc((unsigned)(strlen(s1)+1)); | ^ gram.y:540:34: note: include the header or explicitly provide a declaration for 'strlen' gram.y:541:16: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 541 | (void) strcpy(s, s1); | ^ gram.y:541:16: note: include the header or explicitly provide a declaration for 'strcpy' 6 warnings generated. --- lex.o --- cc -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c lex.c --- stamp-h --- config.h is unchanged echo timestamp >stamp-h --- cmds.o --- --- color.o --- --- crypt.o --- --- format.o --- --- graphic_main.o --- --- help.o --- --- interp.o --- --- matrix.o --- --- plot_XY.o --- --- plot_bar.o --- --- plot_line.o --- --- plot_pie.o --- --- plot_stk_bar.o --- --- range.o --- --- sc.o --- --- cmds.o --- rm -f cmds.o cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing cmds.c --- color.o --- rm -f color.o cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing color.c --- crypt.o --- rm -f crypt.o cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing crypt.c --- format.o --- rm -f format.o cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing format.c --- graphic_main.o --- rm -f graphic_main.o cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing graphic_main.c --- help.o --- rm -f help.o cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing help.c --- interp.o --- rm -f interp.o cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing interp.c --- matrix.o --- rm -f matrix.o cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing matrix.c --- plot_XY.o --- rm -f plot_XY.o --- plot_bar.o --- rm -f plot_bar.o cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing plot_bar.c --- plot_line.o --- rm -f plot_line.o cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing plot_line.c --- plot_pie.o --- rm -f plot_pie.o cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing plot_pie.c --- plot_stk_bar.o --- rm -f plot_stk_bar.o --- range.o --- rm -f range.o --- sc.o --- rm -f sc.o cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing sc.c --- scXstuff.o --- --- plot_XY.o --- cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing plot_XY.c --- plot_stk_bar.o --- cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing plot_stk_bar.c --- scXstuff.o --- rm -f scXstuff.o --- range.o --- cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing range.c --- scXstuff.o --- cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing scXstuff.c --- screen.o --- rm -f screen.o --- search.o --- --- lex.o --- In file included from lex.c:33: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ lex.c:133:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | register tokenl; | ~~~~~~~~ ^ | int lex.c:167:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 167 | register i = 1; | ~~~~~~~~ ^ | int lex.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 | atocol (string, len) | ^ lex.c:292:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | char * mystrtof(p, res) | ^ 5 warnings generated. --- search.o --- rm -f search.o --- screen.o --- cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing screen.c --- sort.o --- --- help.o --- In file included from help.c:16: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ help.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | pscreen(screen) | ^ help.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | print_qref(troff, usageonly) | ^ 3 warnings generated. --- utils.o --- --- search.o --- cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing search.c --- sort.o --- rm -f sort.o --- version.o --- --- vi.o --- --- format.o --- In file included from format.c:97: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ format.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | format(fmt, val, buf, buflen) | ^ format.c:140:7: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | if (strlen(fmt) + 1 > fmtlen) | ^ format.c:140:7: note: include the header or explicitly provide a declaration for 'strlen' format.c:146:9: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 146 | fmt = strcpy(tmpfmt1, fmt); | ^ format.c:146:9: note: include the header or explicitly provide a declaration for 'strcpy' format.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | fmt_int(val, fmt, comma, negative) | ^ format.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | fmt_frac(val, fmt) | ^ format.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | fmt_exp(val, fmt) | ^ format.c:459:10: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 459 | (void) strcat(buf, fmt_int(valbuf, fmt, FALSE, negative)); | ^ format.c:459:10: note: include the header or explicitly provide a declaration for 'strcat' format.c:466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | reverse(buf) | ^ format.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | engformat (fmt, width, lprecision, val, buf, buflen) | ^ format.c:614:19: warning: call to undeclared library function 'strchr' with type 'char *(const char *, int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 614 | pdecimal = strchr (buf, '.'); | ^ format.c:614:19: note: include the header or explicitly provide a declaration for 'strchr' format.c:615:20: warning: call to undeclared library function 'strrchr' with type 'char *(const char *, int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 615 | pexponent = strrchr (buf, 'E'); | ^ format.c:615:20: note: include the header or explicitly provide a declaration for 'strrchr' format.c:576:17: warning: shift count >= width of type [-Wshift-count-overflow] 576 | secs = ~(1 << ((8 * (long) sizeof (long)) - 1)); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13 warnings generated. --- sort.o --- cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing sort.c --- version.o --- rm -f version.o --- utils.o --- rm -f utils.o --- vi.o --- rm -f vi.o --- vmtbl.o --- --- xmalloc.o --- --- pvmtbl.o --- --- putils.o --- --- range.o --- In file included from range.c:18: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ range.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | add_range(name, left, right, is_range) | ^ range.c:56:26: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | if (find_range(name, strlen(name), (struct ent *)0, (struct ent *)0)) { | ^ range.c:56:26: note: include the header or explicitly provide a declaration for 'strlen' range.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 | del_range(left, right) | ^ range.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | find_range(name, len, lmatch, rmatch) | ^ range.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | write_range(f) | ^ range.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | list_range(f) | ^ range.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | v_name(row, col) | ^ range.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | r_name(r1, c1, r2, c2) | ^ 9 warnings generated. --- graphic_main.o --- In file included from graphic_main.c:79: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ graphic_main.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | graphic_read_defn(f) | ^ graphic_main.c:1289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1289 | graphic_write_defn(f) | ^ 3 warnings generated. --- version.o --- cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing version.c --- pvmtbl.o --- rm -f pvmtbl.c ln -s vmtbl.c pvmtbl.c cc -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -DPSC pvmtbl.c --- putils.o --- rm -f putils.c --- utils.o --- cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing utils.c --- vi.o --- cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing vi.c --- vmtbl.o --- rm -f vmtbl.o cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing vmtbl.c --- xmalloc.o --- rm -f xmalloc.o cc -I. -I. -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing xmalloc.c --- pxmalloc.o --- rm -f pxmalloc.c ln -s xmalloc.c pxmalloc.c cc -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -DPSC pxmalloc.c --- putils.o --- ln -s utils.c putils.c --- sc.o --- In file included from sc.c:27: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ sc.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | lookat(row,col) | ^ sc.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | free_ent(p) | ^ sc.c:251:17: warning: call to undeclared library function 'strrchr' with type 'char *(const char *, int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | if ((revi = strrchr(argv[0], '/')) != NULL) | ^ sc.c:251:17: note: include the header or explicitly provide a declaration for 'strrchr' sc.c:323:7: warning: call to undeclared function 'print_qref'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 323 | print_qref(FALSE, TRUE); | ^ sc.c:345:5: warning: call to undeclared function 'graphic_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 345 | graphic_init(); /* initialize graphing parameters */ | ^ sc.c:357:48: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | if (revmsg = (char *) scxmalloc((unsigned)(strlen(version)+30))) | ^ sc.c:357:48: note: include the header or explicitly provide a declaration for 'strlen' sc.c:357:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 357 | if (revmsg = (char *) scxmalloc((unsigned)(strlen(version)+30))) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sc.c:357:16: note: place parentheses around the assignment to silence this warning 357 | if (revmsg = (char *) scxmalloc((unsigned)(strlen(version)+30))) | ^ | ( ) sc.c:357:16: note: use '==' to turn this assignment into an equality comparison 357 | if (revmsg = (char *) scxmalloc((unsigned)(strlen(version)+30))) | ^ | == sc.c:367:9: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 367 | (void) strcpy(curfile,argv[1]); | ^ sc.c:367:9: note: include the header or explicitly provide a declaration for 'strcpy' sc.c:813:10: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 813 | if(strcmp(cmd,"!") == 0) /* repeat? */ | ^ sc.c:813:10: note: include the header or explicitly provide a declaration for 'strcmp' sc.c:834:25: warning: passing arguments to 'wait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | while (pid != wait(&temp)); | ^ sc.c:1143:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1143 | register c1; | ~~~~~~~~ ^ | int sc.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | main (argc, argv) | ^ sc.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | setorder(i) | ^ sc.c:1213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | setauto(i) | ^ sc.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | doquit(arg) | ^ sc.c:1233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | dump_me(arg) | ^ sc.c:1245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | winchg(sig) | ^ sc.c:1292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1292 | modcheck(endstr) | ^ sc.c:1320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | locked_cell (r, c) | ^ sc.c:1334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1334 | any_locked_cells(r1, c1, r2, c2) | ^ sc.c:1358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1358 | handle_keypress(c, choice, item, item_no) | ^ sc.c:1420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1420 | menu(item_no, item, help_prompt) | ^ sc.c:1589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | Range_Menu(opt) | ^ sc.c:1660:11: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1660 | (void) strcat(px,pager); | ^ sc.c:1660:11: note: include the header or explicitly provide a declaration for 'strcat' sc.c:1701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | Row_Col_Menu(opt) | ^ sc.c:1844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1844 | Option_Menu1(opt) | ^ sc.c:1950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1950 | Option_Menu2(opt) | ^ sc.c:2036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2036 | File_Menu(opt) | ^ sc.c:2070:7: warning: address of array 'curfile' will always evaluate to 'true' [-Wpointer-bool-conversion] 2070 | if (curfile) | ~~ ^~~~~~~ 30 warnings generated. --- putils.o --- cc -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c -DPSC putils.c --- version.o --- In file included from version.c:4: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ 1 warning generated. --- matrix.o --- In file included from matrix.c:21: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ matrix.c:49:21: 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] 49 | struct m_range_sd *find_rge(), *rge_sd; | ^ ./sc.h:397:20: note: conflicting prototype is here 397 | struct m_range_sd *find_rge PROTO((char *)); | ^ matrix.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | find_rge(s) | ^ matrix.c:141:11: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | if ((strlen(col) == 0 ) || (strlen(col) > (COLIM-1))) | ^ matrix.c:141:11: note: include the header or explicitly provide a declaration for 'strlen' matrix.c:171:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | int convert( base, s, size) | ^ matrix.c:202:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | void transpose(vr, vc, minsr, minsc, maxsr, maxsc) /* void added Bob Parbs */ | ^ matrix.c:232:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 232 | struct m_range *findrge(),*rge_s1,*rge_s2,*rge_d; | ^ ./sc.h:398:17: note: conflicting prototype is here 398 | struct m_range *findrge PROTO((char *)); | ^ matrix.c:343:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | struct m_range *findrge(s) | ^ matrix.c:391:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | void addmatrix(vr, vc, mins1r, mins1c, maxs1r, maxs1c,mins2r,mins2c,maxs2r,maxs2c) | ^ matrix.c:563:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | void submatrix(vr, vc, mins1r, mins1c, maxs1r, maxs1c,mins2r,mins2c,maxs2r,maxs2c) | ^ matrix.c:781:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | void multmatrix(vr, vc, mins1r, mins1c, maxs1r, maxs1c,mins2r,mins2c,maxs2r,maxs2c) | ^ matrix.c:935:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | void invertmatrix(vr, vc, minsr, minsc, maxsr, maxsc)/* void added Bob Parbs*/ | ^ 12 warnings generated. --- pxmalloc.o --- In file included from pxmalloc.c:12: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ pxmalloc.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 | scxmalloc(n) | ^ pxmalloc.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | scxrealloc(ptr, n) | ^ pxmalloc.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | scxfree(p) | ^ --- pvmtbl.o --- In file included from pvmtbl.c:22: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ pvmtbl.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 | growtbl(rowcol, toprow, topcol) | ^ pvmtbl.c:171:3: warning: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | MEMZERO(fwidth+maxcols, (newcols-maxcols)*sizeof(int)); | ^ --- pxmalloc.o --- pxmalloc.c:69:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | static fatal(str) | ^ 5 warnings generated. --- pvmtbl.o --- ./sc.h:538:30: note: expanded from macro 'MEMZERO' 538 | # define MEMZERO(dest, len) memset((dest), 0, (unsigned int)(len)); | ^ pvmtbl.c:171:3: note: include the header or explicitly provide a declaration for 'memset' ./sc.h:538:30: note: expanded from macro 'MEMZERO' 538 | # define MEMZERO(dest, len) memset((dest), 0, (unsigned int)(len)); | ^ 3 warnings generated. rm -f pvmtbl.c --- pxmalloc.o --- rm -f pxmalloc.c --- vmtbl.o --- In file included from vmtbl.c:22: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ vmtbl.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | checkbounds(rowp, colp) | ^ vmtbl.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 | growtbl(rowcol, toprow, topcol) | ^ vmtbl.c:151:3: warning: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | MEMZERO(row_hidden+maxrows, (newrows-maxrows)*sizeof(char)); | ^ ./sc.h:538:30: note: expanded from macro 'MEMZERO' 538 | # define MEMZERO(dest, len) memset((dest), 0, (unsigned int)(len)); | ^ vmtbl.c:151:3: note: include the header or explicitly provide a declaration for 'memset' ./sc.h:538:30: note: expanded from macro 'MEMZERO' 538 | # define MEMZERO(dest, len) memset((dest), 0, (unsigned int)(len)); | ^ 4 warnings generated. --- screen.o --- In file included from screen.c:24: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ screen.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 | update (anychanged) | ^ screen.c:84:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | register row, col; | ~~~~~~~~ ^ | int screen.c:84:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | register row, col; | ~~~~~~~~ ^ | int screen.c:88:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 88 | register r; | ~~~~~~~~ ^ | int screen.c:89:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | register i; | ~~~~~~~~ ^ | int screen.c:369:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 369 | register c = RESCOL; | ~~~~~~~~ ^ | int screen.c:494:29: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 494 | if (strlen(field) > fwidth[col]) { | ^ screen.c:494:29: note: include the header or explicitly provide a declaration for 'strlen' screen.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | repaint(x, y, len) | ^ screen.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | yyerror(err) | ^ screen.c:875:4: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 875 | strcat(stringbuf, "|{"); | ^ screen.c:875:4: note: include the header or explicitly provide a declaration for 'strcat' screen.c:936:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 936 | { (void) printw(revmsg); | ^~~~~~ screen.c:936:18: note: treat the string as an argument to avoid this 936 | { (void) printw(revmsg); | ^ | "%s", screen.c:954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | clearlines(start, end) | ^ 13 warnings generated. --- interp.o --- In file included from interp.c:38: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ interp.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | finfunc(fun,v1,v2,v3) | ^ interp.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | dostindex( val, minr, minc, maxr, maxc) | ^ interp.c:200:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 200 | register r,c; | ~~~~~~~~ ^ | int interp.c:200:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 200 | register r,c; | ~~~~~~~~ ^ | int interp.c:223:28: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 223 | pr = scxmalloc((unsigned)(strlen(p->label)+1)); | ^ interp.c:223:28: note: include the header or explicitly provide a declaration for 'strlen' interp.c:224:9: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | (void) strcpy(pr, p->label); | ^ interp.c:224:9: note: include the header or explicitly provide a declaration for 'strcpy' interp.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | doindex( val, minr, minc, maxr, maxc) | ^ interp.c:238:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 238 | register r,c; | ~~~~~~~~ ^ | int interp.c:238:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 238 | register r,c; | ~~~~~~~~ ^ | int interp.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 | dolookup( val, minr, minc, maxr, maxc, offr, offc) | ^ interp.c:276:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 276 | register r,c; | ~~~~~~~~ ^ | int interp.c:276:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 276 | register r,c; | ~~~~~~~~ ^ | int interp.c:309:7: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | if (strcmp(p->label,s) == 0) { | ^ interp.c:309:7: note: include the header or explicitly provide a declaration for 'strcmp' interp.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | docount(minr, minc, maxr, maxc) | ^ interp.c:337:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 337 | register r,c; | ~~~~~~~~ ^ | int interp.c:337:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 337 | register r,c; | ~~~~~~~~ ^ | int interp.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | dosum(minr, minc, maxr, maxc) | ^ interp.c:356:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 356 | register r,c; | ~~~~~~~~ ^ | int interp.c:356:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 356 | register r,c; | ~~~~~~~~ ^ | int interp.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | doprod(minr, minc, maxr, maxc) | ^ interp.c:375:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 375 | register r,c; | ~~~~~~~~ ^ | int interp.c:375:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 375 | register r,c; | ~~~~~~~~ ^ | int interp.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | doavg(minr, minc, maxr, maxc) | ^ interp.c:394:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 394 | register r,c,count; | ~~~~~~~~ ^ | int interp.c:394:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 394 | register r,c,count; | ~~~~~~~~ ^ | int interp.c:394:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 394 | register r,c,count; | ~~~~~~~~ ^ | int interp.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 | dostddev(minr, minc, maxr, maxc) | ^ interp.c:420:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 420 | register r,c,n; | ~~~~~~~~ ^ | int interp.c:420:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 420 | register r,c,n; | ~~~~~~~~ ^ | int interp.c:420:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 420 | register r,c,n; | ~~~~~~~~ ^ | int interp.c:445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | domax(minr, minc, maxr, maxc) | ^ interp.c:449:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 449 | register r,c,count; | ~~~~~~~~ ^ | int interp.c:449:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 449 | register r,c,count; | ~~~~~~~~ ^ | int interp.c:449:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 449 | register r,c,count; | ~~~~~~~~ ^ | int interp.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | domin(minr, minc, maxr, maxc) | ^ interp.c:477:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 477 | register r,c,count; | ~~~~~~~~ ^ | int interp.c:477:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 477 | register r,c,count; | ~~~~~~~~ ^ | int interp.c:477:18: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 477 | register r,c,count; | ~~~~~~~~ ^ | int interp.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | dodts(mo, day, yr) | ^ interp.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | dotts(hr, min, sec) | ^ interp.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | dotime(which, when) | ^ interp.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | doston(s) | ^ interp.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | doeqs(s1, s2) | ^ interp.c:655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | getent (colstr, rowdoub) | ^ interp.c:689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | donval (colstr, rowdoub) | ^ interp.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | dolmax(ep) | ^ interp.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | dolmin(ep) | ^ interp.c:746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | eval(e) | ^ interp.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | eval_fpe(sig) /* Trap for FPE errors in eval */ | ^ interp.c:949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | fn1_eval(fn, arg) | ^ interp.c:955:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | res = (*fn)(arg); | ^ interp.c:963:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 963 | fn2_eval(fn, arg1, arg2) | ^ interp.c:969:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | res = (*fn)(arg1, arg2); | ^ interp.c:983:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | docat(s1, s2) | ^ interp.c:995:12: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 995 | (void) strcat(p, arg2); | ^ interp.c:995:12: note: include the header or explicitly provide a declaration for 'strcat' interp.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | dodate(tloc) | ^ interp.c:1019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | dofmt(fmtstr, v) | ^ interp.c:1062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | doext (command, value) | ^ interp.c:1107:17: warning: call to undeclared library function 'strchr' with type 'char *(const char *, int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1107 | if ((cp = strchr (buff, '\n')) != NULL)/*contains newline*/ | ^ interp.c:1107:17: note: include the header or explicitly provide a declaration for 'strchr' interp.c:1139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1139 | dosval (colstr, rowdoub) | ^ interp.c:1157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | dosubstr(s, v1, v2) | ^ interp.c:1190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1190 | docase( acase, s) | ^ interp.c:1224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1224 | docapital( s ) | ^ interp.c:1252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1252 | seval(se) | ^ interp.c:1283:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1283 | { register r,c; | ~~~~~~~~ ^ | int interp.c:1283:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1283 | { register r,c; | ~~~~~~~~ ^ | int interp.c:1284:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1284 | register maxr, maxc; | ~~~~~~~~ ^ | int interp.c:1284:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1284 | register maxr, maxc; | ~~~~~~~~ ^ | int interp.c:1285:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1285 | register minr, minc; | ~~~~~~~~ ^ | int interp.c:1285:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1285 | register minr, minc; | ~~~~~~~~ ^ | int interp.c:1323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1323 | setiterations(i) | ^ interp.c:1377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1377 | RealEvalOne(p, i, j, chgct) | ^ interp.c:1436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1436 | new(op, a1, a2) | ^ interp.c:1454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1454 | new_var(op, a1) | ^ interp.c:1471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1471 | new_range(op, a1) | ^ interp.c:1488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1488 | new_const(op, a1) | ^ interp.c:1505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1505 | new_str(s) | ^ interp.c:1528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1528 | copy(dv1, dv2, v1, v2) | ^ interp.c:1590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | copyrtv(vr, vc, minsr, minsc, maxsr, maxsc) | ^ interp.c:1598:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1598 | register rsteps, csteps; | ~~~~~~~~ ^ | int interp.c:1598:22: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1598 | register rsteps, csteps; | ~~~~~~~~ ^ | int interp.c:1600:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1600 | register rinc, cinc; | ~~~~~~~~ ^ | int interp.c:1600:20: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1600 | register rinc, cinc; | ~~~~~~~~ ^ | int interp.c:1641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1641 | eraser(v1, v2) | ^ interp.c:1687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | moveto(row, col) | ^ interp.c:1702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1702 | num_search(n, errsearch) | ^ interp.c:1814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1814 | str_search(s) | ^ interp.c:1908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1908 | fill (v1, v2, start, inc) | ^ interp.c:1912:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1912 | register r,c; | ~~~~~~~~ ^ | int interp.c:1912:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1912 | register r,c; | ~~~~~~~~ ^ | int interp.c:1960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1960 | lock_cells (v1, v2) | ^ interp.c:1963:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1963 | register r,c; | ~~~~~~~~ ^ | int interp.c:1963:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1963 | register r,c; | ~~~~~~~~ ^ | int interp.c:1988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | unlock_cells (v1, v2) | ^ interp.c:1991:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1991 | register r,c; | ~~~~~~~~ ^ | int interp.c:1991:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1991 | register r,c; | ~~~~~~~~ ^ | int interp.c:2015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2015 | let (v, e) | ^ interp.c:2081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2081 | slet (v, se, flushdir) | ^ interp.c:2137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2137 | format_cell(v1, v2, s) | ^ interp.c:2141:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2141 | register r,c; | ~~~~~~~~ ^ | int interp.c:2141:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2141 | register r,c; | ~~~~~~~~ ^ | int interp.c:2176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2176 | hide_row(arg) | ^ interp.c:2195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2195 | hide_col(arg) | ^ interp.c:2213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2213 | clearent (v) | ^ interp.c:2236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2236 | constant (e) | ^ interp.c:2260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2260 | efree (e) | ^ interp.c:2277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2277 | label (v, s, flushdir) | ^ interp.c:2307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2307 | decodev (v) | ^ interp.c:2325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2325 | coltoa(col) | ^ interp.c:2346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2346 | decompile_list(p) | ^ interp.c:2356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2356 | decompile(e, priority) | ^ interp.c:2486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2486 | index_arg(s, e) | ^ interp.c:2497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2497 | two_arg_index(s, e) | ^ interp.c:2512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2512 | list_arg(s, e) | ^ interp.c:2526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2526 | one_arg(s, e) | ^ interp.c:2537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2537 | two_arg(s,e) | ^ interp.c:2550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2550 | three_arg(s,e) | ^ interp.c:2565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2565 | range_arg(s,e) | ^ interp.c:2586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2586 | editfmt (row, col) | ^ interp.c:2599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2599 | editv (row, col) | ^ interp.c:2616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2616 | editexp(row,col) | ^ interp.c:2627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2627 | edits (row, col) | ^ 123 warnings generated. --- utils.o --- In file included from utils.c:4: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ utils.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 | pow10(p) | ^ utils.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | scerror(errstring) | ^ utils.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | message(x) | ^ --- xmalloc.o --- In file included from xmalloc.c:12: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ xmalloc.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 | scxmalloc(n) | ^ xmalloc.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | scxrealloc(ptr, n) | ^ xmalloc.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | scxfree(p) | ^ --- utils.o --- utils.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | doirr(minr, minc, maxr, maxc) | ^ utils.c:153:9: 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] 153 | double dorlirr(); | ^ utils.c:13:15: note: conflicting prototype is here 13 | static double dorlirr PROTO((int, int, int, int)); | ^ utils.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | dorlirr(minr, minc, maxr, maxc) | ^ --- xmalloc.o --- xmalloc.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | fatal(str) | ^ 5 warnings generated. --- utils.o --- utils.c:191:9: 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] 191 | double fabs(); | ^ utils.c:193:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 193 | double val, cash_flow(); | ^ utils.c:12:15: note: conflicting prototype is here 12 | static double cash_flow PROTO((double, double *, int, int, int, int)); | ^ utils.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | valid_nrange(minr, minc, maxr, maxc, emptyok) | ^ utils.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] 274 | set_step(minr, minc, maxr, maxc, rincp, cincp) | ^ utils.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | populate_power(rate, rate_pow, npow) | ^ utils.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | cash_flow(rate, rate_pow, minr, minc, maxr, maxc) | ^ 13 warnings generated. --- search.o --- In file included from search.c:63: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ search.c:354:9: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | if (strcmp(p->label , search_label) == 0) | ^ search.c:354:9: note: include the header or explicitly provide a declaration for 'strcmp' 2 warnings generated. --- putils.o --- In file included from putils.c:4: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ putils.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 | pow10(p) | ^ putils.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | scerror(errstring) | ^ putils.c:79:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 79 | fprintf(stderr, errstring); | ^~~~~~~~~ putils.c:79:20: note: treat the string as an argument to avoid this 79 | fprintf(stderr, errstring); | ^ | "%s", putils.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | message(x) | ^ putils.c:111:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 111 | fprintf(stderr, x); | ^ putils.c:111:20: note: treat the string as an argument to avoid this 111 | fprintf(stderr, x); | ^ | "%s", 6 warnings generated. rm -f putils.c --- vi.o --- In file included from vi.c:18: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ vi.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | write_line(c) | ^ vi.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | savedot(c) | ^ vi.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 | u_save(c) | ^ --- sort.o --- In file included from sort.c:64: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ sort.c:255:23: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | if (strcmp(q->label, minmax) > 0) | ^ sort.c:255:23: note: include the header or explicitly provide a declaration for 'strcmp' sort.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- pxspread --- --- vi.o --- vi.c:254:9: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | if (strlen(line)+1 > undolen) | ^ vi.c:254:9: note: include the header or explicitly provide a declaration for 'strlen' vi.c:259:12: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | (void) strcpy(undo_line, line); | ^ vi.c:259:12: note: include the header or explicitly provide a declaration for 'strcpy' vi.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | for_line(stop_null) | ^ vi.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | for_word(stop_null) | ^ vi.c:429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | ins_in_line(c) | ^ vi.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | ins_string(s) | ^ vi.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | replace_in_line(c) | ^ vi.c:533:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 533 | static del_end; | ~~~~~~ ^ | int vi.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | del_chars(first, last) | ^ vi.c:687:20: warning: call to undeclared library function 'strchr' with type 'char *(const char *, int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 687 | for ( look_here = strchr(look_here, last_search[0]); | ^ vi.c:687:20: note: include the header or explicitly provide a declaration for 'strchr' vi.c:691:10: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 691 | if (strncmp(look_here, last_search, strlen(last_search)) == 0) | ^ vi.c:691:10: note: include the header or explicitly provide a declaration for 'strncmp' vi.c:762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | get_str(s, max_str_len) | ^ vi.c:871:2: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 871 | strncpy(s, buf, max_str_len); | ^ vi.c:871:2: note: include the header or explicitly provide a declaration for 'strncpy' 17 warnings generated. --- sort.o --- 410 | swap_col(a,b) | ^ sort.c:445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | swap_row(a,b) | ^ 4 warnings generated. --- pxspread --- cc -I. -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o pxspread psc.c pvmtbl.o pxmalloc.o putils.o version.o -ltermlib -lm -lcurses --- cmds.o --- In file included from cmds.c:34: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ cmds.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | insertrow(arg) | ^ cmds.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 | deleterow(arg) | ^ cmds.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | erase_area(sr, sc, er, ec) | ^ cmds.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | valueize_area(sr, sc, er, ec) | ^ cmds.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | pullcells(to_insert) | ^ cmds.c:346:24: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 346 | (void) sprintf(line + strlen(line),"%s",coltoa(j)); | ^ cmds.c:346:24: note: include the header or explicitly provide a declaration for 'strlen' cmds.c:424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | openrow (rs) | ^ cmds.c:427:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 427 | register r, c; | ~~~~~~~~ ^ | int cmds.c:427:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 427 | register r, c; | ~~~~~~~~ ^ | int cmds.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | closerow (r) | ^ cmds.c:459:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 459 | register c; | ~~~~~~~~ ^ | int cmds.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | opencol (cs, numcol) | ^ cmds.c:495:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 495 | register r; | ~~~~~~~~ ^ | int cmds.c:497:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 497 | register c; | ~~~~~~~~ ^ | int cmds.c:498:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 498 | register lim = maxcol-cs+1; | ~~~~~~~~ ^ | int cmds.c:536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | closecol (cs, numcol) | ^ cmds.c:540:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 540 | register r; | ~~~~~~~~ ^ | int cmds.c:543:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 543 | register c; | ~~~~~~~~ ^ | int cmds.c:544:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 544 | register lim = maxcol-cs; | ~~~~~~~~ ^ | int cmds.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | doend(rowinc, colinc) | ^ cmds.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | doformat(c1,c2,w,p,r) | ^ cmds.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | print_options(f) | ^ cmds.c:766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | printfile (fname, r0, c0, rn, cn) | ^ cmds.c:777:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 777 | register row, col; | ~~~~~~~~ ^ | int cmds.c:777:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 777 | register row, col; | ~~~~~~~~ ^ | int cmds.c:789:10: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 789 | if ((strcmp(fname, curfile) == 0) && | ^ cmds.c:789:10: note: include the header or explicitly provide a declaration for 'strcmp' cmds.c:812:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 812 | register c = 0; | ~~~~~~~~ ^ | int cmds.c:983:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | tblprintfile (fname, r0, c0, rn, cn) | ^ cmds.c:1149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | unspecial(f, str, delim) | ^ cmds.c:1168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1168 | copye (e, Rdelta, Cdelta) | ^ cmds.c:1226:10: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1226 | (void) strcpy(ret->e.s, e->e.s); | ^ cmds.c:1226:10: note: include the header or explicitly provide a declaration for 'strcpy' cmds.c:1246:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1246 | register i,j; | ~~~~~~~~ ^ | int cmds.c:1246:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1246 | register i,j; | ~~~~~~~~ ^ | int cmds.c:1260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | syncref(e) | ^ cmds.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | hiderow(arg) | ^ cmds.c:1313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | hidecol(arg) | ^ cmds.c:1339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | showrow(r1, r2) | ^ cmds.c:1357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1357 | showcol(c1, c2) | ^ cmds.c:1375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | openout(fname, rpid) | ^ cmds.c:1423:47: warning: missing sentinel in function call [-Wsentinel] 1423 | (void) execl ("/bin/sh", "sh", "-c", fname, 0); | ^ | , NULL /usr/include/unistd.h:337:6: note: function has been explicitly marked sentinel here 337 | int execl(const char *, const char *, ...) __null_sentinel; | ^ ~~~~~~~~~~~~~~~ cmds.c:1445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1445 | closeout(f, pid) | ^ cmds.c:1454:28: warning: passing arguments to 'wait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1454 | while (pid != wait(&temp)) /**/; | ^ cmds.c:1465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1465 | copyent(n,p,dr,dc) | ^ cmds.c:1490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1490 | write_fd (f, r0, c0, rn, cn) | ^ cmds.c:1495:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1495 | register r, c; | ~~~~~~~~ ^ | int cmds.c:1495:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1495 | register r, c; | ~~~~~~~~ ^ | int cmds.c:1547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1547 | writefile (fname, r0, c0, rn, cn) | ^ cmds.c:1589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | readfile (fname,eraseflg) | ^ cmds.c:1650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1650 | readstrfile(fname, startrow, startcol, endrow, endcol) | ^ cmds.c:1705:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1705 | register r, c; | ~~~~~~~~ ^ | int cmds.c:1705:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1705 | register r, c; | ~~~~~~~~ ^ | int cmds.c:1731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1731 | backcol(arg) | ^ cmds.c:1749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1749 | forwcol(arg) | ^ cmds.c:1768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1768 | forwrow(arg) | ^ cmds.c:1787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1787 | backrow(arg) | ^ cmds.c:1811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1811 | showstring (string, dirflush, hasvalue, row, col, nextcolp, mxcol, fieldlenp, | ^ cmds.c:1897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1897 | etype(e) | ^ cmds.c:1933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1933 | yn_ask(msg) | ^ cmds.c:2007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2007 | findhome(path) | ^ cmds.c:2045:3: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2045 | strcat(tmppath, pathptr); | ^ cmds.c:2045:3: note: include the header or explicitly provide a declaration for 'strcat' cmds.c:2162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2162 | backup_file(path) | ^ cmds.c:2180:13: warning: call to undeclared library function 'strrchr' with type 'char *(const char *, int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2180 | if ((tpp = strrchr(tpath, '/')) == NULL) | ^ cmds.c:2180:13: note: include the header or explicitly provide a declaration for 'strrchr' cmds.c:2270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2270 | fsuffix(path, fname, ending) | ^ cmds.c:2303:9: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2303 | { if (strncmp(chp, ".sc", strlen(chp)) == 0) | ^ cmds.c:2303:9: note: include the header or explicitly provide a declaration for 'strncmp' cmds.c:2320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2320 | extract_filename(fname) | ^ cmds.c:2340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2340 | what_file(fname, suffix) | ^ 67 warnings generated. --- xspread --- --- pxspread --- In file included from psc.c:27: ./sc.h:581:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 581 | extern int re_exec(); | ^ /usr/include/unistd.h:561:6: note: conflicting prototype is here 561 | int re_exec(const char *); | ^ psc.c:36:22: 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] 36 | extern int optind, getopt(); | ^ /usr/include/unistd.h:384:6: note: conflicting prototype is here 384 | int getopt(int, char * const [], const char *); | ^ psc.c:85:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | register effr, effc; | ~~~~~~~~ ^ | int psc.c:85:20: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | register effr, effc; | ~~~~~~~~ ^ | int psc.c:216:10: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | i = strlen(token); | ^ psc.c:216:10: note: include the header or explicitly provide a declaration for 'strlen' psc.c:76:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | int main(argc, argv) | ^ psc.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | getcol(p) | ^ psc.c:354:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 354 | register col; | ~~~~~~~~ ^ | int psc.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | getrow(p) | ^ psc.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | coltoa(col) | ^ --- xspread --- rm -f xspread cc -o xspread cmds.o color.o crypt.o format.o graphic_main.o help.o interp.o matrix.o plot_XY.o plot_bar.o plot_line.o plot_pie.o plot_stk_bar.o range.o sc.o scXstuff.o screen.o search.o sort.o utils.o version.o vi.o vmtbl.o xmalloc.o gram.o lex.o -ltermlib -lm -lcurses --- pxspread --- 10 warnings generated. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for xspread-3.1.1c_6 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/math/xspread/work/xspread-3.1.1c.orig/pxspread /wrkdirs/usr/ports/math/xspread/work/stage/usr/local/bin/pxspread install -s -m 555 /wrkdirs/usr/ports/math/xspread/work/xspread-3.1.1c.orig/xspread /wrkdirs/usr/ports/math/xspread/work/stage/usr/local/bin/xspread install -m 444 /wrkdirs/usr/ports/math/xspread/work/xspread-3.1.1c.orig/pxspread.man /wrkdirs/usr/ports/math/xspread/work/stage/usr/local/share/man/man1/pxspread.1 install -m 444 /wrkdirs/usr/ports/math/xspread/work/xspread-3.1.1c.orig/xspread.man /wrkdirs/usr/ports/math/xspread/work/stage/usr/local/share/man/man1/xspread.1 install -m 0644 /wrkdirs/usr/ports/math/xspread/work/xspread-3.1.1c.orig/README /wrkdirs/usr/ports/math/xspread/work/stage/usr/local/share/doc/xspread install -m 0644 /wrkdirs/usr/ports/math/xspread/work/xspread-3.1.1c.orig/x/notes /wrkdirs/usr/ports/math/xspread/work/stage/usr/local/share/doc/xspread (cd /wrkdirs/usr/ports/math/xspread/work/xspread-3.1.1c.orig && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE "doc documents sample_files tests" /wrkdirs/usr/ports/math/xspread/work/stage/usr/local/share/doc/xspread "! -name *.tmp") ====> 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=2025-10-04T21:24:20+0000' 'PKG_NOTE_ports_top_git_hash=a936fb9b16ba' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=bb1a2c2c421e' '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 xspread-3.1.1c_6 ===> Building xspread-3.1.1c_6 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xspread-3.1.1c_6 build of math/xspread | xspread-3.1.1c_6 ended at Sat Oct 4 17:25:55 EDT 2025 build time: 00:01:39