=>> Building misc/window build started at Thu Mar 12 13:59:55 EDT 2026 port directory: /usr/ports/misc/window package name: window-1.0_2 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: trhodes@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 544 Aug 27 2024 /usr/ports/misc/window/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: 7042226acf8b Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 05 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/05/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- trhodes@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/misc/window/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/window/work XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/window/work/.cache HOME=/wrkdirs/usr/ports/misc/window/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/window/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/window/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/misc/window/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/window/work XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/window/work/.cache HOME=/wrkdirs/usr/ports/misc/window/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/window/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/window/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/window" EXAMPLESDIR="share/examples/window" DATADIR="share/window" WWWDIR="www/window" ETCDIR="etc/window" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/window DOCSDIR=/usr/local/share/doc/window EXAMPLESDIR=/usr/local/share/examples/window WWWDIR=/usr/local/www/window ETCDIR=/usr/local/etc/window --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> window-1.0_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> window-1.0_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of window-1.0_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by window-1.0_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by window-1.0_2 for building => SHA256 Checksum OK for window-1.0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by window-1.0_2 for building ===> Extracting for window-1.0_2 => SHA256 Checksum OK for window-1.0.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 window-1.0_2 ===> Applying FreeBSD patches for window-1.0_2 from /usr/ports/misc/window/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> window-1.0_2 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> window-1.0_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of window-1.0_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for window-1.0_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for window-1.0_2 --- objwarn --- --- .depend --- --- objwarn --- Warning: Object directory not changed from original /wrkdirs/usr/ports/misc/window/work/window --- .depend --- echo window: /usr/lib/libc.a /usr/lib/libtermcap.a /usr/lib/libutil.a >> .depend --- char.pieo --- --- cmd.pieo --- --- cmd1.pieo --- --- cmd2.pieo --- --- cmd3.pieo --- --- cmd4.pieo --- --- cmd5.pieo --- --- cmd6.pieo --- --- cmd7.pieo --- --- context.pieo --- --- error.pieo --- --- lcmd.pieo --- --- lcmd1.pieo --- --- lcmd2.pieo --- --- main.pieo --- --- mloop.pieo --- --- parser1.pieo --- --- parser2.pieo --- --- parser3.pieo --- --- parser4.pieo --- --- parser5.pieo --- --- scanner.pieo --- --- startup.pieo --- --- string.pieo --- --- ttf100.pieo --- --- ttgeneric.pieo --- --- tth19.pieo --- --- tth29.pieo --- --- ttinit.pieo --- --- ttoutput.pieo --- --- tttermcap.pieo --- --- tttvi925.pieo --- --- ttwyse60.pieo --- --- ttwyse75.pieo --- --- ttzapple.pieo --- --- ttzentec.pieo --- --- var.pieo --- --- win.pieo --- --- wwadd.pieo --- --- wwalloc.pieo --- --- wwbox.pieo --- --- wwchild.pieo --- --- wwclose.pieo --- --- wwclreol.pieo --- --- wwclreos.pieo --- --- wwcursor.pieo --- --- wwdata.pieo --- --- wwdelchar.pieo --- --- wwdelete.pieo --- --- wwdelline.pieo --- --- wwdump.pieo --- --- wwend.pieo --- --- wwenviron.pieo --- --- wwerror.pieo --- --- wwflush.pieo --- --- wwframe.pieo --- --- wwgets.pieo --- --- wwinit.pieo --- --- wwinschar.pieo --- --- wwinsline.pieo --- --- wwiomux.pieo --- --- wwlabel.pieo --- --- wwmisc.pieo --- --- wwmove.pieo --- --- wwdelline.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwdelline.pieo -MTwwdelline.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwdelline.c -o wwdelline.pieo wwdelline.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | wwdelline(w, row) | ^ | int wwdelline.c:49:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | register i; | ~~~~~~~~ ^ | int wwdelline.c:67:12: warning: call to undeclared function 'wwscroll1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | deleted = wwscroll1(w, row1, row2, 1, visible); | ^ wwdelline.c:84:3: warning: call to undeclared function 'wwclreol1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | wwclreol1(w, w->ww_b.b - 1, w->ww_b.l, deleted); | ^ wwdelline.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | wwdelline(w, row) | ^ 5 warnings generated. --- wwdelete.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwdelete.pieo -MTwwdelete.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwdelete.c -o wwdelete.pieo wwdelete.c:48:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | wwdelete(w) | ^ | int wwdelete.c:51:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | register i; | ~~~~~~~~ ^ | int wwdelete.c:54:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | register j; | ~~~~~~~~ ^ | int wwdelete.c:77:3: warning: call to undeclared function 'wwdelete1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | wwdelete1(w->ww_forw, | ^ wwdelete.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | wwdelete(w) | ^ wwdelete.c:85:23: warning: parameter 'r' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | wwdelete1(w, t, b, l, r) | ^ 86 | register struct ww *w; 87 | { wwdelete.c:85:20: warning: parameter 'l' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | wwdelete1(w, t, b, l, r) | ^ 86 | register struct ww *w; 87 | { wwdelete.c:85:17: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | wwdelete1(w, t, b, l, r) | ^ 86 | register struct ww *w; 87 | { wwdelete.c:85:14: warning: parameter 't' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | wwdelete1(w, t, b, l, r) | ^ 86 | register struct ww *w; 87 | { wwdelete.c:85:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | wwdelete1(w, t, b, l, r) | ^ | int wwdelete.c:104:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | register j; | ~~~~~~~~ ^ | int wwdelete.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | wwdelete1(w, t, b, l, r) | ^ 12 warnings generated. --- wwdelchar.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwdelchar.pieo -MTwwdelchar.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwdelchar.c -o wwdelchar.pieo wwdelchar.c:46:19: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | wwdelchar(w, row, col) | ^ 47 | register struct ww *w; 48 | { wwdelchar.c:46:14: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | wwdelchar(w, row, col) | ^ 47 | register struct ww *w; 48 | { wwdelchar.c:46:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | wwdelchar(w, row, col) | ^ | int wwdelchar.c:49:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | register i; | ~~~~~~~~ ^ | int wwdelchar.c:118:3: warning: call to undeclared function 'xxdelchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | xxdelchar(row, col); | ^ wwdelchar.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | wwdelchar(w, row, col) | ^ 6 warnings generated. --- wwdata.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwdata.pieo -MTwwdata.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwdata.c -o wwdata.pieo --- wwcursor.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwcursor.pieo -MTwwcursor.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwcursor.c -o wwcursor.pieo wwcursor.c:45:13: warning: parameter 'on' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | wwcursor(w, on) | ^ 46 | register struct ww *w; 47 | { wwcursor.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | wwcursor(w, on) | ^ | int wwcursor.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] wwcursor.c:77:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 77 | register new; | ~~~~~~~~ ^ | int wwcursor.c:76:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 76 | wwsetcursormodes(new) | ^ | int wwcursor.c:79:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 79 | register i; | ~~~~~~~~ ^ | int wwcursor.c:81:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | register old = wwcursormodes; | ~~~~~~~~ ^ | int wwcursor.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | wwsetcursormodes(new) | ^ 8 warnings generated. --- wwclreos.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwclreos.pieo -MTwwclreos.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwclreos.c -o wwclreos.pieo wwclreos.c:46:18: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | wwclreos(w, row, col) | ^ 47 | register struct ww *w; 48 | { wwclreos.c:46:13: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | wwclreos(w, row, col) | ^ 47 | register struct ww *w; 48 | { wwclreos.c:46:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | wwclreos(w, row, col) | ^ | int wwclreos.c:49:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | register i; | ~~~~~~~~ ^ | int wwclreos.c:51:2: warning: call to undeclared function 'wwclreol1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | wwclreol(w, row, col); | ^ ./ww.h:253:25: note: expanded from macro 'wwclreol' 253 | #define wwclreol(w,r,c) wwclreol1((w), (r), (c), 0) | ^ wwclreos.c:56:3: warning: call to undeclared function 'wwupdate1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | wwupdate1(w->ww_i.t, w->ww_i.b); | ^ wwclreos.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | wwclreos(w, row, col) | ^ 7 warnings generated. --- wwclreol.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwclreol.pieo -MTwwclreol.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwclreol.c -o wwclreol.pieo wwclreol.c:50:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | wwclreol1(w, row, col, cleared) | ^ | int wwclreol.c:55:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | register i; | ~~~~~~~~ ^ | int wwclreol.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 | wwclreol1(w, row, col, cleared) | ^ 3 warnings generated. --- wwclose.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwclose.pieo -MTwwclose.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwclose.c -o wwclose.pieo wwclose.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | wwclose(w) | ^ | int wwclose.c:50:10: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | (void) close(w->ww_pty); | ^ wwclose.c:53:2: warning: call to undeclared function 'wwfree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | wwfree((char **)w->ww_win, w->ww_w.t); | ^ wwclose.c:57:2: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | free((char *)(w->ww_nvis + w->ww_w.t)); | ^ wwclose.c:57:2: note: include the header or explicitly provide a declaration for 'free' wwclose.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | wwclose(w) | ^ 5 warnings generated. --- wwchild.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwchild.pieo -MTwwchild.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwchild.c -o wwchild.pieo --- wwbox.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwbox.pieo -MTwwbox.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwbox.c -o wwbox.pieo wwbox.c:48:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | register r, c; | ~~~~~~~~ ^ | int wwbox.c:48:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | register r, c; | ~~~~~~~~ ^ | int wwbox.c:46:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | wwbox(w, r, c, nr, nc) | ^ | int wwbox.c:51:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | register r1, c1; | ~~~~~~~~ ^ | int wwbox.c:51:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | register r1, c1; | ~~~~~~~~ ^ | int wwbox.c:52:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 52 | register i; | ~~~~~~~~ ^ | int wwbox.c:56:2: warning: call to undeclared function 'wwframec'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | wwframec(w, r, c, WWF_D|WWF_R); | ^ wwbox.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | wwbox(w, r, c, nr, nc) | ^ 8 warnings generated. --- wwalloc.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwalloc.pieo -MTwwalloc.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwalloc.c -o wwalloc.pieo In file included from wwalloc.c:44: ./ww.h:313: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] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ wwalloc.c:47:31: warning: parameter 'size' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 47 | wwalloc(row, col, nrow, ncol, size) | ^ 48 | { wwalloc.c:47:25: warning: parameter 'ncol' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 47 | wwalloc(row, col, nrow, ncol, size) | ^ 48 | { wwalloc.c:47:19: warning: parameter 'nrow' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 47 | wwalloc(row, col, nrow, ncol, size) | ^ 48 | { wwalloc.c:47:14: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 47 | wwalloc(row, col, nrow, ncol, size) | ^ 48 | { wwalloc.c:47:9: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 47 | wwalloc(row, col, nrow, ncol, size) | ^ 48 | { wwalloc.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | wwalloc(row, col, nrow, ncol, size) | ^ In file included from wwalloc.c:44: ./ww.h:309:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 309 | char **wwalloc(); | ^ wwalloc.c:70:11: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | wwfree(p, row) | ^ 71 | register char **p; 72 | { wwalloc.c:70:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | wwfree(p, row) | ^ | int wwalloc.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 warnings generated. --- wwadd.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwadd.pieo -MTwwadd.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwadd.c -o wwadd.pieo wwadd.c:48:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | wwadd(w1, w2) | ^ | int wwadd.c:52:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 52 | register i; | ~~~~~~~~ ^ | int wwadd.c:64:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 64 | register j; | ~~~~~~~~ ^ | int wwadd.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | wwadd(w1, w2) | ^ 4 warnings generated. --- var.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.var.pieo -MTvar.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c var.c -o var.pieo var.c:61:26: warning: passing arguments to 'str_cpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | (val.v_str = str_cpy(val.v_str)) == 0) | ^ var.c:63:23: warning: passing arguments to 'var_lookup1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if (*(p = var_lookup1(head, name)) == 0) { | ^ var.c:66:4: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | val_free(val); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ var.c:69:27: warning: passing arguments to 'str_cpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | if ((r->r_name = str_cpy(name)) == 0) { | ^ var.c:70:4: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | val_free(val); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ var.c:78:3: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | val_free(r->r_val); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ var.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | var_set1(head, name, v) | ^ In file included from var.c:44: ./var.h:47:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | struct var *var_set1(); | ^ var.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | var_setstr1(head, name, str) | ^ In file included from var.c:44: ./var.h:48:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | struct var *var_setstr1(); | ^ var.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | var_setnum1(head, name, num) | ^ In file included from var.c:44: ./var.h:49:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | struct var *var_setnum1(); | ^ var.c:110:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | var_unset1(head, name) | ^ | int var.c:117:23: warning: passing arguments to 'var_lookup1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | if (*(p = var_lookup1(head, name)) == 0) | ^ var.c:124:2: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | val_free(r->r_val); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ var.c:125:10: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | str_free(r->r_name); | ^ var.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | var_unset1(head, name) | ^ var.c:135:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 135 | register cmp; | ~~~~~~~~ ^ | int var.c:138:14: 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] 138 | if ((cmp = strcmp(name, (*p)->r_name)) < 0) | ^ var.c:138:14: note: include the header or explicitly provide a declaration for 'strcmp' var.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | var_lookup1(p, name) | ^ In file included from var.c:44: ./var.h:50:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | struct var **var_lookup1(); | ^ var.c:148:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | var_walk1(r, func, a) | ^ | int var.c:155:50: 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] 155 | if (var_walk1(r->r_left, func, a) < 0 || (*func)(a, r) < 0 | ^ var.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 | var_walk1(r, func, a) | ^ 24 warnings generated. --- ttzentec.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.ttzentec.pieo -MTttzentec.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c ttzentec.c -o ttzentec.pieo ttzentec.c:61:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 61 | tt_zentec() | ^ | int ttzentec.c:63:6: warning: call to undeclared function 'tt_generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | if (tt_generic() < 0) | ^ 2 warnings generated. --- ttwyse75.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.ttwyse75.pieo -MTttwyse75.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c ttwyse75.c -o ttwyse75.pieo ttwyse75.c:64:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 64 | tt_wyse75() | ^ | int ttwyse75.c:69:6: warning: call to undeclared function 'tt_generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | if (tt_generic() < 0) | ^ 2 warnings generated. --- ttwyse60.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.ttwyse60.pieo -MTttwyse60.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c ttwyse60.c -o ttwyse60.pieo ttwyse60.c:64:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 64 | tt_wyse60() | ^ | int ttwyse60.c:69:6: warning: call to undeclared function 'tt_generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | if (tt_generic() < 0) | ^ 2 warnings generated. --- tttvi925.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.tttvi925.pieo -MTtttvi925.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c tttvi925.c -o tttvi925.pieo tttvi925.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | tt_tvi925() | ^ | int tttvi925.c:61:6: warning: call to undeclared function 'tt_generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | if (tt_generic() < 0) | ^ 2 warnings generated. --- ttoutput.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.ttoutput.pieo -MTttoutput.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c ttoutput.c -o ttoutput.pieo In file included from ttoutput.c:43: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ ttoutput.c:55:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | ttflush() | ^ | int ttoutput.c:58:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | register n = tt_obp - tt_ob; | ~~~~~~~~ ^ | int ttoutput.c:63:20: 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] 63 | (*tt.tt_checksum)(tt_ob, n); | ^ ttoutput.c:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | ttputs(s) | ^ | int ttoutput.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ttoutput.c:98:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | register n; | ~~~~~~~~ ^ | int ttoutput.c:96:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 96 | ttwrite(s, n) | ^ | int ttoutput.c:138:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 138 | register m; | ~~~~~~~~ ^ | int ttoutput.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | ttwrite(s, n) | ^ 10 warnings generated. --- ttinit.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.ttinit.pieo -MTttinit.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c ttinit.c -o ttinit.pieo In file included from ttinit.c:43: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ ttinit.c:70:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | ttinit() | ^ | int ttinit.c:107:7: 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] 107 | if (strncmp(tp->tt_name, wwterm, tp->tt_len) == 0) | ^ ttinit.c:107:7: note: include the header or explicitly provide a declaration for 'strncmp' ttinit.c:117:6: warning: call to undeclared function 'wwgetttysize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | if (wwgetttysize(0, &tt.tt_nrow, &tt.tt_ncol) < 0) | ^ 4 warnings generated. --- tth29.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.tth29.pieo -MTtth29.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c tth29.c -o tth29.pieo In file included from tth29.c:43: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ tth29.c:64:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 64 | register new; | ~~~~~~~~ ^ | int tth29.c:63:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 63 | h29_setmodes(new) | ^ | int tth29.c:66:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | register modes = '0'; | ~~~~~~~~ ^ | int tth29.c:78:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | ttesc('s'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth29.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | h29_setmodes(new) | ^ tth29.c:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | tt_h29() | ^ | int tth29.c:91:6: warning: call to undeclared function 'tt_h19'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | if (tt_h19() < 0) | ^ 8 warnings generated. --- ttf100.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.ttf100.pieo -MTttf100.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c ttf100.c -o ttf100.pieo ttf100.c:59:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 59 | tt_f100() | ^ | int ttf100.c:64:6: warning: call to undeclared function 'tt_generic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | if (tt_generic() < 0) | ^ 2 warnings generated. --- string.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.string.pieo -MTstring.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c string.c -o string.pieo string.c:57:21: warning: passing arguments to 'str_alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | str = p = str_alloc(strlen(s) + 1); | ^ string.c:60:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 60 | while (*p++ = *s++) | ~~~~~^~~~~~ string.c:60:14: note: place parentheses around the assignment to silence this warning 60 | while (*p++ = *s++) | ^ | ( ) string.c:60:14: note: use '==' to turn this assignment into an equality comparison 60 | while (*p++ = *s++) | ^ | == string.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | str_cpy(s) | ^ In file included from string.c:44: ./mystring.h:42: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] 42 | char *str_cpy(); | ^ string.c:68:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 68 | register n; | ~~~~~~~~ ^ | int string.c:76:21: warning: passing arguments to 'str_alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | str = p = str_alloc(n + 1); | ^ string.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | str_ncpy(s, n) | ^ In file included from string.c:44: ./mystring.h:43: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] 43 | char *str_ncpy(); | ^ string.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | str_itoa(i) | ^ In file included from string.c:44: ./mystring.h:45: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] 45 | char *str_itoa(); | ^ string.c:102:21: warning: passing arguments to 'str_alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | str = p = str_alloc(strlen(s1) + strlen(s2) + 1); | ^ string.c:105:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 105 | for (q = s1; *p++ = *q++;) | ~~~~~^~~~~~ string.c:105:20: note: place parentheses around the assignment to silence this warning 105 | for (q = s1; *p++ = *q++;) | ^ | ( ) string.c:105:20: note: use '==' to turn this assignment into an equality comparison 105 | for (q = s1; *p++ = *q++;) | ^ | == string.c:107:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 107 | for (q = s2, p--; *p++ = *q++;) | ~~~~~^~~~~~ string.c:107:25: note: place parentheses around the assignment to silence this warning 107 | for (q = s2, p--; *p++ = *q++;) | ^ | ( ) string.c:107:25: note: use '==' to turn this assignment into an equality comparison 107 | for (q = s2, p--; *p++ = *q++;) | ^ | == string.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | str_cat(s1, s2) | ^ In file included from string.c:44: ./mystring.h:44: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] 44 | char *str_cat(); | ^ string.c:118:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 118 | register min; | ~~~~~~~~ ^ | int string.c:116:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 116 | str_match(s, p, min) | ^ | int string.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] string.c:132:47: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] 132 | s = (struct mystring *) malloc((unsigned)l + str_offset); | ^~~~~~~~~~ ./mystring.h:58:21: note: expanded from macro 'str_offset' 58 | #define str_offset ((unsigned)str_head.s_data - (unsigned)&str_head) | ^~~~~~~~~~~~~~~~~~~~~~~~~ string.c:132:47: warning: cast to smaller integer type 'unsigned int' from 'struct mystring *' [-Wpointer-to-int-cast] 132 | s = (struct mystring *) malloc((unsigned)l + str_offset); | ^~~~~~~~~~ ./mystring.h:58:49: note: expanded from macro 'str_offset' 58 | #define str_offset ((unsigned)str_head.s_data - (unsigned)&str_head) | ^~~~~~~~~~~~~~~~~~~ string.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | str_alloc(l) | ^ In file included from string.c:44: ./mystring.h:61: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] 61 | char *str_alloc(); | ^ string.c:144:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 144 | str_free(str) | ^ | int string.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from string.c:44: ./mystring.h:62:5: 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] 62 | int str_free(); | ^ 25 warnings generated. --- startup.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.startup.pieo -MTstartup.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c startup.c -o startup.pieo In file included from startup.c:43: In file included from ./defs.h:40: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ startup.c:50:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | doconfig() | ^ | int startup.c:58:25: warning: field precision should have type 'int', but argument has type 'unsigned long' [-Wformat] 58 | (void) sprintf(buf, "%.*s/%s", | ~~^~ 59 | (sizeof buf - sizeof runcom) / sizeof (char) - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ startup.c:61:9: warning: call to undeclared function 'dosource'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | return dosource(buf); | ^ startup.c:67:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | dodefault() | ^ | int startup.c:70:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | register r = wwnrow / 2 - 1; | ~~~~~~~~ ^ | int startup.c:72:13: warning: passing arguments to 'openwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | if (openwin(1, r + 2, 0, wwnrow - r - 2, wwncol, default_nline, | ^ startup.c:75:18: warning: passing arguments to 'openwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | if ((w = openwin(0, 1, 0, r, wwncol, default_nline, | ^ startup.c:78:2: warning: call to undeclared function 'wwprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | wwprintf(w, "Escape character is %s.\r\n", unctrl(escapec)); | ^ startup.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | setvars() | ^ | int startup.c:84:9: warning: passing arguments to 'var_setnum1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | (void) var_setnum("nrow", wwnrow); | ^ ./var.h:54:37: note: expanded from macro 'var_setnum' 54 | #define var_setnum(n, i) var_setnum1(&var_head, n, i) | ^ startup.c:85:9: warning: passing arguments to 'var_setnum1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | (void) var_setnum("ncol", wwncol); | ^ ./var.h:54:37: note: expanded from macro 'var_setnum' 54 | #define var_setnum(n, i) var_setnum1(&var_head, n, i) | ^ startup.c:86:9: warning: passing arguments to 'var_setnum1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | (void) var_setnum("baud", wwbaud); | ^ ./var.h:54:37: note: expanded from macro 'var_setnum' 54 | #define var_setnum(n, i) var_setnum1(&var_head, n, i) | ^ startup.c:87:9: warning: passing arguments to 'var_setnum1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | (void) var_setnum("m_rev", WWM_REV); | ^ ./var.h:54:37: note: expanded from macro 'var_setnum' 54 | #define var_setnum(n, i) var_setnum1(&var_head, n, i) | ^ startup.c:88:9: warning: passing arguments to 'var_setnum1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | (void) var_setnum("m_blk", WWM_BLK); | ^ ./var.h:54:37: note: expanded from macro 'var_setnum' 54 | #define var_setnum(n, i) var_setnum1(&var_head, n, i) | ^ startup.c:89:9: warning: passing arguments to 'var_setnum1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | (void) var_setnum("m_ul", WWM_UL); | ^ ./var.h:54:37: note: expanded from macro 'var_setnum' 54 | #define var_setnum(n, i) var_setnum1(&var_head, n, i) | ^ startup.c:90:9: warning: passing arguments to 'var_setnum1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | (void) var_setnum("m_grp", WWM_GRP); | ^ ./var.h:54:37: note: expanded from macro 'var_setnum' 54 | #define var_setnum(n, i) var_setnum1(&var_head, n, i) | ^ startup.c:91:9: warning: passing arguments to 'var_setnum1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | (void) var_setnum("m_dim", WWM_DIM); | ^ ./var.h:54:37: note: expanded from macro 'var_setnum' 54 | #define var_setnum(n, i) var_setnum1(&var_head, n, i) | ^ startup.c:92:9: warning: passing arguments to 'var_setnum1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | (void) var_setnum("m_usr", WWM_USR); | ^ ./var.h:54:37: note: expanded from macro 'var_setnum' 54 | #define var_setnum(n, i) var_setnum1(&var_head, n, i) | ^ startup.c:93:9: warning: passing arguments to 'var_setstr1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | (void) var_setstr("term", wwterm); | ^ ./var.h:53:37: note: expanded from macro 'var_setstr' 53 | #define var_setstr(n, s) var_setstr1(&var_head, n, s) | ^ startup.c:94:9: warning: passing arguments to 'var_setnum1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | (void) var_setnum("modes", wwavailmodes); | ^ ./var.h:54:37: note: expanded from macro 'var_setnum' 54 | #define var_setnum(n, i) var_setnum1(&var_head, n, i) | ^ 21 warnings generated. --- scanner.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.scanner.pieo -MTscanner.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c scanner.c -o scanner.pieo scanner.c:51:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | s_getc() | ^ | int scanner.c:53:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 53 | register c; | ~~~~~~~~ ^ | int scanner.c:74:10: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 74 | s_ungetc(c) | ^ 75 | { scanner.c:74:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 74 | s_ungetc(c) | ^ | int scanner.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] scanner.c:91:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 91 | s_gettok() | ^ | int scanner.c:95:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 95 | register c; | ~~~~~~~~ ^ | int scanner.c:96:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 96 | register state = 0; | ~~~~~~~~ ^ | int scanner.c:125:16: warning: call to undeclared function 's_gettok1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | switch (c = s_gettok1()) { | ^ scanner.c:249:16: warning: call to undeclared function 's_gettok1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 249 | switch (c = s_gettok1()) { | ^ scanner.c:288:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 288 | else if (buf[3] == 'e' && buf[4] == 0) | ^ scanner.c:293:36: warning: passing arguments to 'str_cpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | && (cx.x_val.v_str = str_cpy(buf)) == 0) { | ^ scanner.c:294:5: warning: call to undeclared function 'p_memerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 294 | p_memerror(); | ^ scanner.c:310:16: warning: call to undeclared function 's_gettok1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 310 | switch (c = s_gettok1()) { | ^ scanner.c:334:16: warning: call to undeclared function 's_gettok1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | switch (c = s_gettok1()) { | ^ scanner.c:513:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 513 | s_gettok1() | ^ | int scanner.c:515:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 515 | register c; | ~~~~~~~~ ^ | int scanner.c:516:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 516 | register n; | ~~~~~~~~ ^ | int 18 warnings generated. --- parser5.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.parser5.pieo -MTparser5.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c parser5.c -o parser5.pieo parser5.c:49:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | p_expr11(v, flag) | ^ | int parser5.c:76:10: warning: call to undeclared function 'p_expr12'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | return p_expr12(v, flag); | ^ parser5.c:79:9: warning: call to undeclared function 's_gettok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | (void) s_gettok(); | ^ parser5.c:90:4: warning: call to undeclared function 'p_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | p_error("%s: Numeric operand required.", opname); | ^ parser5.c:91:12: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | str_free(v->v_str); | ^ parser5.c:110:5: warning: call to undeclared function 'p_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | p_error("%d: No such argument.", v->v_num); | ^ parser5.c:115:20: warning: passing arguments to 'var_lookup1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | struct var *r = var_lookup(name); | ^ ./var.h:56:37: note: expanded from macro 'var_lookup' 56 | #define var_lookup(n) (*var_lookup1(&var_head, n)) | ^ parser5.c:122:5: warning: call to undeclared function 'p_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | p_error("%s: Undefined variable.", name); | ^ parser5.c:125:12: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | str_free(name); | ^ parser5.c:127:48: warning: passing arguments to 'str_cpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | if (v->v_type == V_STR && (v->v_str = str_cpy(v->v_str)) == 0) { | ^ parser5.c:128:4: warning: call to undeclared function 'p_memerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | p_memerror(); | ^ parser5.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | p_expr11(v, flag) | ^ parser5.c:151:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 151 | p_expr12(v, flag) | ^ | int parser5.c:162:10: warning: call to undeclared function 's_gettok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | (void) s_gettok(); | ^ parser5.c:169:12: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | str_free(token_str); | ^ parser5.c:174:7: warning: call to undeclared function 'p_expr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | if (p_expr(v, flag) < 0) { | ^ parser5.c:175:4: warning: call to undeclared function 'p_synerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | p_synerror(); | ^ parser5.c:179:4: warning: call to undeclared function 'p_synerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | p_synerror(); | ^ parser5.c:180:4: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | val_free(*v); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ parser5.c:191:7: warning: call to undeclared function 'p_convstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | if (p_convstr(v) < 0) | ^ parser5.c:194:7: warning: call to undeclared function 'p_function'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 194 | if (p_function(cmd, v, flag) < 0) { | ^ parser5.c:196:13: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | str_free(cmd); | ^ parser5.c:200:12: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | str_free(cmd); | ^ parser5.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 | p_expr12(v, flag) | ^ 24 warnings generated. --- parser4.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.parser4.pieo -MTparser4.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c parser4.c -o parser4.pieo parser4.c:56:12: warning: parameter 'level' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 56 | p_expr3_10(level, v, flag) | ^ 57 | register struct value *v; 58 | char flag; 59 | { parser4.c:56:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 56 | p_expr3_10(level, v, flag) | ^ | int parser4.c:64:21: warning: call to undeclared function 'p_expr11'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | if ((level == 10 ? p_expr11(v, flag) | ^ parser4.c:147:10: warning: call to undeclared function 's_gettok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | (void) s_gettok(); | ^ parser4.c:150:4: warning: call to undeclared function 'p_synerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | p_synerror(); | ^ parser4.c:151:4: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | val_free(l); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ parser4.c:167:10: warning: call to undeclared function 'p_convstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 167 | if (p_convstr(&r) < 0) | ^ parser4.c:171:10: warning: call to undeclared function 'p_convstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | if (p_convstr(&l) < 0) | ^ parser4.c:180:13: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | str_free(p); | ^ parser4.c:192:5: warning: call to undeclared function 'p_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | p_error("%s: Numeric operands required.", | ^ parser4.c:198:4: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | val_free(l); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ parser4.c:199:4: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | val_free(r); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ parser4.c:216:13: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | str_free(l.v_str); | ^ parser4.c:217:13: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | str_free(r.v_str); | ^ parser4.c:258:24: warning: passing arguments to 'str_ncpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | v->v_str = str_ncpy(l.v_str, i); | ^ parser4.c:270:23: warning: passing arguments to 'str_cpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | v->v_str = str_cpy(l.v_str + i); | ^ parser4.c:277:23: warning: passing arguments to 'str_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | v->v_str = str_cat(l.v_str, r.v_str); | ^ parser4.c:295:3: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | val_free(l); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ parser4.c:296:3: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | val_free(r); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ parser4.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 | p_expr3_10(level, v, flag) | ^ 20 warnings generated. --- parser3.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.parser3.pieo -MTparser3.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c parser3.c -o parser3.pieo parser3.c:60:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 60 | p_expr(v, flag) | ^ | int parser3.c:67:6: warning: call to undeclared function 'p_expr0'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | if (p_expr0(&t, flag) < 0) | ^ parser3.c:76:3: warning: call to undeclared function 'p_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | p_error("%d: Not a variable.", t.v_num); | ^ parser3.c:81:8: warning: call to undeclared function 'p_assign'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | ret = p_assign(t.v_str, v, flag); | ^ parser3.c:83:11: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | str_free(t.v_str); | ^ parser3.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | p_expr(v, flag) | ^ parser3.c:90:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 90 | p_expr0(v, flag) | ^ | int parser3.c:97:6: warning: call to undeclared function 'p_expr1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | if (p_expr1(v, flag) < 0) | ^ parser3.c:106:3: warning: call to undeclared function 'p_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | p_error("?: Numeric left operand required."); | ^ parser3.c:107:11: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | str_free(v->v_str); | ^ parser3.c:113:9: warning: call to undeclared function 's_gettok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | (void) s_gettok(); | ^ parser3.c:118:3: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | val_free(*v); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ parser3.c:119:3: warning: call to undeclared function 'p_synerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | p_synerror(); | ^ parser3.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | p_expr0(v, flag) | ^ parser3.c:129:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 129 | p_expr1(v, flag) | ^ | int parser3.c:135:6: warning: call to undeclared function 'p_expr2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | if (p_expr2(v, flag) < 0) | ^ parser3.c:145:4: warning: call to undeclared function 'p_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | p_error("||: Numeric operands required."); | ^ parser3.c:146:12: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | str_free(v->v_str); | ^ parser3.c:154:10: warning: call to undeclared function 's_gettok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | (void) s_gettok(); | ^ parser3.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | p_expr1(v, flag) | ^ parser3.c:163:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 163 | p_expr2(v, flag) | ^ | int parser3.c:169:6: warning: call to undeclared function 'p_expr3_10'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | if (p_expr3_10(3, v, flag) < 0) | ^ parser3.c:179:4: warning: call to undeclared function 'p_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | p_error("&&: Numeric operands required."); | ^ parser3.c:180:12: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | str_free(v->v_str); | ^ parser3.c:188:10: warning: call to undeclared function 's_gettok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | (void) s_gettok(); | ^ parser3.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | p_expr2(v, flag) | ^ 26 warnings generated. --- mloop.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.mloop.pieo -MTmloop.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c mloop.c -o mloop.pieo mloop.c:46:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | mloop() | ^ | int mloop.c:50:4: warning: call to undeclared function 'docmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | docmd(); | ^ mloop.c:53:5: warning: call to undeclared function 'closewin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | closewin(wwcurwin); | ^ mloop.c:54:4: warning: call to undeclared function 'setcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | setcmd(1); | ^ mloop.c:57:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | error("Process died."); | ^ mloop.c:61:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 61 | register n; | ~~~~~~~~ ^ | int mloop.c:64:5: warning: call to undeclared function 'wwiomux'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | wwiomux(); | ^ mloop.c:70:6: warning: call to undeclared function 'startwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | startwin(w); | ^ mloop.c:76:12: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | (void) write(w->ww_pty, wwibp, n); | ^ mloop.c:82:5: warning: call to undeclared function 'setcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | setcmd(1); | ^ 10 warnings generated. --- lcmd.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.lcmd.pieo -MTlcmd.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c lcmd.c -o lcmd.pieo lcmd.c:129:7: warning: call to undeclared function 'str_match'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | if (str_match(name, p->lc_name, p->lc_minlen)) | ^ lcmd.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | lcmd_lookup(name) | ^ In file included from lcmd.c:45: ./lcmd.h:62:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | struct lcmd_tab *lcmd_lookup(); | ^ lcmd.c:134:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 134 | dosource(filename) | ^ | int lcmd.c:137:6: warning: call to undeclared function 'cx_beginfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | if (cx_beginfile(filename) < 0) | ^ lcmd.c:139:2: warning: call to undeclared function 'p_start'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | p_start(); | ^ lcmd.c:140:2: warning: call to undeclared function 'err_end'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | err_end(); | ^ lcmd.c:141:2: warning: call to undeclared function 'cx_end'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | cx_end(); | ^ lcmd.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | dosource(filename) | ^ lcmd.c:145:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 145 | dolongcmd(buffer, arg, narg) | ^ | int lcmd.c:150:6: warning: call to undeclared function 'cx_beginbuf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | if (cx_beginbuf(buffer, arg, narg) < 0) | ^ lcmd.c:152:2: warning: call to undeclared function 'p_start'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | p_start(); | ^ lcmd.c:153:2: warning: call to undeclared function 'err_end'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | err_end(); | ^ lcmd.c:154:2: warning: call to undeclared function 'cx_end'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | cx_end(); | ^ lcmd.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | dolongcmd(buffer, arg, narg) | ^ 15 warnings generated. --- error.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.error.pieo -MTerror.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c error.c -o error.pieo In file included from error.c:43: In file included from ./defs.h:40: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ error.c:51:33: warning: parameter 'h' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | error(fmt, a, b, c, d, e, f, g, h) | ^ 52 | char *fmt; 53 | { error.c:51:30: warning: parameter 'g' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | error(fmt, a, b, c, d, e, f, g, h) | ^ 52 | char *fmt; 53 | { error.c:51:27: warning: parameter 'f' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | error(fmt, a, b, c, d, e, f, g, h) | ^ 52 | char *fmt; 53 | { error.c:51:24: warning: parameter 'e' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | error(fmt, a, b, c, d, e, f, g, h) | ^ 52 | char *fmt; 53 | { error.c:51:21: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | error(fmt, a, b, c, d, e, f, g, h) | ^ 52 | char *fmt; 53 | { error.c:51:18: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | error(fmt, a, b, c, d, e, f, g, h) | ^ 52 | char *fmt; 53 | { error.c:51:15: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | error(fmt, a, b, c, d, e, f, g, h) | ^ 52 | char *fmt; 53 | { error.c:51:12: warning: parameter 'a' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | error(fmt, a, b, c, d, e, f, g, h) | ^ 52 | char *fmt; 53 | { error.c:51:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | error(fmt, a, b, c, d, e, f, g, h) | ^ | int error.c:61:4: warning: call to undeclared function 'wwbell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | wwbell(); | ^ error.c:63:4: warning: call to undeclared function 'wwprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | wwprintf(cmdwin, fmt, a, b, c, d, e, f, g, h); | ^ error.c:64:4: warning: call to undeclared function 'wwputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | wwputs(" ", cmdwin); | ^ error.c:74:34: warning: passing arguments to 'openiwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | if ((w = x->x_errwin = openiwin(ERRLINES, buf)) == 0) { | ^ error.c:75:4: warning: call to undeclared function 'wwputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | wwputs("Can't open error window. ", cmdwin); | ^ error.c:80:6: warning: call to undeclared function 'more'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | if (more(w, 0) == 2) { | ^ error.c:84:2: warning: call to undeclared function 'wwprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | wwprintf(w, "line %d: ", x->x_lineno); | ^ error.c:86:2: warning: call to undeclared function 'wwputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | wwputc('\n', w); | ^ error.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | error(fmt, a, b, c, d, e, f, g, h) | ^ error.c:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | err_end() | ^ | int error.c:93:4: warning: call to undeclared function 'waitnl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | waitnl(cx.x_errwin); | ^ error.c:94:3: warning: call to undeclared function 'closeiwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | closeiwin(cx.x_errwin); | ^ 22 warnings generated. --- context.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.context.pieo -MTcontext.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c context.c -o context.pieo context.c:55:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | cx_alloc() | ^ | int context.c:74:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 74 | cx_free() | ^ | int context.c:85:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | cx_beginfile(filename) | ^ | int context.c:91:30: warning: passing arguments to 'str_cpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | if ((cx.x_filename = str_cpy(filename)) == 0) | ^ context.c:104:11: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | str_free(cx.x_filename); | ^ context.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | cx_beginfile(filename) | ^ context.c:109:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 109 | cx_beginbuf(buf, arg, narg) | ^ | int context.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] context.c:123:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 123 | cx_end() | ^ | int context.c:130:11: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | str_free(cx.x_filename); | ^ 10 warnings generated. --- cmd6.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.cmd6.pieo -MTcmd6.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c cmd6.c -o cmd6.pieo In file included from cmd6.c:43: In file included from ./defs.h:40: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ cmd6.c:51:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | c_debug() | ^ | int cmd6.c:56:3: warning: call to undeclared function 'wwputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | wwputs("[m(smap) n(ns) o(os) s(string) v(nvis) w(win)]? ", cmdwin); | ^ cmd6.c:59:3: warning: call to undeclared function 'wwiomux'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | wwiomux(); | ^ cmd6.c:61:3: warning: call to undeclared function 'wwputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | wwputc('\n', cmdwin); | ^ cmd6.c:64:3: warning: call to undeclared function 'wwdumpsmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | wwdumpsmap(); | ^ cmd6.c:67:3: warning: call to undeclared function 'wwdumpns'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | wwdumpns(); | ^ cmd6.c:70:3: warning: call to undeclared function 'wwdumpos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | wwdumpos(); | ^ cmd6.c:73:3: warning: call to undeclared function 'debug_str'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | debug_str(); | ^ cmd6.c:77:4: warning: call to undeclared function 'wwdumpnvis'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | wwdumpnvis(w); | ^ cmd6.c:81:4: warning: call to undeclared function 'wwdumpwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | wwdumpwin(w); | ^ cmd6.c:84:3: warning: call to undeclared function 'wwbell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | wwbell(); | ^ cmd6.c:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | debug_str() | ^ | int cmd6.c:94:19: warning: passing arguments to 'openiwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | if ((w = openiwin(wwnrow - 3, "Allocated Strings")) == 0) { | ^ cmd6.c:95:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | error("Can't open string window: %s.", wwerror()); | ^ cmd6.c:99:7: warning: call to undeclared function 'more'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | if (more(w, 0) == 2) | ^ cmd6.c:101:3: warning: call to undeclared function 'wwprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | wwprintf(w, "(0x%x)\t\"%s\"\n", s->s_data, s->s_data); | ^ cmd6.c:103:2: warning: call to undeclared function 'waitnl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | waitnl(w); | ^ cmd6.c:105:2: warning: call to undeclared function 'closeiwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | closeiwin(w); | ^ 19 warnings generated. --- cmd5.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.cmd5.pieo -MTcmd5.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c cmd5.c -o cmd5.pieo cmd5.c:49:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | c_move(w) | ^ | int cmd5.c:58:3: warning: call to undeclared function 'wwputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | wwputs("New window position: ", cmdwin); | ^ cmd5.c:61:2: warning: call to undeclared function 'wwadd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | wwadd(boxwin, framewin->ww_back); | ^ cmd5.c:63:3: warning: call to undeclared function 'wwbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | wwbox(boxwin, row - 1, col - 1, w->ww_w.nr + 2, w->ww_w.nc + 2); | ^ cmd5.c:64:3: warning: call to undeclared function 'getminmax'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | getminmax(row, w->ww_w.nr, 1, wwnrow, | ^ cmd5.c:70:4: warning: call to undeclared function 'wwiomux'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | wwiomux(); | ^ cmd5.c:71:11: warning: call to undeclared function 'getpos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | switch (getpos(&row, &col, minrow, mincol, maxrow, maxcol)) { | ^ cmd5.c:73:4: warning: call to undeclared function 'wwunframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | wwunbox(boxwin); | ^ ./ww.h:252:20: note: expanded from macro 'wwunbox' 252 | #define wwunbox(w) wwunframe(w) | ^ cmd5.c:74:4: warning: call to undeclared function 'wwdelete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | wwdelete(boxwin); | ^ cmd5.c:86:2: warning: call to undeclared function 'wwdelete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | wwdelete(boxwin); | ^ cmd5.c:88:3: warning: call to undeclared function 'wwputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | wwputc('\n', cmdwin); | ^ cmd5.c:90:2: warning: call to undeclared function 'movewin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | movewin(w, row, col); | ^ cmd5.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | c_move(w) | ^ cmd5.c:93:17: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 93 | movewin(w, row, col) | ^ 94 | register struct ww *w; 95 | { cmd5.c:93:12: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 93 | movewin(w, row, col) | ^ 94 | register struct ww *w; 95 | { cmd5.c:93:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 93 | movewin(w, row, col) | ^ | int cmd5.c:100:2: warning: call to undeclared function 'wwdelete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | wwdelete(w); | ^ cmd5.c:101:2: warning: call to undeclared function 'wwmove'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | wwmove(w, row, col); | ^ cmd5.c:102:2: warning: call to undeclared function 'wwadd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | wwadd(w, back); | ^ cmd5.c:103:2: warning: call to undeclared function 'reframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | reframe(); | ^ cmd5.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | movewin(w, row, col) | ^ cmd5.c:110:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | register x, n, a, b; | ~~~~~~~~ ^ | int cmd5.c:110:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | register x, n, a, b; | ~~~~~~~~ ^ | int cmd5.c:110:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | register x, n, a, b; | ~~~~~~~~ ^ | int cmd5.c:110:19: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | register x, n, a, b; | ~~~~~~~~ ^ | int cmd5.c:109:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 109 | getminmax(x, n, a, b, curx, minx, maxx) | ^ | int cmd5.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 warnings generated. --- cmd4.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.cmd4.pieo -MTcmd4.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c cmd4.c -o cmd4.pieo cmd4.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | c_colon() | ^ | int cmd4.c:50:2: warning: call to undeclared function 'setterse'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | setterse(0); | ^ cmd4.c:51:2: warning: call to undeclared function 'wwputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | wwputc(':', cmdwin); | ^ cmd4.c:52:2: warning: call to undeclared function 'wwgets'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | wwgets(buf, wwncol - 3, cmdwin); | ^ cmd4.c:56:6: warning: call to undeclared function 'dolongcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | if (dolongcmd(buf, (struct value *)0, 0) < 0) | ^ cmd4.c:57:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | error("Out of memory."); | ^ 6 warnings generated. --- cmd3.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.cmd3.pieo -MTcmd3.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c cmd3.c -o cmd3.pieo cmd3.c:46:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | setescape(esc) | ^ | int cmd3.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cmd3.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | setlabel(w, label) | ^ | int cmd3.c:63:11: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | str_free(w->ww_label); | ^ cmd3.c:64:28: warning: passing arguments to 'str_cpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | if ((w->ww_label = str_cpy(label)) == 0) | ^ cmd3.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | setlabel(w, label) | ^ 6 warnings generated. --- cmd2.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.cmd2.pieo -MTcmd2.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c cmd2.c -o cmd2.pieo cmd2.c:105:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | c_help() | ^ | int cmd2.c:109:19: warning: passing arguments to 'openiwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | if ((w = openiwin(wwnrow - 3, "Help")) == 0) { | ^ cmd2.c:110:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | error("Can't open help window: %s.", wwerror()); | ^ cmd2.c:113:2: warning: call to undeclared function 'wwprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | wwprintf(w, "The escape character is %c.\n", escapec); | ^ cmd2.c:115:6: warning: call to undeclared function 'help_print'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | if (help_print(w, "Short commands", help_shortcmd) >= 0) | ^ cmd2.c:117:2: warning: call to undeclared function 'closeiwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | closeiwin(w); | ^ cmd2.c:120:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 120 | help_print(w, name, list) | ^ | int cmd2.c:125:2: warning: call to undeclared function 'wwprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | wwprintf(w, "%s:\n\n", name); | ^ cmd2.c:127:11: warning: call to undeclared function 'more'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | switch (more(w, 0)) { | ^ cmd2.c:129:4: warning: call to undeclared function 'wwputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | wwputs(*list++, w); | ^ cmd2.c:130:4: warning: call to undeclared function 'wwputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | wwputc('\n', w); | ^ cmd2.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | help_print(w, name, list) | ^ cmd2.c:141:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 141 | c_quit() | ^ | int cmd2.c:145:2: warning: call to undeclared function 'setterse'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | setterse(0); | ^ cmd2.c:146:2: warning: call to undeclared function 'wwputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 146 | wwputs("Really quit [yn]? ", cmdwin); | ^ cmd2.c:149:3: warning: call to undeclared function 'wwiomux'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | wwiomux(); | ^ cmd2.c:154:3: warning: call to undeclared function 'wwputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | wwputc('\n', cmdwin); | ^ 17 warnings generated. --- cmd1.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.cmd1.pieo -MTcmd1.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c cmd1.c -o cmd1.pieo In file included from cmd1.c:43: In file included from ./defs.h:40: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ cmd1.c:46:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | c_window() | ^ | int cmd1.c:51:12: warning: call to undeclared function 'findid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | if ((id = findid()) < 0) | ^ cmd1.c:54:3: warning: call to undeclared function 'wwputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | wwputs("New window (upper left corner): ", cmdwin); | ^ cmd1.c:57:2: warning: call to undeclared function 'wwadd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | wwadd(boxwin, framewin->ww_back); | ^ cmd1.c:59:3: warning: call to undeclared function 'wwbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | wwbox(boxwin, row - 1, col - 1, 3, 3); | ^ cmd1.c:62:4: warning: call to undeclared function 'wwiomux'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | wwiomux(); | ^ cmd1.c:63:11: warning: call to undeclared function 'getpos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | switch (getpos(&row, &col, row > 1, 0, | ^ cmd1.c:66:4: warning: call to undeclared function 'wwunframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | wwunbox(boxwin); | ^ ./ww.h:252:20: note: expanded from macro 'wwunbox' 252 | #define wwunbox(w) wwunframe(w) | ^ cmd1.c:67:4: warning: call to undeclared function 'wwdelete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | wwdelete(boxwin); | ^ cmd1.c:84:3: warning: call to undeclared function 'wwbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | wwbox(boxwin, row - 1, col - 1, | ^ cmd1.c:88:4: warning: call to undeclared function 'wwiomux'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | wwiomux(); | ^ cmd1.c:89:11: warning: call to undeclared function 'getpos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | switch (getpos(&xrow, &xcol, row, col, wwnrow - 1, wwncol - 1)) | ^ cmd1.c:92:4: warning: call to undeclared function 'wwunframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | wwunbox(boxwin); | ^ ./ww.h:252:20: note: expanded from macro 'wwunbox' 252 | #define wwunbox(w) wwunframe(w) | ^ cmd1.c:93:4: warning: call to undeclared function 'wwdelete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | wwdelete(boxwin); | ^ cmd1.c:105:2: warning: call to undeclared function 'wwdelete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | wwdelete(boxwin); | ^ cmd1.c:107:3: warning: call to undeclared function 'wwputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | wwputc('\n', cmdwin); | ^ cmd1.c:109:16: warning: passing arguments to 'openwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | (void) openwin(id, row, col, xrow-row+1, xcol-col+1, default_nline, | ^ cmd1.c:113:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 113 | getpos(row, col, minrow, mincol, maxrow, maxcol) | ^ | int cmd1.c:163:5: warning: call to undeclared function 'wwputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | wwputs("\nCancelled. ", cmdwin); | ^ cmd1.c:170:4: warning: call to undeclared function 'wwbell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | wwbell(); | ^ cmd1.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | getpos(row, col, minrow, mincol, maxrow, maxcol) | ^ 22 warnings generated. --- char.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.char.pieo -MTchar.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c char.c -o char.pieo --- tth19.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.tth19.pieo -MTtth19.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c tth19.c -o tth19.pieo --- cmd.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.cmd.pieo -MTcmd.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c cmd.c -o cmd.pieo --- wwinschar.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwinschar.pieo -MTwwinschar.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwinschar.c -o wwinschar.pieo --- wwinsline.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwinsline.pieo -MTwwinsline.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwinsline.c -o wwinsline.pieo --- wwiomux.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwiomux.pieo -MTwwiomux.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwiomux.c -o wwiomux.pieo --- tttermcap.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.tttermcap.pieo -MTtttermcap.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c tttermcap.c -o tttermcap.pieo --- wwlabel.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwlabel.pieo -MTwwlabel.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwlabel.c -o wwlabel.pieo --- wwmisc.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwmisc.pieo -MTwwmisc.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwmisc.c -o wwmisc.pieo --- cmd7.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.cmd7.pieo -MTcmd7.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c cmd7.c -o cmd7.pieo --- wwmove.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwmove.pieo -MTwwmove.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwmove.c -o wwmove.pieo --- ttzapple.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.ttzapple.pieo -MTttzapple.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c ttzapple.c -o ttzapple.pieo --- wwdump.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwdump.pieo -MTwwdump.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwdump.c -o wwdump.pieo --- lcmd1.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.lcmd1.pieo -MTlcmd1.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c lcmd1.c -o lcmd1.pieo --- lcmd2.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.lcmd2.pieo -MTlcmd2.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c lcmd2.c -o lcmd2.pieo --- main.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.main.pieo -MTmain.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c main.c -o main.pieo --- wwend.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwend.pieo -MTwwend.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwend.c -o wwend.pieo In file included from wwend.c:44: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ wwend.c:53:10: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | (void) alarm(0); | ^ --- parser1.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.parser1.pieo -MTparser1.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c parser1.c -o parser1.pieo --- parser2.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.parser2.pieo -MTparser2.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c parser2.c -o parser2.pieo --- win.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.win.pieo -MTwin.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c win.c -o win.pieo --- wwenviron.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwenviron.pieo -MTwwenviron.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwenviron.c -o wwenviron.pieo --- wwerror.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwerror.pieo -MTwwerror.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwerror.c -o wwerror.pieo --- wwflush.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwflush.pieo -MTwwflush.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwflush.c -o wwflush.pieo --- wwframe.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwframe.pieo -MTwwframe.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwframe.c -o wwframe.pieo --- wwgets.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwgets.pieo -MTwwgets.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwgets.c -o wwgets.pieo --- wwinit.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwinit.pieo -MTwwinit.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwinit.c -o wwinit.pieo --- ttgeneric.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.ttgeneric.pieo -MTttgeneric.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c ttgeneric.c -o ttgeneric.pieo --- wwopen.pieo --- --- wwprintf.pieo --- --- wwpty.pieo --- --- wwputc.pieo --- --- wwputs.pieo --- --- wwredraw.pieo --- --- wwredrawwin.pieo --- --- wwrint.pieo --- --- wwscroll.pieo --- --- wwsize.pieo --- --- wwspawn.pieo --- --- wwsuspend.pieo --- --- wwterminfo.pieo --- --- wwtty.pieo --- --- wwunframe.pieo --- --- wwupdate.pieo --- --- wwwrite.pieo --- --- xx.pieo --- --- xxflush.pieo --- --- compress.pieo --- --- window.1.gz --- --- wwrint.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwrint.pieo -MTwwrint.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwrint.c -o wwrint.pieo wwrint.c:63:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 63 | register n; | ~~~~~~~~ ^ | int wwrint.c:78:21: 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] 78 | n = (*tt.tt_rint)(wwibq, n); | ^ 2 warnings generated. --- wwputc.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwputc.pieo -MTwwputc.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwputc.c -o wwputc.pieo wwputc.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | wwputc(c, w) | ^ | int wwputc.c:49:9: warning: call to undeclared function 'wwwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | (void) wwwrite(w, &c, sizeof c); | ^ wwputc.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | wwputc(c, w) | ^ 3 warnings generated. --- wwpty.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwpty.pieo -MTwwpty.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwpty.c -o wwpty.pieo In file included from wwpty.c:43: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ wwpty.c:51:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | wwgetpty(w) | ^ | int wwpty.c:62:6: warning: call to undeclared function 'openpty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | if (openpty(&master, &slave, ttyname, NULL, NULL) == 0) { | ^ wwpty.c:66:11: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | (void) close(w->ww_pty); | ^ wwpty.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | wwgetpty(w) | ^ 5 warnings generated. --- wwprintf.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwprintf.pieo -MTwwprintf.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwprintf.c -o wwprintf.pieo wwprintf.c:54:9: warning: call to undeclared function 'wwwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | (void) wwwrite(w, buf, vsprintf(buf, fmt, ap)); | ^ wwprintf.c:54:25: warning: call to undeclared library function 'vsprintf' with type 'int (char *restrict, const char *restrict, struct __va_list_tag *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | (void) wwwrite(w, buf, vsprintf(buf, fmt, ap)); | ^ wwprintf.c:54:25: note: include the header or explicitly provide a declaration for 'vsprintf' 2 warnings generated. --- wwopen.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwopen.pieo -MTwwopen.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwopen.c -o wwopen.pieo In file included from wwopen.c:43: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ wwopen.c:50:37: warning: parameter 'nline' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | wwopen(flags, nrow, ncol, row, col, nline) | ^ 51 | { wwopen.c:50:32: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | wwopen(flags, nrow, ncol, row, col, nline) | ^ 51 | { wwopen.c:50:27: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | wwopen(flags, nrow, ncol, row, col, nline) | ^ 51 | { wwopen.c:50:21: warning: parameter 'ncol' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | wwopen(flags, nrow, ncol, row, col, nline) | ^ 51 | { wwopen.c:50:15: warning: parameter 'nrow' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | wwopen(flags, nrow, ncol, row, col, nline) | ^ 51 | { wwopen.c:50:8: warning: parameter 'flags' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | wwopen(flags, nrow, ncol, row, col, nline) | ^ 51 | { wwopen.c:53:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 53 | register i, j; | ~~~~~~~~ ^ | int wwopen.c:53:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 53 | register i, j; | ~~~~~~~~ ^ | int wwopen.c:101:7: warning: call to undeclared function 'wwgetpty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | if (wwgetpty(w) < 0) | ^ wwopen.c:124:21: warning: passing arguments to 'wwalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | w->ww_win = wwalloc(w->ww_w.t, w->ww_w.l, | ^ wwopen.c:134:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 134 | else | ^ wwopen.c:141:23: warning: passing arguments to 'wwalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | w->ww_fmap = wwalloc(w->ww_w.t, w->ww_w.l, | ^ wwopen.c:151:10: warning: passing arguments to 'wwalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | wwalloc(w->ww_b.t, w->ww_b.l, | ^ wwopen.c:175:4: warning: call to undeclared function 'wwfree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | wwfree(w->ww_win, w->ww_w.t); | ^ wwopen.c:185:11: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 185 | (void) close(w->ww_pty); | ^ wwopen.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 | wwopen(flags, nrow, ncol, row, col, nline) | ^ In file included from wwopen.c:43: ./ww.h:305: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 subsequent definition [-Wdeprecated-non-prototype] 305 | struct ww *wwopen(); | ^ 18 warnings generated. --- wwmisc.pieo --- In file included from wwmisc.c:43: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ wwmisc.c:50:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | wwvisible(w) | ^ | int wwmisc.c:53:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 53 | register i; | ~~~~~~~~ ^ | int wwmisc.c:54:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | register nvis = 0; | ~~~~~~~~ ^ | int wwmisc.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 | wwvisible(w) | ^ wwmisc.c:66:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | wwbell() | ^ | int wwmisc.c:68:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | ttputc(ctrl('g')); | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ 7 warnings generated. --- wwlabel.pieo --- In file included from wwlabel.c:43: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ wwlabel.c:51:25: warning: parameter 'mode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | wwlabel(w, f, where, l, mode) | ^ 52 | struct ww *w; 53 | struct ww *f; 54 | char *l; 55 | { wwlabel.c:51:15: warning: parameter 'where' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | wwlabel(w, f, where, l, mode) | ^ 52 | struct ww *w; 53 | struct ww *f; 54 | char *l; 55 | { wwlabel.c:51:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | wwlabel(w, f, where, l, mode) | ^ | int wwlabel.c:57:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | register j; | ~~~~~~~~ ^ | int wwlabel.c:86:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 86 | p = unctrl(*l); | ^ ~~~~~~~~~~ wwlabel.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | wwlabel(w, f, where, l, mode) | ^ 7 warnings generated. --- wwiomux.pieo --- wwiomux.c:63:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 63 | wwiomux() | ^ | int wwiomux.c:67:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | register n; | ~~~~~~~~ ^ | int wwiomux.c:96:4: warning: call to undeclared function 'wwupdate1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | wwupdate(); | ^ ./ww.h:255:20: note: expanded from macro 'wwupdate' 255 | #define wwupdate() wwupdate1(0, wwnrow); | ^ wwiomux.c:97:4: warning: call to undeclared function 'wwflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | wwflush(); | ^ wwiomux.c:145:9: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | n = read(w->ww_pty, p, w->ww_obe - p); | ^ wwiomux.c:148:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | (void) close(w->ww_pty); | ^ wwiomux.c:152:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | (void) close(w->ww_pty); | ^ wwiomux.c:188:8: warning: call to undeclared function 'wwwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | n = wwwrite(w, w->ww_obp, w->ww_obq - w->ww_obp); | ^ wwiomux.c:197:9: warning: call to undeclared function 'wwwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | n = wwwrite(w, w->ww_obp, | ^ 9 warnings generated. --- wwinsline.pieo --- wwinsline.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | wwinsline(w, row) | ^ | int wwinsline.c:49:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | register i; | ~~~~~~~~ ^ | int wwinsline.c:67:12: warning: call to undeclared function 'wwscroll1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | deleted = wwscroll1(w, row1, row2, -1, visible); | ^ wwinsline.c:84:3: warning: call to undeclared function 'wwclreol1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | wwclreol1(w, row, w->ww_b.l, deleted); | ^ wwinsline.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | wwinsline(w, row) | ^ 5 warnings generated. --- wwinschar.pieo --- wwinschar.c:46:19: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | wwinschar(w, row, col, c, m) | ^ 47 | register struct ww *w; 48 | unsigned char c, m; 49 | { wwinschar.c:46:14: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | wwinschar(w, row, col, c, m) | ^ 47 | register struct ww *w; 48 | unsigned char c, m; 49 | { wwinschar.c:46:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | wwinschar(w, row, col, c, m) | ^ | int wwinschar.c:50:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | register i; | ~~~~~~~~ ^ | int wwinschar.c:121:4: warning: call to undeclared function 'xxinschar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | xxinschar(row, col, c, m); | ^ wwinschar.c:123:4: warning: call to undeclared function 'xxinsspace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | xxinsspace(row, col); | ^ wwinschar.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | wwinschar(w, row, col, c, m) | ^ 7 warnings generated. --- wwgets.pieo --- In file included from wwgets.c:43: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ wwgets.c:52:10: warning: call to undeclared function 'wwwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | (void) wwwrite(w, "\b \b", 3); | ^ wwgets.c:66:4: warning: call to undeclared function 'wwiomux'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | wwiomux(); | ^ wwgets.c:100:5: warning: call to undeclared function 'wwputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | wwputc(ctrl('g'), w); | ^ wwgets.c:103:8: warning: call to undeclared function 'wwputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | wwputs(unctrl(*p++ = c), w); | ^ 5 warnings generated. --- wwframe.pieo --- wwframe.c:49:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | wwframe(w, wframe) | ^ | int wwframe.c:53:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 53 | register r, c; | ~~~~~~~~ ^ | int wwframe.c:53:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 53 | register r, c; | ~~~~~~~~ ^ | int wwframe.c:57:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | register code; | ~~~~~~~~ ^ | int wwframe.c:84:6: warning: call to undeclared function 'wwframec'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | wwframec(wframe, r, c, code|WWF_TOP); | ^ wwframe.c:92:4: warning: call to undeclared function 'wwframec'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | wwframec(wframe, r, c, WWF_L|WWF_TOP); | ^ wwframe.c:119:6: warning: call to undeclared function 'wwframec'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | wwframec(wframe, r, c, code); | ^ wwframe.c:127:4: warning: call to undeclared function 'wwframec'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | wwframec(wframe, r, c, WWF_L); | ^ wwframe.c:153:6: warning: call to undeclared function 'wwframec'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | wwframec(wframe, r, c, code); | ^ wwframe.c:161:4: warning: call to undeclared function 'wwframec'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | wwframec(wframe, r, c, WWF_U); | ^ wwframe.c:187:6: warning: call to undeclared function 'wwframec'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 187 | wwframec(wframe, r, c, code); | ^ wwframe.c:195:4: warning: call to undeclared function 'wwframec'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 195 | wwframec(wframe, r, c, WWF_U); | ^ wwframe.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | wwframe(w, wframe) | ^ wwframe.c:201:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 201 | register r, c; | ~~~~~~~~ ^ | int wwframe.c:201:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 201 | register r, c; | ~~~~~~~~ ^ | int wwframe.c:199:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 199 | wwframec(f, r, c, code) | ^ | int wwframe.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 warnings generated. --- wwflush.pieo --- wwflush.c:48:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | wwflush() | ^ | int wwflush.c:50:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | register row, col; | ~~~~~~~~ ^ | int wwflush.c:50:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | register row, col; | ~~~~~~~~ ^ | int wwflush.c:60:2: warning: call to undeclared function 'xxmove'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | xxmove(row, col); | ^ wwflush.c:62:3: warning: call to undeclared function 'xxflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | xxflush(0); | ^ wwflush.c:63:3: warning: call to undeclared function 'wwcheckpoint'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | wwcheckpoint(); | ^ wwflush.c:65:3: warning: call to undeclared function 'xxflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | xxflush(1); | ^ wwflush.c:68:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 68 | wwcheckpoint() | ^ | int wwflush.c:78:10: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | (void) alarm(3); | ^ wwflush.c:82:9: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | (void) alarm(0); | ^ wwflush.c:85:3: warning: call to undeclared function 'wwcopyscreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | wwcopyscreen(wwcs, wwos); | ^ wwflush.c:87:3: warning: call to undeclared function 'wwreset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | wwreset(); | ^ wwflush.c:88:3: warning: call to undeclared function 'wwupdate1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | wwupdate(); | ^ ./ww.h:255:20: note: expanded from macro 'wwupdate' 255 | #define wwupdate() wwupdate1(0, wwnrow); | ^ wwflush.c:91:3: warning: call to undeclared function 'wwcopyscreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | wwcopyscreen(wwos, wwcs); | ^ wwflush.c:97:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 97 | wwcopyscreen(s1, s2) | ^ | int wwflush.c:100:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 100 | register i; | ~~~~~~~~ ^ | int wwflush.c:101:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | register s = wwncol * sizeof **s1; | ~~~~~~~~ ^ | int wwflush.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | wwcopyscreen(s1, s2) | ^ 18 warnings generated. --- wwerror.pieo --- --- wwenviron.pieo --- wwenviron.c:54:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | wwenviron(wp) | ^ | int wwenviron.c:57:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 57 | register i; | ~~~~~~~~ ^ | int wwenviron.c:71:12: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | if ((i = open(wp->ww_ttyname, 2)) < 0) | ^ wwenviron.c:73:7: warning: call to undeclared function 'wwsettty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | if (wwsettty(i, &wwwintty) < 0) | ^ wwenviron.c:75:7: warning: call to undeclared function 'wwsetttysize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | if (wwsetttysize(i, wp->ww_w.nr, wp->ww_w.nc) < 0) | ^ wwenviron.c:78:9: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | (void) dup2(i, 0); | ^ wwenviron.c:81:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | (void) close(i); | ^ wwenviron.c:83:9: warning: call to undeclared function 'setsid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | (void) setsid(); | ^ wwenviron.c:99:9: warning: call to undeclared function 'setenv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | (void) setenv("TERMCAP", buf, 1); | ^ wwenviron.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | wwenviron(wp) | ^ 10 warnings generated. --- wwend.pieo --- wwend.c:56:2: warning: call to undeclared function 'xxend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | xxend(); | ^ wwend.c:58:9: warning: call to undeclared function 'wwsettty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | (void) wwsettty(0, &wwoldtty); | ^ 4 warnings generated. --- wwdump.pieo --- In file included from wwdump.c:45: ./ww.h:315: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] 315 | char *rindex(); | ^ ./ww.h:316: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] 316 | char *strcpy(); | ^ ./ww.h:317: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] 317 | char *strcat(); | ^ wwdump.c:50:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | wwdumpwin(w) | ^ | int wwdump.c:53:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 53 | register i, j; | ~~~~~~~~ ^ | int wwdump.c:53:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 53 | register i, j; | ~~~~~~~~ ^ | int wwdump.c:58: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] 58 | (*tt.tt_move)(i, w->ww_i.l); | ^ wwdump.c:60:17: 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] 60 | (*tt.tt_putc)(w->ww_win[i][j] & WWM_GLS ? 'G' : ' '); | ^ wwdump.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 | wwdumpwin(w) | ^ wwdump.c:64:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 64 | wwdumpnvis(w) | ^ | int wwdump.c:67:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | register i; | ~~~~~~~~ ^ | int wwdump.c:73: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] 73 | (*tt.tt_move)(i, w->ww_i.l); | ^ wwdump.c:75:17: 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] 75 | (*tt.tt_write)(buf, strlen(buf)); | ^ wwdump.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | wwdumpnvis(w) | ^ wwdump.c:79:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 79 | wwdumpsmap() | ^ | int wwdump.c:81:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | register i, j; | ~~~~~~~~ ^ | int wwdump.c:81:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | register i, j; | ~~~~~~~~ ^ | int wwdump.c:86: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] 86 | (*tt.tt_move)(i, 0); | ^ wwdump.c:88:17: 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] 88 | (*tt.tt_putc)(cmap[wwsmap[i][j]]); | ^ wwdump.c:92:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | wwdumpns() | ^ | int wwdump.c:94:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 94 | register i, j; | ~~~~~~~~ ^ | int wwdump.c:94:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 94 | register i, j; | ~~~~~~~~ ^ | int wwdump.c:98: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] 98 | (*tt.tt_move)(i, 0); | ^ wwdump.c:101:17: 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] 101 | (*tt.tt_putc)(wwns[i][j].c_c); | ^ wwdump.c:106:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 106 | wwdumpos() | ^ | int wwdump.c:108:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 108 | register i, j; | ~~~~~~~~ ^ | int wwdump.c:108:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 108 | register i, j; | ~~~~~~~~ ^ | int wwdump.c:112: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] 112 | (*tt.tt_move)(i, 0); | ^ wwdump.c:115:17: 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] 115 | (*tt.tt_putc)(wwns[i][j].c_c); | ^ 29 warnings generated. --- tth19.pieo --- In file included from tth19.c:43: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ tth19.c:86:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 86 | register new; | ~~~~~~~~ ^ | int tth19.c:85:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | h19_setmodes(new) | ^ | int tth19.c:88:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 88 | register diff; | ~~~~~~~~ ^ | int --- cmd.pieo --- In file included from cmd.c:43: In file included from ./defs.h:40: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ cmd.c:46:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | docmd() | ^ | int cmd.c:48:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | register c; | ~~~~~~~~ ^ | int cmd.c:57:5: warning: call to undeclared function 'wwputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- wwsuspend.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwsuspend.pieo -MTwwsuspend.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwsuspend.c -o wwsuspend.pieo wwsuspend.c:47:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 47 | wwsuspend() | ^ | int wwsuspend.c:52:2: warning: call to undeclared function 'wwend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | wwend(0); | ^ wwsuspend.c:56:2: warning: call to undeclared function 'wwstart'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | wwstart(); | ^ 3 warnings generated. --- wwterminfo.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwterminfo.pieo -MTwwterminfo.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwterminfo.c -o wwterminfo.pieo --- wwtty.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwtty.pieo -MTwwtty.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwtty.c -o wwtty.pieo --- tttermcap.pieo --- tttermcap.c:49:9: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | tttputc(c) | ^ 50 | { tttermcap.c:49:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | tttputc(c) | ^ | int tttermcap.c:51:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | ttputc(c); | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tttermcap.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | tttputc(c) | ^ In file included from tttermcap.c:43: --- wwunframe.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwunframe.pieo -MTwwunframe.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwunframe.c -o wwunframe.pieo --- wwupdate.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwupdate.pieo -MTwwupdate.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwupdate.c -o wwupdate.pieo --- cmd7.pieo --- In file included from cmd7.c:44: In file included from ./defs.h:40: ./ww.h:313: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] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ cmd7.c:51:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | c_size(w) | ^ | int cmd7.c:57:3: warning: call to undeclared function 'wwputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | wwputs("New window size (lower right corner): ", cmdwin); | ^ --- ttzapple.pieo --- In file included from ttzapple.c:43: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ ttzapple.c:73:13: warning: parameter 'new' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 73 | zz_setmodes(new) | ^ 74 | { ttzapple.c:73:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 73 | zz_setmodes(new) | ^ | int ttzapple.c:77:4: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | ttesc('+'); --- wwputs.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwputs.pieo -MTwwputs.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwputs.c -o wwputs.pieo --- lcmd1.pieo --- lcmd1.c:67:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | l_window(v, a) | ^ | int lcmd1.c:79:12: warning: call to undeclared function 'findid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | if ((id = findid()) < 0) | ^ lcmd1.c:92:16: warning: call to undeclared function 'vtobool'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | if ((haspty = vtobool(++a, 1, -1)) < 0) | ^ lcmd1.c:108:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 108 | if (*sh = rindex(shf, '/')) | ~~~~^~~~~~~~~~~~~~~~~~ lcmd1.c:108:11: note: place parentheses around the assignment to silence this warning 108 | if (*sh = rindex(shf, '/')) --- lcmd2.pieo --- lcmd2.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | l_iostat(v, a) | ^ | int lcmd2.c:63:19: warning: passing arguments to 'openiwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if ((w = openiwin(16, "IO Statistics")) == 0) { | ^ lcmd2.c:64:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | error("Can't open statistics window: %s.", wwerror()); | ^ lcmd2.c:67:2: warning: call to undeclared function 'wwprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | wwprintf(w, "ttflush\twrite\terror\tzero\tchar\n"); | ^ --- main.pieo --- In file included from main.c:49: In file included from ./defs.h:40: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ main.c:85:6: warning: parameter 'argc' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | main(argc, argv) | ^ 86 | char **argv; 87 | { main.c:85:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | main(argc, argv) | ^ | int main.c:96:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 96 | if (p = rindex(*argv, '/')) --- wwredraw.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwredraw.pieo -MTwwredraw.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwredraw.c -o wwredraw.pieo wwredraw.c:46:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | wwredraw() | ^ | int wwredraw.c:48:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | register i, j; | ~~~~~~~~ ^ | int wwredraw.c:48:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | register i, j; | ~~~~~~~~ ^ | int --- parser1.pieo --- parser1.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | p_start() | ^ | int parser1.c:49:9: warning: call to undeclared function 's_gettok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | (void) s_gettok(); | ^ parser1.c:51:3: warning: call to undeclared function 'p_statementlist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | p_statementlist(flag); | ^ parser1.c:55:3: warning: call to undeclared function 'p_synerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | p_synerror(); | ^ --- parser2.pieo --- parser2.c:52:21: warning: parameter 'flag' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 52 | p_function(name, v, flag) | ^ 53 | char *name; 54 | register struct value *v; 55 | { parser2.c:52:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 52 | p_function(name, v, flag) | ^ | int parser2.c:61:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 61 | register i; | ~~~~~~~~ ^ | int parser2.c:66:22: warning: passing arguments to 'lcmd_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | if (c = lcmd_lookup(name)) | ^ --- win.pieo --- In file included from win.c:43: In file included from ./defs.h:40: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ win.c:66:35: warning: parameter 'nline' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | openwin(id, row, col, nrow, ncol, nline, label, haspty, hasframe, shf, sh) | ^ 67 | char *label; 68 | char haspty, hasframe; 69 | char *shf, **sh; 70 | { win.c:66:29: warning: parameter 'ncol' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- wwredrawwin.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwredrawwin.pieo -MTwwredrawwin.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwredrawwin.c -o wwredrawwin.pieo --- wwscroll.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwscroll.pieo -MTwwscroll.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwscroll.c -o wwscroll.pieo --- wwsize.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwsize.pieo -MTwwsize.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwsize.c -o wwsize.pieo --- wwspawn.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwspawn.pieo -MTwwspawn.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwspawn.c -o wwspawn.pieo wwspawn.c:51:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | wwspawn(wp, file, argv) | ^ | int wwspawn.c:68:7: warning: call to undeclared function 'wwenviron'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | if (wwenviron(wp) >= 0) | ^ wwspawn.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | wwspawn(wp, file, argv) | ^ 3 warnings generated. --- ttgeneric.pieo --- ttgeneric.c:130:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 130 | gen_setinsert(new) | ^ | int ttgeneric.c:135:4: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | ttxputs(gen_IM); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ ttgeneric.c:138:4: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | ttxputs(gen_EI); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ --- wwwrite.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.wwwrite.pieo -MTwwwrite.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c wwwrite.c -o wwwrite.pieo --- xx.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.xx.pieo -MTxx.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c xx.c -o xx.pieo --- compress.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.compress.pieo -MTcompress.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c compress.c -o compress.pieo --- tth19.pieo --- tth19.c:92:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | ttesc(new & WWM_REV ? 'p' : 'q'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | h19_setmodes(new) | ^ tth19.c:98:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- cmd.pieo --- 57 | wwputs("Command: ", cmdwin); | ^ cmd.c:61:5: warning: call to undeclared function 'wwiomux'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | wwiomux(); | ^ cmd.c:65:4: warning: call to undeclared function 'wwputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | wwputc('\n', cmdwin); | ^ cmd.c:82:5: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | error("No window."); | ^ cmd.c:90:5: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- tttermcap.pieo --- ./tt.h:134:5: 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] 134 | int tttputc(); | ^ tttermcap.c:54:9: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | ttxputc(c) | ^ 55 | { tttermcap.c:54:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | ttxputc(c) | ^ | int tttermcap.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] tttermcap.c:65:20: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | if ((str = tgetstr(str, &tt_strp)) == 0) --- cmd7.pieo --- cmd7.c:60:2: warning: call to undeclared function 'wwadd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | wwadd(boxwin, framewin->ww_back); | ^ cmd7.c:62:3: warning: call to undeclared function 'wwbox'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | wwbox(boxwin, w->ww_w.t - 1, w->ww_w.l - 1, | ^ cmd7.c:66:4: warning: call to undeclared function 'wwiomux'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | wwiomux(); | ^ cmd7.c:67:11: warning: call to undeclared function 'getpos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | switch (getpos(&row, &col, w->ww_w.t, w->ww_w.l, | ^ --- ttzapple.pieo --- | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:80:4: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | ttesc('-'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ --- lcmd1.pieo --- | ^ | ( ) lcmd1.c:108:11: note: use '==' to turn this assignment into an equality comparison 108 | if (*sh = rindex(shf, '/')) | ^ | == lcmd1.c:116:18: warning: passing arguments to 'openwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | if ((w = openwin(id, row, col, nrow, ncol, nline, label, haspty, | ^ lcmd1.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | l_window(v, a) | ^ lcmd1.c:131:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 131 | l_def_nline(v, a) | ^ | int --- lcmd2.pieo --- lcmd2.c:101:2: warning: call to undeclared function 'waitnl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | waitnl(w); | ^ lcmd2.c:102:2: warning: call to undeclared function 'closeiwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | closeiwin(w); | ^ lcmd2.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | l_iostat(v, a) | ^ lcmd2.c:111:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 111 | l_time(v, a) | ^ | int lcmd2.c:120:19: warning: passing arguments to 'openiwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | if ((w = openiwin(8, "Timing and Resource Usage")) == 0) { --- main.pieo --- | ~~^~~~~~~~~~~~~~~~~~~~ main.c:96:8: note: place parentheses around the assignment to silence this warning 96 | if (p = rindex(*argv, '/')) | ^ | ( ) main.c:96:8: note: use '==' to turn this assignment into an equality comparison 96 | if (p = rindex(*argv, '/')) | ^ | == main.c:111:13: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | (void) usage(); | ^ main.c:113:11: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | cmd = next(argv); | ^ main.c:58:71: note: expanded from macro 'next' --- wwredraw.pieo --- wwredraw.c:51:2: warning: call to undeclared function 'xxclear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | xxclear(); | ^ 4 warnings generated. --- parser1.pieo --- parser1.c:58:13: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | str_free(token_str); | ^ parser1.c:67:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 67 | p_statementlist(flag) | ^ | int parser1.c:70:9: warning: call to undeclared function 'p_statement'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | for (; p_statement(flag) >= 0; p_clearerr()) | ^ parser1.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | p_statementlist(flag) | ^ --- parser2.pieo --- parser2.c:66:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 66 | if (c = lcmd_lookup(name)) | ~~^~~~~~~~~~~~~~~~~~~ parser2.c:66:9: note: place parentheses around the assignment to silence this warning 66 | if (c = lcmd_lookup(name)) | ^ | ( ) parser2.c:66:9: note: use '==' to turn this assignment into an equality comparison 66 | if (c = lcmd_lookup(name)) | ^ | == parser2.c:68:16: warning: passing arguments to 'var_lookup1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | else if (a = alias_lookup(name)) | ^ ./alias.h:51:39: note: expanded from macro 'alias_lookup' --- win.pieo --- 66 | openwin(id, row, col, nrow, ncol, nline, label, haspty, hasframe, shf, sh) | ^ 67 | char *label; 68 | char haspty, hasframe; 69 | char *shf, **sh; 70 | { win.c:66:23: warning: parameter 'nrow' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | openwin(id, row, col, nrow, ncol, nline, label, haspty, hasframe, shf, sh) | ^ 67 | char *label; 68 | char haspty, hasframe; 69 | char *shf, **sh; 70 | { win.c:66:18: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | openwin(id, row, col, nrow, ncol, nline, label, haspty, hasframe, shf, sh) | ^ 67 | char *label; 68 | char haspty, hasframe; 69 | char *shf, **sh; 70 | { win.c:66:13: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- ttgeneric.pieo --- ttgeneric.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | gen_setinsert(new) | ^ ttgeneric.c:143:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 143 | register new; | ~~~~~~~~ ^ | int ttgeneric.c:142:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 142 | gen_setmodes(new) | ^ | int ttgeneric.c:145:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 145 | register diff; | ~~~~~~~~ ^ | int ttgeneric.c:151:5: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | ttxputs(gen_SO); --- xxflush.pieo --- cc -fpie -DPIC -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -MD -MF.depend.xxflush.pieo -MTxxflush.pieo -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -c xxflush.c -o xxflush.pieo --- tth19.pieo --- 98 | h19_insline(n) | ^ 99 | { tth19.c:98:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | h19_insline(n) | ^ | int tth19.c:101:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | ttesc('L'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:102:3: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- cmd.pieo --- 90 | error("%c: No such window.", c); | ^ cmd.c:93:4: warning: call to undeclared function 'setselwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | setselwin(w); | ^ cmd.c:94:8: warning: call to undeclared function 'checkproc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | if (checkproc(selwin) >= 0) | ^ cmd.c:107:5: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | error("No previous window."); | ^ --- tttermcap.pieo --- | ^ tttermcap.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | tttgetstr(str) | ^ In file included from tttermcap.c:43: ./tt.h:131:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 131 | struct tt_str *tttgetstr(); | ^ tttermcap.c:82:13: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | if (tgetstr(str, &bufp) == 0) | ^ tttermcap.c:87:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | tputs(buf, 1, ttxputc); | ^ --- cmd7.pieo --- cmd7.c:70:4: warning: call to undeclared function 'wwunframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | wwunbox(boxwin); | ^ ./ww.h:252:20: note: expanded from macro 'wwunbox' 252 | #define wwunbox(w) wwunframe(w) | ^ cmd7.c:71:4: warning: call to undeclared function 'wwdelete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | wwdelete(boxwin); | ^ cmd7.c:83:2: warning: call to undeclared function 'wwdelete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | wwdelete(boxwin); | ^ cmd7.c:85:3: warning: call to undeclared function 'wwputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- ttzapple.pieo --- ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | zz_setmodes(new) | ^ ttzapple.c:84:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | zz_insline(n) | ^ 85 | { ttzapple.c:84:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | zz_insline(n) | ^ | int ttzapple.c:87:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | ttesc('a'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' --- lcmd1.pieo --- lcmd1.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] lcmd1.c:146:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | l_smooth(v, a) | ^ | int lcmd1.c:153:17: warning: passing arguments to 'vtowin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | if ((w = vtowin(a++, selwin)) == 0) | ^ lcmd1.c:156:20: warning: call to undeclared function 'vtobool'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | w->ww_noupdate = !vtobool(a, v->v_num, v->v_num); | ^ lcmd1.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- lcmd2.pieo --- | ^ lcmd2.c:121:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | error("Can't open time window: %s.", wwerror()); | ^ lcmd2.c:132:7: warning: call to undeclared function 'str_match'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | && str_match(a->v_str, "children", 1) | ^ lcmd2.c:135:2: warning: call to undeclared function 'wwprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | wwprintf(w, "%-15s %-15s %-15s\n", | ^ lcmd2.c:137:31: warning: passing arguments to 'strtime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | wwprintf(w, "%-15s ", strtime(&timeval)); --- main.pieo --- 58 | #define next(a) (*++*(a) ? *(a) : (*++(a) ? *(a) : (char *)(uintptr_t)usage())) | ^ main.c:116:5: warning: call to undeclared function 'setescape'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | setescape(next(argv)); | ^ main.c:134:11: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | (void) usage(); | ^ main.c:138:34: warning: passing arguments to 'str_cpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | if ((default_shellfile = str_cpy(p)) == 0) { | ^ --- parser1.pieo --- parser1.c:74:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 74 | p_statement(flag) | ^ | int parser1.c:79:10: warning: call to undeclared function 's_gettok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | (void) s_gettok(); | ^ parser1.c:82:10: warning: call to undeclared function 'p_if'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | return p_if(flag); | ^ parser1.c:84:10: warning: call to undeclared function 'p_expression'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | return p_expression(flag); | ^ --- parser2.pieo --- 51 | #define alias_lookup(n) (*var_lookup1(&alias_head, n)) | ^ parser2.c:68:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 68 | else if (a = alias_lookup(name)) | ~~^~~~~~~~~~~~~~~~~~~~ parser2.c:68:14: note: place parentheses around the assignment to silence this warning 68 | else if (a = alias_lookup(name)) | ^ | ( ) parser2.c:68:14: note: use '==' to turn this assignment into an equality comparison 68 | else if (a = alias_lookup(name)) | ^ | == parser2.c:71:4: warning: call to undeclared function 'p_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- win.pieo --- 66 | openwin(id, row, col, nrow, ncol, nline, label, haspty, hasframe, shf, sh) | ^ 67 | char *label; 68 | char haspty, hasframe; 69 | char *shf, **sh; 70 | { win.c:66:9: warning: parameter 'id' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | openwin(id, row, col, nrow, ncol, nline, label, haspty, hasframe, shf, sh) | ^ 67 | char *label; 68 | char haspty, hasframe; 69 | char *shf, **sh; 70 | { win.c:73:22: warning: call to undeclared function 'findid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | if (id < 0 && (id = findid()) < 0) | ^ win.c:77:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | error("Illegal window position."); | ^ --- ttgeneric.pieo --- | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ ttgeneric.c:154:5: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | ttxputs(gen_SE); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ ttgeneric.c:159:5: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | ttxputs(gen_US); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ --- tth19.pieo --- 102 | ILPAD(); | ^~~~~~~ tth19.c:81:17: note: expanded from macro 'ILPAD' 81 | #define ILPAD() PAD((NROW - tt.tt_row) * 10) /* 1 ms per char */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tth19.c:76:11: note: expanded from macro 'PAD' 76 | register i; \ | ~~~~~~~~ ^ tth19.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | h19_insline(n) | ^ tth19.c:106:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 106 | h19_delline(n) | ^ 107 | { tth19.c:106:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 106 | h19_delline(n) | ^ | int --- cmd.pieo --- cmd.c:111:5: warning: call to undeclared function 'closewin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | closewin(w); | ^ cmd.c:114:4: warning: call to undeclared function 'c_window'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | c_window(); | ^ cmd.c:118:5: warning: call to undeclared function 'c_move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | c_move(w); | ^ cmd.c:122:5: warning: call to undeclared function 'movewin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | movewin(w, w->ww_alt.t, w->ww_alt.l); | ^ --- tttermcap.pieo --- tttermcap.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | ttxgetstr(str) | ^ In file included from tttermcap.c:43: ./tt.h:132:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | struct tt_str *ttxgetstr(); /* tgetstr() and expand delays */ | ^ tttermcap.c:93:17: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 93 | tttgoto(s, col, row) | ^ 94 | struct tt_str *s; 95 | { tttermcap.c:93:12: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 93 | tttgoto(s, col, row) | ^ --- cmd7.pieo --- 85 | wwputc('\n', cmdwin); | ^ cmd7.c:87:2: warning: call to undeclared function 'sizewin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | sizewin(w, row - w->ww_w.t + 1, col - w->ww_w.l + 1); | ^ cmd7.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | c_size(w) | ^ cmd7.c:101:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | c_yank() | ^ | int cmd7.c:109:3: warning: call to undeclared function 'wwputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | wwputs("Yank starting position: ", cmdwin); | ^ --- ttzapple.pieo --- 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | zz_insline(n) | ^ ttzapple.c:94:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 94 | zz_delline(n) | ^ 95 | { ttzapple.c:94:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 94 | zz_delline(n) | ^ | int --- lcmd1.pieo --- 146 | l_smooth(v, a) | ^ lcmd1.c:164:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 164 | l_def_smooth(v, a) | ^ | int lcmd1.c:169:19: warning: call to undeclared function 'vtobool'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | default_smooth = vtobool(a, v->v_num, v->v_num); | ^ lcmd1.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | l_def_smooth(v, a) | ^ lcmd1.c:177:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 177 | l_select(v, a) | ^ | int lcmd1.c:186:17: warning: passing arguments to 'vtowin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- lcmd2.pieo --- | ^ lcmd2.c:138:31: warning: passing arguments to 'strtime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | wwprintf(w, "%-15s ", strtime(&rusage.ru_utime)); | ^ lcmd2.c:139:32: warning: passing arguments to 'strtime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | wwprintf(w, "%-15s\n", strtime(&rusage.ru_stime)); | ^ lcmd2.c:154:2: warning: call to undeclared function 'waitnl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | waitnl(w); | ^ lcmd2.c:155:2: warning: call to undeclared function 'closeiwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | closeiwin(w); --- main.pieo --- main.c:142:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 142 | if (p = rindex(default_shellfile, '/')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:142:8: note: place parentheses around the assignment to silence this warning 142 | if (p = rindex(default_shellfile, '/')) | ^ | ( ) main.c:142:8: note: use '==' to turn this assignment into an equality comparison 142 | if (p = rindex(default_shellfile, '/')) | ^ | == main.c:152:6: warning: call to undeclared function 'wwinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | if (wwinit() < 0) { | ^ --- parser1.pieo --- parser1.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 | p_statement(flag) | ^ parser1.c:88:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 88 | p_if(flag) | ^ | int parser1.c:95:9: warning: call to undeclared function 's_gettok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | (void) s_gettok(); | ^ parser1.c:97:6: warning: call to undeclared function 'p_expr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | if (p_expr(&t, flag) < 0) { | ^ parser1.c:98:3: warning: call to undeclared function 'p_synerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | p_synerror(); --- parser2.pieo --- 71 | p_error("%s: No such command or alias.", name); | ^ parser2.c:68:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 68 | else if (a = alias_lookup(name)) | ^ parser2.c:79:10: warning: call to undeclared function 's_gettok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | (void) s_gettok(); | ^ parser2.c:87:8: warning: call to undeclared function 'p_expr0'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | if (p_expr0(&t, flag) < 0) | ^ parser2.c:96:5: warning: call to undeclared function 'p_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- win.pieo --- win.c:80:12: warning: passing arguments to 'wwopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | w = wwopen(haspty ? WWO_PTY : WWO_SOCKET, nrow, ncol, row, col, nline); | ^ win.c:82:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | error("Can't open window: %s.", wwerror()); | ^ win.c:89:20: warning: call to undeclared function 'setlabel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | if (label != 0 && setlabel(w, label) < 0) | ^ win.c:90:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | error("No memory for label."); | ^ --- ttgeneric.pieo --- ttgeneric.c:162:5: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | ttxputs(gen_UE); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ ttgeneric.c:167:5: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 167 | ttxputs(gen_AS); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ ttgeneric.c:170:5: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- tth19.pieo --- tth19.c:109:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | ttesc('M'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:110:3: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | ILPAD(); | ^~~~~~~ tth19.c:81:17: note: expanded from macro 'ILPAD' 81 | #define ILPAD() PAD((NROW - tt.tt_row) * 10) /* 1 ms per char */ --- cmd.pieo --- cmd.c:126:5: warning: call to undeclared function 'c_size'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | c_size(w); | ^ cmd.c:130:5: warning: call to undeclared function 'sizewin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | sizewin(w, w->ww_alt.nr, w->ww_alt.nc); | ^ cmd.c:133:4: warning: call to undeclared function 'c_yank'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | c_yank(); | ^ cmd.c:136:4: warning: call to undeclared function 'c_put'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | c_put(); | ^ --- tttermcap.pieo --- 94 | struct tt_str *s; 95 | { tttermcap.c:93:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 93 | tttgoto(s, col, row) | ^ | int tttermcap.c:98:2: warning: call to undeclared function 'ttputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | ttputs(tgoto(p, col, row)); | ^ tttermcap.c:98:14: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | ttputs(tgoto(p, col, row)); | ^ tttermcap.c:100:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | ttputc(0); | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' --- cmd7.pieo --- cmd7.c:110:2: warning: call to undeclared function 'wwcursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | wwcursor(w, 0); | ^ cmd7.c:116:4: warning: call to undeclared function 'wwiomux'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | wwiomux(); | ^ cmd7.c:117:11: warning: call to undeclared function 'getpos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | switch (getpos(&row1, &col1, w->ww_i.t, w->ww_i.l, | ^ cmd7.c:136:4: warning: call to undeclared function 'wwiomux'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | wwiomux(); | ^ --- ttzapple.pieo --- ttzapple.c:97:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | ttesc('d'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | zz_delline(n) | ^ ttzapple.c:104:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 104 | zz_putc(c) | ^ --- lcmd1.pieo --- 186 | if ((w = vtowin(a, (struct ww *)0)) == 0) | ^ lcmd1.c:188:2: warning: call to undeclared function 'setselwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | setselwin(w); | ^ lcmd1.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | l_select(v, a) | ^ lcmd1.c:196:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 196 | l_debug(v, a) | ^ | int lcmd1.c:201:10: warning: call to undeclared function 'vtobool'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 201 | debug = vtobool(a, debug, debug); | ^ --- lcmd2.pieo --- | ^ lcmd2.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | l_time(v, a) | ^ lcmd2.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | strtime(t) | ^ lcmd2.c:188:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 188 | l_list(v, a) | ^ | int lcmd2.c:192:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 192 | register i; | ~~~~~~~~ ^ | int lcmd2.c:199:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | error("No windows."); | ^ --- main.pieo --- main.c:179:10: warning: call to undeclared function 'wwsettty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | (void) wwsettty(0, &wwnewtty); | ^ main.c:181:22: warning: passing arguments to 'wwopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | if ((cmdwin = wwopen(wwbaud > 2400 ? WWO_REVERSE : 0, 1, wwncol, | ^ main.c:183:3: warning: call to undeclared function 'wwflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 183 | wwflush(); | ^ main.c:191:24: warning: passing arguments to 'wwopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | if ((framewin = wwopen(WWO_GLASS|WWO_FRAME, wwnrow, wwncol, 0, 0, 0)) --- parser1.pieo --- | ^ parser1.c:106:3: warning: call to undeclared function 'p_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | p_error("if: Numeric value required."); | ^ parser1.c:107:11: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | str_free(t.v_str); | ^ parser1.c:114:3: warning: call to undeclared function 'p_synerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | p_synerror(); | ^ parser1.c:138:2: warning: call to undeclared function 'p_synerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | p_synerror(); | ^ --- parser2.pieo --- 96 | p_error("%s: Too many arguments.", name); | ^ parser2.c:102:8: warning: call to undeclared function 'p_convstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | if (p_convstr(&t) < 0) | ^ parser2.c:106:8: warning: call to undeclared function 'p_expr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | if (p_expr(&t, flag) < 0) { | ^ parser2.c:108:14: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | str_free(tmp); | ^ --- win.pieo --- win.c:91:2: warning: call to undeclared function 'wwcursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | wwcursor(w, 1); | ^ win.c:97:2: warning: call to undeclared function 'setselwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | setselwin((struct ww *)0); | ^ win.c:98:2: warning: call to undeclared function 'addwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | addwin(w, 0); | ^ win.c:100:6: warning: call to undeclared function 'wwspawn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | if (wwspawn(w, shf, sh) < 0) { | ^ win.c:102:3: warning: call to undeclared function 'closewin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- ttgeneric.pieo --- 170 | ttxputs(gen_AE); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ ttgeneric.c:175:5: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | ttxputs(gen_XS); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ ttgeneric.c:178:5: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 178 | ttxputs(gen_XE); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' --- tth19.pieo --- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tth19.c:76:11: note: expanded from macro 'PAD' 76 | register i; \ | ~~~~~~~~ ^ tth19.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | h19_delline(n) | ^ tth19.c:114:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 114 | h19_putc(c) | ^ | int tth19.c:118:20: 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] 118 | (*tt.tt_setmodes)(tt.tt_nmodes); | ^ tth19.c:120:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | H19_SETINSERT(0); | ^ --- cmd.pieo --- cmd.c:139:4: warning: call to undeclared function 'c_colon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | c_colon(); | ^ cmd.c:142:11: warning: call to undeclared function 'wwwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | (void) wwwrite(selwin, "\b", 1); | ^ cmd.c:154:4: warning: call to undeclared function 'wwscroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | wwscroll(selwin, 1); | ^ cmd.c:172:4: warning: call to undeclared function 'stopwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | stopwin(selwin); | ^ --- tttermcap.pieo --- 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tttermcap.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | tttgoto(s, col, row) | ^ tttermcap.c:103:22: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | ttpgoto(s, col, row, n) | ^ 104 | struct tt_str *s; 105 | { tttermcap.c:103:17: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | ttpgoto(s, col, row, n) | ^ 104 | struct tt_str *s; 105 | { tttermcap.c:103:12: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | ttpgoto(s, col, row, n) | ^ --- cmd7.pieo --- cmd7.c:139:11: warning: call to undeclared function 'getpos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | switch (getpos(&row2, &col2, w->ww_i.t, w->ww_i.l, | ^ cmd7.c:142:4: warning: call to undeclared function 'yank_highlight'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | yank_highlight(row1, col1, r, c); | ^ cmd7.c:162:2: warning: call to undeclared function 'unyank'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | unyank(); | ^ cmd7.c:165:3: warning: call to undeclared function 'yank_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | yank_line(r, c, w->ww_b.r); | ^ --- ttzapple.pieo --- | int ttzapple.c:109:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | ttputc(c); | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | zz_putc(c) | ^ ttzapple.c:116:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 116 | register n; | ~~~~~~~~ ^ | int ttzapple.c:114:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 114 | zz_write(p, n) | ^ | int --- lcmd1.pieo --- lcmd1.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 | l_debug(v, a) | ^ lcmd1.c:209:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 209 | l_escape(v, a) | ^ | int lcmd1.c:216:25: warning: passing arguments to 'str_cpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | if ((v->v_str = str_cpy(buf)) == 0) { | ^ lcmd1.c:217:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 217 | error("Out of memory."); | ^ --- lcmd2.pieo --- lcmd2.c:202:19: warning: passing arguments to 'openiwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | if ((w = openiwin(n + 2, "Windows")) == 0) { | ^ lcmd2.c:203:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | error("Can't open listing window: %s.", wwerror()); | ^ lcmd2.c:209:3: warning: call to undeclared function 'wwprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 209 | wwprintf(w, "%c %c %-13s %-.*s\n", | ^ lcmd2.c:216:2: warning: call to undeclared function 'waitnl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | waitnl(w); | ^ --- main.pieo --- | ^ main.c:193:3: warning: call to undeclared function 'wwflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | wwflush(); | ^ main.c:197:2: warning: call to undeclared function 'wwadd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | wwadd(framewin, &wwhead); | ^ main.c:198:22: warning: passing arguments to 'wwopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | if ((boxwin = wwopen(WWO_GLASS, wwnrow, wwncol, 0, 0, 0)) == 0) { | ^ main.c:199:3: warning: call to undeclared function 'wwflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | wwflush(); | ^ --- parser1.pieo --- parser1.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 | p_if(flag) | ^ parser1.c:142:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 142 | p_expression(flag) | ^ | int parser1.c:153:10: warning: call to undeclared function 's_gettok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | (void) s_gettok(); | ^ parser1.c:161:7: warning: call to undeclared function 'p_expr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | if (p_expr(&t, flag) < 0) | ^ parser1.c:164:4: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- parser2.pieo --- parser2.c:109:5: warning: call to undeclared function 'p_synerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | p_synerror(); | ^ parser2.c:117:6: warning: call to undeclared function 'p_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | p_error("%s: Bad alias syntax.", name); | ^ parser2.c:123:13: warning: call to undeclared function 'str_match'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | !str_match(tmp, ap->arg_name, | ^ --- win.pieo --- 102 | closewin(w); | ^ win.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | openwin(id, row, col, nrow, ncol, nline, label, haspty, hasframe, shf, sh) | ^ In file included from win.c:43: ./defs.h:70: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 subsequent definition [-Wdeprecated-non-prototype] 70 | struct ww *openwin(); | ^ win.c:108:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 108 | findid() | ^ | int win.c:110:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | register i; | ~~~~~~~~ ^ | int --- ttgeneric.pieo --- 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ ttgeneric.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 | gen_setmodes(new) | ^ ttgeneric.c:183:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 183 | gen_insline(n) | ^ 184 | { ttgeneric.c:183:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 183 | gen_insline(n) | ^ | int ttgeneric.c:188:3: warning: call to undeclared function 'ttpgoto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | ttpgoto(gen_ALn, 0, n, gen_LI - tt.tt_row); | ^ --- tth19.pieo --- tth19.c:83:26: note: expanded from macro 'H19_SETINSERT' 83 | #define H19_SETINSERT(m) ttesc((tt.tt_insert = (m)) ? '@' : 'O') | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.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 | h19_putc(c) | ^ tth19.c:128:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 128 | register n; | ~~~~~~~~ ^ | int --- cmd.pieo --- cmd.c:175:4: warning: call to undeclared function 'startwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | startwin(selwin); | ^ cmd.c:178:4: warning: call to undeclared function 'wwredraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 178 | wwredraw(); | ^ cmd.c:181:4: warning: call to undeclared function 'c_help'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | c_help(); | ^ cmd.c:188:4: warning: call to undeclared function 'wwsuspend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | wwsuspend(); | ^ --- tttermcap.pieo --- 104 | struct tt_str *s; 105 | { tttermcap.c:103:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | ttpgoto(s, col, row, n) | ^ | int tttermcap.c:107:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | tputs(tgoto(s->ts_str, col, row), n, tttputc); | ^ tttermcap.c:107:13: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | tputs(tgoto(s->ts_str, col, row), n, tttputc); | ^ tttermcap.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | ttpgoto(s, col, row, n) | ^ --- cmd7.pieo --- cmd7.c:168:2: warning: call to undeclared function 'yank_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | yank_line(r, c, col2); | ^ cmd7.c:169:2: warning: call to undeclared function 'yank_highlight'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | yank_highlight(row1, col1, row2, col2); | ^ cmd7.c:171:3: warning: call to undeclared function 'wwputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | wwputc('\n', cmdwin); | ^ cmd7.c:176:34: warning: parameter 'col2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | yank_highlight(row1, col1, row2, col2) | ^ 177 | { --- ttzapple.pieo --- ttzapple.c:120:2: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | ttwrite(p, n); | ^ ttzapple.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 | zz_write(p, n) | ^ ttzapple.c:127:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | register row, col; | ~~~~~~~~ ^ | int ttzapple.c:127:16: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | register row, col; | ~~~~~~~~ ^ | int ttzapple.c:126:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | zz_move(row, col) | ^ --- lcmd1.pieo --- lcmd1.c:222:3: warning: call to undeclared function 'setescape'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 222 | setescape(a->v_str); | ^ lcmd1.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | l_escape(v, a) | ^ lcmd1.c:232:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 232 | l_label(v, a) | ^ | int lcmd1.c:238:17: warning: passing arguments to 'vtowin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | if ((w = vtowin(a, selwin)) == 0) | ^ lcmd1.c:240:32: warning: call to undeclared function 'setlabel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- lcmd2.pieo --- lcmd2.c:217:2: warning: call to undeclared function 'closeiwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 217 | closeiwin(w); | ^ lcmd2.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | l_list(v, a) | ^ lcmd2.c:221:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 221 | l_variable(v, a) | ^ | int lcmd2.c:227:19: warning: passing arguments to 'openiwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | if ((w = openiwin(wwnrow - 3, "Variables")) == 0) { | ^ lcmd2.c:228:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- main.pieo --- main.c:205:2: warning: call to undeclared function 'wwupdate1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | wwupdate(); | ^ ./ww.h:255:20: note: expanded from macro 'wwupdate' 255 | #define wwupdate() wwupdate1(0, wwnrow); | ^ main.c:206:2: warning: call to undeclared function 'wwflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | wwflush(); | ^ main.c:207:2: warning: call to undeclared function 'setvars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 207 | setvars(); | ^ main.c:209:2: warning: call to undeclared function 'setterse'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 209 | setterse(tflag); | ^ --- parser1.pieo --- 164 | val_free(t); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ parser1.c:168:27: warning: call to undeclared function 'p_convstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | if (token != T_ASSIGN && p_convstr(&t) < 0) | ^ parser1.c:171:52: 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] 171 | if ((*(token == T_ASSIGN ? p_assign : p_function))(cmd, &t, flag) < 0) { | ^ --- parser2.pieo --- parser2.c:128:7: warning: call to undeclared function 'p_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | p_error("%s: Unknown argument \"%s\".", | ^ parser2.c:135:13: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | str_free(tmp); | ^ parser2.c:145:6: warning: call to undeclared function 'p_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | p_error("%s: Argument %d (%s) duplicated.", | ^ --- win.pieo --- win.c:115:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | error("Too many windows."); | ^ win.c:125:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 125 | register i; | ~~~~~~~~ ^ | int win.c:138:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 138 | closewin(w) | ^ | int win.c:142:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 142 | register i; | ~~~~~~~~ ^ | int win.c:145:3: warning: call to undeclared function 'closewin1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | closewin1(w); --- ttgeneric.pieo --- ttgeneric.c:191:4: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | tttputs(gen_AL, gen_LI - tt.tt_row); | ^ ./tt.h:135:23: note: expanded from macro 'tttputs' 135 | #define tttputs(s, n) tputs((s)->ts_str, (n), tttputc) | ^ ttgeneric.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | gen_insline(n) | ^ ttgeneric.c:194:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 194 | gen_delline(n) | ^ 195 | { ttgeneric.c:194:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 194 | gen_delline(n) | ^ | int --- tth19.pieo --- tth19.c:126:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 126 | h19_write(p, n) | ^ | int tth19.c:131:20: 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] 131 | (*tt.tt_setmodes)(tt.tt_nmodes); | ^ tth19.c:133:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | H19_SETINSERT(0); | ^ tth19.c:83:26: note: expanded from macro 'H19_SETINSERT' 83 | #define H19_SETINSERT(m) ttesc((tt.tt_insert = (m)) ? '@' : 'O') | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ --- cmd.pieo --- cmd.c:191:4: warning: call to undeclared function 'c_quit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | c_quit(); | ^ cmd.c:196:5: warning: call to undeclared function 'c_debug'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | c_debug(); | ^ cmd.c:202:13: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | (void) write(selwin->ww_pty, | ^ cmd.c:208:6: warning: call to undeclared function 'wwbell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | wwbell(); --- tttermcap.pieo --- tttermcap.c:110:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | ttstrcmp(a, b) | ^ | int tttermcap.c:115:10: warning: call to undeclared library function 'bcmp' with type 'int (const void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | if (r = bcmp(a->ts_str, b->ts_str, | ^ tttermcap.c:115:10: note: include the header or explicitly provide a declaration for 'bcmp' tttermcap.c:115:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 115 | if (r = bcmp(a->ts_str, b->ts_str, | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 116 | (n = a->ts_n - b->ts_n) < 0 ? a->ts_n : b->ts_n)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- cmd7.pieo --- cmd7.c:176:28: warning: parameter 'row2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | yank_highlight(row1, col1, row2, col2) | ^ 177 | { cmd7.c:176:22: warning: parameter 'col1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | yank_highlight(row1, col1, row2, col2) | ^ 177 | { cmd7.c:176:16: warning: parameter 'row1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | yank_highlight(row1, col1, row2, col2) | ^ 177 | { cmd7.c:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | yank_highlight(row1, col1, row2, col2) | ^ | int --- ttzapple.pieo --- | int ttzapple.c:129:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 129 | register x; | ~~~~~~~~ ^ | int ttzapple.c:136:4: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | ttctrl('m'); | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:141:4: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | ttctrl('f'); | ^ --- lcmd1.pieo --- 240 | if ((++a)->v_type != V_ERR && setlabel(w, a->v_str) < 0) | ^ lcmd1.c:241:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 241 | error("Out of memory."); | ^ lcmd1.c:242:2: warning: call to undeclared function 'reframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 242 | reframe(); | ^ lcmd1.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | l_label(v, a) | ^ lcmd1.c:251:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 251 | l_foreground(v, a) | ^ | int --- lcmd2.pieo --- 228 | error("Can't open variable window: %s.", wwerror()); | ^ lcmd2.c:231:6: warning: call to undeclared function 'var_walk1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 231 | if (var_walk(printvar, (long)w) >= 0) | ^ ./var.h:57:25: note: expanded from macro 'var_walk' 57 | #define var_walk(f, a) var_walk1(var_head, f, a) | ^ lcmd2.c:232:3: warning: call to undeclared function 'waitnl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 232 | waitnl(w); | ^ lcmd2.c:233:2: warning: call to undeclared function 'closeiwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | closeiwin(w); | ^ --- main.pieo --- main.c:210:2: warning: call to undeclared function 'setcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | setcmd(1); | ^ main.c:212:10: warning: call to undeclared function 'dolongcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | (void) dolongcmd(cmd, (struct value *)0, 0); | ^ main.c:214:16: warning: call to undeclared function 'doconfig'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 214 | if (dflag || doconfig() < 0) | ^ main.c:215:4: warning: call to undeclared function 'dodefault'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 215 | dodefault(); | ^ --- parser1.pieo --- parser1.c:173:12: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | str_free(cmd); | ^ parser1.c:177:11: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | str_free(cmd); | ^ parser1.c:178:2: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | val_free(t); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ --- parser2.pieo --- parser2.c:160:6: warning: call to undeclared function 'p_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | p_error("%s: Argument %d (%s) type mismatch.", | ^ parser2.c:173:4: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | val_free(t); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ parser2.c:187:17: 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] 187 | (*c->lc_func)(v, av); --- win.pieo --- | ^ win.c:151:4: warning: call to undeclared function 'closewin1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | closewin1(w); | ^ win.c:157:5: warning: call to undeclared function 'setselwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | setselwin(lastselwin); | ^ win.c:159:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 159 | } else if (w = findselwin()) | ~~^~~~~~~~~~~~~~ win.c:159:17: note: place parentheses around the assignment to silence this warning 159 | } else if (w = findselwin()) | ^ --- ttgeneric.pieo --- ttgeneric.c:199:3: warning: call to undeclared function 'ttpgoto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | ttpgoto(gen_DLn, 0, n, gen_LI - tt.tt_row); | ^ ttgeneric.c:202:4: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | tttputs(gen_DL, gen_LI - tt.tt_row); | ^ ./tt.h:135:23: note: expanded from macro 'tttputs' 135 | #define tttputs(s, n) tputs((s)->ts_str, (n), tttputc) | ^ ttgeneric.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | gen_delline(n) | ^ ttgeneric.c:205:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 205 | gen_putc(c) --- tth19.pieo --- ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:134:2: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | ttwrite(p, n); | ^ tth19.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | h19_write(p, n) | ^ tth19.c:140:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 140 | h19_move(row, col) | ^ | int --- cmd.pieo --- | ^ cmd.c:214:3: warning: call to undeclared function 'setcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 214 | setcmd(0); | ^ cmd.c:224:3: warning: call to undeclared function 'wwputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | wwputs("Which window? ", cmdwin); | ^ cmd.c:227:3: warning: call to undeclared function 'wwiomux'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | wwiomux(); | ^ cmd.c:241:3: warning: call to undeclared function 'wwbell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 241 | wwbell(); | ^ --- tttermcap.pieo --- tttermcap.c:115:8: note: place parentheses around the assignment to silence this warning 115 | if (r = bcmp(a->ts_str, b->ts_str, | ^ | ( 116 | (n = a->ts_n - b->ts_n) < 0 ? a->ts_n : b->ts_n)) | | ) tttermcap.c:115:8: note: use '==' to turn this assignment into an equality comparison 115 | if (r = bcmp(a->ts_str, b->ts_str, | ^ | == tttermcap.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | ttstrcmp(a, b) | ^ 33 warnings generated. --- cmd7.pieo --- cmd7.c:193:3: warning: call to undeclared function 'yank_highlight_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | yank_highlight_line(r, c, w->ww_b.r); | ^ cmd7.c:196:2: warning: call to undeclared function 'yank_highlight_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | yank_highlight_line(r, c, col2); | ^ cmd7.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | yank_highlight(row1, col1, row2, col2) | ^ cmd7.c:199:27: warning: parameter 'cend' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 199 | yank_highlight_line(r, c, cend) | ^ 200 | { --- ttzapple.pieo --- ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:152:4: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | ttctrl('i'); | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:157:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- lcmd1.pieo --- lcmd1.c:257:17: warning: passing arguments to 'vtowin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | if ((w = vtowin(a, selwin)) == 0) | ^ lcmd1.c:261:9: warning: call to undeclared function 'vtobool'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 261 | flag = vtobool(++a, v->v_num, v->v_num); | ^ lcmd1.c:264:2: warning: call to undeclared function 'deletewin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | deletewin(w); | ^ lcmd1.c:265:2: warning: call to undeclared function 'addwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 265 | addwin(w, flag); | ^ --- lcmd2.pieo --- lcmd2.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | l_variable(v, a) | ^ lcmd2.c:236:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 236 | printvar(w, r) | ^ | int lcmd2.c:240:6: warning: call to undeclared function 'more'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | if (more(w, 0) == 2) | ^ lcmd2.c:242:2: warning: call to undeclared function 'wwprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 242 | wwprintf(w, "%16s ", r->r_name); | ^ lcmd2.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | printvar(w, r) | ^ --- main.pieo --- main.c:219:2: warning: call to undeclared function 'mloop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 219 | mloop(); | ^ main.c:222:2: warning: call to undeclared function 'wwend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 222 | wwend(1); | ^ main.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | main(argc, argv) | ^ main.c:226:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 226 | usage() | ^ | int 31 warnings generated. --- parser1.pieo --- parser1.c:180:10: warning: call to undeclared function 's_gettok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | (void) s_gettok(); | ^ parser1.c:182:3: warning: call to undeclared function 'p_synerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 182 | p_synerror(); | ^ parser1.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 | p_expression(flag) | ^ parser1.c:188:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 188 | p_convstr(v) | ^ | int parser1.c:193:26: warning: passing arguments to 'str_itoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- parser2.pieo --- | ^ parser2.c:190:5: warning: call to undeclared function 'p_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | p_error("%s: Recursive alias.", a->a_name); | ^ parser2.c:193:9: warning: call to undeclared function 'dolongcmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | if (dolongcmd(a->a_buf, av, i) < 0) | ^ parser2.c:194:6: warning: call to undeclared function 'p_memerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 194 | p_memerror(); | ^ parser2.c:188:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 188 | else --- win.pieo --- | ( ) win.c:159:17: note: use '==' to turn this assignment into an equality comparison 159 | } else if (w = findselwin()) | ^ | == win.c:160:5: warning: call to undeclared function 'setselwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | setselwin(w); | ^ win.c:159:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 159 | } else if (w = findselwin()) | ^ win.c:162:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 162 | if (w = findselwin()) | ~~^~~~~~~~~~~~~~ --- ttgeneric.pieo --- | ^ | int ttgeneric.c:212:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | ttputc(c); | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttgeneric.c:216:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 216 | else if (gen_AM) | ^ ttgeneric.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | gen_putc(c) | ^ ttgeneric.c:224:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 224 | register n; | ~~~~~~~~ ^ | int --- tth19.pieo --- tth19.c:147:4: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | ttctrl('m'); | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:151:4: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | ttesc('C'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) --- cmd.pieo --- cmd.c:243:3: warning: call to undeclared function 'wwputc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 243 | wwputc('\n', cmdwin); | ^ cmd.c:247:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 247 | checkproc(w) | ^ | int cmd.c:251:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | error("No process in window."); | ^ cmd.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | checkproc(w) | ^ cmd.c:257:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 257 | setcmd(new) | ^ | int --- cmd7.pieo --- cmd7.c:199:24: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 199 | yank_highlight_line(r, c, cend) | ^ 200 | { cmd7.c:199:21: warning: parameter 'r' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 199 | yank_highlight_line(r, c, cend) | ^ 200 | { cmd7.c:199:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 199 | yank_highlight_line(r, c, cend) | ^ | int cmd7.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cmd7.c:223:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 223 | unyank() | ^ | int --- ttzapple.pieo --- 157 | ttesc('<'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:164:4: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 164 | ttctrl('j'); | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) --- lcmd1.pieo --- lcmd1.c:266:2: warning: call to undeclared function 'reframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 266 | reframe(); | ^ lcmd1.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 | l_foreground(v, a) | ^ lcmd1.c:274:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 274 | l_terse(v, a) | ^ | int lcmd1.c:279:2: warning: call to undeclared function 'setterse'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 279 | setterse(vtobool(a, terse, terse)); | ^ lcmd1.c:279:11: warning: call to undeclared function 'vtobool'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 279 | setterse(vtobool(a, terse, terse)); --- lcmd2.pieo --- lcmd2.c:262:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 262 | l_def_shell(v, a) | ^ | int lcmd2.c:269:26: warning: passing arguments to 'str_cpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | if ((v->v_str = str_cpy(default_shellfile)) != 0) | ^ lcmd2.c:273:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 273 | if (v->v_str = default_shellfile) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ lcmd2.c:273:15: note: place parentheses around the assignment to silence this warning 273 | if (v->v_str = default_shellfile) { | ^ | ( ) lcmd2.c:273:15: note: use '==' to turn this assignment into an equality comparison --- parser1.pieo --- 193 | if ((v->v_str = str_itoa(v->v_num)) == 0) { | ^ parser1.c:194:3: warning: call to undeclared function 'p_memerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 194 | p_memerror(); | ^ parser1.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | p_convstr(v) | ^ parser1.c:202:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 202 | p_synerror() | ^ | int parser1.c:206:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | error("Syntax error."); | ^ --- parser2.pieo --- | ^ parser2.c:198:3: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | val_free(*v); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ parser2.c:203:3: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | val_free(*vp); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ --- win.pieo --- win.c:162:10: note: place parentheses around the assignment to silence this warning 162 | if (w = findselwin()) | ^ | ( ) win.c:162:10: note: use '==' to turn this assignment into an equality comparison 162 | if (w = findselwin()) | ^ | == win.c:164:3: warning: call to undeclared function 'reframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 164 | reframe(); | ^ win.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | closewin(w) | ^ win.c:172:10: warning: parameter 'nrow' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- ttgeneric.pieo --- ttgeneric.c:222:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 222 | gen_write(p, n) | ^ | int ttgeneric.c:230:2: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 230 | ttwrite(p, n); | ^ ttgeneric.c:235:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 235 | else if (gen_AM) | ^ ttgeneric.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | gen_write(p, n) | ^ ttgeneric.c:241:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 241 | gen_move(row, col) | ^ | int --- tth19.pieo --- | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:155:4: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | ttctrl('h'); | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:161:4: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | ttesc('A'); | ^ --- cmd.pieo --- cmd.c:262:4: warning: call to undeclared function 'wwadd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | wwadd(cmdwin, &wwhead); | ^ cmd.c:264:4: warning: call to undeclared function 'wwcursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | wwcursor(selwin, 1); | ^ cmd.c:268:4: warning: call to undeclared function 'wwdelete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | wwdelete(cmdwin); | ^ cmd.c:269:4: warning: call to undeclared function 'reframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 269 | reframe(); | ^ --- cmd7.pieo --- cmd7.c:229:11: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | str_free(yp->line); | ^ cmd7.c:235:17: warning: parameter 'cend' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 235 | yank_line(r, c, cend) | ^ 236 | { cmd7.c:235:14: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 235 | yank_line(r, c, cend) | ^ 236 | { cmd7.c:235:11: warning: parameter 'r' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 235 | yank_line(r, c, cend) | ^ 236 | { cmd7.c:235:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 235 | yank_line(r, c, cend) | ^ --- ttzapple.pieo --- | ^ ttzapple.c:180:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | ttesc('>'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:187:4: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 187 | ttesc('0'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' --- lcmd1.pieo --- | ^ lcmd1.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 | l_terse(v, a) | ^ lcmd1.c:287:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 287 | l_source(v, a) | ^ | int lcmd1.c:291:28: warning: call to undeclared function 'dosource'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 291 | if (a->v_type != V_ERR && dosource(a->v_str) < 0) { | ^ lcmd1.c:292:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 292 | error("Can't open %s.", a->v_str); | ^ --- lcmd2.pieo --- 273 | if (v->v_str = default_shellfile) { | ^ | == lcmd2.c:276:12: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | str_free(*pp); | ^ lcmd2.c:285:15: warning: passing arguments to 'str_cpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | str_cpy(vp->v_str) : str_itoa(vp->v_num)) == 0) { | ^ lcmd2.c:285:37: warning: passing arguments to 'str_itoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | str_cpy(vp->v_str) : str_itoa(vp->v_num)) == 0) { | ^ --- parser1.pieo --- parser1.c:211:20: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 211 | p_error(msg, a, b, c) | ^ 212 | char *msg; 213 | { parser1.c:211:17: warning: parameter 'b' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 211 | p_error(msg, a, b, c) | ^ 212 | char *msg; 213 | { parser1.c:211:14: warning: parameter 'a' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 211 | p_error(msg, a, b, c) | ^ 212 | char *msg; 213 | { parser1.c:211:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 211 | p_error(msg, a, b, c) | ^ | int parser1.c:216:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- parser2.pieo --- parser2.c:207:3: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | val_free(*vp); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ parser2.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | p_function(name, v, flag) | ^ parser2.c:211:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 211 | p_assign(name, v, flag) | ^ | int parser2.c:216:9: warning: call to undeclared function 's_gettok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | (void) s_gettok(); --- win.pieo --- 172 | openiwin(nrow, label) | ^ 173 | char *label; 174 | { win.c:177:17: warning: passing arguments to 'wwopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | if ((w = wwopen(0, nrow, wwncol, 2, 0, 0)) == 0) | ^ win.c:186:9: warning: call to undeclared function 'setlabel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 186 | (void) setlabel(w, label); | ^ win.c:187:2: warning: call to undeclared function 'addwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 187 | addwin(w, 1); | ^ win.c:188:2: warning: call to undeclared function 'reframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | reframe(); | ^ --- ttgeneric.pieo --- ttgeneric.c:251:3: warning: call to undeclared function 'gen_setscroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | gen_setscroll(0, tt.tt_nrow - 1); | ^ ttgeneric.c:254:4: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | ttxputs(gen_CR); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ ttgeneric.c:259:5: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | ttxputs(gen_ND); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' --- tth19.pieo --- ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:165:4: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | ttctrl('j'); | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ --- cmd.pieo --- cmd.c:272:4: warning: call to undeclared function 'wwcursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 272 | wwcursor(selwin, 0); | ^ cmd.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | setcmd(new) | ^ cmd.c:278:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 278 | setterse(new) | ^ | int cmd.c:283:4: warning: call to undeclared function 'wwdelete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 283 | wwdelete(cmdwin); | ^ cmd.c:284:4: warning: call to undeclared function 'reframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- cmd7.pieo --- | int cmd7.c:256:22: warning: passing arguments to 'str_alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | yp->line = str_alloc(yp->length + 1); | ^ cmd7.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | yank_line(r, c, cend) | ^ cmd7.c:268:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 268 | c_put() | ^ | int cmd7.c:273:10: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 273 | (void) write(selwin->ww_pty, yp->line, yp->length); | ^ 49 warnings generated. --- ttzapple.pieo --- 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:195:4: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 195 | ttctrl('j'); | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ --- lcmd1.pieo --- lcmd1.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | l_source(v, a) | ^ lcmd1.c:305:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 305 | l_write(v, a) | ^ | int lcmd1.c:312:17: warning: passing arguments to 'vtowin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | if ((w = vtowin(a++, selwin)) == 0) | ^ lcmd1.c:317:11: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 317 | (void) write(w->ww_pty, buf, strlen(buf)); | ^ --- lcmd2.pieo --- lcmd2.c:287:4: warning: call to undeclared function 'p_memerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 287 | p_memerror(); | ^ lcmd2.c:290:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 290 | if (default_shellfile = *default_shell) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ lcmd2.c:290:24: note: place parentheses around the assignment to silence this warning 290 | if (default_shellfile = *default_shell) | ^ | ( ) lcmd2.c:290:24: note: use '==' to turn this assignment into an equality comparison 290 | if (default_shellfile = *default_shell) | ^ | == --- parser1.pieo --- 216 | error(msg, a, b, c); | ^ parser1.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | p_error(msg, a, b, c) | ^ parser1.c:220:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 220 | p_memerror() | ^ | int parser1.c:223:2: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 223 | error("Out of memory."); | ^ 48 warnings generated. --- parser2.pieo --- | ^ parser2.c:218:6: warning: call to undeclared function 'p_expr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | if (p_expr(v, flag) < 0) { | ^ parser2.c:219:3: warning: call to undeclared function 'p_synerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 219 | p_synerror(); | ^ parser2.c:225:15: warning: passing arguments to 'var_set1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | if (flag && var_set(name, v) == 0) { | ^ ./var.h:52:32: note: expanded from macro 'var_set' 52 | #define var_set(n, v) var_set1(&var_head, n, v) | ^ --- win.pieo --- win.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | openiwin(nrow, label) | ^ In file included from win.c:43: ./defs.h:72: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 subsequent definition [-Wdeprecated-non-prototype] 72 | struct ww *openiwin(); | ^ win.c:195:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 195 | closeiwin(w) | ^ | int win.c:198:2: warning: call to undeclared function 'closewin1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | closewin1(w); | ^ --- ttgeneric.pieo --- 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ ttgeneric.c:264:5: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | ttxputs(gen_LE); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ ttgeneric.c:272:5: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 272 | ttxputs(gen_UP); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ --- tth19.pieo --- tth19.c:170:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | ttesc('H'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:173:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | ttesc('Y'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ --- cmd.pieo --- 284 | reframe(); | ^ cmd.c:286:4: warning: call to undeclared function 'wwadd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 286 | wwadd(cmdwin, &wwhead); | ^ cmd.c:285:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 285 | } else if (!new && terse) | ^ cmd.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | setterse(new) | ^ cmd.c:293:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 293 | setselwin(w) | ^ | int cmd.c:301:3: warning: call to undeclared function 'front'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- ttzapple.pieo --- ttzapple.c:201:4: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 201 | ttesc('1'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:207:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 207 | ttctrl('j'); | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) --- lcmd1.pieo --- lcmd1.c:319:11: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 319 | (void) write(w->ww_pty, a->v_str, strlen(a->v_str)); | ^ lcmd1.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | l_write(v, a) | ^ lcmd1.c:331:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 331 | l_close(v, a) | ^ | int lcmd1.c:337:28: warning: call to undeclared function 'str_match'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 337 | if (a->v_type == V_STR && str_match(a->v_str, "all", 3)) | ^ --- lcmd2.pieo --- lcmd2.c:291:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 291 | if (*default_shell = rindex(default_shellfile, '/')) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lcmd2.c:291:22: note: place parentheses around the assignment to silence this warning 291 | if (*default_shell = rindex(default_shellfile, '/')) | ^ | ( ) lcmd2.c:291:22: note: use '==' to turn this assignment into an equality comparison 291 | if (*default_shell = rindex(default_shellfile, '/')) | ^ | == lcmd2.c:293:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 293 | else | ^ --- parser2.pieo --- parser2.c:226:4: warning: call to undeclared function 'p_memerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | p_memerror(); | ^ parser2.c:227:4: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | val_free(*v); | ^ ./value.h:54:52: note: expanded from macro 'val_free' 54 | #define val_free(v) ((v).v_type == V_STR ? str_free((v).v_str) : 0) | ^ parser2.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | p_assign(name, v, flag) | ^ 40 warnings generated. --- win.pieo --- win.c:199:2: warning: call to undeclared function 'reframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | reframe(); | ^ win.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 | closeiwin(w) | ^ win.c:202:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 202 | closewin1(w) | ^ | int win.c:212:3: warning: call to undeclared function 'str_free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | str_free(w->ww_label); | ^ win.c:213:2: warning: call to undeclared function 'deletewin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | deletewin(w); | ^ --- ttgeneric.pieo --- ttgeneric.c:276:4: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 276 | ttxputs(gen_DO); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ ttgeneric.c:281:3: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 281 | ttxputs(gen_HO); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ ttgeneric.c:284:2: warning: call to undeclared function 'tttgoto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 284 | tttgoto(gen_CM, col, row); | ^ --- tth19.pieo --- ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | h19_move(row, col) | ^ tth19.c:181:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 181 | h19_start() | ^ | int tth19.c:184:3: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 184 | ttxputs(gen_VS); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) --- cmd.pieo --- 301 | front(selwin, 1); | ^ cmd.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | setselwin(w) | ^ 55 warnings generated. --- ttzapple.pieo --- | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:211:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 211 | ttctrl('k'); | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:214:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 214 | ttesc('='); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' --- lcmd1.pieo --- lcmd1.c:338:3: warning: call to undeclared function 'closewin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 338 | closewin((struct ww *)0); | ^ lcmd1.c:341:19: warning: passing arguments to 'vtowin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | if ((w = vtowin(a, (struct ww *)0)) != 0) | ^ lcmd1.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 | l_close(v, a) | ^ lcmd1.c:350:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 350 | l_cursormodes(v, a) | ^ | int --- lcmd2.pieo --- lcmd2.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | l_def_shell(v, a) | ^ lcmd2.c:303:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 303 | l_alias(v, a) | ^ | int lcmd2.c:310:20: warning: passing arguments to 'openiwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | if ((w = openiwin(wwnrow - 3, "Aliases")) == 0) { | ^ lcmd2.c:311:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 311 | error("Can't open alias window: %s.", wwerror()); | ^ --- win.pieo --- win.c:214:2: warning: call to undeclared function 'wwclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 214 | wwclose(w); | ^ win.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 | closewin1(w) | ^ win.c:224:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 224 | front(w, doreframe) | ^ | int win.c:228:53: warning: call to undeclared function 'wwvisible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 228 | if (w->ww_back != (isfg(w) ? framewin : fgwin) && !wwvisible(w)) { | ^ --- ttgeneric.pieo --- ttgeneric.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | gen_move(row, col) | ^ ttgeneric.c:290:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 290 | gen_start() | ^ | int ttgeneric.c:293:3: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 293 | ttxputs(gen_VS); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ ttgeneric.c:302:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 302 | gen_end() | ^ | int --- tth19.pieo --- | ^ tth19.c:185:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 185 | ttesc('w'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:192:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 192 | h19_end() | ^ | int tth19.c:195:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- ttzapple.pieo --- 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | zz_move(row, col) | ^ ttzapple.c:222:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 222 | zz_start() | ^ | int ttzapple.c:224:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | ttesc('T'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' --- lcmd1.pieo --- lcmd1.c:357:3: warning: call to undeclared function 'wwsetcursormodes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | wwsetcursormodes(a->v_num); | ^ lcmd1.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | l_cursormodes(v, a) | ^ lcmd1.c:365:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 365 | l_unset(v, a) | ^ | int lcmd1.c:374:27: warning: passing arguments to 'str_itoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | if ((a->v_str = str_itoa(a->v_num)) == 0) { | ^ --- lcmd2.pieo --- lcmd2.c:314:7: warning: call to undeclared function 'var_walk1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | if (alias_walk(printalias, (long)w) >= 0) | ^ ./alias.h:49:26: note: expanded from macro 'alias_walk' 49 | #define alias_walk(f, a) var_walk1(alias_head, f, a) | ^ lcmd2.c:315:4: warning: call to undeclared function 'waitnl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 315 | waitnl(w); | ^ lcmd2.c:316:3: warning: call to undeclared function 'closeiwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 316 | closeiwin(w); | ^ --- win.pieo --- win.c:229:3: warning: call to undeclared function 'deletewin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 229 | deletewin(w); | ^ win.c:230:3: warning: call to undeclared function 'addwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 230 | addwin(w, isfg(w)); | ^ win.c:234:3: warning: call to undeclared function 'reframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 234 | reframe(); | ^ win.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | front(w, doreframe) | ^ win.c:241:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 241 | addwin(w, fg) --- ttgeneric.pieo --- ttgeneric.c:307:3: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | ttxputs(gen_TE); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ ttgeneric.c:312:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 312 | gen_clreol() | ^ | int ttgeneric.c:316:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 316 | tttputs(gen_CE, gen_CO - tt.tt_col); | ^ ./tt.h:135:23: note: expanded from macro 'tttputs' 135 | #define tttputs(s, n) tputs((s)->ts_str, (n), tttputc) | ^ --- tth19.pieo --- 195 | H19_SETINSERT(0); | ^ tth19.c:83:26: note: expanded from macro 'H19_SETINSERT' 83 | #define H19_SETINSERT(m) ttesc((tt.tt_insert = (m)) ? '@' : 'O') | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:197:3: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | ttxputs(gen_VE); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) --- ttzapple.pieo --- 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:233:2: warning: call to undeclared function 'zz_setscroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | zz_setscroll(0, NROW - 1); | ^ ttzapple.c:234:2: warning: call to undeclared function 'zz_clear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 234 | zz_clear(); | ^ ttzapple.c:238:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 238 | zz_reset() | ^ | int --- lcmd1.pieo --- lcmd1.c:375:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 375 | error("Out of memory."); | ^ lcmd1.c:382:13: warning: call to undeclared function 'var_unset1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 382 | v->v_num = var_unset(a->v_str); | ^ ./var.h:55:23: note: expanded from macro 'var_unset' 55 | #define var_unset(n) var_unset1(&var_head, n) | ^ lcmd1.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | l_unset(v, a) | ^ lcmd1.c:394:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- lcmd2.pieo --- lcmd2.c:320:12: warning: passing arguments to 'var_lookup1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | if (ap = alias_lookup(a->v_str)) { | ^ ./alias.h:51:39: note: expanded from macro 'alias_lookup' 51 | #define alias_lookup(n) (*var_lookup1(&alias_head, n)) | ^ lcmd2.c:320:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 320 | if (ap = alias_lookup(a->v_str)) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ lcmd2.c:320:10: note: place parentheses around the assignment to silence this warning 320 | if (ap = alias_lookup(a->v_str)) { | ^ | ( ) lcmd2.c:320:10: note: use '==' to turn this assignment into an equality comparison --- win.pieo --- | ^ | int win.c:246:3: warning: call to undeclared function 'wwadd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | wwadd(w, framewin); | ^ win.c:250:3: warning: call to undeclared function 'wwadd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 250 | wwadd(w, selwin != 0 && selwin != w && !isfg(selwin) | ^ win.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | addwin(w, fg) | ^ win.c:257:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 257 | deletewin(w) | ^ | int --- ttgeneric.pieo --- ttgeneric.c:319:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 319 | gen_clreos() | ^ | int ttgeneric.c:323:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 323 | tttputs(gen_CD, gen_LI - tt.tt_row); | ^ ./tt.h:135:23: note: expanded from macro 'tttputs' 135 | #define tttputs(s, n) tputs((s)->ts_str, (n), tttputc) | ^ ttgeneric.c:326:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 326 | gen_clear() | ^ | int ttgeneric.c:330:2: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 330 | ttxputs(gen_CL); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' --- tth19.pieo --- | ^ tth19.c:201:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 201 | h19_clreol() | ^ | int tth19.c:203:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | ttesc('K'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:206:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 206 | h19_clreos() | ^ --- ttzapple.pieo --- ttzapple.c:240:2: warning: call to undeclared function 'zz_setscroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | zz_setscroll(0, NROW - 1); | ^ ttzapple.c:246:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 246 | zz_end() | ^ | int ttzapple.c:248:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 248 | ttesc('T'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) --- lcmd1.pieo --- 394 | error("No window specified."); | ^ lcmd1.c:402:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 402 | error("%d: No such window.", v->v_num); | ^ lcmd1.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | vtowin(v, w) | ^ In file included from lcmd1.c:43: ./defs.h:71: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 subsequent definition [-Wdeprecated-non-prototype] 71 | struct ww *vtowin(); | ^ lcmd1.c:408:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 408 | vtobool(v, def, err) | ^ | int --- lcmd2.pieo --- 320 | if (ap = alias_lookup(a->v_str)) { | ^ | == lcmd2.c:321:27: warning: passing arguments to 'str_cpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | if ((v->v_str = str_cpy(ap->a_buf)) == 0) { | ^ lcmd2.c:322:5: warning: call to undeclared function 'p_memerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 322 | p_memerror(); | ^ lcmd2.c:331:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 331 | register n; | ~~~~~~~~ ^ | int --- win.pieo --- win.c:262:2: warning: call to undeclared function 'wwdelete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | wwdelete(w); | ^ win.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | deletewin(w) | ^ win.c:265:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 265 | reframe() | ^ | int win.c:269:2: warning: call to undeclared function 'wwunframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 269 | wwunframe(framewin); | ^ win.c:272:4: warning: call to undeclared function 'wwframe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 272 | wwframe(w, framewin); --- ttgeneric.pieo --- 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ ttgeneric.c:333:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 333 | gen_inschar(c) | ^ | int ttgeneric.c:341:3: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 341 | tttputs(gen_IC, gen_CO - tt.tt_col); | ^ ./tt.h:135:23: note: expanded from macro 'tttputs' 135 | #define tttputs(s, n) tputs((s)->ts_str, (n), tttputc) | ^ ttgeneric.c:342:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 342 | ttputc(c); | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) --- tth19.pieo --- | int tth19.c:208:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | ttesc('J'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:211:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 211 | h19_clear() | ^ | int tth19.c:213:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | ttesc('E'); --- ttzapple.pieo --- | ^ ttzapple.c:255:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 255 | zz_clreol() | ^ | int ttzapple.c:257:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 257 | ttesc('2'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:260:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 260 | zz_clreos() --- lcmd1.pieo --- lcmd1.c:416:7: warning: call to undeclared function 'str_match'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 416 | if (str_match(v->v_str, "true", 1) | ^ lcmd1.c:425:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 425 | error("%s: Illegal boolean value.", v->v_str); | ^ lcmd1.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | vtobool(v, def, err) | ^ 74 warnings generated. --- lcmd2.pieo --- lcmd2.c:336:24: warning: passing arguments to 'str_alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | if ((str = str_alloc(n)) == 0) { | ^ lcmd2.c:337:5: warning: call to undeclared function 'p_memerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 337 | p_memerror(); | ^ lcmd2.c:342:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 342 | for (p = vp->v_str; *q++ = *p++;) | ~~~~~^~~~~~ lcmd2.c:342:30: note: place parentheses around the assignment to silence this warning 342 | for (p = vp->v_str; *q++ = *p++;) --- win.pieo --- | ^ win.c:273:4: warning: call to undeclared function 'labelwin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 273 | labelwin(w); | ^ win.c:277:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 277 | labelwin(w) | ^ | int win.c:289:3: warning: call to undeclared function 'wwlabel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 289 | wwlabel(w, framewin, 1, buf, mode); | ^ win.c:299:3: warning: call to undeclared function 'wwlabel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 299 | wwlabel(w, framewin, col, w->ww_label, mode); | ^ --- ttgeneric.pieo --- | ^ ttgeneric.c:348:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 348 | else if (gen_AM) | ^ ttgeneric.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 | gen_inschar(c) | ^ ttgeneric.c:354:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 354 | gen_insspace(n) | ^ 355 | { ttgeneric.c:354:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 354 | gen_insspace(n) | ^ | int ttgeneric.c:357:3: warning: call to undeclared function 'ttpgoto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | ttpgoto(gen_ICn, 0, n, gen_CO - tt.tt_col); --- tth19.pieo --- | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:216:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 216 | h19_inschar(c) | ^ | int tth19.c:220:20: 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] 220 | (*tt.tt_setmodes)(tt.tt_nmodes); | ^ --- ttzapple.pieo --- | ^ | int ttzapple.c:262:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | ttesc('3'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:265:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 265 | zz_clear() | ^ | int ttzapple.c:267:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- lcmd2.pieo --- | ^ | ( ) lcmd2.c:342:30: note: use '==' to turn this assignment into an equality comparison 342 | for (p = vp->v_str; *q++ = *p++;) | ^ | == lcmd2.c:345:14: warning: passing arguments to 'var_setstr1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | if ((ap = alias_set(a[0].v_str, (char *)0)) == 0) { | ^ ./alias.h:48:37: note: expanded from macro 'alias_set' 48 | #define alias_set(n, s) var_setstr1(&alias_head, n, s) | ^ --- win.pieo --- win.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | labelwin(w) | ^ win.c:303:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 303 | stopwin(w) | ^ | int win.c:306:39: warning: call to undeclared function 'wwstoptty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | if (w->ww_pty >= 0 && w->ww_ispty && wwstoptty(w->ww_pty) < 0) | ^ win.c:307:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | error("Can't stop output: %s.", wwerror()); | ^ --- ttgeneric.pieo --- | ^ ttgeneric.c:360:4: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 360 | tttputs(gen_IC, gen_CO - tt.tt_col); | ^ ./tt.h:135:23: note: expanded from macro 'tttputs' 135 | #define tttputs(s, n) tputs((s)->ts_str, (n), tttputc) | ^ ttgeneric.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | gen_insspace(n) | ^ ttgeneric.c:363:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 363 | gen_delchar(n) | ^ 364 | { ttgeneric.c:363:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 363 | gen_delchar(n) | ^ | int --- tth19.pieo --- tth19.c:222:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 222 | H19_SETINSERT(1); | ^ tth19.c:83:26: note: expanded from macro 'H19_SETINSERT' 83 | #define H19_SETINSERT(m) ttesc((tt.tt_insert = (m)) ? '@' : 'O') | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:225:3: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 225 | ICPAD(); --- ttzapple.pieo --- 267 | ttesc('4'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:271:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 271 | zz_insspace(n) | ^ 272 | { ttzapple.c:271:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 271 | zz_insspace(n) | ^ | int ttzapple.c:274:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- lcmd2.pieo --- lcmd2.c:346:5: warning: call to undeclared function 'p_memerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 346 | p_memerror(); | ^ lcmd2.c:347:13: warning: passing arguments to 'str_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | str_free(str); | ^ lcmd2.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | l_alias(v, a) | ^ lcmd2.c:355:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 355 | printalias(w, a) | ^ | int --- win.pieo --- win.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | stopwin(w) | ^ win.c:312:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 312 | startwin(w) | ^ | int win.c:315:39: warning: call to undeclared function 'wwstarttty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 315 | if (w->ww_pty >= 0 && w->ww_ispty && wwstarttty(w->ww_pty) < 0) | ^ win.c:316:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 316 | error("Can't start output: %s.", wwerror()); | ^ --- ttgeneric.pieo --- ttgeneric.c:366:3: warning: call to undeclared function 'ttpgoto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 366 | ttpgoto(gen_DCn, 0, n, gen_CO - tt.tt_col); | ^ ttgeneric.c:369:4: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 369 | tttputs(gen_DC, gen_CO - tt.tt_col); | ^ ./tt.h:135:23: note: expanded from macro 'tttputs' 135 | #define tttputs(s, n) tputs((s)->ts_str, (n), tttputc) | ^ ttgeneric.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | gen_delchar(n) | ^ ttgeneric.c:372:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- tth19.pieo --- | ^~~~~~~ tth19.c:80:17: note: expanded from macro 'ICPAD' 80 | #define ICPAD() PAD((NCOL - tt.tt_col) * 1) /* 0.1 ms per char */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tth19.c:76:11: note: expanded from macro 'PAD' 76 | register i; \ | ~~~~~~~~ ^ tth19.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | h19_inschar(c) | ^ tth19.c:230:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 230 | h19_delchar(n) | ^ 231 | { tth19.c:230:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 230 | h19_delchar(n) | ^ | int --- ttzapple.pieo --- 274 | ttesc('i'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.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 | zz_insspace(n) | ^ ttzapple.c:281:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 281 | zz_delchar(n) | ^ 282 | { ttzapple.c:281:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- lcmd2.pieo --- lcmd2.c:359:6: warning: call to undeclared function 'more'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 359 | if (more(w, 0) == 2) | ^ lcmd2.c:361:2: warning: call to undeclared function 'wwprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 361 | wwprintf(w, "%16s %s\n", a->a_name, a->a_buf); | ^ lcmd2.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | printalias(w, a) | ^ lcmd2.c:370:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 370 | l_unalias(v, a) | ^ | int lcmd2.c:374:14: warning: call to undeclared function 'var_unset1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- win.pieo --- win.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | startwin(w) | ^ win.c:321:18: warning: parameter 'ncol' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 321 | sizewin(w, nrow, ncol) | ^ 322 | register struct ww *w; 323 | { win.c:321:12: warning: parameter 'nrow' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 321 | sizewin(w, nrow, ncol) | ^ 322 | register struct ww *w; 323 | { win.c:321:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 321 | sizewin(w, nrow, ncol) | ^ | int win.c:328:2: warning: call to undeclared function 'wwdelete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- ttgeneric.pieo --- 372 | gen_scroll_down(n) | ^ 373 | { ttgeneric.c:372:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 372 | gen_scroll_down(n) | ^ | int ttgeneric.c:376:3: warning: call to undeclared function 'ttpgoto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 376 | ttpgoto(gen_SFn, 0, n, n); | ^ ttgeneric.c:379:4: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 379 | ttxputs(gen_SF); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ --- tth19.pieo --- tth19.c:233:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | ttesc('N'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | h19_delchar(n) | ^ tth19.c:236:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 236 | h19_scroll_down(n) --- ttzapple.pieo --- 281 | zz_delchar(n) | ^ | int ttzapple.c:284:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 284 | ttesc('c'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | zz_delchar(n) | ^ --- lcmd2.pieo --- 374 | v->v_num = alias_unset(a->v_str); | ^ ./alias.h:50:25: note: expanded from macro 'alias_unset' 50 | #define alias_unset(n) var_unset1(&alias_head, n) | ^ lcmd2.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | l_unalias(v, a) | ^ lcmd2.c:385:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 385 | l_echo(v, a) | ^ | int lcmd2.c:392:17: warning: passing arguments to 'vtowin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | if ((w = vtowin(a++, selwin)) == 0) | ^ --- win.pieo --- 328 | wwdelete(w); | ^ win.c:329:6: warning: call to undeclared function 'wwsize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 329 | if (wwsize(w, nrow, ncol) < 0) | ^ win.c:330:3: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 330 | error("Can't resize window: %s.", wwerror()); | ^ win.c:331:2: warning: call to undeclared function 'wwadd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331 | wwadd(w, back); | ^ win.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | sizewin(w, nrow, ncol) | ^ --- ttgeneric.pieo --- ttgeneric.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | gen_scroll_down(n) | ^ ttgeneric.c:382:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 382 | gen_scroll_up(n) | ^ 383 | { ttgeneric.c:382:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 382 | gen_scroll_up(n) | ^ | int ttgeneric.c:386:3: warning: call to undeclared function 'ttpgoto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 386 | ttpgoto(gen_SRn, 0, n, n); | ^ ttgeneric.c:389:4: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- tth19.pieo --- | ^ 237 | { tth19.c:236:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 236 | h19_scroll_down(n) | ^ | int tth19.c:240:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | ttctrl('j'); | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ tth19.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | h19_scroll_down(n) | ^ --- ttzapple.pieo --- ttzapple.c:291:16: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 291 | zz_scroll_down(n) | ^ 292 | { ttzapple.c:291:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 291 | zz_scroll_down(n) | ^ | int ttzapple.c:295:4: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 295 | ttctrl('j'); | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ --- lcmd2.pieo --- lcmd2.c:397:11: warning: call to undeclared function 'wwwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 397 | (void) wwwrite(w, buf, strlen(buf)); | ^ lcmd2.c:399:11: warning: call to undeclared function 'wwwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 399 | (void) wwwrite(w, a->v_str, strlen(a->v_str)); | ^ lcmd2.c:403:9: warning: call to undeclared function 'wwwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 403 | (void) wwwrite(w, "\r\n", 2); | ^ lcmd2.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | l_echo(v, a) | ^ 81 warnings generated. --- win.pieo --- win.c:335:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 335 | waitnl(w) | ^ | int win.c:338:9: warning: call to undeclared function 'waitnl1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 338 | (void) waitnl1(w, "[Type any key to continue]"); | ^ win.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | waitnl(w) | ^ win.c:341:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 341 | more(w, always) | ^ | int win.c:350:6: warning: call to undeclared function 'waitnl1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 350 | c = waitnl1(w, "[Type escape to abort, any other key to continue]"); --- ttgeneric.pieo --- 389 | ttxputs(gen_SR); | ^ ./tt.h:136:20: note: expanded from macro 'ttxputs' 136 | #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) | ^ ttgeneric.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | gen_scroll_up(n) | ^ ttgeneric.c:392:20: warning: parameter 'bot' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 392 | gen_setscroll(top, bot) | ^ 393 | { ttgeneric.c:392:15: warning: parameter 'top' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 392 | gen_setscroll(top, bot) | ^ 393 | { ttgeneric.c:392:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 392 | gen_setscroll(top, bot) --- tth19.pieo --- tth19.c:243:15: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 243 | h19_scroll_up(n) | ^ 244 | { tth19.c:243:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 243 | h19_scroll_up(n) | ^ | int tth19.c:247:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | ttesc('I'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) --- ttzapple.pieo --- ttzapple.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | zz_scroll_down(n) | ^ ttzapple.c:304:14: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 304 | zz_scroll_up(n) | ^ 305 | { ttzapple.c:304:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 304 | zz_scroll_up(n) | ^ | int ttzapple.c:307:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | ttesc('r'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' --- win.pieo --- | ^ win.c:352:2: warning: call to undeclared function 'wwputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 352 | wwputs("\033E", w); | ^ win.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | more(w, always) | ^ win.c:357:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 357 | waitnl1(w, prompt) | ^ | int win.c:365:2: warning: call to undeclared function 'wwprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 365 | wwprintf(w, "\033Y%c%c\033sA%s\033rA ", | ^ win.c:369:3: warning: call to undeclared function 'wwiomux'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- ttgeneric.pieo --- | ^ | int ttgeneric.c:394:2: warning: call to undeclared function 'tttgoto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 394 | tttgoto(gen_CS, bot, top); | ^ ttgeneric.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 | gen_setscroll(top, bot) | ^ ttgeneric.c:400:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 400 | tt_generic() | ^ | int ttgeneric.c:402:20: warning: passing arguments to 'tttgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | gen_PC = tttgetstr("pc"); | ^ --- tth19.pieo --- | ^ tth19.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | h19_scroll_up(n) | ^ tth19.c:250:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 250 | tt_h19() | ^ | int tth19.c:255:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | gen_VS = ttxgetstr("vs"); | ^ tth19.c:256:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | gen_VE = ttxgetstr("ve"); | ^ 67 warnings generated. --- ttzapple.pieo --- 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | zz_scroll_up(n) | ^ ttzapple.c:314:19: warning: parameter 'bot' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 314 | zz_setscroll(top, bot) | ^ 315 | { ttzapple.c:314:14: warning: parameter 'top' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 314 | zz_setscroll(top, bot) | ^ 315 | { ttzapple.c:314:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- win.pieo --- 369 | wwiomux(); | ^ win.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | waitnl1(w, prompt) | ^ 99 warnings generated. --- ttgeneric.pieo --- ttgeneric.c:405:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | gen_CM = ttxgetstr("cm"); /* may not work */ | ^ ttgeneric.c:406:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | gen_IM = ttxgetstr("im"); | ^ ttgeneric.c:407:20: warning: passing arguments to 'tttgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | gen_IC = tttgetstr("ic"); | ^ ttgeneric.c:408:21: warning: passing arguments to 'tttgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | gen_ICn = tttgetstr("IC"); --- ttzapple.pieo --- 314 | zz_setscroll(top, bot) | ^ | int ttzapple.c:316:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 316 | ttesc('?'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.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 | zz_setscroll(top, bot) | ^ --- ttgeneric.pieo --- | ^ ttgeneric.c:409:20: warning: passing arguments to 'tttgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | gen_IP = tttgetstr("ip"); | ^ ttgeneric.c:410:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | gen_EI = ttxgetstr("ei"); | ^ ttgeneric.c:411:20: warning: passing arguments to 'tttgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | gen_DC = tttgetstr("dc"); | ^ ttgeneric.c:412:21: warning: passing arguments to 'tttgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | gen_DCn = tttgetstr("DC"); --- ttzapple.pieo --- ttzapple.c:325:20: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 325 | zz_set_token(t, s, n) | ^ 326 | char *s; 327 | { ttzapple.c:325:14: warning: parameter 't' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 325 | zz_set_token(t, s, n) | ^ 326 | char *s; 327 | { ttzapple.c:325:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 325 | zz_set_token(t, s, n) | ^ | int ttzapple.c:334:3: warning: call to undeclared function 'ttputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | ttputs(buf); | ^ --- ttgeneric.pieo --- | ^ ttgeneric.c:413:20: warning: passing arguments to 'tttgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | gen_AL = tttgetstr("al"); | ^ ttgeneric.c:414:21: warning: passing arguments to 'tttgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | gen_ALn = tttgetstr("AL"); | ^ ttgeneric.c:415:20: warning: passing arguments to 'tttgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | gen_DL = tttgetstr("dl"); | ^ ttgeneric.c:416:21: warning: passing arguments to 'tttgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | gen_DLn = tttgetstr("DL"); --- ttzapple.pieo --- ttzapple.c:337:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 337 | ttputc(0x80); | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:340:2: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 340 | ttwrite(s, n); | ^ ttzapple.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | zz_set_token(t, s, n) | ^ ttzapple.c:345:20: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 345 | zz_put_token(t, s, n) | ^ 346 | char *s; --- ttgeneric.pieo --- | ^ ttgeneric.c:417:20: warning: passing arguments to 'tttgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | gen_CE = tttgetstr("ce"); | ^ ttgeneric.c:418:20: warning: passing arguments to 'tttgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | gen_CD = tttgetstr("cd"); | ^ ttgeneric.c:419:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | gen_CL = ttxgetstr("cl"); | ^ ttgeneric.c:420:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | gen_VS = ttxgetstr("vs"); --- ttzapple.pieo --- 347 | { ttzapple.c:345:14: warning: parameter 't' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 345 | zz_put_token(t, s, n) | ^ 346 | char *s; 347 | { ttzapple.c:345:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 345 | zz_put_token(t, s, n) | ^ | int ttzapple.c:354:3: warning: call to undeclared function 'ttputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | ttputs(buf); | ^ ttzapple.c:357:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | ttputc(t + 0x81); | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) --- ttgeneric.pieo --- | ^ ttgeneric.c:421:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | gen_VE = ttxgetstr("ve"); | ^ ttgeneric.c:422:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | gen_TI = ttxgetstr("ti"); | ^ ttgeneric.c:423:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | gen_TE = ttxgetstr("te"); | ^ ttgeneric.c:424:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | gen_SO = ttxgetstr("so"); --- ttzapple.pieo --- | ^ ttzapple.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | zz_put_token(t, s, n) | ^ ttzapple.c:360:12: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 360 | zz_rint(p, n) | ^ 361 | char *p; 362 | { ttzapple.c:360:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 360 | zz_rint(p, n) | ^ | int ttzapple.c:363:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 363 | register i; | ~~~~~~~~ ^ | int ttzapple.c:369:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- ttgeneric.pieo --- | ^ ttgeneric.c:425:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | gen_SE = ttxgetstr("se"); | ^ ttgeneric.c:426:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | gen_US = ttxgetstr("us"); | ^ ttgeneric.c:427:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | gen_UE = ttxgetstr("ue"); | ^ ttgeneric.c:428:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | gen_LE = ttxgetstr("le"); --- ttzapple.pieo --- 369 | register c = (unsigned char) *p++; | ~~~~~~~~ ^ | int ttzapple.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | zz_rint(p, n) | ^ ttzapple.c:418:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 418 | register n; | ~~~~~~~~ ^ | int ttzapple.c:416:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 416 | zz_checksum(p, n) | ^ | int ttzapple.c:421:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 421 | register c = *p++ & 0x7f; | ~~~~~~~~ ^ | int --- ttgeneric.pieo --- | ^ ttgeneric.c:429:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | gen_ND = ttxgetstr("nd"); | ^ ttgeneric.c:430:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | gen_UP = ttxgetstr("up"); | ^ ttgeneric.c:431:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | gen_DO = ttxgetstr("do"); | ^ ttgeneric.c:432:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | gen_BC = ttxgetstr("bc"); --- ttzapple.pieo --- ttzapple.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 | zz_checksum(p, n) | ^ ttzapple.c:427:13: warning: parameter 'flag' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 427 | zz_compress(flag) | ^ 428 | { ttzapple.c:427:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 427 | zz_compress(flag) | ^ | int ttzapple.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ttzapple.c:435:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 435 | zz_checkpoint() | ^ | int --- ttgeneric.pieo --- | ^ ttgeneric.c:433:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | gen_NL = ttxgetstr("nl"); | ^ ttgeneric.c:434:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | gen_CR = ttxgetstr("cr"); | ^ ttgeneric.c:435:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | gen_HO = ttxgetstr("ho"); | ^ ttgeneric.c:436:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | gen_AS = ttxgetstr("as"); --- ttzapple.pieo --- ttzapple.c:440:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 440 | ttesc('V'); | ^ ./tt.h:154:19: note: expanded from macro 'ttesc' 154 | #define ttesc(c) (ttctrl('['), ttputc(c)) | ^ ./tt.h:153:19: note: expanded from macro 'ttctrl' 153 | #define ttctrl(c) ttputc(ctrl(c)) | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ ttzapple.c:447:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 447 | tt_zapple() | ^ | int 101 warnings generated. --- ttgeneric.pieo --- | ^ ttgeneric.c:437:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | gen_AE = ttxgetstr("ae"); | ^ ttgeneric.c:438:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | gen_XS = ttxgetstr("XS"); | ^ ttgeneric.c:439:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | gen_XE = ttxgetstr("XE"); | ^ ttgeneric.c:440:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | gen_SF = ttxgetstr("sf"); | ^ ttgeneric.c:441:21: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | gen_SFn = ttxgetstr("SF"); | ^ ttgeneric.c:442:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | gen_SR = ttxgetstr("sr"); | ^ ttgeneric.c:443:21: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | gen_SRn = ttxgetstr("SR"); | ^ ttgeneric.c:444:20: warning: passing arguments to 'ttxgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | gen_CS = ttxgetstr("cs"); | ^ ttgeneric.c:445:11: warning: call to undeclared function 'tgetflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 445 | gen_MI = tgetflag("mi"); | ^ ttgeneric.c:454:11: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 454 | gen_CO = tgetnum("co"); | ^ ttgeneric.c:467:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 467 | else if (gen_BS) { | ^ ttgeneric.c:495:40: warning: call to undeclared function 'ttstrcmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 495 | if (gen_UG > 0 || gen_US && gen_SO && ttstrcmp(gen_US, gen_SO) == 0) | ^ ttgeneric.c:499:3: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 499 | free((char *) gen_IM); | ^ ttgeneric.c:499:3: note: include the header or explicitly provide a declaration for 'free' 132 warnings generated. --- window.1.gz --- gzip -cn window.1 > window.1.gz --- tttermcap.pieo --- --- ttgeneric.pieo --- --- wwtty.pieo --- wwtty.c:50:10: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | wwgettty(d, t) | ^ 51 | register struct ww_tty *t; 52 | { wwtty.c:50:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | wwgettty(d, t) | ^ | int wwtty.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] wwtty.c:81:10: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | wwsettty(d, t) | ^ 82 | register struct ww_tty *t; 83 | { wwtty.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | wwsettty(d, t) | ^ | int wwtty.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] wwtty.c:124:14: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 124 | wwgetttysize(d, r, c) | ^ 125 | int *r, *c; 126 | { wwtty.c:124:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 124 | wwgetttysize(d, r, c) | ^ | int wwtty.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] wwtty.c:140:20: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 140 | wwsetttysize(d, r, c) | ^ 141 | { wwtty.c:140:17: warning: parameter 'r' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 140 | wwsetttysize(d, r, c) | ^ 141 | { wwtty.c:140:14: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 140 | wwsetttysize(d, r, c) | ^ 141 | { wwtty.c:140:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 140 | wwsetttysize(d, r, c) | ^ | int wwtty.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] wwtty.c:154:11: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 154 | wwstoptty(d) | ^ 155 | { wwtty.c:154:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 154 | wwstoptty(d) | ^ | int wwtty.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] wwtty.c:169:12: warning: parameter 'd' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 169 | wwstarttty(d) | ^ 170 | { wwtty.c:169:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 169 | wwstarttty(d) | ^ | int wwtty.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] 20 warnings generated. --- wwputs.pieo --- wwputs.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | wwputs(s, w) | ^ | int wwputs.c:53:9: warning: call to undeclared function 'wwwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | (void) wwwrite(w, s, p - s - 1); | ^ wwputs.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | wwputs(s, w) | ^ 3 warnings generated. --- ttzapple.pieo --- --- cmd7.pieo --- --- wwmove.pieo --- wwmove.c:48:16: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | wwmove(w, row, col) | ^ 49 | register struct ww *w; 50 | { wwmove.c:48:11: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | wwmove(w, row, col) | ^ 49 | register struct ww *w; 50 | { wwmove.c:48:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | wwmove(w, row, col) | ^ | int wwmove.c:51:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | register dr, dc; | ~~~~~~~~ ^ | int wwmove.c:51:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | register dr, dc; --- wwsuspend.pieo --- --- wwspawn.pieo --- --- wwredraw.pieo --- --- wwmove.pieo --- | ~~~~~~~~ ^ | int wwmove.c:52:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 52 | register i; | ~~~~~~~~ ^ | int wwmove.c:87:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | register j = w->ww_i.l; | ~~~~~~~~ ^ | int wwmove.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | wwmove(w, row, col) | ^ 8 warnings generated. --- main.pieo --- --- cmd.pieo --- --- wwinit.pieo --- In file included from wwinit.c:43: ./ww.h:314: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 declaration [-Wdeprecated-non-prototype] 314 | char *tgetstr(); | ^ /usr/include/termcap.h:61:31: note: conflicting prototype is here 61 | extern NCURSES_EXPORT(char *) tgetstr (const char *, char **); | ^ In file included from wwinit.c:43: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ wwinit.c:103:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | wwinit() | ^ | int wwinit.c:105:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | register i, j; | ~~~~~~~~ ^ | int wwinit.c:105:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 105 | register i, j; | ~~~~~~~~ ^ | int wwinit.c:109:17: warning: call to undeclared function 'getdtablesize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | wwdtablesize = getdtablesize(); | ^ wwinit.c:124:6: warning: call to undeclared function 'wwgettty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | if (wwgettty(0, &wwoldtty) < 0) | ^ wwinit.c:169:6: warning: call to undeclared function 'wwsettty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | if (wwsettty(0, &wwnewtty) < 0) | ^ wwinit.c:256:6: warning: call to undeclared function 'xxinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 256 | if (xxinit() < 0) | ^ wwinit.c:273:23: warning: passing arguments to 'wwalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | if ((wwsmap = wwalloc(0, 0, wwnrow, wwncol, sizeof (char))) == 0) | ^ wwinit.c:280:10: warning: passing arguments to 'wwalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | wwalloc(0, 0, wwnrow, wwncol, sizeof (union ww_char)); | ^ wwinit.c:285:10: warning: passing arguments to 'wwalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | wwalloc(0, 0, wwnrow, wwncol, sizeof (union ww_char)); | ^ wwinit.c:294:11: warning: passing arguments to 'wwalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | wwalloc(0, 0, wwnrow, wwncol, sizeof (union ww_char)); | ^ wwinit.c:318:3: warning: call to undeclared function 'wwaddcap1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 318 | wwaddcap1(WWT_REV, &kp); | ^ wwinit.c:337:2: warning: call to undeclared function 'wwaddcap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 337 | wwaddcap("kb", &kp); | ^ wwinit.c:338:2: warning: call to undeclared function 'wwaddcap2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 338 | wwaddcap2("ku", &kp); | ^ wwinit.c:372:21: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | fcntl(0, F_SETOWN, getpid()); | ^ wwinit.c:375:2: warning: call to undeclared function 'wwstart1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 375 | wwstart1(); | ^ wwinit.c:389:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 389 | wwaddcap(cap, kp) | ^ | int wwinit.c:398:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 398 | while (*(*kp)++ = *cap++) | ~~~~~~~~~^~~~~~~~ wwinit.c:398:19: note: place parentheses around the assignment to silence this warning 398 | while (*(*kp)++ = *cap++) | ^ | ( ) wwinit.c:398:19: note: use '==' to turn this assignment into an equality comparison 398 | while (*(*kp)++ = *cap++) | ^ | == wwinit.c:402:38: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 402 | for (p = unctrl(*str++); *(*kp)++ = *p++;) | ~~~~~~~~~^~~~~~ wwinit.c:402:38: note: place parentheses around the assignment to silence this warning 402 | for (p = unctrl(*str++); *(*kp)++ = *p++;) | ^ | ( ) wwinit.c:402:38: note: use '==' to turn this assignment into an equality comparison 402 | for (p = unctrl(*str++); *(*kp)++ = *p++;) | ^ | == wwinit.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | wwaddcap(cap, kp) | ^ wwinit.c:411:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 411 | wwaddcap1(cap, kp) | ^ | int wwinit.c:415:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 415 | while (*(*kp)++ = *cap++) | ~~~~~~~~~^~~~~~~~ wwinit.c:415:18: note: place parentheses around the assignment to silence this warning 415 | while (*(*kp)++ = *cap++) | ^ | ( ) wwinit.c:415:18: note: use '==' to turn this assignment into an equality comparison 415 | while (*(*kp)++ = *cap++) | ^ | == wwinit.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | wwaddcap1(cap, kp) | ^ wwinit.c:420:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 420 | wwaddcap2(cap, kp) | ^ | int wwinit.c:432:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 432 | while (*(*kp)++ = *cap++) | ~~~~~~~~~^~~~~~~~ wwinit.c:432:19: note: place parentheses around the assignment to silence this warning 432 | while (*(*kp)++ = *cap++) | ^ | ( ) wwinit.c:432:19: note: use '==' to turn this assignment into an equality comparison 432 | while (*(*kp)++ = *cap++) | ^ | == wwinit.c:436:38: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 436 | for (p = unctrl(*str++); *(*kp)++ = *p++;) | ~~~~~~~~~^~~~~~ wwinit.c:436:38: note: place parentheses around the assignment to silence this warning 436 | for (p = unctrl(*str++); *(*kp)++ = *p++;) | ^ | ( ) wwinit.c:436:38: note: use '==' to turn this assignment into an equality comparison 436 | for (p = unctrl(*str++); *(*kp)++ = *p++;) | ^ | == wwinit.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | wwaddcap2(cap, kp) | ^ wwinit.c:445:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 445 | wwstart() | ^ | int wwinit.c:447:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 447 | register i; | ~~~~~~~~ ^ | int wwinit.c:449:9: warning: call to undeclared function 'wwsettty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 449 | (void) wwsettty(0, &wwnewtty); | ^ wwinit.c:453:2: warning: call to undeclared function 'wwstart1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 453 | wwstart1(); | ^ wwinit.c:456:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 456 | wwstart1() | ^ | int wwinit.c:458:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 458 | register i, j; | ~~~~~~~~ ^ | int wwinit.c:458:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 458 | register i, j; | ~~~~~~~~ ^ | int wwinit.c:466:2: warning: call to undeclared function 'xxstart'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 466 | xxstart(); | ^ wwinit.c:475:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 475 | wwreset() | ^ | int wwinit.c:477:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 477 | register i; | ~~~~~~~~ ^ | int wwinit.c:479:2: warning: call to undeclared function 'xxreset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 479 | xxreset(); | ^ 40 warnings generated. --- parser1.pieo --- --- wwinit.pieo --- --- parser2.pieo --- --- lcmd2.pieo --- --- tth19.pieo --- --- win.pieo --- --- lcmd1.pieo --- --- wwsize.pieo --- In file included from wwsize.c:44: ./ww.h:313: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] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ wwsize.c:49:17: warning: parameter 'ncol' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | wwsize(w, nrow, ncol) | ^ 50 | register struct ww *w; 51 | { wwsize.c:49:11: warning: parameter 'nrow' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | wwsize(w, nrow, ncol) | ^ 50 | register struct ww *w; 51 | { wwsize.c:49:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | wwsize(w, nrow, ncol) | ^ | int wwsize.c:52:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 52 | register i, j; | ~~~~~~~~ ^ | int wwsize.c:52:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 52 | register i, j; | ~~~~~~~~ ^ | int wwsize.c:63:15: warning: passing arguments to 'wwalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | win = wwalloc(w->ww_w.t, w->ww_w.l, nrow, ncol, sizeof (char)); | ^ wwsize.c:67:17: warning: passing arguments to 'wwalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | fmap = wwalloc(w->ww_w.t, w->ww_w.l, nrow, ncol, sizeof (char)); | ^ wwsize.c:73:35: warning: passing arguments to 'wwalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | buf = (union ww_char **) wwalloc(w->ww_b.t, w->ww_b.l, | ^ wwsize.c:110:2: warning: call to undeclared function 'wwfree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | wwfree((char **)w->ww_win, w->ww_w.t); | ^ wwsize.c:176:3: warning: call to undeclared function 'wwcursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 176 | wwcursor(w, 1); | ^ wwsize.c:182:10: warning: call to undeclared function 'wwsetttysize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 182 | (void) wwsetttysize(w->ww_pty, nrow, ncol); | ^ wwsize.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | wwsize(w, nrow, ncol) | ^ 13 warnings generated. --- wwredrawwin.pieo --- wwredrawwin.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | wwredrawwin1(w, row1, row2, offset) | ^ | int wwredrawwin.c:50:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | register col; | ~~~~~~~~ ^ | int wwredrawwin.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | wwredrawwin1(w, row1, row2, offset) | ^ 3 warnings generated. --- wwsize.pieo --- --- wwredrawwin.pieo --- --- xxflush.pieo --- xxflush.c:48:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | register intr; | ~~~~~~~~ ^ | int xxflush.c:47:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 47 | xxflush(intr) | ^ | int xxflush.c:56:18: 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] 56 | (*tt.tt_move)(xp->arg0, xp->arg1); | ^ xxflush.c:59:4: warning: call to undeclared function 'xxflush_scroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | xxflush_scroll(xp); | ^ --- wwscroll.pieo --- wwscroll.c:46:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | wwscroll(w, n) | ^ | int wwscroll.c:50:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | register dir; | ~~~~~~~~ ^ | int wwscroll.c:51:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | register top; | ~~~~~~~~ ^ | int wwscroll.c:61:6: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | n = abs(top - w->ww_b.t); | ^ wwscroll.c:61:6: note: include the header or explicitly provide a declaration for 'abs' --- xxflush.pieo --- xxflush.c:62:17: 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] 62 | (*tt.tt_move)(xp->arg0, xp->arg1); | ^ xxflush.c:64:20: 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] 64 | (*tt.tt_inschar)(xp->arg2); | ^ xxflush.c:67:17: 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] 67 | (*tt.tt_move)(xp->arg0, xp->arg1); | ^ xxflush.c:68:21: 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] --- wwscroll.pieo --- wwscroll.c:64:11: warning: call to undeclared function 'wwscroll1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | (void) wwscroll1(w, w->ww_i.t, w->ww_i.b, dir, 0); | ^ wwscroll.c:73:3: warning: call to undeclared function 'wwredrawwin1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | wwredrawwin(w); | ^ ./ww.h:254:24: note: expanded from macro 'wwredrawwin' 254 | #define wwredrawwin(w) wwredrawwin1((w), (w)->ww_i.t, (w)->ww_i.b, 0) | ^ wwscroll.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | wwscroll(w, n) | ^ wwscroll.c:82:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- xxflush.pieo --- 68 | (*tt.tt_insspace)(xp->arg2); | ^ xxflush.c:71:17: 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] 71 | (*tt.tt_move)(xp->arg0, xp->arg1); | ^ xxflush.c:72:20: 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] 72 | (*tt.tt_delchar)(xp->arg2); | ^ xxflush.c:78:17: 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] 78 | (*tt.tt_move)(xp->arg0, xp->arg1); | ^ --- wwscroll.pieo --- 82 | wwscroll1(w, row1, row2, dir, leaveit) | ^ | int wwscroll.c:87:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | register i; | ~~~~~~~~ ^ | int wwscroll.c:126:2: warning: call to undeclared function 'xxscroll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | xxscroll(dir, row1x, row2x); | ^ wwscroll.c:189:4: warning: call to undeclared function 'wwredrawwin1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | wwredrawwin1(w, row1, row1x, dir); | ^ wwscroll.c:218:4: warning: call to undeclared function 'wwredrawwin1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- xxflush.pieo --- xxflush.c:82:17: 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] 82 | (*tt.tt_move)(xp->arg0, xp->arg1); | ^ xxflush.c:86:17: 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] 86 | (*tt.tt_move)(xp->arg0, xp->arg1); | ^ xxflush.c:88:18: 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] 88 | (*tt.tt_write)(xp->buf, xp->arg2); | ^ xxflush.c:92:3: warning: call to undeclared function 'xxfree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- wwscroll.pieo --- 218 | wwredrawwin1(w, row1 + leaveit, row1x + 1, dir); | ^ wwscroll.c:231:4: warning: call to undeclared function 'wwredrawwin1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 231 | wwredrawwin1(w, row1, row2 - leaveit, dir); | ^ wwscroll.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | wwscroll1(w, row1, row2, dir, leaveit) | ^ 14 warnings generated. --- xxflush.pieo --- 92 | xxfree(xp); | ^ xxflush.c:98:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | ttflush(); | ^ xxflush.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | xxflush(intr) | ^ xxflush.c:101:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | xxflush_scroll(xp) | ^ | int xxflush.c:164:23: 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] 164 | (*tt.tt_setscroll)(xp->arg1, xp->arg2 - 1); | ^ xxflush.c:166:21: 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] 166 | tt.tt_scroll_down(xp->arg0); | ^ xxflush.c:169:17: 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] 169 | (*tt.tt_move)(xp->arg1, 0); | ^ xxflush.c:170:20: 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] 170 | (*tt.tt_delline)(xp->arg0); | ^ xxflush.c:172:18: 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] 172 | (*tt.tt_move)(xp->arg2 - xp->arg0, 0); | ^ xxflush.c:173:21: 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] 173 | (*tt.tt_insline)(xp->arg0); | ^ xxflush.c:185:23: 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] 185 | (*tt.tt_setscroll)(xp->arg1, xp->arg2 - 1); | ^ xxflush.c:187:19: 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] 187 | tt.tt_scroll_up(xp->arg0); | ^ xxflush.c:191:18: 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] 191 | (*tt.tt_move)(xp->arg2 - xp->arg0, 0); | ^ xxflush.c:192:21: 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] 192 | (*tt.tt_delline)(xp->arg0); | ^ xxflush.c:194:17: 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] 194 | (*tt.tt_move)(xp->arg1, 0); | ^ xxflush.c:195:20: 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] 195 | (*tt.tt_insline)(xp->arg0); | ^ xxflush.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | xxflush_scroll(xp) | ^ 31 warnings generated. --- wwwrite.pieo --- In file included from wwwrite.c:43: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ wwwrite.c:61:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 61 | wwwrite(w, p, n) | ^ | int wwwrite.c:75:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 75 | if (hascursor = w->ww_hascursor) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ wwwrite.c:75:16: note: place parentheses around the assignment to silence this warning 75 | if (hascursor = w->ww_hascursor) | ^ | ( ) wwwrite.c:75:16: note: use '==' to turn this assignment into an equality comparison 75 | if (hascursor = w->ww_hascursor) | ^ | == wwwrite.c:76:3: warning: call to undeclared function 'wwcursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | wwcursor(w, 0); | ^ wwwrite.c:79:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 79 | p = r; | ^ ~ wwwrite.c:80:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 80 | q = s; | ^ ~ wwwrite.c:86:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 86 | register i; | ~~~~~~~~ ^ | int wwwrite.c:98:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 98 | r = p + 1; | ^ ~~~~~ wwwrite.c:99:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 99 | s = q; | ^ ~ wwwrite.c:100:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 100 | p = unctrl(*p); | ^ ~~~~~~~~~~ wwwrite.c:103:5: warning: call to undeclared function 'wwinschar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | wwinschar(w, w->ww_cur.r, w->ww_cur.c, | ^ wwwrite.c:112:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 112 | p = r; | ^ ~ wwwrite.c:113:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 113 | q = s; | ^ ~ wwwrite.c:116:15: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 116 | register tmp = 8 - (i - w->ww_w.l & 7); | ~~~~~~~~ ^ | int wwwrite.c:125:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | r = p + 1; | ^ ~~~~~ wwwrite.c:126:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 126 | s = q; | ^ ~ wwwrite.c:127:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 127 | p = unctrl(*p); | ^ ~~~~~~~~~~ wwwrite.c:162:5: warning: call to undeclared function 'wwupdate1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | UPDATE(); | ^ wwwrite.c:50:3: note: expanded from macro 'UPDATE' 50 | wwupdate1(w->ww_cur.r, w->ww_cur.r + 1) | ^ wwwrite.c:166:14: warning: call to undeclared function 'wwscroll1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 166 | (void) wwscroll1(w, w->ww_i.t, | ^ wwwrite.c:172:7: warning: call to undeclared function 'wwdelline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | wwdelline(w, w->ww_b.t); | ^ wwwrite.c:185:5: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 185 | ttputc(ctrl('g')); | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ wwwrite.c:200:5: warning: call to undeclared function 'wwupdate1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 200 | UPDATE(); | ^ wwwrite.c:50:3: note: expanded from macro 'UPDATE' 50 | wwupdate1(w->ww_cur.r, w->ww_cur.r + 1) | ^ wwwrite.c:204:14: warning: call to undeclared function 'wwscroll1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | (void) wwscroll1(w, w->ww_i.t, | ^ wwwrite.c:210:7: warning: call to undeclared function 'wwinsline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | wwinsline(w, w->ww_b.t); | ^ wwwrite.c:225:5: warning: call to undeclared function 'wwclreos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | wwclreos(w, w->ww_w.t, w->ww_w.l); | ^ wwwrite.c:236:5: warning: call to undeclared function 'wwclreol1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | wwclreol(w, w->ww_cur.r, w->ww_cur.c); | ^ ./ww.h:253:25: note: expanded from macro 'wwclreol' 253 | #define wwclreol(w,r,c) wwclreol1((w), (r), (c), 0) | ^ wwwrite.c:240:5: warning: call to undeclared function 'wwinsline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | wwinsline(w, w->ww_cur.r); | ^ wwwrite.c:243:5: warning: call to undeclared function 'wwdelline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 243 | wwdelline(w, w->ww_cur.r); | ^ wwwrite.c:246:5: warning: call to undeclared function 'wwdelchar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | wwdelchar(w, w->ww_cur.r, w->ww_cur.c); | ^ wwwrite.c:252:5: warning: call to undeclared function 'wwinschar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 252 | wwinschar(w, w->ww_cur.r, w->ww_cur.c, ' ', 0); | ^ wwwrite.c:263:5: warning: call to undeclared function 'xxflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 263 | xxflush(0); | ^ wwwrite.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | wwwrite(w, p, n) | ^ 32 warnings generated. --- xxflush.pieo --- --- wwscroll.pieo --- --- wwunframe.pieo --- wwunframe.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | wwunframe(w) | ^ | int wwunframe.c:51:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | register j; | ~~~~~~~~ ^ | int wwunframe.c:76:3: warning: call to undeclared function 'wwdelete1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | wwdelete1(w->ww_forw, | ^ wwunframe.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | wwunframe(w) | ^ 4 warnings generated. --- wwupdate.pieo --- wwupdate.c:46:16: warning: parameter 'bot' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | wwupdate1(top, bot) | ^ 47 | { wwupdate.c:46:11: warning: parameter 'top' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | wwupdate1(top, bot) | ^ 47 | { wwupdate.c:46:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | wwupdate1(top, bot) | ^ | int wwupdate.c:49:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | register j; | ~~~~~~~~ ^ | int wwupdate.c:58:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | register n; | ~~~~~~~~ ^ | int wwupdate.c:82:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 82 | if (check_clreos = n * 10 > (wwnrow - st) * 9) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wwupdate.c:82:21: note: place parentheses around the assignment to silence this warning 82 | if (check_clreos = n * 10 > (wwnrow - st) * 9) { | ^ | ( ) wwupdate.c:82:21: note: use '==' to turn this assignment into an equality comparison 82 | if (check_clreos = n * 10 > (wwnrow - st) * 9) { | ^ | == wwupdate.c:93:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 93 | register gain = 0; | ~~~~~~~~ ^ | int wwupdate.c:94:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 94 | register best_gain = 0; | ~~~~~~~~ ^ | int wwupdate.c:95:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 95 | register best_col; | ~~~~~~~~ ^ | int wwupdate.c:133:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | register gain = 0; | ~~~~~~~~ ^ | int wwupdate.c:134:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 134 | register best_gain = 0; | ~~~~~~~~ ^ | int wwupdate.c:136:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 136 | register simple_gain = 0; | ~~~~~~~~ ^ | int wwupdate.c:148:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | register g = gain + u->best_gain; | ~~~~~~~~ ^ | int wwupdate.c:160:5: warning: call to undeclared function 'xxclear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | xxclear(); | ^ wwupdate.c:169:5: warning: call to undeclared function 'xxclreos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | xxclreos(i, j = wwupd[i].best_col); | ^ wwupdate.c:202:4: warning: call to undeclared function 'xxclreol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | xxclreol(i, j = upd->best_col); | ^ wwupdate.c:213:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 213 | register n; | ~~~~~~~~ ^ | int wwupdate.c:245:5: warning: call to undeclared function 'xxwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 245 | xxwrite(i, c, buf, n, m); | ^ wwupdate.c:255:6: warning: call to undeclared function 'xxinschar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | xxinschar(i, c, ns[-2].c_c, | ^ wwupdate.c:258:6: warning: call to undeclared function 'xxinsspace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 258 | xxinsspace(i, c); | ^ wwupdate.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | wwupdate1(top, bot) | ^ 21 warnings generated. --- wwterminfo.pieo --- --- xx.pieo --- In file included from xx.c:43: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ xx.c:55:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | xxinit() | ^ | int xx.c:57:6: warning: call to undeclared function 'ttinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | if (ttinit() < 0) | ^ xx.c:61:26: warning: call to undeclared function 'ccinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | if (tt.tt_ntoken > 0 && ccinit() < 0) | ^ xx.c:73:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 73 | xxstart() | ^ | int xx.c:77:3: warning: call to undeclared function 'ccstart'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | ccstart(); | ^ xx.c:78:2: warning: call to undeclared function 'xxreset1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | xxreset1(); /* might be a restart */ | ^ xx.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | xxreset() | ^ | int xx.c:84:3: warning: call to undeclared function 'ccreset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | ccreset(); | ^ xx.c:85:2: warning: call to undeclared function 'xxreset1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | xxreset1(); | ^ xx.c:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | xxreset1() | ^ | int xx.c:95:3: warning: call to undeclared function 'xxfree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | xxfree(xp); | ^ xx.c:101:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 101 | xxend() | ^ | int xx.c:105:21: 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] 105 | (*tt.tt_setscroll)(0, tt.tt_nrow - 1); | ^ xx.c:107:20: 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] 107 | (*tt.tt_setmodes)(0); | ^ xx.c:109:23: 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] 109 | (*tt.tt_scroll_down)(1); | ^ xx.c:110:15: 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] 110 | (*tt.tt_move)(tt.tt_nrow - 1, 0); | ^ xx.c:112:3: warning: call to undeclared function 'ccend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | ccend(); | ^ xx.c:114:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | ttflush(); | ^ xx.c:138:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 138 | xxfree(xp) | ^ | int xx.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xx.c:145:13: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 145 | xxmove(row, col) | ^ 146 | { xx.c:145:8: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 145 | xxmove(row, col) | ^ 146 | { xx.c:145:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 145 | xxmove(row, col) | ^ | int xx.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xx.c:157:20: warning: parameter 'bot' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 157 | xxscroll(dir, top, bot) | ^ 158 | { xx.c:157:15: warning: parameter 'top' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 157 | xxscroll(dir, top, bot) | ^ 158 | { xx.c:157:10: warning: parameter 'dir' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 157 | xxscroll(dir, top, bot) | ^ 158 | { xx.c:157:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 157 | xxscroll(dir, top, bot) | ^ | int xx.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xx.c:174:24: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 174 | xxinschar(row, col, c, m) | ^ 175 | { xx.c:174:21: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 174 | xxinschar(row, col, c, m) | ^ 175 | { xx.c:174:16: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 174 | xxinschar(row, col, c, m) | ^ 175 | { xx.c:174:11: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 174 | xxinschar(row, col, c, m) | ^ 175 | { xx.c:174:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 174 | xxinschar(row, col, c, m) | ^ | int xx.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xx.c:186:17: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 186 | xxinsspace(row, col) | ^ 187 | { xx.c:186:12: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 186 | xxinsspace(row, col) | ^ 187 | { xx.c:186:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 186 | xxinsspace(row, col) | ^ | int xx.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xx.c:202:16: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 202 | xxdelchar(row, col) | ^ 203 | { xx.c:202:11: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 202 | xxdelchar(row, col) | ^ 203 | { xx.c:202:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 202 | xxdelchar(row, col) | ^ | int xx.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] xx.c:218:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 218 | xxclear() | ^ | int xx.c:227:15: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 227 | xxclreos(row, col) | ^ 228 | { xx.c:227:10: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 227 | xxclreos(row, col) | ^ 228 | { xx.c:227:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 227 | xxclreos(row, col) | ^ | int xx.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xx.c:236:15: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 236 | xxclreol(row, col) | ^ 237 | { xx.c:236:10: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 236 | xxclreol(row, col) | ^ 237 | { xx.c:236:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 236 | xxclreol(row, col) | ^ | int xx.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xx.c:245:25: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 245 | xxwrite(row, col, p, n, m) | ^ 246 | char *p; 247 | { xx.c:245:22: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 245 | xxwrite(row, col, p, n, m) | ^ 246 | char *p; 247 | { xx.c:245:14: warning: parameter 'col' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 245 | xxwrite(row, col, p, n, m) | ^ 246 | char *p; 247 | { xx.c:245:9: warning: parameter 'row' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 245 | xxwrite(row, col, p, n, m) | ^ 246 | char *p; 247 | { xx.c:245:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 245 | xxwrite(row, col, p, n, m) | ^ | int xx.c:251:3: warning: call to undeclared function 'xxflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | xxflush(0); | ^ xx.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | xxwrite(row, col, p, n, m) | ^ 60 warnings generated. --- compress.pieo --- In file included from compress.c:43: ./ww.h:313: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 declaration [-Wdeprecated-non-prototype] 313 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ compress.c:169:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 169 | ccinit() | ^ | int compress.c:171:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 171 | register i, j; | ~~~~~~~~ ^ | int compress.c:171:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 171 | register i, j; | ~~~~~~~~ ^ | int compress.c:292:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 292 | ccstart() | ^ | int compress.c:296:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 296 | ttflush(); | ^ compress.c:304:2: warning: call to undeclared function 'ccreset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 304 | ccreset(); | ^ compress.c:307:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 307 | ccreset() | ^ | int compress.c:318:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 318 | ccend() | ^ | int compress.c:321:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 321 | ttflush(); | ^ compress.c:331:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 331 | ccflush() | ^ | int compress.c:343:19: 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] 343 | (*tt.tt_compress)(1); | ^ compress.c:345:3: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 345 | ttflush(); | ^ compress.c:352:6: warning: call to undeclared function 'cc_sweep_phase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 352 | n = cc_sweep_phase(cc_buffer, bufsize, cc_tokens); | ^ compress.c:353:2: warning: call to undeclared function 'cc_compress_phase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | cc_compress_phase(cc_output, bufsize, cc_tokens, n); | ^ compress.c:354:2: warning: call to undeclared function 'cc_output_phase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | cc_output_phase(cc_buffer, cc_output, bufsize); | ^ compress.c:355:2: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 355 | ttflush(); | ^ compress.c:359:19: 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] 359 | (*tt.tt_compress)(0); | ^ compress.c:363:24: warning: parameter 'bufsize' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 363 | cc_sweep_phase(buffer, bufsize, tokens) | ^ 364 | char *buffer; 365 | struct cc **tokens; 366 | { compress.c:363:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 363 | cc_sweep_phase(buffer, bufsize, tokens) | ^ | int compress.c:368:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 368 | register i, n; | ~~~~~~~~ ^ | int compress.c:368:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 368 | register i, n; | ~~~~~~~~ ^ | int compress.c:379:2: warning: call to undeclared function 'cc_sweep0'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 379 | cc_sweep0(buffer, bufsize, tt.tt_token_min - 1); | ^ compress.c:397:7: warning: call to undeclared function 'cc_sweep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 397 | n = cc_sweep(buffer, bufsize, pp, i); | ^ compress.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | cc_sweep_phase(buffer, bufsize, tokens) | ^ compress.c:420:22: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 420 | cc_sweep0(buffer, n, length) | ^ 421 | char *buffer; 422 | { compress.c:420:19: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 420 | cc_sweep0(buffer, n, length) | ^ 421 | char *buffer; 422 | { compress.c:420:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 420 | cc_sweep0(buffer, n, length) | ^ | int compress.c:425:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 425 | register i; | ~~~~~~~~ ^ | int compress.c:444:9: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 444 | c = hash(*hc, c); | ^~~~~~~~~~~~ compress.c:152:32: note: expanded from macro 'hash' 152 | #define hash(h, c) ((((h) >> H - 8 | (h) << 8) ^ (c)) & HSIZE - 1) | ~~ ~~^~~ compress.c:444:9: note: place parentheses around the '-' expression to silence this warning 444 | c = hash(*hc, c); | ^~~~~~~~~~~~ compress.c:152:32: note: expanded from macro 'hash' 152 | #define hash(h, c) ((((h) >> H - 8 | (h) << 8) ^ (c)) & HSIZE - 1) | ~~^~~ compress.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | cc_sweep0(buffer, n, length) | ^ compress.c:453:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 453 | register length; | ~~~~~~~~ ^ | int compress.c:450:18: warning: parameter 'bufsize' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 450 | cc_sweep(buffer, bufsize, tokens, length) | ^ 451 | char *buffer; 452 | struct cc **tokens; 453 | register length; 454 | { compress.c:450:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 450 | cc_sweep(buffer, bufsize, tokens, length) | ^ | int compress.c:457:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 457 | register i; | ~~~~~~~~ ^ | int compress.c:486:28: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 486 | h = cc_htab + (*hc1++ = hash(hh, c)); | ^~~~~~~~~~~ compress.c:152:32: note: expanded from macro 'hash' 152 | #define hash(h, c) ((((h) >> H - 8 | (h) << 8) ^ (c)) & HSIZE - 1) | ~~ ~~^~~ compress.c:486:28: note: place parentheses around the '-' expression to silence this warning 486 | h = cc_htab + (*hc1++ = hash(hh, c)); | ^~~~~~~~~~~ compress.c:152:32: note: expanded from macro 'hash' 152 | #define hash(h, c) ((((h) >> H - 8 | (h) << 8) ^ (c)) & HSIZE - 1) | ~~^~~ compress.c:493:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 493 | register n = length; | ~~~~~~~~ ^ | int compress.c:512:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 512 | register n = length; | ~~~~~~~~ ^ | int compress.c:610:4: warning: call to undeclared function 'cc_sweep_reverse'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 610 | cc_sweep_reverse(tokens, places); | ^ compress.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | cc_sweep(buffer, bufsize, tokens, length) | ^ compress.c:626:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 626 | cc_sweep_reverse(pp, places) | ^ | int compress.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] compress.c:646:44: warning: parameter 'ntoken' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 646 | cc_compress_phase(output, bufsize, tokens, ntoken) | ^ 647 | struct cc **output; 648 | struct cc **tokens; 649 | { compress.c:646:27: warning: parameter 'bufsize' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 646 | cc_compress_phase(output, bufsize, tokens, ntoken) | ^ 647 | struct cc **output; 648 | struct cc **tokens; 649 | { compress.c:646:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 646 | cc_compress_phase(output, bufsize, tokens, ntoken) | ^ | int compress.c:650:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 650 | register i; | ~~~~~~~~ ^ | int compress.c:654:3: warning: call to undeclared function 'cc_compress_phase1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 654 | cc_compress_phase1(output, tokens, ntoken, 0); | ^ compress.c:657:2: warning: call to undeclared function 'cc_compress_cleanup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 657 | cc_compress_cleanup(output, bufsize); | ^ compress.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | cc_compress_phase(output, bufsize, tokens, ntoken) | ^ compress.c:660:44: warning: parameter 'flag' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 660 | cc_compress_phase1(output, tokens, ntoken, flag) | ^ 661 | register struct cc **output; 662 | struct cc **tokens; 663 | { compress.c:660:36: warning: parameter 'ntoken' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 660 | cc_compress_phase1(output, tokens, ntoken, flag) | ^ 661 | register struct cc **output; 662 | struct cc **tokens; 663 | { compress.c:660:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 660 | cc_compress_phase1(output, tokens, ntoken, flag) | ^ | int compress.c:692:9: warning: call to undeclared function 'cc_compress'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 692 | pp += cc_compress(output, pp, flag); | ^ compress.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | cc_compress_phase1(output, tokens, ntoken, flag) | ^ compress.c:711:29: warning: parameter 'bufsize' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 711 | cc_compress_cleanup(output, bufsize) | ^ 712 | register struct cc **output; 713 | { compress.c:711:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 711 | cc_compress_cleanup(output, bufsize) | ^ | int compress.c:720:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 720 | register length; | ~~~~~~~~ ^ | int compress.c:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | cc_compress_cleanup(output, bufsize) | ^ compress.c:746:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 746 | cc_compress(output, tokens, flag) | ^ | int compress.c:792:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 792 | register score0 = initial_score0; | ~~~~~~~~ ^ | int compress.c:835:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 835 | if (*undop->pos = x = undop->val) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ compress.c:835:21: note: place parentheses around the assignment to silence this warning 835 | if (*undop->pos = x = undop->val) | ^ | ( ) compress.c:835:21: note: use '==' to turn this assignment into an equality comparison 835 | if (*undop->pos = x = undop->val) | ^ | == compress.c:850:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 850 | if (*undop->pos = x = undop->val) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ compress.c:850:21: note: place parentheses around the assignment to silence this warning 850 | if (*undop->pos = x = undop->val) | ^ | ( ) compress.c:850:21: note: use '==' to turn this assignment into an equality comparison 850 | if (*undop->pos = x = undop->val) | ^ | == compress.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 | cc_compress(output, tokens, flag) | ^ compress.c:861:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 861 | register bufsize; | ~~~~~~~~ ^ | int compress.c:858:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 858 | cc_output_phase(buffer, output, bufsize) | ^ | int compress.c:863:11: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 863 | register i; | ~~~~~~~~ ^ | int compress.c:868:4: warning: call to undeclared function 'ttflush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 868 | ttputc(buffer[i]); | ^ ./tt.h:147:8: note: expanded from macro 'ttputc' 147 | : (ttflush(), *tt_obp++ = (c))) | ^ compress.c:873:22: 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] 873 | (*tt.tt_put_token)(p->code, p->string, p->length); | ^ compress.c:885:22: 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] 885 | (*tt.tt_set_token)(p->code, p->string, p->length); | ^ compress.c:891:4: warning: call to undeclared function 'ttwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 891 | ttwrite(p->string, p->length); | ^ compress.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | cc_output_phase(buffer, output, bufsize) | ^ compress.c:899:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 899 | cc_token_compare(p1, p2) | ^ | int compress.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 warnings generated. --- window --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -fPIE -std=gnu99 -Wno-format-zero-length -nobuiltininc -idirafter /usr/lib/clang/19/include -fstack-protector-strong -Qunused-arguments -Wl,-zrelro -pie -o window char.pieo cmd.pieo cmd1.pieo cmd2.pieo cmd3.pieo cmd4.pieo cmd5.pieo cmd6.pieo cmd7.pieo context.pieo error.pieo lcmd.pieo lcmd1.pieo lcmd2.pieo main.pieo mloop.pieo parser1.pieo parser2.pieo parser3.pieo parser4.pieo parser5.pieo scanner.pieo startup.pieo string.pieo ttf100.pieo ttgeneric.pieo tth19.pieo tth29.pieo ttinit.pieo ttoutput.pieo tttermcap.pieo tttvi925.pieo ttwyse60.pieo ttwyse75.pieo ttzapple.pieo ttzentec.pieo var.pieo win.pieo wwadd.pieo wwalloc.pieo wwbox.pieo wwchild.pieo wwclose.pieo wwclreol.pieo wwclreos.pieo wwcursor.pieo wwdata.pieo wwdelchar.pieo wwdelete.pieo wwdelline.pieo wwdump.pieo wwend.pieo wwenviron.pieo wwerror.pieo wwflush.pieo wwframe.pieo wwgets.pieo wwinit.pieo wwinschar.pieo wwinsline.pieo wwiomux.pieo wwlabel.pieo wwmisc.pieo wwmove.pieo wwopen.pieo wwprintf.pieo wwpty.pieo wwputc.pieo wwputs.pieo wwredraw.pieo wwredrawwin.pieo wwrint.pieo wwscroll.pieo wwsize.pieo wwspawn.pieo wwsuspend.pieo wwterminfo.pieo wwtty.pieo wwunframe.pieo wwupdate.pieo wwwrite.pieo xx.pieo xxflush.pieo compress.pieo -lncurses -lutil =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for window-1.0_2 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/misc/window/work/window/window /wrkdirs/usr/ports/misc/window/work/stage/usr/local/bin install -m 444 /wrkdirs/usr/ports/misc/window/work/window/window.1 /wrkdirs/usr/ports/misc/window/work/stage/usr/local/share/man/man1 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-03-12T17:59:55+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=7042226acf8b' '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 window-1.0_2 ===> Building window-1.0_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for window-1.0_2 build of misc/window | window-1.0_2 ended at Thu Mar 12 14:00:25 EDT 2026 build time: 00:00:32