=>> Building math/sc build started at Fri Feb 20 04:47:21 EST 2026 port directory: /usr/ports/math/sc package name: sc-7.16_4 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 801 Aug 27 2024 /usr/ports/math/sc/Makefile Ports top last git commit: eac71dbf758c Ports top unclean checkout: no Port dir last git commit: d0a737fa905e Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500068 Job Id: 05 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500068 UNAME_v=FreeBSD 15.0-RELEASE-p3 1500068 UNAME_r=15.0-RELEASE-p3 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_0_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_0_x64-HEAD-ALL/05/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_0_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/math/sc/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/sc/work XDG_CACHE_HOME=/wrkdirs/usr/ports/math/sc/work/.cache HOME=/wrkdirs/usr/ports/math/sc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/sc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/sc/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/math/sc/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/sc/work XDG_CACHE_HOME=/wrkdirs/usr/ports/math/sc/work/.cache HOME=/wrkdirs/usr/ports/math/sc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/sc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/sc/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-- OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sc" EXAMPLESDIR="share/examples/sc" DATADIR="share/sc" WWWDIR="www/sc" ETCDIR="etc/sc" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/sc DOCSDIR=/usr/local/share/doc/sc EXAMPLESDIR=/usr/local/share/examples/sc WWWDIR=/usr/local/www/sc ETCDIR=/usr/local/etc/sc --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 sc 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 ===> sc-7.16_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> sc-7.16_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of sc-7.16_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The sc 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 sc-7.16_4 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The sc 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 sc-7.16_4 for building => SHA256 Checksum OK for sc-7.16.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 sc 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 sc-7.16_4 for building ===> Extracting for sc-7.16_4 => SHA256 Checksum OK for sc-7.16.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 sc-7.16_4 ===> Applying FreeBSD patches for sc-7.16_4 from /usr/ports/math/sc/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> sc-7.16_4 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. ===> sc-7.16_4 depends on file: /usr/local/bin/ccache - found ===> Returning to build of sc-7.16_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for sc-7.16_4 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for sc-7.16_4 --- gram.c --- --- pvmtbl.c --- --- pxmalloc.c --- --- qhelp.c --- --- abbrev.o --- --- cmds.o --- --- color.o --- --- crypt.o --- --- format.o --- --- frame.o --- --- help.o --- --- interp.o --- --- pipe.o --- --- range.o --- --- sc.o --- --- screen.o --- --- sort.o --- --- version.o --- --- vi.o --- --- vmtbl.o --- --- xmalloc.o --- --- qhelp.c --- rm -f qhelp.c ln help.c qhelp.c --- pxmalloc.c --- rm -f pxmalloc.c ln xmalloc.c pxmalloc.c --- pvmtbl.c --- rm -f pvmtbl.c ln vmtbl.c pvmtbl.c --- gram.c --- yacc -d gram.y mv y.tab.c gram.c --- version.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c version.c -o version.o --- vi.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DREGCOMP -DHISTORY_FILE=\"~/.sc_history\" -c vi.c --- xmalloc.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c xmalloc.c -o xmalloc.o --- abbrev.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DDFLT_PAGER=\"less\" -c abbrev.c --- cmds.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DDOBACKUPS -DCRYPT_PATH=\"/usr/bin/crypt\" -c cmds.c --- color.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c color.c -o color.o --- crypt.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DCRYPT_PATH=\"/usr/bin/crypt\" -DDOBACKUPS -c crypt.c --- format.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c format.c -o format.o --- frame.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c frame.c -o frame.o --- help.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DCRYPT_PATH=\"/usr/bin/crypt\" -c help.c --- interp.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -ffloat-store -DSIGVOID -DREGCOMP -c interp.c --- pipe.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c pipe.c -o pipe.o --- range.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c range.c -o range.o --- sc.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DDFLT_PAGER=\"less\" -DSIGVOID -DSAVENAME=\"SC.SAVE\" -c sc.c --- screen.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DSIGVOID -c screen.c --- sort.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c sort.c -o sort.o --- scqref --- --- pxmalloc.o --- --- pvmtbl.o --- --- gram.o --- --- vmtbl.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c vmtbl.c -o vmtbl.o --- scqref --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DQREF -DTROFF -DSCNAME=\"SC\" -o scqref qhelp.c --- pxmalloc.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c -DPSC pxmalloc.c --- pvmtbl.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -c -DPSC pvmtbl.c --- scqref --- qhelp.c:645:12: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 645 | (void) exit(0); | ^ qhelp.c:645:12: note: include the header or explicitly provide a declaration for 'exit' 1 warning generated. --- gram.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DUSELOCALE -c gram.c --- format.o --- --- frame.o --- frame.c:55:6: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | error("Invalid parameters"); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ frame.c:55:6: warning: call to undeclared function 'move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ frame.c:55:6: warning: call to undeclared function 'clrtoeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ frame.c:55:6: warning: call to undeclared function 'printw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ frame.c:109:3: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | error("Framed ranges may not be nested or overlapping"); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ frame.c:109:3: warning: call to undeclared function 'move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ frame.c:109:3: warning: call to undeclared function 'clrtoeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ frame.c:109:3: warning: call to undeclared function 'printw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ 8 warnings generated. --- version.o --- --- vmtbl.o --- vmtbl.c:120:6: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | error(nowider); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ vmtbl.c:120:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 120 | error(nowider); | ^~~~~~~ vmtbl.c:120:12: note: treat the string as an argument to avoid this 120 | error(nowider); | ^ | "%s", vmtbl.c:138:2: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | GROWALLOC(row_hidden2, row_hidden, newrows, char, nolonger); | ^ vmtbl.c:58:2: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ vmtbl.c:138:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 138 | GROWALLOC(row_hidden2, row_hidden, newrows, char, nolonger); | ^~~~~~~~ vmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^~~ vmtbl.c:138:52: note: treat the string as an argument to avoid this 138 | GROWALLOC(row_hidden2, row_hidden, newrows, char, nolonger); | ^ | "%s", vmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^ vmtbl.c:145:2: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | GROWALLOC(tbl2, tbl, newrows, struct ent **, nolonger); | ^ vmtbl.c:58:2: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ vmtbl.c:145:47: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 145 | GROWALLOC(tbl2, tbl, newrows, struct ent **, nolonger); | ^~~~~~~~ vmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^~~ vmtbl.c:145:47: note: treat the string as an argument to avoid this 145 | GROWALLOC(tbl2, tbl, newrows, struct ent **, nolonger); | ^ | "%s", vmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^ vmtbl.c:154:2: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | GROWALLOC(fwidth2, fwidth, newcols, int, nowider); | ^ vmtbl.c:58:2: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ vmtbl.c:154:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 154 | GROWALLOC(fwidth2, fwidth, newcols, int, nowider); | ^~~~~~~ vmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^~~ vmtbl.c:154:43: note: treat the string as an argument to avoid this 154 | GROWALLOC(fwidth2, fwidth, newcols, int, nowider); | ^ | "%s", vmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^ vmtbl.c:155:2: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | GROWALLOC(precision2, precision, newcols, int, nowider); | ^ vmtbl.c:58:2: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ vmtbl.c:155:49: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 155 | GROWALLOC(precision2, precision, newcols, int, nowider); | ^~~~~~~ vmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^~~ vmtbl.c:155:49: note: treat the string as an argument to avoid this 155 | GROWALLOC(precision2, precision, newcols, int, nowider); | ^ | "%s", vmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^ vmtbl.c:156:2: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | GROWALLOC(realfmt2, realfmt, newcols, int, nowider); | ^ vmtbl.c:58:2: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ vmtbl.c:156:45: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 156 | GROWALLOC(realfmt2, realfmt, newcols, int, nowider); | ^~~~~~~ vmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^~~ vmtbl.c:156:45: note: treat the string as an argument to avoid this 156 | GROWALLOC(realfmt2, realfmt, newcols, int, nowider); | ^ | "%s", vmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^ vmtbl.c:163:2: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | GROWALLOC(col_hidden2, col_hidden, newcols, char, nowider); | ^ vmtbl.c:58:2: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ vmtbl.c:163:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 163 | GROWALLOC(col_hidden2, col_hidden, newcols, char, nowider); | ^~~~~~~ vmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^~~ vmtbl.c:163:52: note: treat the string as an argument to avoid this 163 | GROWALLOC(col_hidden2, col_hidden, newcols, char, nowider); | ^ | "%s", vmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^ vmtbl.c:175:6: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | error(nowider); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ vmtbl.c:175:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 175 | error(nowider); | ^~~~~~~ vmtbl.c:175:12: note: treat the string as an argument to avoid this 175 | error(nowider); | ^ | "%s", vmtbl.c:193:6: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | error(nowider); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ vmtbl.c:193:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 193 | error(nowider); | ^~~~~~~ vmtbl.c:193:12: note: treat the string as an argument to avoid this 193 | error(nowider); | ^ | "%s", 18 warnings generated. --- frame.o --- --- vmtbl.o --- --- abbrev.o --- abbrev.c:35:7: warning: call to undeclared function 'are_abbrevs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | if (!are_abbrevs()) { | ^ abbrev.c:36:6: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | error("No abbreviations defined"); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:36:6: warning: call to undeclared function 'move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:36:6: warning: call to undeclared function 'clrtoeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:36:6: warning: call to undeclared function 'printw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:52:3: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | error("Can't open pipe to %s", pager); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:52:3: warning: call to undeclared function 'move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:52:3: warning: call to undeclared function 'clrtoeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:52:3: warning: call to undeclared function 'printw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:77:3: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | error("Invalid abbreviation: %s", string); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:77:3: warning: call to undeclared function 'move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:77:3: warning: call to undeclared function 'clrtoeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:77:3: warning: call to undeclared function 'printw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:84:3: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | error("Invalid abbreviation: %s", string); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:84:3: warning: call to undeclared function 'move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:84:3: warning: call to undeclared function 'clrtoeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:84:3: warning: call to undeclared function 'printw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:92:6: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | error("abbrev \"%s %s\"", a->abbr, a->exp); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:92:6: warning: call to undeclared function 'move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:92:6: warning: call to undeclared function 'clrtoeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:92:6: warning: call to undeclared function 'printw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:95:6: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | error("abreviation \"%s\" doesn't exist", string); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:95:6: warning: call to undeclared function 'move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:95:6: warning: call to undeclared function 'clrtoeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:95:6: warning: call to undeclared function 'printw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ abbrev.c:94:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 94 | } else { | ^ 26 warnings generated. --- pxmalloc.o --- pxmalloc.c:9:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 9 | extern char *malloc(); | ^ pxmalloc.c:9:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' pxmalloc.c:10:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 10 | extern char *realloc(); | ^ pxmalloc.c:10:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' pxmalloc.c:26:19: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | if ((ptr = malloc(n + sizeof(double))) == NULL) | ^ pxmalloc.c:27:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | fatal("scxmalloc: no memory"); | ^ pxmalloc.c:41:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | fatal("scxrealloc: storage not scxmalloc'ed"); | ^ pxmalloc.c:43:20: warning: passing arguments to 'realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | if ((ptr = realloc(ptr, n + sizeof(double))) == NULL) | ^ pxmalloc.c:44:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | fatal("scxmalloc: no memory"); | ^ pxmalloc.c:53:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | fatal("scxfree: NULL"); | ^ pxmalloc.c:56:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | fatal("scxfree: storage not malloc'ed"); | ^ pxmalloc.c:12:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | void fatal(); | ^ pxmalloc.c:62:1: note: conflicting prototype is here 62 | fatal(char *str) | ^ 10 warnings generated. --- crypt.o --- crypt.c:38:2: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | error ("Can't read file \"%s\"", save); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ crypt.c:44:9: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 44 | if (pipe(pipefd) < 0) { | ^ crypt.c:45:2: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | error("Can't make pipe to child"); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ crypt.c:50:35: warning: passing arguments to 'getpass' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | (void) strcpy(KeyWord, getpass("Enter key:")); | ^ crypt.c:53:14: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | if ((pid=fork()) == 0) { /* if child */ | ^ crypt.c:54:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | (void) close(0); /* close stdin */ | ^ crypt.c:57:9: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | (void) dup(fildes); /* standard in from file */ | ^ crypt.c:60:9: warning: call to undeclared function 'execl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | (void) execl(CRYPT_PATH, "crypt", KeyWord, 0); | ^ crypt.c:63:2: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | exit(-127); | ^ crypt.c:63:2: note: include the header or explicitly provide a declaration for 'exit' crypt.c:65:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | (void) close(fildes); | ^ crypt.c:68:13: warning: call to undeclared function 'kill'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | (void) kill(pid, 9); | ^ crypt.c:69:6: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | error("Can't fdopen file \"%s\"", save); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ crypt.c:82:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | (void) close(pipefd[0]); | ^ crypt.c:83:19: warning: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | while (pid != wait(&fildes)) /**/; | ^ crypt.c:110:2: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | error("Can't have encrypted pipe"); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ crypt.c:123:2: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | error("Can't create file \"%s\"", save); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ crypt.c:127:9: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | if (pipe(pipefd) < 0) { | ^ crypt.c:128:2: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | error("Can't make pipe to child\n"); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ crypt.c:134:32: warning: passing arguments to 'getpass' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | (void) strcpy(KeyWord, getpass("Enter key:")); | ^ crypt.c:138:14: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | if ((pid=fork()) == 0) { /* if child */ | ^ crypt.c:139:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | (void) close(0); /* close stdin */ | ^ crypt.c:142:9: warning: call to undeclared function 'dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | (void) dup(pipefd[0]); /* connect to pipe input */ | ^ crypt.c:145:9: warning: call to undeclared function 'execl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | (void) execl(CRYPT_PATH, "crypt", KeyWord, 0); | ^ crypt.c:151:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | (void) close(fildes); | ^ crypt.c:155:13: warning: call to undeclared function 'kill'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | (void) kill(pid, -9); | ^ crypt.c:156:6: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | error("Can't fdopen file \"%s\"", save); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ crypt.c:165:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | (void) close(pipefd[1]); | ^ crypt.c:166:19: warning: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 166 | while (pid != wait(&fildes)) /**/; | ^ crypt.c:170:5: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | error("File \"%s\" written (encrypted).", curfile); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ 29 warnings generated. --- pipe.o --- pipe.c:43:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 43 | else if (p->flags & is_valid) | ^ 1 warning generated. --- xmalloc.o --- xmalloc.c:9:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 9 | extern char *malloc(); | ^ xmalloc.c:9:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' xmalloc.c:10:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] 10 | extern char *realloc(); | ^ xmalloc.c:10:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' xmalloc.c:26:19: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | if ((ptr = malloc(n + sizeof(double))) == NULL) | ^ xmalloc.c:27:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | fatal("scxmalloc: no memory"); | ^ xmalloc.c:41:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | fatal("scxrealloc: storage not scxmalloc'ed"); | ^ xmalloc.c:43:20: warning: passing arguments to 'realloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | if ((ptr = realloc(ptr, n + sizeof(double))) == NULL) | ^ xmalloc.c:44:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | fatal("scxmalloc: no memory"); | ^ xmalloc.c:53:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | fatal("scxfree: NULL"); | ^ xmalloc.c:56:8: warning: passing arguments to 'fatal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | fatal("scxfree: storage not malloc'ed"); | ^ xmalloc.c:12:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | void fatal(); | ^ xmalloc.c:69:1: note: conflicting prototype is here 69 | fatal(char *str) | ^ 10 warnings generated. --- sort.o --- sort.c:71:7: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | error("Invalid sort criteria"); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:71:7: warning: call to undeclared function 'move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:71:7: warning: call to undeclared function 'clrtoeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:71:7: warning: call to undeclared function 'printw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:82:7: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | error("Invalid sort criteria"); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:82:7: warning: call to undeclared function 'move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:82:7: warning: call to undeclared function 'clrtoeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:82:7: warning: call to undeclared function 'printw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:88:3: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | error("Invalid sort criteria"); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:88:3: warning: call to undeclared function 'move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:88:3: warning: call to undeclared function 'clrtoeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:88:3: warning: call to undeclared function 'printw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:95:3: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | error("Invalid sort criteria"); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:95:3: warning: call to undeclared function 'move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:95:3: warning: call to undeclared function 'clrtoeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:95:3: warning: call to undeclared function 'printw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:107:3: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | error("sort error"); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:107:3: warning: call to undeclared function 'move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:107:3: warning: call to undeclared function 'clrtoeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ sort.c:107:3: warning: call to undeclared function 'printw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ 20 warnings generated. --- color.o --- color.c:110:2: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | error("Invalid color number"); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ color.c:158:2: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | error("Color range not defined"); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ 2 warnings generated. --- vi.o --- vi.c:43:9: warning: 'bool' macro redefined [-Wmacro-redefined] 43 | #define bool int | ^ /usr/include/stdbool.h:37:9: note: previous definition is here 37 | #define bool _Bool | ^ vi.c:141:5: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | error(""); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ vi.c:521:35: warning: call to undeclared function 'gotonote'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 521 | case '*': if (nmgetch() == '*') gotonote(); break; | ^ vi.c:1125:13: warning: parameter 'arg' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1125 | change_case(arg) | ^ 1126 | { vi.c:1125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1125 | change_case(arg) | ^ vi.c:1407:17: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1407 | if (!(pid = fork())) { | ^ vi.c:1410:13: warning: call to undeclared function 'execl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1410 | (void) execl(shl, shl, "-c", cmd, NULL); | ^ vi.c:1416:19: warning: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1416 | while (pid != wait(&temp)); | ^ vi.c:1475:2: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1475 | error("History line %d", endhist - lasthist + histp); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ vi.c:1504:2: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1504 | error("History line %d", endhist - lasthist + histp); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ vi.c:1533:2: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1533 | error(tmp); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ vi.c:1533:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1533 | error(tmp); | ^~~ vi.c:1533:8: note: treat the string as an argument to avoid this 1533 | error(tmp); | ^ | "%s", vi.c:1576:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 1576 | if ((last_search == NULL)) | ~~~~~~~~~~~~^~~~~~~ vi.c:1576:22: note: remove extraneous parentheses around the comparison to silence this warning 1576 | if ((last_search == NULL)) | ~ ^ ~ vi.c:1576:22: note: use '=' to turn this equality comparison into an assignment 1576 | if ((last_search == NULL)) | ^~ | = vi.c:1585:5: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1585 | error(""); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ vi.c:2037:20: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2037 | if (s != NULL) error(s); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ vi.c:2037:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2037 | if (s != NULL) error(s); | ^ vi.c:2037:26: note: treat the string as an argument to avoid this 2037 | if (s != NULL) error(s); | ^ | "%s", 16 warnings generated. --- color.o --- --- interp.o --- cc: warning: optimization flag '-ffloat-store' is not supported [-Wignored-optimization-argument] interp.c:998:16: 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] 998 | res = (*fn)(arg); | ^ interp.c:1010:16: 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] 1010 | res = (*fn)(arg1, arg2); | ^ interp.c:1989:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1989 | error(tmp); | ^~~ interp.c:1989:8: note: treat the string as an argument to avoid this 1989 | error(tmp); | ^ | "%s", interp.c:2086:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2086 | } else /* gs.g_type != G_STR */ | ^ 4 warnings generated. --- pvmtbl.o --- pvmtbl.c:120:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 120 | error(nowider); | ^~~~~~~ ./sc.h:44:37: note: expanded from macro 'error' 44 | # define error(msg) fprintf(stderr, msg); | ^~~ pvmtbl.c:120:12: note: treat the string as an argument to avoid this 120 | error(nowider); | ^ | "%s", ./sc.h:44:37: note: expanded from macro 'error' 44 | # define error(msg) fprintf(stderr, msg); | ^ pvmtbl.c:154:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 154 | GROWALLOC(fwidth2, fwidth, newcols, int, nowider); | ^~~~~~~ pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^~~ ./sc.h:44:37: note: expanded from macro 'error' 44 | # define error(msg) fprintf(stderr, msg); | ^~~ pvmtbl.c:154:43: note: treat the string as an argument to avoid this 154 | GROWALLOC(fwidth2, fwidth, newcols, int, nowider); | ^ | "%s", pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^ ./sc.h:44:37: note: expanded from macro 'error' 44 | # define error(msg) fprintf(stderr, msg); | ^ pvmtbl.c:155:49: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 155 | GROWALLOC(precision2, precision, newcols, int, nowider); | ^~~~~~~ pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^~~ ./sc.h:44:37: note: expanded from macro 'error' 44 | # define error(msg) fprintf(stderr, msg); | ^~~ pvmtbl.c:155:49: note: treat the string as an argument to avoid this 155 | GROWALLOC(precision2, precision, newcols, int, nowider); | ^ | "%s", pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^ ./sc.h:44:37: note: expanded from macro 'error' 44 | # define error(msg) fprintf(stderr, msg); | ^ pvmtbl.c:156:45: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 156 | GROWALLOC(realfmt2, realfmt, newcols, int, nowider); | ^~~~~~~ pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^~~ ./sc.h:44:37: note: expanded from macro 'error' 44 | # define error(msg) fprintf(stderr, msg); | ^~~ pvmtbl.c:156:45: note: treat the string as an argument to avoid this 156 | GROWALLOC(realfmt2, realfmt, newcols, int, nowider); | ^ | "%s", pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC' 58 | error(msg); \ | ^ ./sc.h:44:37: note: expanded from macro 'error' 44 | # define error(msg) fprintf(stderr, msg); | ^ 4 warnings generated. --- psc --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -o psc psc.c pvmtbl.o pxmalloc.o --- range.o --- range.c:61:2: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | error("Error: range name \"%s\" already defined", name); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ range.c:61:2: warning: call to undeclared function 'move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ range.c:61:2: warning: call to undeclared function 'clrtoeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ range.c:61:2: warning: call to undeclared function 'printw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ range.c:68:6: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | error("Invalid range name \"%s\" - illegal combination", name); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ range.c:68:6: warning: call to undeclared function 'move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ range.c:68:6: warning: call to undeclared function 'clrtoeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ range.c:68:6: warning: call to undeclared function 'printw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ range.c:87:6: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | error("Invalid range name \"%s\" - ambiguous", name); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ range.c:87:6: warning: call to undeclared function 'move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:43: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ range.c:87:6: warning: call to undeclared function 'clrtoeol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:57: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ range.c:87:6: warning: call to undeclared function 'printw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ./sc.h:46:71: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ 12 warnings generated. --- screen.o --- screen.c:240:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 240 | else | ^ screen.c:334:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 334 | else | ^ screen.c:383:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 383 | else | ^ screen.c:466:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 466 | else | ^ screen.c:873:27: warning: address of function 'has_colors' will always evaluate to 'true' [-Wpointer-bool-conversion] 873 | if (!*pp && color && has_colors && cr && cr->r_color != 1) { | ~~ ^~~~~~~~~~ screen.c:873:27: note: prefix with the address-of operator to silence this warning 873 | if (!*pp && color && has_colors && cr && cr->r_color != 1) { | ^ | & screen.c:873:27: note: suffix with parentheses to turn this into a function call 873 | if (!*pp && color && has_colors && cr && cr->r_color != 1) { | ^ | () screen.c:1033:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1033 | (void) printw(revmsg); | ^~~~~~ screen.c:1033:16: note: treat the string as an argument to avoid this 1033 | (void) printw(revmsg); | ^ | "%s", screen.c:1054:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1054 | (void) printw(revmsg); | ^~~~~~ screen.c:1054:16: note: treat the string as an argument to avoid this 1054 | (void) printw(revmsg); | ^ | "%s", 7 warnings generated. --- cmds.o --- cmds.c:327:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 327 | error(buf); | ^~~ cmds.c:327:8: note: treat the string as an argument to avoid this 327 | error(buf); | ^ | "%s", cmds.c:489:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 489 | error(buf); | ^~~ cmds.c:489:8: note: treat the string as an argument to avoid this 489 | error(buf); | ^ | "%s", cmds.c:544:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 544 | error(buf); | ^~~ cmds.c:544:8: note: treat the string as an argument to avoid this 544 | error(buf); | ^ | "%s", cmds.c:813:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 813 | if (fr = find_frange(currow, curcol)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmds.c:813:9: note: place parentheses around the assignment to silence this warning 813 | if (fr = find_frange(currow, curcol)) | ^ | ( ) cmds.c:813:9: note: use '==' to turn this assignment into an equality comparison 813 | if (fr = find_frange(currow, curcol)) | ^ | == cmds.c:1042:8: warning: call to undeclared function 'yankr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1042 | yankr(lookat(currow, curcol), | ^ cmds.c:1215:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1215 | error(buf); | ^~~ cmds.c:1215:8: note: treat the string as an argument to avoid this 1215 | error(buf); | ^ | "%s", cmds.c:1471:11: warning: parameter 'arg' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1471 | formatcol(arg) | ^ 1472 | { cmds.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 | formatcol(arg) | ^ cmds.c:1606:22: warning: parameter 'ec' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1606 | ljustify(sr, sc, er, ec) | ^ 1607 | { cmds.c:1606:18: warning: parameter 'er' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1606 | ljustify(sr, sc, er, ec) | ^ 1607 | { cmds.c:1606:14: warning: parameter 'sc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1606 | ljustify(sr, sc, er, ec) | ^ 1607 | { cmds.c:1606:10: warning: parameter 'sr' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1606 | ljustify(sr, sc, er, ec) | ^ 1607 | { cmds.c:1606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1606 | ljustify(sr, sc, er, ec) | ^ cmds.c:1635:22: warning: parameter 'ec' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1635 | rjustify(sr, sc, er, ec) | ^ 1636 | { cmds.c:1635:18: warning: parameter 'er' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1635 | rjustify(sr, sc, er, ec) | ^ 1636 | { cmds.c:1635:14: warning: parameter 'sc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1635 | rjustify(sr, sc, er, ec) | ^ 1636 | { cmds.c:1635:10: warning: parameter 'sr' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1635 | rjustify(sr, sc, er, ec) | ^ 1636 | { cmds.c:1635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1635 | rjustify(sr, sc, er, ec) | ^ cmds.c:1664:20: warning: parameter 'ec' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1664 | center(sr, sc, er, ec) | ^ 1665 | { cmds.c:1664:16: warning: parameter 'er' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1664 | center(sr, sc, er, ec) | ^ 1665 | { cmds.c:1664:12: warning: parameter 'sc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1664 | center(sr, sc, er, ec) | ^ 1665 | { cmds.c:1664:8: warning: parameter 'sr' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1664 | center(sr, sc, er, ec) | ^ 1665 | { cmds.c:1664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1664 | center(sr, sc, er, ec) | ^ cmds.c:2566:47: warning: missing sentinel in function call [-Wsentinel] 2566 | (void) execl("/bin/sh", "sh", "-c", efname, 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:2889:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2889 | else { | ^ 25 warnings generated. --- sc.o --- sc.c:87:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 87 | void update(); | ^ ./sc.h:551:13: note: conflicting prototype is here 551 | extern void update(int anychanged); | ^ sc.c:215:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 215 | if (p = delbuf[dbidx]) { | ~~^~~~~~~~~~~~~~~ sc.c:215:11: note: place parentheses around the assignment to silence this warning 215 | if (p = delbuf[dbidx]) { | ^ | ( ) sc.c:215:11: note: use '==' to turn this assignment into an equality comparison 215 | if (p = delbuf[dbidx]) { | ^ | == sc.c:523:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 523 | if (redraw) printf(redraw); | ^~~~~~ sc.c:523:21: note: treat the string as an argument to avoid this 523 | if (redraw) printf(redraw); | ^ | "%s", sc.c:830:15: warning: passing arguments to 'repaint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | repaint(lastmx, lastmy, fwidth[lastcol]); | ^ sc.c:852:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 852 | } else { | ^ sc.c:1309:25: warning: call to undeclared function 'list_frames'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1309 | if (!brokenpipe) list_frames(f); | ^ sc.c:1422:24: warning: call to undeclared function 'yankrow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1422 | if (rcqual == 'r') yankrow(arg); | ^ sc.c:1423:12: warning: call to undeclared function 'yankcol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1423 | else yankcol(arg); | ^ sc.c:1599:8: warning: call to undeclared function 'ljustify'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1599 | ljustify(currow, curcol, currow, curcol); | ^ sc.c:1609:8: warning: call to undeclared function 'rjustify'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1609 | rjustify(currow, curcol, currow, curcol); | ^ sc.c:1619:8: warning: call to undeclared function 'center'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1619 | center(currow, curcol, currow, curcol); | ^ sc.c:2026:8: warning: call to undeclared function 'gotonote'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2026 | gotonote(); | ^ 12 warnings generated. --- gram.o --- gram.y:310:4: warning: call to undeclared function 'ljustify'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 310 | { ljustify(yystack.l_mark[0].rval.left.vp->row, yystack.l_mark[0].rval.left.vp->col, | ^ gram.y:314:9: warning: call to undeclared function 'ljustify'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | ljustify(showsr, showsc, currow, curcol); | ^ gram.y:317:4: warning: call to undeclared function 'rjustify'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 317 | { rjustify(yystack.l_mark[0].rval.left.vp->row, yystack.l_mark[0].rval.left.vp->col, | ^ gram.y:321:9: warning: call to undeclared function 'rjustify'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 321 | rjustify(showsr, showsc, currow, curcol); | ^ gram.y:324:4: warning: call to undeclared function 'center'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 324 | { center(yystack.l_mark[0].rval.left.vp->row, yystack.l_mark[0].rval.left.vp->col, | ^ gram.y:328:9: warning: call to undeclared function 'center'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 328 | center(showsr, showsc, currow, curcol); | ^ gram.y:545:4: warning: call to undeclared function 'yankr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 545 | { yankr(lookat(showsr, showsc), | ^ gram.y:547:4: warning: call to undeclared function 'yankr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 547 | { yankr(yystack.l_mark[0].rval.left.vp, yystack.l_mark[0].rval.right.vp); } | ^ gram.y:619:4: warning: call to undeclared function 'add_abbr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 619 | { add_abbr(yystack.l_mark[0].sval); } | ^ gram.y:620:4: warning: call to undeclared function 'add_abbr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 620 | { add_abbr(NULL); } | ^ gram.y:817:8: warning: call to undeclared function 'yankrow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 817 | yankrow(arg); | ^ gram.y:820:4: warning: call to undeclared function 'yankrow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 820 | { yankrow(yystack.l_mark[0].ival); } | ^ gram.y:823:8: warning: call to undeclared function 'yankrow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 823 | yankrow(1); | ^ gram.y:835:8: warning: call to undeclared function 'yankrow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 835 | yankrow(arg); | ^ gram.y:847:8: warning: call to undeclared function 'yankcol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 847 | yankcol(arg); | ^ gram.y:852:8: warning: call to undeclared function 'yankcol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 852 | yankcol(1); | ^ gram.y:855:4: warning: call to undeclared function 'yankcol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 855 | { yankcol(yystack.l_mark[0].ival); } | ^ gram.y:864:8: warning: call to undeclared function 'yankcol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 864 | yankcol(arg); | ^ gram.y:960:4: warning: call to undeclared function 'getframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 960 | { getframe(macrofd); } | ^ gram.y:961:4: warning: call to undeclared function 'getframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 961 | { getframe(yystack.l_mark[0].ival); } | ^ gram.y:962:4: warning: call to undeclared function 'getrange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 962 | { getrange(yystack.l_mark[0].sval, macrofd); } | ^ gram.y:964:4: warning: call to undeclared function 'getrange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 964 | { getrange(yystack.l_mark[-2].sval, yystack.l_mark[0].ival); } | ^ gram.y:965:4: warning: call to undeclared function 'doeval'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 965 | { doeval(yystack.l_mark[0].enode, NULL, currow, curcol, | ^ gram.y:967:4: warning: call to undeclared function 'doeval'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 967 | { doeval(yystack.l_mark[-1].enode, yystack.l_mark[0].sval, currow, curcol, | ^ gram.y:970:4: warning: call to undeclared function 'doeval'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 970 | { doeval(yystack.l_mark[-3].enode, yystack.l_mark[-2].sval, currow, curcol, | ^ gram.y:972:4: warning: call to undeclared function 'doseval'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 972 | { doseval(yystack.l_mark[0].enode, currow, curcol, macrofd); } | ^ gram.y:981:4: warning: call to undeclared function 'dogetkey'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 981 | { dogetkey(); } | ^ gram.y:982:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 982 | { error(yystack.l_mark[0].sval); } | ^~~~~~~~~~~~~~~~~~~~~~ gram.y:982:10: note: treat the string as an argument to avoid this 982 | { error(yystack.l_mark[0].sval); } | ^ | "%s", gram.y:1013:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1013 | sprintf(line + 1, yystack.l_mark[0].sval); | ^~~~~~~~~~~~~~~~~~~~~~ gram.y:1013:26: note: treat the string as an argument to avoid this 1013 | sprintf(line + 1, yystack.l_mark[0].sval); | ^ | "%s", 29 warnings generated. sed < gram.y > experres.h -f eres.sed sed < gram.y > statres.h -f sres.sed --- lex.o --- cc -DSYSV3 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -DLIBDIR=\"/usr/local/share/sc\" -DSIGVOID -c lex.c lex.c:213:6: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | error("Floating point exception\n"); | ^ ./sc.h:46:16: note: expanded from macro 'error' 46 | # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw | ^ lex.c:259:8: warning: call to undeclared library function 'finite' with type 'int (double)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | if (!finite(yylval.fval)) | ^ lex.c:259:8: note: include the header or explicitly provide a declaration for 'finite' lex.c:329:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 329 | if (fp = fopen((char *)path, "r")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ lex.c:329:9: note: place parentheses around the assignment to silence this warning 329 | if (fp = fopen((char *)path, "r")) { | ^ | ( ) lex.c:329:9: note: use '==' to turn this assignment into an equality comparison 329 | if (fp = fopen((char *)path, "r")) { | ^ | == lex.c:337:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 337 | if (fp = fopen((char *)path, "r")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ lex.c:337:12: note: place parentheses around the assignment to silence this warning 337 | if (fp = fopen((char *)path, "r")) { | ^ | ( ) lex.c:337:12: note: use '==' to turn this assignment into an equality comparison 337 | if (fp = fopen((char *)path, "r")) { | ^ | == 4 warnings generated. --- sc --- cc abbrev.o cmds.o color.o crypt.o format.o frame.o gram.o help.o interp.o lex.o pipe.o range.o sc.o screen.o sort.o version.o vi.o vmtbl.o xmalloc.o -lm -lncurses -o sc =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for sc-7.16_4 ===> Generating temporary packing list cp sc /wrkdirs/usr/ports/math/sc/work/stage/usr/local/bin strip /wrkdirs/usr/ports/math/sc/work/stage/usr/local/bin/sc cp scqref /wrkdirs/usr/ports/math/sc/work/stage/usr/local/bin strip /wrkdirs/usr/ports/math/sc/work/stage/usr/local/bin/scqref cp psc /wrkdirs/usr/ports/math/sc/work/stage/usr/local/bin strip /wrkdirs/usr/ports/math/sc/work/stage/usr/local/bin/psc mkdir /wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/sc cp tutorial.sc /wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/sc/tutorial.sc chmod 644 /wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/sc/tutorial.sc name=sc NAME=SC LIBDIR=/wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/sc sh torev sc.doc > sc.1 cp sc.1 /wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/man/man1/sc.1 chmod 644 /wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/man/man1/sc.1 name=sc NAME=SC LIBDIR=/wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/sc sh torev psc.doc > psc.1 cp psc.1 /wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/man/man1/psc.1 chmod 644 /wrkdirs/usr/ports/math/sc/work/stage/usr/local/share/man/man1/psc.1 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-02-20T09:47:21+0000' 'PKG_NOTE_ports_top_git_hash=eac71dbf758c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=d0a737fa905e' '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 sc-7.16_4 ===> Building sc-7.16_4 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for sc-7.16_4 build of math/sc | sc-7.16_4 ended at Fri Feb 20 04:47:27 EST 2026 build time: 00:00:06