=>> Building editors/nvi-m17n build started at Thu Oct 2 05:08:52 EDT 2025 port directory: /usr/ports/editors/nvi-m17n package name: nvi-m17n-1.79.20040608_6,1 building for: FreeBSD pkg.DaveG.ca 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 4187 Oct 16 2024 /usr/ports/editors/nvi-m17n/Makefile Ports top last git commit: a936fb9b16ba Ports top unclean checkout: no Port dir last git commit: 4485bd8221c2 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500064 Jail OSVERSION: 1500064 Job Id: 09 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500064 UNAME_v=FreeBSD 15.0-ALPHA3 1500064 UNAME_r=15.0-ALPHA3 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/09/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_c_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for nvi-m17n-1.79.20040608_6,1: CANNA=off: Enable canna support ====> Multibyte character encoding support: you can only select none or one of them EUC_JP=off: Set euc-jp as default multibyte encoding EUC_CN=off: Set euc-cn as default multibyte encoding EUC_KR=off: Set euc-kr as default multibyte encoding ISO_8859_1=off: Set iso-8859-1 as default multibyte encoding ISO_8859_2=off: Set iso-8859-2 as default multibyte encoding ISO_8859_3=off: Set iso-8859-3 as default multibyte encoding ISO_8859_4=off: Set iso-8859-4 as default multibyte encoding ISO_8859_7=off: Set iso-8859-7 as default multibyte encoding ISO_8859_8=off: Set iso-8859-8 as default multibyte encoding ISO_8859_9=off: Set iso-8859-9 as default multibyte encoding ISO_2022_CN=off: Set iso-2022-cn as default multibyte encoding ISO_2022_JP=off: Set iso-2022-jp as default multibyte encoding ISO_2022_JP_3=off: Set iso-2022-jp-3 as default multibyte encoding ISO_2022_KR=off: Set iso-2022-kr as default multibyte encoding CTEXT=off: Set X11 compound as default multibyte encoding SJIS=off: Set sjis as default multibyte encoding BIG5=off: Set big5 as default multibyte encoding EUC_TW=off: Set euc-tw as default multibyte encoding ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --program-prefix=n --enable-multibyte --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- OPTFLAG='-D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\"' vi_cv_path_perl=/usr/local/bin/perl ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/editors/nvi-m17n/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/nvi-m17n/work XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/nvi-m17n/work/.cache HOME=/wrkdirs/usr/ports/editors/nvi-m17n/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/editors/nvi-m17n/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/nvi-m17n/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/editors/nvi-m17n/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/nvi-m17n/work XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/nvi-m17n/work/.cache HOME=/wrkdirs/usr/ports/editors/nvi-m17n/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/editors/nvi-m17n/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/nvi-m17n/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-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.42.0 PERL_VER=5.42 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.42 DOCSDIR="share/doc/nvi" EXAMPLESDIR="share/examples/nvi" DATADIR="share/nvi" WWWDIR="www/nvi" ETCDIR="etc/nvi" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/nvi DOCSDIR=/usr/local/share/doc/nvi EXAMPLESDIR=/usr/local/share/examples/nvi WWWDIR=/usr/local/www/nvi ETCDIR=/usr/local/etc/nvi --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The nvi port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nvi-m17n-1.79.20040608_6,1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.3.1.pkg [pkg.DaveG.ca] Installing pkg-2.3.1... [pkg.DaveG.ca] Extracting pkg-2.3.1: .......... done ===> nvi-m17n-1.79.20040608_6,1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of nvi-m17n-1.79.20040608_6,1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The nvi port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by nvi-m17n-1.79.20040608_6,1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The nvi port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by nvi-m17n-1.79.20040608_6,1 for building => SHA256 Checksum OK for nvi-1.79.tar.gz. => SHA256 Checksum OK for nvi-m17n-1.79-20040608.diff.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The nvi port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by nvi-m17n-1.79.20040608_6,1 for building ===> Extracting for nvi-m17n-1.79.20040608_6,1 => SHA256 Checksum OK for nvi-1.79.tar.gz. => SHA256 Checksum OK for nvi-m17n-1.79-20040608.diff.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 nvi-m17n-1.79.20040608_6,1 ===> Applying distribution patches for nvi-m17n-1.79.20040608_6,1 ===> Applying FreeBSD patches for nvi-m17n-1.79.20040608_6,1 from /usr/ports/editors/nvi-m17n/files /bin/ln -s /usr/include/sys/queue.h /wrkdirs/usr/ports/editors/nvi-m17n/work/nvi-1.79/build/../include/sys/queue_dist.h =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nvi-m17n-1.79.20040608_6,1 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. ===> nvi-m17n-1.79.20040608_6,1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of nvi-m17n-1.79.20040608_6,1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for nvi-m17n-1.79.20040608_6,1 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking host system type... amd64-portbld-freebsd15.0 checking if --enable-debug option specified... no checking if --enable-multibyte option specified... yes checking whether the compiler (cc -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing ) actually works... yes checking for sh... /bin/sh checking for sendmail... /usr/sbin/sendmail checking for perl5... /usr/local/bin/perl checking for preserve directory... /var/tmp/vi.recover checking for chmod... /bin/chmod checking for cp... /bin/cp checking for ln... /bin/ln checking for mkdir... /bin/mkdir checking for rm... /bin/rm checking for strip... /usr/bin/strip checking how to run the C preprocessor... cpp checking for X... no checking if --enable-canna option specified... no checking if --enable-perlinterp option specified... no checking if --enable-tknvi option specified... no checking if --enable-tclinterp option specified... no checking for tgetent in -ltermlib... yes checking for sys/mman.h... yes checking for sys/select.h... yes checking for ANSI C header files... (cached) yes checking for ssize_t... (cached) yes checking whether byte ordering is bigendian... no checking for working const... yes checking for st_blksize in struct stat... yes checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking for bsearch... (cached) yes checking for gethostname... (cached) yes checking for getopt... (cached) yes checking for memchr... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for memset... (cached) yes checking for bsearch... (cached) yes checking for gethostname... (cached) yes checking for getopt... (cached) yes checking for memchr... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for memset... (cached) yes checking for mkstemp... (cached) yes checking for mmap... (cached) yes checking for snprintf... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strpbrk... (cached) yes checking for strtol... (cached) yes checking for mkstemp... (cached) yes checking for mmap... (cached) yes checking for snprintf... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strpbrk... (cached) yes checking for strtol... (cached) yes checking for strtoul... (cached) yes checking for vsnprintf... (cached) yes checking for strtoul... (cached) yes checking for vsnprintf... (cached) yes checking for select... (cached) yes checking for setenv... (cached) yes checking for strsep... (cached) yes checking for unsetenv... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for vfork.h... (cached) no checking for working vfork... yes checking for fcntl/flock... flock checking for ftruncate/chsize... ftruncate checking for tigetstr/tigetnum... yes checking for setupterm... yes checking for broken gettimeofday system call... okay checking for System V pty calls... yes checking for revoke system call... yes checking for int type sprintf return value... yes checking if --disable-db option specified... bundled DB checking if --disable-re option specified... bundled RE checking for u_char... yes checking for u_short... yes checking for u_int... yes checking for u_long... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for int16_t... yes checking for u_int32_t... yes checking for int32_t... yes updating cache ./config.cache creating ./config.status creating Makefile creating port.h creating pathnames.h creating recover creating regular creating qregular creating config.h =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for nvi-m17n-1.79.20040608_6,1 --- cl_bsd.o --- --- cl_funcs.o --- --- cl_main.o --- --- cl_read.o --- --- cl_screen.o --- --- cl_term.o --- --- cut.o --- --- delete.o --- --- ex.o --- --- ex_abbrev.o --- --- ex_append.o --- --- ex_args.o --- --- ex_argv.o --- --- ex_at.o --- --- ex_bang.o --- --- ex_cd.o --- --- cl_bsd.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../cl/cl_bsd.c --- cl_funcs.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../cl/cl_funcs.c --- cl_main.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../cl/cl_main.c --- cl_read.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../cl/cl_read.c --- cl_screen.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../cl/cl_screen.c --- cl_term.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../cl/cl_term.c --- cut.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/cut.c --- delete.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/delete.c --- ex.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex.c --- ex_abbrev.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_abbrev.c --- ex_append.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_append.c --- ex_args.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_args.c --- ex_argv.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_argv.c --- ex_at.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_at.c --- ex_bang.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_bang.c --- ex_cd.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_cd.c --- cl_bsd.o --- ./../cl/cl_bsd.c:92:14: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | (void)tputs(vb, 1, cl_putchar); | ^ ./../cl/cl_bsd.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 | keypad(a, on) | ^ ./../cl/cl_bsd.c:133:19: warning: passing arguments to 'tigetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | if ((p = tigetstr(on ? "smkx" : "rmkx")) != (char *)-1) { | ^ ./../cl/cl_bsd.c:134:14: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | (void)tputs(p, 0, cl_putchar); | ^ ./../cl/cl_bsd.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 | newterm(a, b, c) | ^ 5 warnings generated. --- ex_cmd.o --- --- cl_read.o --- In file included from ./../cl/cl_read.c:34: In file included from ./../cl/../common/common.h:82: In file included from ./../cl/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../cl/cl_read.c:34: In file included from ./../cl/../common/common.h:82: In file included from ./../cl/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ ./../cl/cl_read.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 | cl_multi_conv(sp, clp, buf, blen) | ^ ./../cl/cl_read.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 | cl_event(sp, evp, flags, ms) | ^ ./../cl/cl_read.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 | cl_read(sp, flags, bp, blen, nrp, tp) | ^ ./../cl/cl_read.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | cl_resize(sp, lines, columns) | ^ ./../cl/cl_read.c:421:7: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 421 | a.bp = b1; | ^ ~~ 7 warnings generated. --- ex_cscope.o --- --- cut.o --- In file included from ./../common/cut.c:28: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../common/cut.c:28: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ ./../common/cut.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 | cut(sp, namep, fm, tm, flags) | ^ ./../common/cut.c:151:38: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 151 | if (db_get(sp, fm->lno, DBG_FATAL, &p, NULL)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../common/cut.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 | cb_rotate(sp) | ^ ./../common/cut.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | cut_line(sp, lno, fcno, clen, cbp) | ^ ./../common/cut.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | cut_close(gp) | ^ ./../common/cut.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 | text_init(sp, p, len, total_len) | ^ ./../common/cut.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | text_lfree(headp) | ^ ./../common/cut.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | text_free(tp) | ^ 10 warnings generated. --- ex_cmd.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_cmd.c --- ex_delete.o --- --- cl_screen.o --- ./../cl/cl_screen.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 | cl_screen(sp, flags) | ^ ./../cl/cl_screen.c:94:10: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | (void)move(RLNO(sp, sp->rows), 0); | ^ ./../curses/curses.h:199:27: note: expanded from macro 'move' 199 | #define move(y, x) wmove(stdscr, y, x) | ^ ./../cl/cl_screen.c:95:4: warning: passing arguments to 'wclrtobot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | clrtobot(); | ^ ./../curses/curses.h:189:31: note: expanded from macro 'clrtobot' --- ex_cscope.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_cscope.c --- ex_delete.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_delete.c --- cl_screen.o --- 189 | #define clrtobot() wclrtobot(stdscr) | ^ ./../cl/cl_screen.c:97:9: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | (void)move(RLNO(sp, sp->rows) - 1, 0); | ^ ./../curses/curses.h:199:27: note: expanded from macro 'move' 199 | #define move(y, x) wmove(stdscr, y, x) | ^ ./../cl/cl_screen.c:98:3: warning: passing arguments to 'wrefresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | refresh(); | ^ ./../curses/curses.h:200:29: note: expanded from macro 'refresh' 200 | #define refresh() wrefresh(stdscr) | ^ ./../cl/cl_screen.c:112:15: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | tputs(tgoto(clp->cup, | ^ ./../cl/cl_screen.c:112:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | tputs(tgoto(clp->cup, | ^ ./../cl/cl_screen.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 | cl_quit(gp) | ^ ./../cl/cl_screen.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | cl_vi_init(sp) | ^ ./../cl/cl_screen.c:282:7: warning: passing arguments to 'idlok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | idlok(stdscr, 1); /* Use hardware insert/delete line. */ | ^ ./../cl/cl_screen.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | cl_vi_end(gp) | ^ ./../cl/cl_screen.c:401:9: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | (void)move(0, 0); | ^ ./../curses/curses.h:199:27: note: expanded from macro 'move' 199 | #define move(y, x) wmove(stdscr, y, x) | ^ ./../cl/cl_screen.c:402:9: warning: passing arguments to 'wdeleteln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | (void)deleteln(); | ^ ./../curses/curses.h:192:31: note: expanded from macro 'deleteln' 192 | #define deleteln() wdeleteln(stdscr) | ^ ./../cl/cl_screen.c:403:9: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | (void)move(LINES - 1, 0); | ^ ./../curses/curses.h:199:27: note: expanded from macro 'move' 199 | #define move(y, x) wmove(stdscr, y, x) | ^ ./../cl/cl_screen.c:404:9: warning: passing arguments to 'wrefresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | (void)refresh(); | ^ ./../curses/curses.h:200:29: note: expanded from macro 'refresh' 200 | #define refresh() wrefresh(stdscr) | ^ ./../cl/cl_screen.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] 427 | cl_ex_init(sp) | ^ ./../cl/cl_screen.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | cl_ex_end(gp) | ^ ./../cl/cl_screen.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | cl_getcap(sp, name, elementp) | ^ ./../cl/cl_screen.c:526:19: warning: passing arguments to 'tigetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | if ((t = tigetstr(name)) != NULL && | ^ ./../cl/cl_screen.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | cl_freecap(clp) | ^ ./../cl/cl_screen.c:569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | cl_putenv(name, str, value) | ^ 21 warnings generated. --- ex_display.o --- --- cl_funcs.o --- ./../cl/cl_funcs.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 | cl_addstr(sp, str, len) | ^ ./../cl/cl_funcs.c:69:9: warning: passing arguments to 'wstandout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | (void)standout(); | ^ ./../curses/curses.h:202:31: note: expanded from macro 'standout' 202 | #define standout() wstandout(stdscr) | ^ ./../cl/cl_funcs.c:87:8: warning: passing arguments to 'waddnstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | if (addnstr(&str[i], j) == ERR) | ^ ./../curses/curses.h:186:33: note: expanded from macro 'addnstr' --- cl_main.o --- In file included from ./../cl/cl_main.c:30: In file included from ./../cl/../common/common.h:82: In file included from ./../cl/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../cl/cl_main.c:30: In file included from ./../cl/../common/common.h:82: In file included from ./../cl/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ --- cl_term.o --- ./../cl/cl_term.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 | cl_term_init(sp) | ^ ./../cl/cl_term.c:94:20: warning: passing arguments to 'tigetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | if ((t = tigetstr(tkp->ts)) == NULL || t == (char *)-1) | ^ ./../cl/cl_term.c:96:19: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 96 | if (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t), | ^~~~~~~~~ ./../include/com_extern.h:312:33: note: passing argument to parameter here 312 | int seq_set __P((SCR *, CHAR_T *, --- cl_funcs.o --- 186 | #define addnstr(s, n) waddnstr(stdscr, s, n) | ^ ./../cl/cl_funcs.c:95:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 95 | if (addnstr(p, strlen(p)) == ERR) | ^ ./../curses/curses.h:186:45: note: expanded from macro 'addnstr' 186 | #define addnstr(s, n) waddnstr(stdscr, s, n) | ^ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ --- cl_main.o --- ./../cl/cl_main.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | main(argc, argv) | ^ ./../cl/cl_main.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | gs_init(name) | ^ ./../cl/cl_main.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | cl_init(gp) | ^ ./../cl/cl_main.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | term_init(name, ttype) | ^ ./../cl/cl_main.c:279:2: warning: call to undeclared function 'setupterm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- cl_term.o --- | ^ ./../cl/cl_term.c:96:49: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 96 | if (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t), | ^ ./../include/com_extern.h:313:20: note: passing argument to parameter here 313 | size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); | ^ ./../cl/cl_term.c:97:7: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 97 | tkp->output, strlen(tkp->output), SEQ_COMMAND, | ^~~~~~~~~~~ --- cl_funcs.o --- ./../cl/cl_funcs.c:95:8: warning: passing arguments to 'waddnstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | if (addnstr(p, strlen(p)) == ERR) | ^ ./../curses/curses.h:186:33: note: expanded from macro 'addnstr' 186 | #define addnstr(s, n) waddnstr(stdscr, s, n) | ^ ./../cl/cl_funcs.c:104:9: warning: passing arguments to 'wstandend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | (void)standend(); | ^ ./../curses/curses.h:201:31: note: expanded from macro 'standend' 201 | #define standend() wstandend(stdscr) | ^ --- cl_main.o --- 279 | setupterm(ttype, STDOUT_FILENO, &err); | ^ ./../cl/cl_main.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | h_hup(signo) | ^ ./../cl/cl_main.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 | h_int(signo) | ^ ./../cl/cl_main.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 | h_term(signo) | ^ ./../cl/cl_main.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | h_winch(signo) | ^ --- cl_term.o --- ./../include/com_extern.h:313:38: note: passing argument to parameter here 313 | size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); | ^ ./../cl/cl_term.c:104:20: warning: passing arguments to 'tigetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | if ((t = tigetstr(tkp->ts)) == NULL || t == (char *)-1) | ^ ./../cl/cl_term.c:111:19: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 111 | if (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t), | ^~~~~~~~~ ./../include/com_extern.h:312:33: note: passing argument to parameter here 312 | int seq_set __P((SCR *, CHAR_T *, --- cl_funcs.o --- ./../cl/cl_funcs.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | cl_attr(sp, attribute, on) | ^ ./../cl/cl_funcs.c:161:16: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | (void)tputs(clp->smcup, 1, cl_putchar); | ^ ./../cl/cl_funcs.c:169:16: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | (void)tputs(clp->rmcup, 1, cl_putchar); | ^ ./../cl/cl_funcs.c:179:16: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- cl_main.o --- ./../cl/cl_main.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | sig_init(gp, sp) | ^ ./../cl/cl_main.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | setsig(signo, oactp, handler) | ^ ./../cl/cl_main.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | sig_end(gp) | ^ ./../cl/cl_main.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | cl_func_std(gp) | ^ --- cl_term.o --- | ^ ./../cl/cl_term.c:111:49: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 111 | if (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t), | ^ ./../include/com_extern.h:313:20: note: passing argument to parameter here 313 | size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); | ^ ./../cl/cl_term.c:118:20: warning: passing arguments to 'tigetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | if ((t = tigetstr(tkp->ts)) == NULL || t == (char *)-1) | ^ --- cl_funcs.o --- 179 | (void)tputs(clp->smso, 1, cl_putchar); | ^ ./../cl/cl_funcs.c:181:16: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | (void)tputs(clp->rmso, 1, cl_putchar); | ^ ./../cl/cl_funcs.c:185:11: warning: passing arguments to 'wstandout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | (void)standout(); | ^ ./../curses/curses.h:202:31: note: expanded from macro 'standout' 202 | #define standout() wstandout(stdscr) | ^ --- cl_main.o --- ./../cl/cl_main.c:440:17: warning: incompatible function pointer types assigning to 'int (*)(SCR *, const char *, size_t)' (aka 'int (*)(struct _scr *, const char *, unsigned long)') from 'int (SCR *, const CHAR_T *, size_t)' (aka 'int (struct _scr *, const unsigned char *, unsigned long)') [-Wincompatible-function-pointer-types] 440 | gp->scr_addstr = cl_addstr; | ^ ~~~~~~~~~ ./../cl/cl_main.c:468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | perr(name, msg) | ^ 17 warnings generated. --- cl_term.o --- ./../cl/cl_term.c:130:20: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 130 | if (seq_set(sp, tkp->name, strlen(tkp->name), | ^~~~~~~~~ ./../include/com_extern.h:312:33: note: passing argument to parameter here 312 | int seq_set __P((SCR *, CHAR_T *, | ^ ./../cl/cl_term.c:131:8: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 131 | t, strlen(t), NULL, 0, | ^ ./../include/com_extern.h:313:20: note: passing argument to parameter here 313 | size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); --- cl_funcs.o --- ./../cl/cl_funcs.c:187:11: warning: passing arguments to 'wstandend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | (void)standend(); | ^ ./../curses/curses.h:201:31: note: expanded from macro 'standend' 201 | #define standend() wstandend(stdscr) | ^ ./../cl/cl_funcs.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | cl_baud(sp, ratep) | ^ ./../cl/cl_funcs.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | cl_bell(sp) | ^ --- cl_term.o --- | ^ ./../cl/cl_term.c:135:20: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 135 | if (seq_set(sp, tkp->name, strlen(tkp->name), | ^~~~~~~~~ ./../include/com_extern.h:312:33: note: passing argument to parameter here 312 | int seq_set __P((SCR *, CHAR_T *, | ^ ./../cl/cl_term.c:136:8: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 136 | t, strlen(t), tkp->output, strlen(tkp->output), | ^ ./../include/com_extern.h:313:20: note: passing argument to parameter here --- cl_funcs.o --- ./../cl/cl_funcs.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 | cl_clrtoeol(sp) | ^ ./../cl/cl_funcs.c:274:10: warning: passing arguments to 'wclrtoeol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | return (clrtoeol() == ERR); | ^ ./../curses/curses.h:190:31: note: expanded from macro 'clrtoeol' 190 | #define clrtoeol() wclrtoeol(stdscr) | ^ ./../cl/cl_funcs.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | cl_cursor(sp, yp, xp) | ^ ./../cl/cl_funcs.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- cl_term.o --- 313 | size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); | ^ ./../cl/cl_term.c:136:22: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 136 | t, strlen(t), tkp->output, strlen(tkp->output), | ^~~~~~~~~~~ ./../include/com_extern.h:313:38: note: passing argument to parameter here 313 | size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); | ^ ./../cl/cl_term.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 | cl_term_end(gp) | ^ --- cl_funcs.o --- 307 | cl_deleteln(sp) | ^ ./../cl/cl_funcs.c:359:9: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | (void)move(oldy, oldx); | ^ ./../curses/curses.h:199:27: note: expanded from macro 'move' 199 | #define move(y, x) wmove(stdscr, y, x) | ^ ./../cl/cl_funcs.c:366:10: warning: passing arguments to 'wdeleteln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | return (deleteln() == ERR); | ^ ./../curses/curses.h:192:31: note: expanded from macro 'deleteln' 192 | #define deleteln() wdeleteln(stdscr) | ^ --- cl_term.o --- ./../cl/cl_term.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | cl_fmap(sp, stype, from, flen, to, tlen) | ^ ./../cl/cl_term.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | cl_pfmap(sp, stype, from, flen, to, tlen) | ^ ./../cl/cl_term.c:209:56: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | (void)snprintf(keyname, sizeof(keyname), "kf%d", atoi(from + 1)); | ^~~~~~~~ /usr/include/stdlib.h:88:23: note: passing argument to parameter here 88 | int atoi(const char *); | ^ --- cl_funcs.o --- ./../cl/cl_funcs.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | cl_ex_adjust(sp, action) | ^ ./../cl/cl_funcs.c:389:15: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | (void)tputs(clp->cuu1, 1, cl_putchar); | ^ ./../cl/cl_funcs.c:391:21: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | (void)tputs(tgoto(clp->cup, | ^ ./../cl/cl_funcs.c:391:15: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- cl_term.o --- ./../cl/cl_term.c:210:19: warning: passing arguments to 'tigetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | if ((p = tigetstr(keyname)) == NULL || | ^ ./../cl/cl_term.c:214:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 214 | msgq_str(sp, M_ERR, from, "233|This terminal has no %s key"); | ^~~~ ./../include/com_extern.h:138:42: note: passing argument to parameter here 138 | void msgq_str __P((SCR *, mtype_t, char *, char *)); | ^ --- cl_funcs.o --- 391 | (void)tputs(tgoto(clp->cup, | ^ ./../cl/cl_funcs.c:400:15: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | (void)tputs(clp->el, 1, cl_putchar); | ^ ./../cl/cl_funcs.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | cl_insertln(sp) | ^ ./../cl/cl_funcs.c:441:10: warning: passing arguments to 'winsertln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | return (insertln() == ERR); | ^ ./../curses/curses.h:198:31: note: expanded from macro 'insertln' 198 | #define insertln() winsertln(stdscr) --- cl_term.o --- ./../cl/cl_term.c:219:47: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 219 | sizeof(keyname), "function key %d", atoi(from + 1)); | ^~~~~~~~ /usr/include/stdlib.h:88:23: note: passing argument to parameter here 88 | int atoi(const char *); | ^ ./../cl/cl_term.c:220:22: warning: passing 'char[64]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 220 | return (seq_set(sp, keyname, nlen, | ^~~~~~~ ./../include/com_extern.h:312:33: note: passing argument to parameter here 312 | int seq_set __P((SCR *, CHAR_T *, | ^ --- cl_funcs.o --- | ^ ./../cl/cl_funcs.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | cl_keyval(sp, val, chp, dnep) | ^ ./../cl/cl_funcs.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | cl_move(sp, lno, cno) | ^ ./../cl/cl_funcs.c:498:6: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | if (move(RLNO(sp, lno), cno) == ERR) { | ^ ./../curses/curses.h:199:27: note: expanded from macro 'move' 199 | #define move(y, x) wmove(stdscr, y, x) | ^ --- cl_term.o --- ./../cl/cl_term.c:221:6: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 221 | p, strlen(p), to, tlen, stype, SEQ_NOOVERWRITE | SEQ_SCREEN)); | ^ ./../include/com_extern.h:313:20: note: passing argument to parameter here 313 | size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); | ^ ./../cl/cl_term.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | cl_optchange(sp, opt, str, valp) | ^ ./../cl/cl_term.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | cl_omesg(sp, clp, on) | ^ --- cl_funcs.o --- ./../cl/cl_funcs.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | cl_refresh(sp, repaint) | ^ ./../cl/cl_funcs.c:538:10: warning: passing arguments to 'wrefresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | return (refresh() == ERR); | ^ ./../curses/curses.h:200:29: note: expanded from macro 'refresh' 200 | #define refresh() wrefresh(stdscr) | ^ ./../cl/cl_funcs.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | cl_rename(sp, name, on) | ^ --- cl_term.o --- ./../cl/cl_term.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 | cl_ssize(sp, sigwinch, rowp, colp, changedp) | ^ ./../cl/cl_term.c:412:16: warning: call to undeclared function 'tigetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 412 | if ((rval = tigetnum("lines")) < 0) | ^ ./../cl/cl_term.c:414:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 414 | else | ^ ./../cl/cl_term.c:419:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 419 | else | ^ ./../cl/cl_term.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- cl_funcs.o --- ./../cl/cl_funcs.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | cl_suspend(sp, allowedp) | ^ ./../cl/cl_funcs.c:641:8: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | (void)move(LINES - 1, 0); | ^ ./../curses/curses.h:199:27: note: expanded from macro 'move' 199 | #define move(y, x) wmove(stdscr, y, x) | ^ ./../cl/cl_funcs.c:642:8: warning: passing arguments to 'wrefresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | (void)refresh(); | ^ ./../curses/curses.h:200:29: note: expanded from macro 'refresh' 200 | #define refresh() wrefresh(stdscr) --- cl_term.o --- 455 | cl_putchar(ch) | ^ 30 warnings generated. --- cl_funcs.o --- | ^ ./../cl/cl_funcs.c:706:8: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | (void)move(oldy, oldx); | ^ ./../curses/curses.h:199:27: note: expanded from macro 'move' 199 | #define move(y, x) wmove(stdscr, y, x) | ^ 38 warnings generated. --- ex_display.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_display.c --- ex_abbrev.o --- ./../ex/ex_abbrev.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | ex_abbr(sp, cmdp) | ^ ./../ex/ex_abbrev.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 | ex_unabbr(sp, cmdp) | ^ ./../ex/ex_abbrev.c:112:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 112 | msgq_str(sp, M_ERR, ap->bp, | ^~~~~~ ./../include/com_extern.h:138:42: note: passing argument to parameter here 138 | void msgq_str __P((SCR *, mtype_t, char *, char *)); | ^ 3 warnings generated. --- ex_edit.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_edit.c --- ex_equal.o --- --- ex_file.o --- --- ex_filter.o --- --- ex_append.o --- ./../ex/ex_append.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | ex_append(sp, cmdp) | ^ ./../ex/ex_append.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | ex_change(sp, cmdp) | ^ ./../ex/ex_append.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | ex_insert(sp, cmdp) | ^ ./../ex/ex_append.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | ex_aci(sp, cmdp, cmd) | ^ ./../ex/ex_append.c:172:33: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 172 | if (db_append(sp, 1, lno++, p, t - p)) | ^ ./../include/com_extern.h:116:47: note: passing argument to parameter here 116 | int db_append __P((SCR *, int, recno_t, char *, size_t)); | ^ ./../ex/ex_append.c:265:31: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 265 | if (db_append(sp, 1, lno++, tp->lb, tp->len)) | ^~~~~~ ./../include/com_extern.h:116:47: note: passing argument to parameter here 116 | int db_append __P((SCR *, int, recno_t, char *, size_t)); | ^ 6 warnings generated. --- delete.o --- ./../common/delete.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | del(sp, fm, tm, lmode) | ^ ./../common/delete.c:71:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 71 | if (db_get(sp, lno, DBG_FATAL, &p, &len)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../common/delete.c:85:39: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 85 | if (db_get(sp, fm->lno, DBG_FATAL, &p, &len)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../common/delete.c:87:4: warning: assigning to 'CHAR_T *' (aka '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] 87 | GET_SPACE_RET(sp, bp, blen, fm->cno); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' 66 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../common/delete.c:89:28: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 89 | if (db_set(sp, fm->lno, bp, fm->cno)) | ^~ ./../include/com_extern.h:118:39: note: passing argument to parameter here 118 | int db_set __P((SCR *, recno_t, char *, size_t)); | ^ ./../common/delete.c:100:38: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 100 | if (db_get(sp, fm->lno, DBG_FATAL, &p, &len)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../common/delete.c:102:3: warning: assigning to 'CHAR_T *' (aka '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] 102 | GET_SPACE_RET(sp, bp, blen, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' 66 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../common/delete.c:115:7: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 115 | bp, len - ((tm->cno - fm->cno) + tmchlen))) | ^~ ./../include/com_extern.h:118:39: note: passing argument to parameter here 118 | int db_set __P((SCR *, recno_t, char *, size_t)); | ^ ./../common/delete.c:127:38: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 127 | if (db_get(sp, fm->lno, DBG_FATAL, &p, NULL)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../common/delete.c:129:3: warning: assigning to 'CHAR_T *' (aka '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] 129 | GET_SPACE_RET(sp, bp, blen, tlen + 256); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' 66 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../common/delete.c:134:37: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 134 | if (db_get(sp, tm->lno, DBG_FATAL, &p, &len)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../common/delete.c:162:4: warning: assigning to 'CHAR_T *' (aka '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] 162 | GET_SPACE_RET(sp, bp, blen, nlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' 66 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../common/delete.c:164:4: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 164 | ADD_SPACE_RET(sp, bp, blen, nlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:89:26: note: expanded from macro 'ADD_SPACE_RET' 89 | if (L__gp == NULL || bp == L__gp->tmp_bp) { \ | ~~ ^ ~~~~~~~~~~~~~ ./../common/delete.c:164:4: warning: assigning to 'CHAR_T *' (aka '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] 164 | ADD_SPACE_RET(sp, bp, blen, nlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:92:6: note: expanded from macro 'ADD_SPACE_RET' 92 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../common/delete.c:177:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 177 | if (db_set(sp, fm->lno, bp, tlen)) | ^~ ./../include/com_extern.h:118:39: note: passing argument to parameter here 118 | int db_set __P((SCR *, recno_t, char *, size_t)); | ^ ./../common/delete.c:193:3: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 193 | FREE_SPACE(sp, bp, blen); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' 102 | if (L__gp != NULL && bp == L__gp->tmp_bp) \ | ~~ ^ ~~~~~~~~~~~~~ 16 warnings generated. --- ex_file.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_file.c --- ex_equal.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_equal.c --- ex_global.o --- --- ex_init.o --- --- ex_at.o --- ./../ex/ex_at.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | ex_at(sp, cmdp) | ^ ./../ex/ex_at.c:67:15: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 67 | ex_emsg(sp, KEY_NAME(sp, name), EXM_EMPTYBUF); | ^~~~~~~~~~~~~~~~~~ ./../ex/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' 149 | ((unsigned char)(ch) <= MAX_FAST_KEY \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | ? sp->gp->cname[(unsigned char)ch].name \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | : v_key_name1(sp, (unsigned char)ch)) --- ex_filter.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_filter.c --- ex_global.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_global.c --- ex_init.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_init.c --- ex_at.o --- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:117:32: note: passing argument to parameter here 117 | void ex_emsg __P((SCR *, char *, exm_t)); | ^ ./../ex/ex_at.c:111:2: warning: assigning to 'CHAR_T *' (aka '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] 111 | MALLOC_RET(sp, ecp->cp, char *, len * 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:148:9: note: expanded from macro 'MALLOC_RET' 148 | if ((p = (cast)malloc(size)) == NULL) { \ | ^ ~~~~~~~~~~~~~~~~~~ ./../ex/ex_at.c:117:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 117 | for (p = ecp->cp + len, tp = cbp->textq.cqh_last; | ^ ~~~~~~~~~~~~~ 4 warnings generated. --- ex_join.o --- --- ex_bang.o --- ./../ex/ex_bang.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 | ex_bang(sp, cmdp) | ^ ./../ex/ex_bang.c:72:31: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 72 | if ((exp->lastbcomm = strdup(ap->bp)) == NULL) { | ^~~~~~ /usr/include/string.h:95:26: note: passing argument to parameter here 95 | char *strdup(const char *) __malloc_like; | ^ ./../ex/ex_bang.c:72:22: warning: assigning to 'CHAR_T *' (aka '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] 72 | if ((exp->lastbcomm = strdup(ap->bp)) == NULL) { | ^ ~~~~~~~~~~~~~~ ./../ex/ex_bang.c:89:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 89 | vs_update(sp, "!", ap->bp); | ^~~~~~ ./../include/vi_extern.h:126:54: note: passing argument to parameter here 126 | void vs_update __P((SCR *, const char *, const char *)); | ^ ./../ex/ex_bang.c:108:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 108 | } else if (O_ISSET(sp, O_WARN) && | ^ ./../ex/ex_bang.c:116:13: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 116 | cmdp, ap->bp, msg, !F_ISSET(sp, SC_EX | SC_SCR_EXWROTE)); | ^~~~~~ ./../include/ex_extern.h:79:45: note: passing argument to parameter here 79 | int ex_exec_proc __P((SCR *, EXCMD *, char *, const char *, int)); | ^ ./../ex/ex_bang.c:155:40: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 155 | &cmdp->addr1, &cmdp->addr2, &rm, ap->bp, ftype); | ^~~~~~ ./../include/ex_extern.h:36:43: note: passing argument to parameter here 36 | EXCMD *, MARK *, MARK *, MARK *, char *, enum filtertype)); | ^ 7 warnings generated. --- ex_join.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_join.c --- ex_map.o --- --- ex_cd.o --- ./../ex/ex_cd.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | ex_cd(sp, cmdp) | ^ ./../ex/ex_cd.c:74:7: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 74 | dir = cmdp->argv[0]->bp; | ^ ~~~~~~~~~~~~~~~~~ 2 warnings generated. --- ex_mark.o --- --- ex_map.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_map.c --- ex_mark.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_mark.c --- ex_args.o --- ./../ex/ex_args.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 | ex_next(sp, cmdp) | ^ ./../ex/ex_args.c:92:13: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 92 | if ((*ap = | ^ 93 | v_strdup(sp, argv[0]->bp, argv[0]->len)) == NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_args.c:99:27: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka '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 | if ((frp = file_add(sp, *sp->cargv)) == NULL) | ^~~~~~~~~~ ./../include/com_extern.h:91:36: note: passing argument to parameter here 91 | FREF *file_add __P((SCR *, CHAR_T *)); | ^ ./../ex/ex_args.c:106:27: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 106 | if ((frp = file_add(sp, sp->cargv[1])) == NULL) | ^~~~~~~~~~~~ ./../include/com_extern.h:91:36: note: passing argument to parameter here 91 | FREF *file_add __P((SCR *, CHAR_T *)); | ^ ./../ex/ex_args.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | ex_N_next(sp, cmdp) | ^ ./../ex/ex_args.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 | ex_prev(sp, cmdp) | ^ ./../ex/ex_args.c:193:26: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 193 | if ((frp = file_add(sp, sp->cargv[-1])) == NULL) | ^~~~~~~~~~~~~ ./../include/com_extern.h:91:36: note: passing argument to parameter here 91 | FREF *file_add __P((SCR *, CHAR_T *)); | ^ ./../ex/ex_args.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | ex_rew(sp, cmdp) | ^ ./../ex/ex_args.c:240:26: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 240 | if ((frp = file_add(sp, *sp->cargv)) == NULL) | ^~~~~~~~~~ ./../include/com_extern.h:91:36: note: passing argument to parameter here 91 | FREF *file_add __P((SCR *, CHAR_T *)); | ^ ./../ex/ex_args.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | ex_args(sp, cmdp) | ^ ./../ex/ex_args.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | ex_buildargv(sp, cmdp, name) | ^ ./../ex/ex_args.c:317:27: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 317 | if ((*ap = v_strdup(sp, name, strlen(name))) == NULL) | ^~~~ ./../include/com_extern.h:325:44: note: passing argument to parameter here 325 | CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t)); | ^ ./../ex/ex_args.c:317:12: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 317 | if ((*ap = v_strdup(sp, name, strlen(name))) == NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_args.c:322:13: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 322 | if ((*ap = | ^ 323 | v_strdup(sp, argv[0]->bp, argv[0]->len)) == NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. --- ex_mkexrc.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_mkexrc.c --- ex_file.o --- ./../ex/ex_file.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | ex_file(sp, cmdp) | ^ ./../ex/ex_file.c:61:13: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 61 | frp->name = p; | ^ ~ 2 warnings generated. --- ex_equal.o --- ./../ex/ex_equal.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | ex_equal(sp, cmdp) | ^ 1 warning generated. --- ex_delete.o --- ./../ex/ex_delete.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | ex_delete(sp, cmdp) | ^ 1 warning generated. --- ex_argv.o --- ./../ex/ex_argv.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 | argv_init(sp, excp) | ^ ./../ex/ex_argv.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 | argv_exp0(sp, excp, cmd, cmdlen) | ^ ./../ex/ex_argv.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 | argv_exp1(sp, excp, cmd, cmdlen, is_bang) | ^ ./../ex/ex_argv.c:121:10: warning: assigning to 'CHAR_T *' (aka '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] 121 | for (p = bp, t = bp + len; p < t; ++p) | ^ ~~ --- ex_move.o --- --- ex_open.o --- --- ex_perl.o --- --- ex_preserve.o --- --- ex_edit.o --- ./../ex/ex_edit.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 | ex_edit(sp, cmdp) | ^ ./../ex/ex_edit.c:79:20: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 79 | set_alt_name(sp, cmdp->argv[0]->bp); | ^~~~~~~~~~~~~~~~~ ./../include/com_extern.h:99:37: note: passing argument to parameter here 99 | void set_alt_name __P((SCR *, char *)); | ^ ./../ex/ex_edit.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 | ex_N_edit(sp, cmdp, frp, attach) | ^ 3 warnings generated. --- ex_display.o --- ./../ex/ex_display.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | ex_display(sp, cmdp) | ^ ./../ex/ex_display.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | bdisplay(sp) | ^ ./../ex/ex_display.c:113:15: warning: passing 'char[15]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 113 | db(sp, cbp, "default buffer"); | ^~~~~~~~~~~~~~~~ ./../ex/ex_display.c:29:42: note: passing argument to parameter here 29 | static void db __P((SCR *, CB *, CHAR_T *)); | ^ ./../ex/ex_display.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | db(sp, cbp, name) | ^ ./../ex/ex_display.c:139:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 139 | (void)ex_puts(sp, KEY_NAME(sp, *p)); | ^~~~~~~~~~~~~~~~ ./../ex/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' 149 | ((unsigned char)(ch) <= MAX_FAST_KEY \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | ? sp->gp->cname[(unsigned char)ch].name \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | : v_key_name1(sp, (unsigned char)ch)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here 63 | int ex_puts __P((SCR *, const char *)); | ^ 5 warnings generated. --- ex_perl.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_perl.c --- ex_argv.o --- ./../ex/ex_argv.c:121:32: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 121 | for (p = bp, t = bp + len; p < t; ++p) | ~ ^ ~ ./../ex/ex_argv.c:124:9: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 124 | if (p == t) | ~ ^ ~ ./../ex/ex_argv.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | argv_exp2(sp, excp, cmd, cmdlen) | ^ ./../ex/ex_argv.c:163:4: warning: assigning to 'CHAR_T *' (aka '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] 163 | p = bp + SHELLOFFSET; | ^ ~~~~~~~~~~~~~~~~ --- ex_move.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_move.c --- ex_open.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_open.c --- ex_print.o --- --- ex_put.o --- --- ex_argv.o --- ./../ex/ex_argv.c:170:39: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 170 | if (argv_fexp(sp, excp, cmd, cmdlen, p, &len, &bp, &blen, 0)) { | ^ ./../ex/ex_argv.c:34:24: note: passing argument to parameter here 34 | char *, size_t, char *, size_t *, char **, size_t *, int)); | ^ ./../ex/ex_argv.c:196:10: warning: assigning to 'CHAR_T *' (aka '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] 196 | for (p = mp = O_STR(sp, O_SHELLMETA); *p != '\0'; ++p) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ex_preserve.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_preserve.c --- ex_mark.o --- ./../ex/ex_mark.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | ex_mark(sp, cmdp) | ^ 1 warning generated. --- ex_print.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_print.c --- ex_argv.o --- ./../ex/ex_argv.c:199:5: warning: assigning to 'CHAR_T *' (aka '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] 199 | p = bp + SHELLOFFSET; | ^ ~~~~~~~~~~~~~~~~ ./../ex/ex_argv.c:227:5: warning: assigning to 'CHAR_T *' (aka '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] 227 | p = bp + SHELLOFFSET; | ^ ~~~~~~~~~~~~~~~~ ./../ex/ex_argv.c:229:30: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 229 | rval = argv_exp3(sp, excp, p, len); | ^ ./../include/ex_extern.h:22:42: note: passing argument to parameter here 22 | int argv_exp3 __P((SCR *, EXCMD *, char *, size_t)); | ^ ./../ex/ex_argv.c:243:5: warning: assigning to 'CHAR_T *' (aka '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] 243 | p = bp; | ^ ~~ ./../ex/ex_argv.c:244:30: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 244 | rval = argv_exp3(sp, excp, p, len); | ^ ./../include/ex_extern.h:22:42: note: passing argument to parameter here 22 | int argv_exp3 __P((SCR *, EXCMD *, char *, size_t)); | ^ ./../ex/ex_argv.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | argv_exp3(sp, excp, cmd, cmdlen) | ^ ./../ex/ex_argv.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | argv_fexp(sp, excp, cmd, cmdlen, p, lenp, bpp, blenp, is_bang) | ^ ./../ex/ex_argv.c:357:25: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 357 | len += tlen = strlen(exp->lastbcomm); | ^~~~~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ ./../ex/ex_argv.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | argv_alloc(sp, len) | ^ ./../ex/ex_argv.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | argv_free(sp) | ^ ./../ex/ex_argv.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | argv_lexp(sp, excp, path) | ^ ./../ex/ex_argv.c:584:5: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 584 | p = exp->args[exp->argsoff]->bp; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_argv.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | argv_comp(a, b) | ^ ./../ex/ex_argv.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | argv_sexp(sp, bpp, blenp, lenp) | ^ ./../ex/ex_argv.c:729:9: warning: assigning to 'CHAR_T *' (aka '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] 729 | for (p = bp, len = 0, ch = EOF; | ^ ~~ ./../ex/ex_argv.c:733:6: warning: assigning to 'CHAR_T *' (aka '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] 733 | p = bp + len; | ^ ~~~~~~~~ ./../ex/ex_argv.c:738:8: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 738 | if (p > bp && (p[-1] == '\n' || p[-1] == '\r')) { | ~ ^ ~~ ./../ex/ex_argv.c:766:9: warning: assigning to 'CHAR_T *' (aka '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] 766 | for (p = bp; len; ++p, --len) | ^ ~~ 28 warnings generated. --- ex_put.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_put.c --- ex_quit.o --- --- ex_join.o --- ./../ex/ex_join.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | ex_join(sp, cmdp) | ^ ./../ex/ex_join.c:85:27: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 85 | if (db_get(sp, from, 0, &p, &len)) { | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../ex/ex_join.c:194:30: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 194 | sp->cno -= multi_back(sp, bp, &bp[sp->cno]); | ^~ ./../include/com_extern.h:192:42: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../ex/ex_join.c:194:34: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 194 | sp->cno -= multi_back(sp, bp, &bp[sp->cno]); | ^~~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../ex/ex_join.c:196:31: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 196 | sp->cno -= multi_back(sp, bp, &bp[sp->cno]); | ^~ ./../include/com_extern.h:192:42: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../ex/ex_join.c:196:35: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 196 | sp->cno -= multi_back(sp, bp, &bp[sp->cno]); | ^~~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../ex/ex_join.c:204:30: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 204 | sp->cno -= multi_back(sp, bp, &bp[sp->cno]); | ^~ ./../include/com_extern.h:192:42: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../ex/ex_join.c:204:34: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 204 | sp->cno -= multi_back(sp, bp, &bp[sp->cno]); | ^~~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../ex/ex_join.c:206:31: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | sp->cno -= multi_back(sp, bp, &bp[sp->cno]); | ^~ ./../include/com_extern.h:192:42: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../ex/ex_join.c:206:35: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | sp->cno -= multi_back(sp, bp, &bp[sp->cno]); | ^~~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ 10 warnings generated. --- ex_quit.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_quit.c --- ex_read.o --- --- ex_filter.o --- In file included from ./../ex/ex_filter.c:28: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../ex/ex_filter.c:28: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ --- ex_screen.o --- --- ex_map.o --- ./../ex/ex_map.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 | ex_map(sp, cmdp) | ^ ./../ex/ex_map.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 | ex_unmap(sp, cmdp) | ^ ./../ex/ex_map.c:117:7: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 117 | cmdp->argv[0]->bp, "135|\"%s\" isn't currently mapped"); | ^~~~~~~~~~~~~~~~~ ./../include/com_extern.h:138:42: note: passing argument to parameter here 138 | void msgq_str __P((SCR *, mtype_t, char *, char *)); | ^ 3 warnings generated. --- ex_filter.o --- ./../ex/ex_filter.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | ex_filter(sp, cmdp, fm, tm, rp, cmd, ftype) | ^ ./../ex/ex_filter.c:185:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 185 | else | ^ ./../ex/ex_filter.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | filter_ldisplay(sp, fp) | ^ 5 warnings generated. --- ex_init.o --- In file included from ./../ex/ex_init.c:29: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../ex/ex_init.c:29: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ --- ex_read.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_read.c --- ex_script.o --- --- ex_set.o --- --- ex_mkexrc.o --- In file included from ./../ex/ex_mkexrc.c:29: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../ex/ex_mkexrc.c:29: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ ./../ex/ex_mkexrc.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | ex_mkexrc(sp, cmdp) | ^ ./../ex/ex_mkexrc.c:54:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 54 | fname = cmdp->argv[0]->bp; | ^ ~~~~~~~~~~~~~~~~~ 4 warnings generated. --- ex_init.o --- ./../ex/ex_init.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 | ex_screen_copy(orig, sp) | ^ ./../ex/ex_init.c:64:33: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 64 | (nexp->lastbcomm = strdup(oexp->lastbcomm)) == NULL) { | ^~~~~~~~~~~~~~~ /usr/include/string.h:95:26: note: passing argument to parameter here 95 | char *strdup(const char *) __malloc_like; | ^ ./../ex/ex_init.c:64:24: warning: assigning to 'CHAR_T *' (aka '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] 64 | (nexp->lastbcomm = strdup(oexp->lastbcomm)) == NULL) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_init.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | ex_screen_end(sp) | ^ ./../ex/ex_init.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | ex_optchange(sp, offset, str, valp) | ^ ./../ex/ex_init.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | ex_exrc(sp) | ^ ./../ex/ex_init.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | ex_run_file(sp, name) | ^ ./../ex/ex_init.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | ex_run_str(sp, name, str, len, ex_flags, nocopy) | ^ ./../ex/ex_init.c:293:11: warning: assigning to 'CHAR_T *' (aka '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] 293 | ecp->cp = str; | ^ ~~~ ./../ex/ex_init.c:295:31: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 295 | if ((ecp->cp = v_strdup(sp, str, len)) == NULL) | ^~~ ./../include/com_extern.h:325:44: note: passing argument to parameter here 325 | CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t)); | ^ ./../ex/ex_init.c:302:36: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 302 | if ((ecp->if_name = v_strdup(sp, name, strlen(name))) == NULL) | ^~~~ ./../include/com_extern.h:325:44: note: passing argument to parameter here 325 | CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t)); | ^ ./../ex/ex_init.c:302:21: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 302 | if ((ecp->if_name = v_strdup(sp, name, strlen(name))) == NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_init.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | exrc_isok(sp, sbp, path, rootown, rootid) | ^ 15 warnings generated. --- ex_cscope.o --- In file included from ./../ex/ex_cscope.c:35: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../ex/ex_cscope.c:35: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ ./../ex/ex_cscope.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 | ex_cscope(sp, cmdp) | ^ ./../ex/ex_cscope.c:127:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 127 | for (p = cmdp->argv[0]->bp, i = cmdp->argv[0]->len; i > 0; --i, ++p) | ^ ~~~~~~~~~~~~~~~~~ ./../ex/ex_cscope.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | start_cscopes(sp, cmdp) | ^ ./../ex/ex_cscope.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 | cscope_add(sp, cmdp, dname) | ^ ./../ex/ex_cscope.c:221:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 221 | dname = cmdp->argv[cur_argc]->bp; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_cscope.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | get_paths(sp, csc) | ^ ./../ex/ex_cscope.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 | run_cscope(sp, csc, dbname) | ^ ./../ex/ex_cscope.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | cscope_find(sp, cmdp, pattern) | ^ ./../ex/ex_cscope.c:499:39: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 499 | (void)fprintf(csc->to_fp, "%d%s\n", search, tqp->tag + 2); | ~~ ^~~~~~ | %zu ./../ex/ex_cscope.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | create_cs_cmd(sp, pattern, searchp) | ^ ./../ex/ex_cscope.c:628:5: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 628 | p = cbp->textq.cqh_first->lb; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_cscope.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | parse(sp, csc, tqp, matchesp) | ^ ./../ex/ex_cscope.c:775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | csc_file(sp, csc, name, dirp, dlenp, isolderp) | ^ ./../ex/ex_cscope.c:809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | cscope_help(sp, cmdp, subcmd) | ^ ./../ex/ex_cscope.c:822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | csc_help(sp, cmd) | ^ ./../ex/ex_cscope.c:833:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 833 | } else { | ^ ./../ex/ex_cscope.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | cscope_kill(sp, cmdp, cn) | ^ ./../ex/ex_cscope.c:864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | terminate(sp, csc, n) | ^ ./../ex/ex_cscope.c:920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | cscope_reset(sp, cmdp, notusedp) | ^ ./../ex/ex_cscope.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | cscope_display(sp) | ^ ./../ex/ex_cscope.c:966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | cscope_search(sp, tqp, tp) | ^ ./../ex/ex_cscope.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | lookup_ccmd(name) | ^ ./../ex/ex_cscope.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | read_prompt(sp, csc) | ^ 25 warnings generated. --- ex_screen.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_screen.c --- ex_script.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_script.c --- ex_shell.o --- --- ex_shift.o --- --- ex_source.o --- --- ex_set.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_set.c --- ex_shell.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_shell.c --- ex_shift.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_shift.c --- ex_source.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_source.c --- ex_perl.o --- ./../ex/ex_perl.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | ex_perl(sp, cmdp) | ^ 1 warning generated. --- ex_open.o --- ./../ex/ex_open.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | ex_open(sp, cmdp) | ^ 1 warning generated. --- ex_global.o --- ./../ex/ex_global.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | ex_global(sp, cmdp) | ^ ./../ex/ex_global.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 | ex_v(sp, cmdp) | ^ ./../ex/ex_global.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | ex_g_setup(sp, cmdp, cmd) | ^ ./../ex/ex_global.c:129:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 129 | else if (p[1] == '\\') | ^ ./../ex/ex_global.c:153:7: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 153 | sp->re, sp->re_len, NULL, NULL, &sp->re_c, RE_C_SEARCH)) | ^~~~~~ ./../include/ex_extern.h:89:11: note: passing argument to parameter here 89 | char *, size_t, char **, size_t *, regex_t *, u_int)); | ^ ./../ex/ex_global.c:157:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 157 | if (re_compile(sp, ptrn, t - ptrn, | ^~~~ ./../include/ex_extern.h:89:11: note: passing argument to parameter here 89 | char *, size_t, char **, size_t *, regex_t *, u_int)); | ^ ./../ex/ex_global.c:158:7: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 158 | &sp->re, &sp->re_len, &sp->re_c, RE_C_SEARCH)) | ^~~~~~~ ./../include/ex_extern.h:89:28: note: passing argument to parameter here 89 | char *, size_t, char **, size_t *, regex_t *, u_int)); | ^ ./../ex/ex_global.c:187:5: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 187 | p = "pp"; | ^ ~~~~ ./../ex/ex_global.c:191:2: warning: assigning to 'CHAR_T *' (aka '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] 191 | MALLOC_RET(sp, ecp->cp, char *, len * 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:148:9: note: expanded from macro 'MALLOC_RET' 148 | if ((p = (cast)malloc(size)) == NULL) { \ | ^ ~~~~~~~~~~~~~~~~~~ ./../ex/ex_global.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | ex_g_insdel(sp, op, lno) | ^ 10 warnings generated. --- ex_stop.o --- --- ex_subst.o --- --- ex_tag.o --- --- ex_preserve.o --- ./../ex/ex_preserve.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | ex_preserve(sp, cmdp) | ^ ./../ex/ex_preserve.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | ex_recover(sp, cmdp) | ^ ./../ex/ex_preserve.c:80:19: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 80 | set_alt_name(sp, ap->bp); | ^~~~~~ ./../include/com_extern.h:99:37: note: passing argument to parameter here 99 | void set_alt_name __P((SCR *, char *)); | ^ 3 warnings generated. --- ex_move.o --- ./../ex/ex_move.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | ex_copy(sp, cmdp) | ^ ./../ex/ex_move.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] 89 | ex_move(sp, cmdp) | ^ 2 warnings generated. --- ex_subst.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_subst.c --- ex_stop.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_stop.c --- ex_tcl.o --- --- ex_txt.o --- --- ex_set.o --- ./../ex/ex_set.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | ex_set(sp, cmdp) | ^ 1 warning generated. --- ex_tag.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_tag.c --- ex_tcl.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_tcl.c --- ex_txt.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_txt.c --- ex_undo.o --- --- ex_quit.o --- ./../ex/ex_quit.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | ex_quit(sp, cmdp) | ^ 1 warning generated. --- ex_usage.o --- --- ex_undo.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_undo.c --- ex_usage.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_usage.c --- ex_put.o --- ./../ex/ex_put.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | ex_put(sp, cmdp) | ^ 1 warning generated. --- ex_util.o --- --- ex.o --- In file included from ./../ex/ex.c:31: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../ex/ex.c:31: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ --- ex_util.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_util.c --- ex.o --- ./../ex/ex.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 | ex(spp) | ^ ./../ex/ex.c:125:17: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char[2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 125 | gp->excmd.cp = " "; /* __TK__ why not |? */ | ^ ~~~ ./../ex/ex.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 | ex_cmd(sp) | ^ ./../ex/ex.c:427:10: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *const' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 427 | t = cmds[C_DELETE].name; *s == *t; ++s, ++t); | ^ ~~~~~~~~~~~~~~~~~~~ ./../ex/ex.c:463:34: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 463 | if ((ecp->cmd = ex_comm_search(p, namelen)) == NULL) | ^ ./../ex/ex.c:38:29: note: passing argument to parameter here 38 | ex_comm_search __P((char *, size_t)); | ^ ./../ex/ex.c:490:20: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 490 | ex_unknown(sp, p, namelen); | ^ ./../ex/ex.c:42:42: note: passing argument to parameter here 42 | static void ex_unknown __P((SCR *, char *, size_t)); | ^ ./../ex/ex.c:537:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 537 | if (argv_exp0(sp, ecp, p, ecp->cp - p)) | ^ ./../include/ex_extern.h:19:42: note: passing argument to parameter here 19 | int argv_exp0 __P((SCR *, EXCMD *, char *, size_t)); | ^ ./../ex/ex.c:969:9: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *const' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 969 | for (p = ecp->cmd->syntax; *p != '\0'; ++p) { | ^ ~~~~~~~~~~~~~~~~ ./../ex/ex.c:1066:15: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1066 | strchr(p, '1') != NULL) | ^ /usr/include/string.h:85:26: note: passing argument to parameter here 85 | char *strchr(const char *, int) __pure; | ^ ./../ex/ex.c:1093:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1093 | nget_slong(<mp, ecp->cp, &t, 10)) != NUM_OK) { | ^~~~~~~ ./../include/com_extern.h:327:50: note: passing argument to parameter here 327 | enum nresult nget_slong __P((long *, const char *, char **, int)); | ^ ./../ex/ex.c:1093:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 1093 | nget_slong(<mp, ecp->cp, &t, 10)) != NUM_OK) { | ^~ ./../include/com_extern.h:327:59: note: passing argument to parameter here 327 | enum nresult nget_slong __P((long *, const char *, char **, int)); | ^ ./../ex/ex.c:1121:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1121 | if (argv_exp2(sp, ecp, ecp->cp, ecp->clen)) | ^~~~~~~ ./../include/ex_extern.h:21:42: note: passing argument to parameter here 21 | int argv_exp2 __P((SCR *, EXCMD *, char *, size_t)); | ^ ./../ex/ex.c:1140:25: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1140 | msgq_str(sp, M_ERR, ecp->cp, | ^~~~~~~ ./../include/com_extern.h:138:42: note: passing argument to parameter here 138 | void msgq_str __P((SCR *, mtype_t, char *, char *)); | ^ ./../ex/ex.c:1156:28: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1156 | if (argv_exp1(sp, ecp, ecp->cp, | ^~~~~~~ ./../include/ex_extern.h:20:42: note: passing argument to parameter here 20 | int argv_exp1 __P((SCR *, EXCMD *, char *, size_t, int)); | ^ ./../ex/ex.c:1163:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1163 | if (argv_exp0(sp, ecp, ecp->cp, ecp->clen)) | ^~~~~~~ ./../include/ex_extern.h:19:42: note: passing argument to parameter here 19 | int argv_exp0 __P((SCR *, EXCMD *, char *, size_t)); | ^ ./../ex/ex.c:1190:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1190 | if (argv_exp0(sp, ecp, t, p - t)) | ^ ./../include/ex_extern.h:19:42: note: passing argument to parameter here 19 | int argv_exp0 __P((SCR *, EXCMD *, char *, size_t)); | ^ ./../ex/ex.c:1214:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1214 | if (argv_exp0(sp, ecp, t, p - t)) | ^ ./../include/ex_extern.h:19:42: note: passing argument to parameter here 19 | int argv_exp0 __P((SCR *, EXCMD *, char *, size_t)); | ^ ./../ex/ex.c:1218:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1218 | if (argv_exp3(sp, ecp, ecp->cp, ecp->clen)) | ^~~~~~~ ./../include/ex_extern.h:22:42: note: passing argument to parameter here 22 | int argv_exp3 __P((SCR *, EXCMD *, char *, size_t)); | ^ ./../ex/ex.c:1250:32: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1250 | if (ecp->clen != 0 || strpbrk(p, "lr")) { | ^ /usr/include/string.h:127:27: note: passing argument to parameter here 127 | char *strpbrk(const char *, const char *) __pure; | ^ ./../ex/ex.c:1287:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1287 | } else { | ^ ./../ex/ex.c:1643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1643 | ex_range(sp, ecp, errp) | ^ ./../ex/ex.c:1845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1845 | ex_line(sp, ecp, mp, isaddrp, errp) | ^ ./../ex/ex.c:1892:32: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1892 | if ((nret = nget_slong(&val, ecp->cp, &endp, 10)) != NUM_OK) { | ^~~~~~~ ./../include/com_extern.h:327:50: note: passing argument to parameter here 327 | enum nresult nget_slong __P((long *, const char *, char **, int)); | ^ ./../ex/ex.c:1892:41: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 1892 | if ((nret = nget_slong(&val, ecp->cp, &endp, 10)) != NUM_OK) { | ^~~~~ ./../include/com_extern.h:327:59: note: passing argument to parameter here 327 | enum nresult nget_slong __P((long *, const char *, char **, int)); | ^ ./../ex/ex.c:1948:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1948 | if (sf(sp, mp, mp, ecp->cp, ecp->clen, &endp, | ^~~~~~~ ./../ex/ex.c:1948:42: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 1948 | if (sf(sp, mp, mp, ecp->cp, ecp->clen, &endp, | ^~~~~ ./../ex/ex.c:2057:9: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2057 | ecp->cp, &endp, 10)) != NUM_OK || | ^~~~~~~ ./../include/com_extern.h:327:50: note: passing argument to parameter here 327 | enum nresult nget_slong __P((long *, const char *, char **, int)); | ^ ./../ex/ex.c:2057:18: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 2057 | ecp->cp, &endp, 10)) != NUM_OK || | ^~~~~ ./../include/com_extern.h:327:59: note: passing argument to parameter here 327 | enum nresult nget_slong __P((long *, const char *, char **, int)); | ^ ./../ex/ex.c:2100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2100 | ex_load(sp) | ^ ./../ex/ex.c:2159:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2159 | else { | ^ ./../ex/ex.c:2194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2194 | ex_discard(sp) | ^ ./../ex/ex.c:2225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2225 | ex_unknown(sp, cmd, len) | ^ ./../ex/ex.c:2252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2252 | ex_is_abbrev(name, len) | ^ ./../ex/ex.c:2271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2271 | ex_is_unmap(name, len) | ^ ./../ex/ex.c:2293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2293 | ex_comm_search(name, len) | ^ ./../ex/ex.c:2318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2318 | ex_badaddr(sp, cp, ba, nret) | ^ 38 warnings generated. --- ex_version.o --- --- ex_read.o --- ./../ex/ex_read.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | ex_read(sp, cmdp) | ^ ./../ex/ex_read.c:106:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 106 | if (argv_exp1(sp, cmdp, arg, arglen, 1)) | ^~~ ./../include/ex_extern.h:20:42: note: passing argument to parameter here 20 | int argv_exp1 __P((SCR *, EXCMD *, char *, size_t, int)); | ^ ./../ex/ex_read.c:119:14: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 119 | strdup(cmdp->argv[argc]->bp)) == NULL) { | ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:95:26: note: passing argument to parameter here 95 | char *strdup(const char *) __malloc_like; | ^ ./../ex/ex_read.c:118:23: warning: assigning to 'CHAR_T *' (aka '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] 118 | if ((exp->lastbcomm = | ^ 119 | strdup(cmdp->argv[argc]->bp)) == NULL) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_read.c:131:30: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 131 | (void)vs_update(sp, "!", cmdp->argv[argc]->bp); | ^~~~~~~~~~~~~~~~~~~~ ./../include/vi_extern.h:126:54: note: passing argument to parameter here 126 | void vs_update __P((SCR *, const char *, const char *)); | ^ ./../ex/ex_read.c:173:18: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 173 | NULL, &rm, cmdp->argv[argc]->bp, FILTER_READ)) | ^~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:36:43: note: passing argument to parameter here 36 | EXCMD *, MARK *, MARK *, MARK *, char *, enum filtertype)); | ^ ./../ex/ex_read.c:190:8: warning: assigning to 'CHAR_T *' (aka '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] 190 | name = sp->frp->name; | ^ ~~~~~~~~~~~~~ ./../ex/ex_read.c:193:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 193 | if (argv_exp2(sp, cmdp, arg, arglen)) | ^~~ ./../include/ex_extern.h:21:42: note: passing argument to parameter here 21 | int argv_exp2 __P((SCR *, EXCMD *, char *, size_t)); | ^ ./../ex/ex_read.c:219:12: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 219 | if ((p = v_strdup(sp, cmdp->argv[1]->bp, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | cmdp->argv[1]->len)) != NULL) { | ~~~~~~~~~~~~~~~~~~~ ./../ex/ex_read.c:234:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 234 | set_alt_name(sp, name); | ^~~~ ./../include/com_extern.h:99:37: note: passing argument to parameter here 99 | void set_alt_name __P((SCR *, char *)); | ^ ./../ex/ex_read.c:237:16: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 237 | ex_emsg(sp, cmdp->argv[0]->bp, EXM_FILECOUNT); | ^~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:117:32: note: passing argument to parameter here 117 | void ex_emsg __P((SCR *, char *, exm_t)); | ^ ./../ex/ex_read.c:252:18: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 252 | if ((fp = fopen(name, "r")) == NULL || fstat(fileno(fp), &sb)) { | ^~~~ /usr/include/stdio.h:274:36: note: passing argument to parameter here 274 | FILE *fopen(const char * __restrict, const char * __restrict); | ^ ./../ex/ex_read.c:253:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 253 | msgq_str(sp, M_SYSERR, name, "%s"); | ^~~~ ./../include/com_extern.h:138:42: note: passing argument to parameter here 138 | void msgq_str __P((SCR *, mtype_t, char *, char *)); | ^ ./../ex/ex_read.c:267:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 267 | rval = ex_readfp(sp, name, fp, &cmdp->addr1, &nlines, 0); | ^~~~ ./../include/ex_extern.h:68:33: note: passing argument to parameter here 68 | int ex_readfp __P((SCR *, char *, FILE *, MARK *, recno_t *, int)); | ^ ./../ex/ex_read.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | ex_readfp(sp, name, fp, fm, nlinesp, silent) | ^ 15 warnings generated. --- ex_screen.o --- ./../ex/ex_screen.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | ex_bg(sp, cmdp) | ^ ./../ex/ex_screen.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 | ex_fg(sp, cmdp) | ^ ./../ex/ex_screen.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 | ex_resize(sp, cmdp) | ^ ./../ex/ex_screen.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | ex_sdisplay(sp) | ^ 4 warnings generated. --- ex_visual.o --- --- ex_version.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_version.c --- ex_print.o --- ./../ex/ex_print.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 | ex_list(sp, cmdp) | ^ ./../ex/ex_print.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 | ex_number(sp, cmdp) | ^ ./../ex/ex_print.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | ex_pr(sp, cmdp) | ^ ./../ex/ex_print.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | ex_print(sp, cmdp, fp, tp, flags) | ^ ./../ex/ex_print.c:129:42: warning: format specifies type 'long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat] --- ex_write.o --- --- ex_print.o --- 129 | snprintf(buf, sizeof(buf), "%6ld ", from); | ~~~~ ^~~~ | %6u ./../ex/ex_print.c:133:23: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 133 | if (ex_prchars(sp, p, &col, 8, 0, 0)) | ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here 36 | static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); | ^ ./../ex/ex_print.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 | ex_ldisplay(sp, p, len, col, flags) | ^ ./../ex/ex_print.c:169:32: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 169 | if (len > 0 && ex_prchars(sp, p, &col, len, LF_ISSET(E_C_LIST), 0)) | ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here 36 | static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); | ^ ./../ex/ex_print.c:173:22: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 173 | if (ex_prchars(sp, p, &col, 1, LF_ISSET(E_C_LIST), 0)) | ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here 36 | static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); | ^ ./../ex/ex_print.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 | ex_scprint(sp, fp, tp) | ^ ./../ex/ex_print.c:198:22: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 198 | if (ex_prchars(sp, p, &col, 8, 0, 0)) | ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here 36 | static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); | ^ ./../ex/ex_print.c:205:21: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 205 | if (ex_prchars(sp, p, &col, fp->cno, 0, ' ')) | ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here 36 | static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); | ^ ./../ex/ex_print.c:209:6: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 209 | p, &col, tp->cno == fp->cno ? 1 : tp->cno - fp->cno, 0, '^')) | ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here 36 | static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); | ^ ./../ex/ex_print.c:214:21: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 214 | if (ex_prchars(sp, p, &col, 5, 0, 0)) | ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here 36 | static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); | ^ ./../ex/ex_print.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | ex_prchars(sp, p, colp, len, flags, repeatc) | ^ ./../ex/ex_print.c:264:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 264 | (void)ex_puts(sp, kp); | ^~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here 63 | int ex_puts __P((SCR *, const char *)); | ^ ./../ex/ex_print.c:271:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 271 | (void)ex_puts(sp, kp); | ^~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here 63 | int ex_puts __P((SCR *, const char *)); | ^ ./../ex/ex_print.c:283:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 283 | (void)ex_puts(sp, kp); | ^~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here 63 | int ex_puts __P((SCR *, const char *)); | ^ ./../ex/ex_print.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | ex_puts(sp, str) | ^ ./../ex/ex_print.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | ex_fflush(sp) | ^ 20 warnings generated. --- ex_visual.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_visual.c --- ex_shell.o --- ./../ex/ex_shell.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | ex_shell(sp, cmdp) | ^ ./../ex/ex_shell.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 | ex_exec_proc(sp, cmdp, cmd, msg, need_newline) | ^ ./../ex/ex_shell.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | proc_wait(sp, pid, cmd, silent, okpipe) | ^ ./../ex/ex_shell.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 | sigmsg(signo) | ^ 4 warnings generated. --- ex_yank.o --- --- ex_write.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_write.c --- ex_z.o --- --- ex_source.o --- In file included from ./../ex/ex_source.c:29: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../ex/ex_source.c:29: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ --- ex_yank.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_yank.c --- ex_z.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_z.c --- ex_source.o --- ./../ex/ex_source.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | ex_source(sp, cmdp) | ^ ./../ex/ex_source.c:46:7: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 46 | name = cmdp->argv[0]->bp; | ^ ~~~~~~~~~~~~~~~~~ 4 warnings generated. --- exf.o --- --- ex_stop.o --- ./../ex/ex_stop.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | ex_stop(sp, cmdp) | ^ 1 warning generated. --- exf.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/exf.c --- getc.o --- --- ex_shift.o --- ./../ex/ex_shift.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | ex_shiftl(sp, cmdp) | ^ ./../ex/ex_shift.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 | ex_shiftr(sp, cmdp) | ^ ./../ex/ex_shift.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | shift(sp, cmdp, rl) | ^ ./../ex/ex_shift.c:93:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 93 | for (p = cmdp->argv[0]->bp, sw = 0; *p == '>' || *p == '<'; ++p) | ^ ~~~~~~~~~~~~~~~~~ 4 warnings generated. --- getc.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/getc.c --- ex_script.o --- In file included from ./../ex/ex_script.c:43: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../ex/ex_script.c:43: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ ./../ex/ex_script.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 | ex_script(sp, cmdp) | ^ ./../ex/ex_script.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 | sscr_init(sp) | ^ ./../ex/ex_script.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | sscr_getprompt(sp) | ^ ./../ex/ex_script.c:257:32: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | db_append(sp, 0, lline, t, p - t)) | ^ ./../include/com_extern.h:116:47: note: passing argument to parameter here 116 | int db_append __P((SCR *, int, recno_t, char *, size_t)); | ^ ./../ex/ex_script.c:287:53: warning: passing 'CHAR_T[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 287 | if (db_last(sp, &lline) || db_append(sp, 0, lline, buf, llen)) { | ^~~ ./../include/com_extern.h:116:47: note: passing argument to parameter here 116 | int db_append __P((SCR *, int, recno_t, char *, size_t)); | ^ ./../ex/ex_script.c:292:29: warning: passing 'CHAR_T[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 292 | return (sscr_setprompt(sp, buf, llen)); | ^~~ ./../ex/ex_script.c:54:45: note: passing argument to parameter here 54 | static int sscr_setprompt __P((SCR *, char *, size_t)); | ^ ./../ex/ex_script.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | sscr_exec(sp, lno) | ^ ./../ex/ex_script.c:358:30: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 358 | ilen = multi_int2extlen(sp, p, len, &mbflg, cnvstate); | ^ ./../include/com_extern.h:234:42: note: passing argument to parameter here 234 | int multi_int2extlen __P((SCR *, CHAR_T *, size_t, int *, void *)); | ^ ./../ex/ex_script.c:368:3: warning: assigning to 'CHAR_T *' (aka '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] 368 | GET_SPACE_RET(sp, tp, tlen, ilen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' 66 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../ex/ex_script.c:371:4: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 371 | FREE_SPACE(sp, tp, tlen); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' 102 | if (L__gp != NULL && bp == L__gp->tmp_bp) \ | ~~ ^ ~~~~~~~~~~~~~ ./../ex/ex_script.c:376:4: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 376 | FREE_SPACE(sp, tp, tlen); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' 102 | if (L__gp != NULL && bp == L__gp->tmp_bp) \ | ~~ ^ ~~~~~~~~~~~~~ ./../ex/ex_script.c:381:3: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 381 | FREE_SPACE(sp, tp, tlen); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' 102 | if (L__gp != NULL && bp == L__gp->tmp_bp) \ | ~~ ^ ~~~~~~~~~~~~~ ./../ex/ex_script.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | sscr_input(sp) | ^ ./../ex/ex_script.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | sscr_insert(sp) | ^ ./../ex/ex_script.c:484:7: warning: assigning to 'CHAR_T *' (aka '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] 484 | endp = bp; | ^ ~~ ./../ex/ex_script.c:503:13: warning: assigning to 'CHAR_T *' (aka '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] 503 | for (p = t = bp; p < endp; ++p) { | ^ ~~ ./../ex/ex_script.c:507:32: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 507 | if (db_append(sp, 1, lno++, t, len)) | ^ ./../include/com_extern.h:116:47: note: passing argument to parameter here 116 | int db_append __P((SCR *, int, recno_t, char *, size_t)); | ^ ./../ex/ex_script.c:521:29: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 521 | if (!sscr_matchprompt(sp, t, len, &tlen) || tlen != 0) { | ^ ./../ex/ex_script.c:52:47: note: passing argument to parameter here 52 | static int sscr_matchprompt __P((SCR *, char *, size_t, size_t *)); | ^ ./../ex/ex_script.c:529:10: warning: assigning to 'CHAR_T *' (aka '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] 529 | endp = bp + len; | ^ ~~~~~~~~ ./../ex/ex_script.c:533:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 533 | if (sscr_setprompt(sp, t, len)) | ^ ./../ex/ex_script.c:54:45: note: passing argument to parameter here 54 | static int sscr_setprompt __P((SCR *, char *, size_t)); | ^ ./../ex/ex_script.c:535:31: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 535 | if (db_append(sp, 1, lno++, t, len)) | ^ ./../include/com_extern.h:116:47: note: passing argument to parameter here 116 | int db_append __P((SCR *, int, recno_t, char *, size_t)); | ^ ./../ex/ex_script.c:559:34: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 559 | if (db_get(sp, lno, DBG_FATAL, &p, &len)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../ex/ex_script.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | sscr_setprompt(sp, buf, len) | ^ ./../ex/ex_script.c:604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | sscr_matchprompt(sp, lp, line_len, lenp) | ^ ./../ex/ex_script.c:645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | sscr_end(sp) | ^ ./../ex/ex_script.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | sscr_check(sp) | ^ ./../ex/ex_script.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | sscr_pty(amaster, aslave, name, termp, winp) | ^ 29 warnings generated. --- key.o --- --- line.o --- --- key.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/key.c --- line.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/line.c --- ex_tcl.o --- ./../ex/ex_tcl.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | ex_tcl(sp, cmdp) | ^ 1 warning generated. --- log.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/log.c --- ex_version.o --- ./../ex/ex_version.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | ex_version(sp, cmdp) | ^ 1 warning generated. --- ex_undo.o --- ./../ex/ex_undo.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | ex_undo(sp, cmdp) | ^ 1 warning generated. --- main.o --- --- mark.o --- --- main.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/main.c --- mark.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/mark.c --- ex_z.o --- ./../ex/ex_z.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | ex_z(sp, cmdp) | ^ 1 warning generated. --- ex_txt.o --- ./../ex/ex_txt.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | ex_txt(sp, tiqh, prompt, flags) | ^ ./../ex/ex_txt.c:109:8: warning: call to undeclared function 'v_txt_auto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | if (v_txt_auto(sp, sp->lno, NULL, 0, tp)) | ^ ./../ex/ex_txt.c:223:10: warning: call to undeclared function 'v_txt_auto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 223 | if (v_txt_auto(sp, | ^ ./../ex/ex_txt.c:228:10: warning: call to undeclared function 'v_txt_auto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- msg.o --- --- ex_util.o --- ./../ex/ex_util.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | ex_cinit(cmdp, cmd_id, naddr, lno1, lno2, force, ap) | ^ ./../ex/ex_util.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 | ex_cadd(cmdp, ap, arg, len) | ^ ./../ex/ex_util.c:71:9: warning: assigning to 'CHAR_T *' (aka '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] 71 | ap->bp = arg; | ^ ~~~ ./../ex/ex_util.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | ex_getline(sp, fp, lenp) | ^ ./../ex/ex_util.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 | ex_ncheck(sp, force) | ^ ./../ex/ex_util.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] 157 | ex_init(sp) | ^ ./../ex/ex_util.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 | ex_emsg(sp, p, which) | ^ 7 warnings generated. --- ex_txt.o --- 228 | if (v_txt_auto(sp, | ^ ./../ex/ex_txt.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | txt_prompt(sp, tp, prompt, flags) | ^ ./../ex/ex_txt.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | txt_dent(sp, tp) | ^ ./../ex/ex_txt.c:420:10: warning: unsequenced modification and access to 'scno' [-Wunsequenced] 420 | scno -= --scno % sw; | ~~ ^ 7 warnings generated. --- options.o --- --- options_f.o --- --- ex_yank.o --- ./../ex/ex_yank.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | ex_yank(sp, cmdp) | ^ 1 warning generated. --- msg.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/msg.c --- ex_usage.o --- ./../ex/ex_usage.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | ex_help(sp, cmdp) | ^ ./../ex/ex_usage.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 | ex_usage(sp, cmdp) | ^ ./../ex/ex_usage.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | ex_viusage(sp, cmdp) | ^ 3 warnings generated. --- options.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/options.c --- put.o --- --- ex_visual.o --- ./../ex/ex_visual.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | ex_visual(sp, cmdp) | ^ ./../ex/ex_visual.c:84:21: warning: format specifies type 'unsigned long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat] 84 | "%luz%c%lu", sp->lno, pos, cmdp->count); | ~~~ ^~~~~~~ | %u ./../ex/ex_visual.c:86:46: warning: format specifies type 'unsigned long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat] 86 | len = snprintf(buf, sizeof(buf), "%luz%c", sp->lno, pos); | ~~~ ^~~~~~~ | %u ./../ex/ex_visual.c:87:31: warning: passing 'char[256]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 87 | (void)v_event_push(sp, NULL, buf, len, CH_NOMAP | CH_QUOTED); | ^~~ ./../include/com_extern.h:109:47: note: passing argument to parameter here 109 | int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); | ^ 4 warnings generated. --- options_f.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/options_f.c --- recover.o --- --- screen.o --- --- put.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/put.c --- recover.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/recover.c --- screen.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/screen.c --- getc.o --- ./../vi/getc.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 | cs_init(sp, csp) | ^ ./../vi/getc.c:52:31: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 52 | if (db_eget(sp, csp->cs_lno, &csp->cs_bp, &csp->cs_len, &isempty)) { | ^~~~~~~~~~~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../vi/getc.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 | cs_next(sp, csp) | ^ --- ex_write.o --- In file included from ./../ex/ex_write.c:30: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../ex/ex_write.c:30: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ --- getc.o --- ./../vi/getc.c:92:15: warning: assigning to 'CHAR_T *' (aka '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] 92 | csp->cs_bp = p; | ^ ~ ./../vi/getc.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | cs_multi_next(sp, csp) | ^ ./../vi/getc.c:145:15: warning: assigning to 'CHAR_T *' (aka '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] 145 | csp->cs_bp = p; | ^ ~ ./../vi/getc.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 | cs_fspace(sp, csp) | ^ ./../vi/getc.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | cs_fblank(sp, csp) | ^ ./../vi/getc.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | cs_prev(sp, csp) | ^ ./../vi/getc.c:257:33: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 257 | --csp->cs_lno, DBG_FATAL, &csp->cs_bp, &csp->cs_len)) { | ^~~~~~~~~~~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../vi/getc.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 | cs_multi_prev(sp, csp) | ^ ./../vi/getc.c:315:33: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 315 | --csp->cs_lno, DBG_FATAL, &csp->cs_bp, &csp->cs_len)) { | ^~~~~~~~~~~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../vi/getc.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | cs_bblank(sp, csp) | ^ 13 warnings generated. --- ex_write.o --- ./../ex/ex_write.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | ex_wn(sp, cmdp) | ^ ./../ex/ex_write.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 | ex_wq(sp, cmdp) | ^ ./../ex/ex_write.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | ex_write(sp, cmdp) | ^ ./../ex/ex_write.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | ex_xit(sp, cmdp) | ^ ./../ex/ex_write.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 | exwr(sp, cmdp, cmd) | ^ --- search.o --- --- ex_write.o --- ./../ex/ex_write.c:173:37: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 173 | if (argv_exp1(sp, cmdp, p, strlen(p), 1)) | ^ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ ./../ex/ex_write.c:173:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 173 | if (argv_exp1(sp, cmdp, p, strlen(p), 1)) | ^ ./../include/ex_extern.h:20:42: note: passing argument to parameter here 20 | int argv_exp1 __P((SCR *, EXCMD *, char *, size_t, int)); | ^ ./../ex/ex_write.c:190:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 190 | &cmdp->addr2, &rm, cmdp->argv[1]->bp, FILTER_WRITE)) | ^~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:36:43: note: passing argument to parameter here 36 | EXCMD *, MARK *, MARK *, MARK *, char *, enum filtertype)); | ^ ./../ex/ex_write.c:218:36: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 218 | if (argv_exp2(sp, cmdp, p, strlen(p))) | ^ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ ./../ex/ex_write.c:218:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 218 | if (argv_exp2(sp, cmdp, p, strlen(p))) | ^ ./../include/ex_extern.h:21:42: note: passing argument to parameter here 21 | int argv_exp2 __P((SCR *, EXCMD *, char *, size_t)); | ^ ./../ex/ex_write.c:236:8: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 236 | name = cmdp->argv[1]->bp; | ^ ~~~~~~~~~~~~~~~~~ ./../ex/ex_write.c:249:19: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 249 | sp->frp->name = p; | ^ ~ ./../ex/ex_write.c:269:15: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 269 | ex_emsg(sp, p, EXM_FILECOUNT); | ^ ./../include/ex_extern.h:117:32: note: passing argument to parameter here 117 | void ex_emsg __P((SCR *, char *, exm_t)); | ^ ./../ex/ex_write.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | ex_writefp(sp, name, fp, fm, tm, nlno, nch, silent) | ^ ./../ex/ex_write.c:333:3: warning: assigning to 'CHAR_T *' (aka '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] 333 | GET_SPACE_RET(sp, cnvtmp, cnvtmplen, 256); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' 66 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../ex/ex_write.c:355:5: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 355 | FREE_SPACE(sp, cnvtmp, cnvtmplen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' 102 | if (L__gp != NULL && bp == L__gp->tmp_bp) \ | ~~ ^ ~~~~~~~~~~~~~ ./../ex/ex_write.c:363:32: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 363 | ilen = multi_int2extlen(sp, p, len, &mbflg, cnvstate); | ^ ./../include/com_extern.h:234:42: note: passing argument to parameter here 234 | int multi_int2extlen __P((SCR *, CHAR_T *, size_t, int *, void *)); | ^ ./../ex/ex_write.c:366:6: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 366 | FREE_SPACE(sp, cnvtmp, cnvtmplen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' 102 | if (L__gp != NULL && bp == L__gp->tmp_bp) \ | ~~ ^ ~~~~~~~~~~~~~ ./../ex/ex_write.c:374:5: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 374 | ADD_SPACE_RET(sp, cnvtmp, cnvtmplen, ilen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:89:26: note: expanded from macro 'ADD_SPACE_RET' 89 | if (L__gp == NULL || bp == L__gp->tmp_bp) { \ | ~~ ^ ~~~~~~~~~~~~~ ./../ex/ex_write.c:374:5: warning: assigning to 'CHAR_T *' (aka '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] 374 | ADD_SPACE_RET(sp, cnvtmp, cnvtmplen, ilen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:92:6: note: expanded from macro 'ADD_SPACE_RET' 92 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../ex/ex_write.c:379:5: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 379 | FREE_SPACE(sp, cnvtmp, cnvtmplen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' 102 | if (L__gp != NULL && bp == L__gp->tmp_bp) \ | ~~ ^ ~~~~~~~~~~~~~ ./../ex/ex_write.c:384:5: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 384 | FREE_SPACE(sp, cnvtmp, cnvtmplen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' 102 | if (L__gp != NULL && bp == L__gp->tmp_bp) \ | ~~ ^ ~~~~~~~~~~~~~ ./../ex/ex_write.c:397:3: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 397 | FREE_SPACE(sp, cnvtmp, cnvtmplen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' 102 | if (L__gp != NULL && bp == L__gp->tmp_bp) \ | ~~ ^ ~~~~~~~~~~~~~ 25 warnings generated. --- search.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/search.c --- seq.o --- --- line.o --- ./../common/line.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | db_eget(sp, lno, pp, lenp, isemptyp) | ^ ./../common/line.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 | db_get(sp, lno, flags, pp, lenp) | ^ ./../common/line.c:127:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 127 | *pp = tp->lb; | ^ ~~~~~~ ./../common/line.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | db_delete(sp, lno) | ^ ./../common/line.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | db_append(sp, update, lno, p, len) | ^ ./../common/line.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | db_insert(sp, lno, p, len) | ^ ./../common/line.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | db_set(sp, lno, p, len) | ^ ./../common/line.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | db_exist(sp, lno) | ^ ./../common/line.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | db_last(sp, lnop) | ^ ./../common/line.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | db_err(sp, lno) | ^ ./../common/line.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | scr_update(sp, lno, op, current) | ^ 11 warnings generated. --- seq.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/seq.c --- util.o --- --- ex_tag.o --- In file included from ./../ex/ex_tag.c:41: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../ex/ex_tag.c:41: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ ./../ex/ex_tag.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | ex_tag_first(sp, tagarg) | ^ ./../ex/ex_tag.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 | ex_tag_push(sp, cmdp) | ^ ./../ex/ex_tag.c:120:31: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 120 | if ((exp->tag_last = strdup(cmdp->argv[0]->bp)) == NULL) { | ^~~~~~~~~~~~~~~~~ /usr/include/string.h:95:26: note: passing argument to parameter here 95 | char *strdup(const char *) __malloc_like; | ^ ./../ex/ex_tag.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | ex_tag_next(sp, cmdp) | ^ ./../ex/ex_tag.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | ex_tag_prev(sp, cmdp) | ^ ./../ex/ex_tag.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | ex_tag_nswitch(sp, tp, force) | ^ ./../ex/ex_tag.c:314:49: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 314 | if (tp->frp == NULL && (tp->frp = file_add(sp, tp->fname)) == NULL) | ^~~~~~~~~ ./../include/com_extern.h:91:36: note: passing argument to parameter here 91 | FREF *file_add __P((SCR *, CHAR_T *)); | ^ ./../ex/ex_tag.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 | ex_tag_Nswitch(sp, tp, force) | ^ ./../ex/ex_tag.c:353:49: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 353 | if (tp->frp == NULL && (tp->frp = file_add(sp, tp->fname)) == NULL) | ^~~~~~~~~ ./../include/com_extern.h:91:36: note: passing argument to parameter here 91 | FREF *file_add __P((SCR *, CHAR_T *)); | ^ ./../ex/ex_tag.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | ex_tag_pop(sp, cmdp) | ^ ./../ex/ex_tag.c:425:7: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 425 | arg = cmdp->argv[0]->bp; | ^ ~~~~~~~~~~~~~~~~~ ./../ex/ex_tag.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | ex_tag_top(sp, cmdp) | ^ ./../ex/ex_tag.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | tag_pop(sp, dtqp, force) | ^ ./../ex/ex_tag.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | ex_tag_display(sp) | ^ ./../ex/ex_tag.c:642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | ex_tag_copy(orig, sp) | ^ ./../ex/ex_tag.c:692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | tagf_copy(sp, otfp, tfpp) | ^ ./../ex/ex_tag.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | tagq_copy(sp, otqp, tqpp) | ^ ./../ex/ex_tag.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | tag_copy(sp, otp, tpp) | ^ ./../ex/ex_tag.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | tagf_free(sp, tfp) | ^ ./../ex/ex_tag.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | tagq_free(sp, tqp) | ^ ./../ex/ex_tag.c:820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | tag_msg(sp, msg, tag) | ^ ./../ex/ex_tag.c:848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | ex_tagf_alloc(sp, str) | ^ ./../ex/ex_tag.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | ex_tag_free(sp) | ^ ./../ex/ex_tag.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | ctag_search(sp, search, slen, tag) | ^ ./../ex/ex_tag.c:949:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 949 | } else { | ^ ./../ex/ex_tag.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | ctag_slist(sp, tag) | ^ ./../ex/ex_tag.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | ctag_sfile(sp, tfp, tqp, tname) | ^ ./../ex/ex_tag.c:1177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | ctag_file(sp, tfp, name, dirp, dlenp) | ^ ./../ex/ex_tag.c:1253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | binary_search(string, front, back) | ^ ./../ex/ex_tag.c:1284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1284 | linear_search(string, front, back) | ^ ./../ex/ex_tag.c:1316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1316 | compare(s1, s2, back) | ^ 33 warnings generated. --- util.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/util.c --- v_at.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_at.c --- log.o --- In file included from ./../common/log.c:28: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../common/log.c:28: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ ./../common/log.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 | log_init(sp, ep) | ^ ./../common/log.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 | log_end(sp, ep) | ^ ./../common/log.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | log_cursor(sp) | ^ ./../common/log.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | log_cursor1(sp, type) | ^ ./../common/log.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | log_line(sp, lno, action) | ^ ./../common/log.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | log_mark(sp, lmp) | ^ ./../common/log.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | log_backward(sp, rp) | ^ ./../common/log.c:417:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 417 | if (db_insert(sp, lno, p + sizeof(u_char) + | ^~~~~~~~~~~~~~~~~~~~ 418 | sizeof(recno_t), data.size - sizeof(u_char) - | ~~~~~~~~~~~~~~~ ./../include/com_extern.h:117:42: note: passing argument to parameter here 117 | int db_insert __P((SCR *, recno_t, char *, size_t)); | ^ ./../common/log.c:428:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 428 | if (db_set(sp, lno, p + sizeof(u_char) + | ^~~~~~~~~~~~~~~~~~~~ 429 | sizeof(recno_t), data.size - sizeof(u_char) - | ~~~~~~~~~~~~~~~ ./../include/com_extern.h:118:39: note: passing argument to parameter here 118 | int db_set __P((SCR *, recno_t, char *, size_t)); | ^ ./../common/log.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | log_setline(sp) | ^ ./../common/log.c:523:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 523 | db_set(sp, lno, p + sizeof(u_char) + | ^~~~~~~~~~~~~~~~~~~~ 524 | sizeof(recno_t), data.size - sizeof(u_char) - | ~~~~~~~~~~~~~~~ ./../include/com_extern.h:118:39: note: passing argument to parameter here 118 | int db_set __P((SCR *, recno_t, char *, size_t)); | ^ ./../common/log.c:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | log_forward(sp, rp) | ^ ./../common/log.c:604:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 604 | if (db_insert(sp, lno, p + sizeof(u_char) + | ^~~~~~~~~~~~~~~~~~~~ 605 | sizeof(recno_t), data.size - sizeof(u_char) - | ~~~~~~~~~~~~~~~ ./../include/com_extern.h:117:42: note: passing argument to parameter here 117 | int db_insert __P((SCR *, recno_t, char *, size_t)); | ^ ./../common/log.c:622:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 622 | if (db_set(sp, lno, p + sizeof(u_char) + | ^~~~~~~~~~~~~~~~~~~~ 623 | sizeof(recno_t), data.size - sizeof(u_char) - | ~~~~~~~~~~~~~~~ ./../include/com_extern.h:118:39: note: passing argument to parameter here 118 | int db_set __P((SCR *, recno_t, char *, size_t)); | ^ ./../common/log.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | log_err(sp, file, line) | ^ 17 warnings generated. --- v_ch.o --- --- main.o --- In file included from ./../common/main.c:38: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../common/main.c:38: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ ./../common/main.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | editor(gp, argc, argv) | ^ ./../common/main.c:74:15: warning: incompatible function pointer types assigning to 'void (*)(SCR *, mtype_t, char *, size_t)' (aka 'void (*)(struct _scr *, mtype_t, char *, unsigned long)') from 'void (SCR *, mtype_t, CHAR_T *, size_t)' (aka 'void (struct _scr *, mtype_t, unsigned char *, unsigned long)') [-Wincompatible-function-pointer-types] 74 | gp->scr_msg = vs_msg; | ^ ~~~~~~ ./../common/main.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | v_end(gp) | ^ ./../common/main.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | v_obsolete(name, argv) | ^ ./../common/main.c:571:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 571 | } else | ^ ./../common/main.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | v_estr(name, eno, msg) | ^ 8 warnings generated. --- key.o --- ./../common/key.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 | v_key_init(sp) | ^ ./../common/key.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | v_keyval(sp, val, name) | ^ ./../common/key.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | v_key_ilookup(sp) | ^ ./../common/key.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | v_key_len(sp, ch) | ^ ./../common/key.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | v_key_len1(sp, ch) | ^ --- v_ch.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_ch.c --- v_cmd.o --- --- key.o --- ./../common/key.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 | v_key_name(sp, ach) | ^ ./../common/key.c:291:11: warning: assigning to 'CHAR_T *' (aka '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] 291 | if ((chp = O_STR(sp, O_PRINT)) != NULL) | ^ ~~~~~~~~~~~~~~~~~~ ./../common/key.c:295:11: warning: assigning to 'CHAR_T *' (aka '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] 295 | if ((chp = O_STR(sp, O_NOPRINT)) != NULL) | ^ ~~~~~~~~~~~~~~~~~~~~ ./../common/key.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 | v_key_name1(sp, ach) | ^ ./../common/key.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | v_key_blen(sp, ch) | ^ ./../common/key.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | v_key_val(sp, ch) | ^ ./../common/key.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | v_event_push(sp, p_evp, p_s, nitems, flags) | ^ ./../common/key.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | v_event_append(sp, argp) | ^ ./../common/key.c:614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | v_event_get(sp, argp, timeout, flags) | ^ ./../common/key.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | v_sync(sp, flags) | ^ ./../common/key.c:862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | v_event_err(sp, evp) | ^ ./../common/key.c:918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | v_event_flush(sp, flags) | ^ ./../common/key.c:936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | v_event_grow(sp, add) | ^ ./../common/key.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | v_key_cmp(ap, bp) | ^ 19 warnings generated. --- mark.o --- ./../common/mark.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | mark_init(sp, ep) | ^ ./../common/mark.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] 89 | mark_end(sp, ep) | ^ ./../common/mark.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 | mark_get(sp, key, mp, mtype) | ^ ./../common/mark.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | mark_set(sp, key, value, userset) | ^ ./../common/mark.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- v_delete.o --- --- mark.o --- 200 | mark_find(sp, key) | ^ ./../common/mark.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 | mark_insdel(sp, op, lno) | ^ ./../common/mark.c:243:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 243 | } else | ^ 7 warnings generated. --- v_cmd.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_cmd.c --- v_ex.o --- --- exf.o --- In file included from ./../common/exf.c:38: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/sys/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../common/exf.c:38: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/sys/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ ./../common/exf.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 | file_add(sp, name) | ^ ./../common/exf.c:90:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 90 | if (!strcmp(frp->name, name)) | ^~~~ /usr/include/string.h:90:39: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ ./../common/exf.c:104:29: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 104 | if (name != NULL && strcmp(name, TEMPORARY_FILE_STRING) && | ^~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ ./../common/exf.c:105:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 105 | (frp->name = strdup(name)) == NULL) { | ^~~~ /usr/include/string.h:95:26: note: passing argument to parameter here 95 | char *strdup(const char *) __malloc_like; | ^ ./../common/exf.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 | file_init(sp, frp, rcv_name, flags) | ^ ./../common/exf.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | file_spath(sp, frp, sbp, existsp) | ^ ./../common/exf.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | file_cinit(sp) | ^ ./../common/exf.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | file_end(sp, ep, force) | ^ ./../common/exf.c:766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | file_write(sp, fm, tm, name, flags) | ^ ./../common/exf.c:929:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 929 | else { | ^ ./../common/exf.c:967:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 967 | else | ^ ./../common/exf.c:1026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | file_backup(sp, name, bname) | ^ ./../common/exf.c:1100:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1100 | p = cmd.argv[0]->bp; p[0] != '\0'; *t++ = *p++) | ^ ~~~~~~~~~~~~~~~ ./../common/exf.c:1121:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1121 | estr = cmd.argv[0]->bp; | ^ ~~~~~~~~~~~~~~~ ./../common/exf.c:1135:10: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1135 | wfname = cmd.argv[0]->bp; | ^ ~~~~~~~~~~~~~~~ ./../common/exf.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | file_comment(sp) | ^ ./../common/exf.c:1253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | file_m1(sp, force, flags) | ^ ./../common/exf.c:1275:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1275 | } else if (ep->refcnt <= 1 && !force) { | ^ ./../common/exf.c:1293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | file_m2(sp, force) | ^ ./../common/exf.c:1325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | file_m3(sp, force) | ^ ./../common/exf.c:1361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1361 | file_aw(sp, flags) | ^ ./../common/exf.c:1422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1422 | set_alt_name(sp, name) | ^ ./../common/exf.c:1458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1458 | file_lock(sp, name, fdp, fd, iswrite) | ^ 25 warnings generated. --- v_delete.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_delete.c --- v_increment.o --- --- options_f.o --- ./../common/options_f.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | f_altwerase(sp, op, str, valp) | ^ ./../common/options_f.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 | f_columns(sp, op, str, valp) | ^ ./../common/options_f.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 | f_lines(sp, op, str, valp) | ^ ./../common/options_f.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | f_lisp(sp, op, str, valp) | ^ --- v_ex.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_ex.c --- options_f.o --- ./../common/options_f.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | f_msgcat(sp, op, str, valp) | ^ ./../common/options_f.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | f_paragraph(sp, op, str, valp) | ^ ./../common/options_f.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | f_print(sp, op, str, valp) | ^ ./../common/options_f.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 | f_readonly(sp, op, str, valp) | ^ ./../common/options_f.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | f_recompile(sp, op, str, valp) | ^ ./../common/options_f.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 | f_reformat(sp, op, str, valp) | ^ ./../common/options_f.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | f_section(sp, op, str, valp) | ^ ./../common/options_f.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | f_ttywerase(sp, op, str, valp) | ^ ./../common/options_f.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | f_w300(sp, op, str, valp) | ^ ./../common/options_f.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | f_w1200(sp, op, str, valp) | ^ ./../common/options_f.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | f_w9600(sp, op, str, valp) | ^ ./../common/options_f.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 | f_window(sp, op, str, valp) | ^ ./../common/options_f.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | f_fileencoding(sp, op, str, valp) | ^ ./../common/options_f.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | f_displayencoding(sp, op, str, valp) | ^ ./../common/options_f.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | f_inputencoding(sp, op, str, valp) | ^ ./../common/options_f.c:449:3: warning: call to undeclared function 'multi_keyinput_resetstate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 449 | multi_keyinput_resetstate(sp); | ^ 20 warnings generated. --- v_increment.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_increment.c --- v_init.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_init.c --- screen.o --- ./../common/screen.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | screen_init(gp, orig, spp) | ^ ./../common/screen.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | screen_end(sp) | ^ ./../common/screen.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | screen_next(sp) | ^ 3 warnings generated. --- ex_subst.o --- ./../ex/ex_subst.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 | ex_s(sp, cmdp) | ^ ./../ex/ex_subst.c:99:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 99 | return (s(sp, cmdp, p, &sp->subre_c, SUB_MUSTSETR)); | ^ ./../ex/ex_subst.c:49:41: note: passing argument to parameter here 49 | static int s __P((SCR *, EXCMD *, char *, regex_t *, u_int)); | ^ ./../ex/ex_subst.c:127:16: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 127 | for (ptrn = t = p;;) { | ^ ~ ./../ex/ex_subst.c:142:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 142 | else if (p[1] == '\\') | ^ ./../ex/ex_subst.c:169:7: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 169 | sp->re, sp->re_len, NULL, NULL, &sp->re_c, RE_C_SEARCH)) | ^~~~~~ ./../include/ex_extern.h:89:11: note: passing argument to parameter here 89 | char *, size_t, char **, size_t *, regex_t *, u_int)); | ^ ./../ex/ex_subst.c:181:7: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 181 | &sp->re, &sp->re_len, &sp->re_c, RE_C_SEARCH)) | ^~~~~~~ ./../include/ex_extern.h:89:28: note: passing argument to parameter here 89 | char *, size_t, char **, size_t *, regex_t *, u_int)); | ^ ./../ex/ex_subst.c:184:7: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 184 | &sp->subre, &sp->subre_len, &sp->subre_c, RE_C_SUBST)) | ^~~~~~~~~~ ./../include/ex_extern.h:89:28: note: passing argument to parameter here 89 | char *, size_t, char **, size_t *, regex_t *, u_int)); | ^ ./../ex/ex_subst.c:230:12: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 230 | for (rep = p, len = 0; | ^ ~ ./../ex/ex_subst.c:237:27: warning: assigning to 'CHAR_T *' (aka '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] 237 | for (t = bp, len = 0, p = rep;;) { | ^ ~~~ ./../ex/ex_subst.c:287:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 287 | return (s(sp, cmdp, p, re, flags)); | ^ ./../ex/ex_subst.c:49:41: note: passing argument to parameter here 49 | static int s __P((SCR *, EXCMD *, char *, regex_t *, u_int)); | ^ ./../ex/ex_subst.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | ex_subagain(sp, cmdp) | ^ ./../ex/ex_subst.c:308:6: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 308 | sp->subre, sp->subre_len, NULL, NULL, &sp->subre_c, RE_C_SUBST)) | ^~~~~~~~~ ./../include/ex_extern.h:89:11: note: passing argument to parameter here 89 | char *, size_t, char **, size_t *, regex_t *, u_int)); | ^ ./../ex/ex_subst.c:311:12: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 311 | cmdp, cmdp->argc ? cmdp->argv[0]->bp : NULL, &sp->subre_c, 0)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_subst.c:49:41: note: passing argument to parameter here 49 | static int s __P((SCR *, EXCMD *, char *, regex_t *, u_int)); | ^ ./../ex/ex_subst.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | ex_subtilde(sp, cmdp) | ^ ./../ex/ex_subst.c:332:6: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 332 | sp->re, sp->re_len, NULL, NULL, &sp->re_c, RE_C_SEARCH)) | ^~~~~~ ./../include/ex_extern.h:89:11: note: passing argument to parameter here 89 | char *, size_t, char **, size_t *, regex_t *, u_int)); | ^ ./../ex/ex_subst.c:335:12: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 335 | cmdp, cmdp->argc ? cmdp->argv[0]->bp : NULL, &sp->re_c, 0)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_subst.c:49:41: note: passing argument to parameter here 49 | static int s __P((SCR *, EXCMD *, char *, regex_t *, u_int)); | ^ ./../ex/ex_subst.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 | s(sp, cmdp, s, re, flags) | ^ ./../ex/ex_subst.c:680:37: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 680 | to.cno = llen - multi_back(sp, s, | ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../ex/ex_subst.c:681:9: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 681 | &s[llen]); | ^~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../ex/ex_subst.c:684:39: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 684 | from.cno = llen - multi_back(sp, s, | ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../ex/ex_subst.c:685:9: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 685 | &s[llen]); | ^~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../ex/ex_subst.c:463:13: warning: result of comparison of constant 9223372036854775807 with expression of type 'recno_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 463 | if (lno == LONG_MAX) | ~~~ ^ ~~~~~~~~ ./../ex/ex_subst.c:465:18: warning: result of comparison of constant -9223372036854775808 with expression of type 'recno_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 465 | else if (lno == LONG_MIN) | ~~~ ^ ~~~~~~~~ ./../ex/ex_subst.c:946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | re_compile(sp, ptrn, plen, ptrnp, lenp, rep, flags) | ^ ./../ex/ex_subst.c:990:27: warning: incompatible pointer types passing 'char **' to parameter of type 'CHAR_T **' (aka 'unsigned char **') [-Wincompatible-pointer-types] 990 | if (re_cscope_conv(sp, &ptrn, &plen, &replaced)) | ^~~~~ ./../ex/ex_subst.c:40:48: note: passing argument to parameter here 40 | static int re_cscope_conv __P((SCR *, CHAR_T **, size_t *, int *)); | ^ ./../ex/ex_subst.c:1000:24: warning: incompatible pointer types passing 'char **' to parameter of type 'CHAR_T **' (aka 'unsigned char **') [-Wincompatible-pointer-types] 1000 | if (re_tag_conv(sp, &ptrn, &plen, &replaced)) | ^~~~~ ./../ex/ex_subst.c:47:45: note: passing argument to parameter here 47 | static int re_tag_conv __P((SCR *, CHAR_T **, size_t *, int *)); | ^ ./../ex/ex_subst.c:1003:20: warning: incompatible pointer types passing 'char **' to parameter of type 'CHAR_T **' (aka 'unsigned char **') [-Wincompatible-pointer-types] 1003 | if (re_conv(sp, &ptrn, &plen, &replaced)) | ^~~~~ ./../ex/ex_subst.c:39:41: note: passing argument to parameter here 39 | static int re_conv __P((SCR *, CHAR_T **, size_t *, int *)); | ^ ./../ex/ex_subst.c:1079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | re_conv(sp, ptrnp, plenp, replacedp) | ^ ./../ex/ex_subst.c:1174:2: warning: assigning to 'CHAR_T *' (aka '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] 1174 | GET_SPACE_RET(sp, bp, blen, needlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' 66 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../ex/ex_subst.c:1259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | re_tag_conv(sp, ptrnp, plenp, replacedp) | ^ ./../ex/ex_subst.c:1281:2: warning: assigning to 'CHAR_T *' (aka '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] 1281 | GET_SPACE_RET(sp, bp, blen, len * 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' 66 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../ex/ex_subst.c:1357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1357 | re_cscope_conv(sp, ptrnp, plenp, replacedp) | ^ ./../ex/ex_subst.c:1391:2: warning: assigning to 'CHAR_T *' (aka '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] 1391 | GET_SPACE_RET(sp, bp, blen, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' 66 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../ex/ex_subst.c:1437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1437 | re_error(sp, errcode, preg) | ^ ./../ex/ex_subst.c:1460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1460 | re_sub(sp, ip, lbp, lbclenp, lblenp, match) | ^ ./../ex/ex_subst.c:1539:44: warning: assigning to 'CHAR_T *' (aka '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] 1539 | for (rp = sp->repl, rpl = sp->repl_len, p = lb + lbclen; rpl--;) { | ^ ~~~~~~~~~~~ ./../ex/ex_subst.c:1567:6: warning: assigning to 'CHAR_T *' (aka '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] 1567 | OUTCH(*t, 0); | ^~~~~~~~~~~~ ./../ex/ex_subst.c:1534:2: note: expanded from macro 'OUTCH' 1534 | NEEDSP(sp, 1, p); \ | ^~~~~~~~~~~~~~~~ ./../ex/ex_subst.c:384:7: note: expanded from macro 'NEEDSP' 384 | pnt = lb + lbclen; \ | ^ ~~~~~~~~~~~ ./../ex/ex_subst.c:1609:4: warning: assigning to 'CHAR_T *' (aka '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] 1609 | NEEDSP(sp, advance, p); | ^~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_subst.c:384:7: note: expanded from macro 'NEEDSP' 384 | pnt = lb + lbclen; \ | ^ ~~~~~~~~~~~ ./../ex/ex_subst.c:1621:3: warning: assigning to 'CHAR_T *' (aka '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] 1621 | OUTCH(ch, 1); | ^~~~~~~~~~~~ ./../ex/ex_subst.c:1534:2: note: expanded from macro 'OUTCH' 1534 | NEEDSP(sp, 1, p); \ | ^~~~~~~~~~~~~~~~ ./../ex/ex_subst.c:384:7: note: expanded from macro 'NEEDSP' 384 | pnt = lb + lbclen; \ | ^ ~~~~~~~~~~~ 39 warnings generated. --- v_itxt.o --- --- put.o --- ./../common/put.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | put(sp, cbp, namep, cp, rp, append) | ^ ./../common/put.c:60:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 60 | } else { | ^ ./../common/put.c:92:31: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 92 | if (db_append(sp, 1, lno, tp->lb, tp->len)) | ^~~~~~ ./../include/com_extern.h:116:47: note: passing argument to parameter here 116 | int db_append __P((SCR *, int, recno_t, char *, size_t)); | ^ --- v_left.o --- --- put.o --- ./../common/put.c:106:30: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 106 | if (db_append(sp, 1, lno, tp->lb, tp->len)) | ^~~~~~ ./../include/com_extern.h:116:47: note: passing argument to parameter here 116 | int db_append __P((SCR *, int, recno_t, char *, size_t)); | ^ ./../common/put.c:126:5: warning: assigning to 'CHAR_T *' (aka '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] 126 | p0 = p; | ^ ~ ./../common/put.c:236:30: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 236 | if (db_append(sp, 1, lno, tp->lb, tp->len)) | ^~~~~~ ./../include/com_extern.h:116:47: note: passing argument to parameter here 116 | int db_append __P((SCR *, int, recno_t, char *, size_t)); | ^ 6 warnings generated. --- v_itxt.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_itxt.c --- v_mark.o --- --- v_left.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_left.c --- recover.o --- In file included from ./../common/recover.c:40: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/sys/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../common/recover.c:40: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/sys/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ ./../common/recover.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | rcv_tmp(sp, ep, name) | ^ ./../common/recover.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | rcv_init(sp) | ^ ./../common/recover.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | rcv_sync(sp, flags) | ^ ./../common/recover.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | rcv_mailfile(sp, issync, cp_path) | ^ ./../common/recover.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | rcv_list(sp) | ^ ./../common/recover.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | rcv_read(sp, frp) | ^ ./../common/recover.c:780:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | rcv_copy(sp, wfd, fname) | ^ ./../common/recover.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | rcv_gets(buf, len, fd) | ^ ./../common/recover.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | rcv_mktemp(sp, path, dname, perms) | ^ ./../common/recover.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | rcv_email(sp, fname) | ^ 12 warnings generated. --- v_mark.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_mark.c --- v_match.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_match.c --- util.o --- ./../common/util.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | binc(sp, bp, bsizep, min) | ^ ./../common/util.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 | nonblank(sp, lno, cnop) | ^ ./../common/util.c:94:23: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 94 | if (db_eget(sp, lno, &p, &len, &isempty)) | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../common/util.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | tail(path) | ^ ./../common/util.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | v_strdup(sp, str, len) | ^ ./../common/util.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | nget_uslong(valp, p, endp, base) | ^ ./../common/util.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 | nget_slong(valp, p, endp, base) | ^ 7 warnings generated. --- v_at.o --- ./../vi/v_at.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | v_at(sp, vp) | ^ ./../vi/v_at.c:67:15: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 67 | ex_emsg(sp, KEY_NAME(sp, name), EXM_EMPTYBUF); | ^~~~~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' 149 | ((unsigned char)(ch) <= MAX_FAST_KEY \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | ? sp->gp->cname[(unsigned char)ch].name \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | : v_key_name1(sp, (unsigned char)ch)) --- msg.o --- In file included from ./../common/msg.c:38: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../common/msg.c:38: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ --- v_paragraph.o --- --- v_at.o --- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:117:32: note: passing argument to parameter here 117 | void ex_emsg __P((SCR *, char *, exm_t)); | ^ ./../vi/v_at.c:94:30: warning: passing 'char[2]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 94 | v_event_push(sp, NULL, "\n", 1, 0) || | ^~~~ ./../include/com_extern.h:109:47: note: passing argument to parameter here 109 | int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); | ^ ./../vi/v_at.c:105:30: warning: passing 'char[20]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 105 | if (v_event_push(sp, NULL, nbuf, len, 0)) | ^~~~ ./../include/com_extern.h:109:47: note: passing argument to parameter here 109 | int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); | ^ 4 warnings generated. --- msg.o --- ./../common/msg.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | msgq_str(sp, mtype, str, fmt) | ^ ./../common/msg.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | mod_rpt(sp) | ^ ./../common/msg.c:475:38: warning: format specifies type 'unsigned long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat] 475 | len = snprintf(p, MAXNUM, "%lu ", sp->rptlines[cnt]); | ~~~ ^~~~~~~~~~~~~~~~~ | %u ./../common/msg.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | msgq_status(sp, lno, flags) | ^ ./../common/msg.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | msg_open(sp, file) | ^ ./../common/msg.c:765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | msg_close(gp) | ^ ./../common/msg.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | msg_cmsg(sp, which, lenp) | ^ ./../common/msg.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | msg_cat(sp, str, lenp) | ^ ./../common/msg.c:867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | msg_print(sp, s, needfree) | ^ ./../common/msg.c:904:10: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 904 | for (t = KEY_NAME(sp, *cp); *t != '\0' && p < ep; *p++ = *t++); | ^ ~~~~~~~~~~~~~~~~~ 12 warnings generated. --- search.o --- ./../common/search.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | search_init(sp, dir, ptrn, plen, epp, flags) | ^ ./../common/search.c:94:8: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 94 | sp->re, sp->re_len, NULL, NULL, &sp->re_c, | ^~~~~~ ./../include/ex_extern.h:89:11: note: passing argument to parameter here 89 | char *, size_t, char **, size_t *, regex_t *, u_int)); | ^ ./../common/search.c:112:25: warning: assigning to 'CHAR_T *' (aka '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] --- v_put.o --- --- v_redraw.o --- --- search.o --- 112 | for (delim = *ptrn, p = t = ++ptrn;; *t++ = *p++) { | ^ ~~~~~~~~~~ ./../common/search.c:137:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 137 | *epp = p; | ^ ~ ./../common/search.c:143:33: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 143 | if (re_compile(sp, ptrn, plen, &sp->re, &sp->re_len, &sp->re_c, | ^~~~~~~ ./../include/ex_extern.h:89:28: note: passing argument to parameter here 89 | char *, size_t, char **, size_t *, regex_t *, u_int)); | ^ ./../common/search.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | f_search(sp, fm, rm, ptrn, plen, eptrn, flags) | ^ ./../common/search.c:190:38: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 190 | if (db_get(sp, fm->lno, DBG_FATAL, &l, &len)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../common/search.c:212:27: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 212 | if (db_get(sp, lno, 0, &l, &len)) { | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../common/search.c:240:54: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 240 | if (wrapped && lno > fm->lno || db_get(sp, lno, 0, &l, &len)) { | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../common/search.c:269:29: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 269 | eval = regexec(&sp->re_c, l, 1, match, | ^ ./../regex/regex.h:104:18: note: passing argument to parameter here 104 | const char *, size_t, regmatch_t [], int)); | ^ ./../common/search.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 | b_search(sp, fm, rm, ptrn, plen, eptrn, flags) | ^ ./../common/search.c:474:29: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 474 | ? len - multi_back(sp, l, &l[len]) : 0; | ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../common/search.c:474:32: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 474 | ? len - multi_back(sp, l, &l[len]) : 0; | ^~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../common/search.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | search_msg(sp, msg) | ^ ./../common/search.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | search_busy(sp, btype) | ^ 15 warnings generated. --- v_paragraph.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_paragraph.c --- seq.o --- ./../common/seq.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | seq_set(sp, name, nlen, input, ilen, output, olen, stype, flags) | ^ ./../common/seq.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | seq_delete(sp, input, ilen, stype) | ^ ./../common/seq.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] 157 | seq_mdel(qp) | ^ ./../common/seq.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | seq_find(sp, lastqp, e_input, c_input, ilen, stype, ispartialp) | ^ --- v_replace.o --- --- seq.o --- ./../common/seq.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | seq_close(gp) | ^ ./../common/seq.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | seq_dump(sp, stype, isname) | ^ ./../common/seq.c:306:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 306 | len += ex_puts(sp, KEY_NAME(sp, *p)); | ^~~~~~~~~~~~~~~~ ./../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' 149 | ((unsigned char)(ch) <= MAX_FAST_KEY \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | ? sp->gp->cname[(unsigned char)ch].name \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | : v_key_name1(sp, (unsigned char)ch)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here 63 | int ex_puts __P((SCR *, const char *)); | ^ ./../common/seq.c:313:24: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 313 | len += ex_puts(sp, KEY_NAME(sp, *p)); | ^~~~~~~~~~~~~~~~ ./../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' 149 | ((unsigned char)(ch) <= MAX_FAST_KEY \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | ? sp->gp->cname[(unsigned char)ch].name \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | : v_key_name1(sp, (unsigned char)ch)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here 63 | int ex_puts __P((SCR *, const char *)); | ^ ./../common/seq.c:322:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 322 | (void)ex_puts(sp, KEY_NAME(sp, *p)); | ^~~~~~~~~~~~~~~~ ./../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' 149 | ((unsigned char)(ch) <= MAX_FAST_KEY \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | ? sp->gp->cname[(unsigned char)ch].name \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | : v_key_name1(sp, (unsigned char)ch)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here 63 | int ex_puts __P((SCR *, const char *)); | ^ ./../common/seq.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | seq_save(sp, fp, prefix, stype) | ^ ./../common/seq.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 | e_memcmp(p1, ep, n) | ^ 11 warnings generated. --- v_put.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_put.c --- v_redraw.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_redraw.c --- v_right.o --- --- v_screen.o --- --- v_replace.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_replace.c --- v_right.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_right.c --- v_screen.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_screen.c --- v_delete.o --- ./../vi/v_delete.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | v_delete(sp, vp) | ^ ./../vi/v_delete.c:100:39: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 100 | if (db_get(sp, vp->m_final.lno, 0, &p, NULL)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ 2 warnings generated. --- v_init.o --- ./../vi/v_init.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | v_screen_copy(orig, sp) | ^ ./../vi/v_init.c:63:20: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 63 | v_strdup(sp, ovip->ps, strlen(ovip->ps))) == NULL) | ^~~~~~~~ ./../include/com_extern.h:325:44: note: passing argument to parameter here 325 | CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t)); | ^ ./../vi/v_init.c:62:37: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] --- v_scroll.o --- --- v_init.o --- 62 | if (ovip->ps != NULL && (nvip->ps = | ^ 63 | v_strdup(sp, ovip->ps, strlen(ovip->ps))) == NULL) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/v_init.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 | v_screen_end(sp) | ^ ./../vi/v_init.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | v_optchange(sp, offset, str, valp) | ^ 5 warnings generated. --- v_scroll.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_scroll.c --- v_search.o --- --- v_ch.o --- ./../vi/v_ch.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | v_chrepeat(sp, vp) | ^ ./../vi/v_ch.c:49:2: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | memcpy(vp->characters, VIP(sp)->lastckeys, sizeof(vp->characters)); | ^ ./../vi/v_ch.c:49:2: note: include the header or explicitly provide a declaration for 'memcpy' ./../vi/v_ch.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | v_chrrepeat(sp, vp) | ^ ./../vi/v_ch.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | v_cht(sp, vp) | ^ ./../vi/v_ch.c:135:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 135 | if (db_eget(sp, vp->m_start.lno, &p, NULL, NULL)) | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../vi/v_ch.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | v_chf(sp, vp) | ^ ./../vi/v_ch.c:202:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 202 | if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../vi/v_ch.c:221:41: warning: call to undeclared library function 'memcmp' with type 'int (const void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 221 | } while (p < endp && (*p != key[0] || memcmp(p, key, blen))); | ^ ./../vi/v_ch.c:221:41: note: include the header or explicitly provide a declaration for 'memcmp' ./../vi/v_ch.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 | v_chT(sp, vp) | ^ ./../vi/v_ch.c:260:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 260 | if (db_eget(sp, vp->m_start.lno, &p, NULL, NULL)) | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../vi/v_ch.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | v_chF(sp, vp) | ^ ./../vi/v_ch.c:322:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 322 | if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../vi/v_ch.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | noprev(sp) | ^ ./../vi/v_ch.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | notfound(sp, p) | ^ ./../vi/v_ch.c:397:40: warning: cast to smaller integer type 'unsigned char' from 'CHAR_T *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 397 | msgq(sp, M_BERR, "179|%s not found", KEY_NAME(sp, p)); | ^~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:3: note: expanded from macro 'KEY_NAME' 149 | ((unsigned char)(ch) <= MAX_FAST_KEY \ | ^~~~~~~~~~~~~~~~~~~ ./../vi/v_ch.c:397:40: warning: cast to smaller integer type 'unsigned char' from 'CHAR_T *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 397 | msgq(sp, M_BERR, "179|%s not found", KEY_NAME(sp, p)); | ^~~~~~~~~~~~~~~ ./../vi/../common/gs.h:150:22: note: expanded from macro 'KEY_NAME' 150 | ? sp->gp->cname[(unsigned char)ch].name \ | ^~~~~~~~~~~~~~~~~ ./../vi/v_ch.c:397:40: warning: cast to smaller integer type 'unsigned char' from 'CHAR_T *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 397 | msgq(sp, M_BERR, "179|%s not found", KEY_NAME(sp, p)); | ^~~~~~~~~~~~~~~ ./../vi/../common/gs.h:151:24: note: expanded from macro 'KEY_NAME' 151 | : v_key_name1(sp, (unsigned char)ch)) | ^~~~~~~~~~~~~~~~~ 17 warnings generated. --- v_increment.o --- ./../vi/v_increment.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | v_increment(sp, vp) | ^ ./../vi/v_increment.c:88:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 88 | if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../vi/v_increment.c:189:5: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 189 | t = &p[beg]; | ^ ~~~~~~~ --- v_section.o --- --- v_increment.o --- ./../vi/v_increment.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | inc_err(sp, nret) | ^ 4 warnings generated. --- v_search.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_search.c --- options.o --- ./../common/options.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 | opts_init(sp, oargs) | ^ ./../common/options.c:370:7: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 370 | a.bp = b1; | ^ ~~ ./../common/options.c:432:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 432 | OI(O_ESCAPETIME, "escapetime=1"); | ^ ~~~~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' 378 | if (str != b1) /* GCC puts strings in text-space. */ \ | ~~~ ^ --- v_sentence.o --- --- v_section.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_section.c --- options.o --- ./../common/options.c:433:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 433 | OI(O_KEYTIME, "keytime=6"); | ^ ~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' 378 | if (str != b1) /* GCC puts strings in text-space. */ \ | ~~~ ^ ./../common/options.c:434:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 434 | OI(O_MATCHTIME, "matchtime=7"); | ^ ~~~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' 378 | if (str != b1) /* GCC puts strings in text-space. */ \ | ~~~ ^ --- v_sentence.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_sentence.c --- options.o --- ./../common/options.c:437:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 437 | OI(O_REPORT, "report=5"); | ^ ~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' 378 | if (str != b1) /* GCC puts strings in text-space. */ \ | ~~~ ^ ./../common/options.c:438:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 438 | OI(O_PARAGRAPHS, "paragraphs=IPLPPPQPP LIpplpipbp"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' 378 | if (str != b1) /* GCC puts strings in text-space. */ \ | ~~~ ^ ./../common/options.c:443:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 443 | OI(O_SECTIONS, "sections=NHSHH HUnhsh"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' 378 | if (str != b1) /* GCC puts strings in text-space. */ \ | ~~~ ^ ./../common/options.c:447:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 447 | OI(O_SHELLMETA, "shellmeta=~{[*?$`'\"\\"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' 378 | if (str != b1) /* GCC puts strings in text-space. */ \ | ~~~ ^ ./../common/options.c:448:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 448 | OI(O_SHIFTWIDTH, "shiftwidth=8"); | ^ ~~~~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' 378 | if (str != b1) /* GCC puts strings in text-space. */ \ | ~~~ ^ ./../common/options.c:449:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 449 | OI(O_SIDESCROLL, "sidescroll=16"); | ^ ~~~~~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' 378 | if (str != b1) /* GCC puts strings in text-space. */ \ | ~~~ ^ ./../common/options.c:450:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 450 | OI(O_TABSTOP, "tabstop=8"); | ^ ~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' 378 | if (str != b1) /* GCC puts strings in text-space. */ \ | ~~~ ^ ./../common/options.c:454:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 454 | OI(O_FEPKEY, "fepkey=/?aioAIO"); | ^ ~~~~~~~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' 378 | if (str != b1) /* GCC puts strings in text-space. */ \ | ~~~ ^ ./../common/options.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | opts_set(sp, argv, usage) | ^ ./../common/options.c:572:15: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 572 | if (!strcmp(argv[0]->bp, "all")) { | ^~~~~~~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ ./../common/options.c:579:16: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 579 | p = name = argv[0]->bp; (ch = *p) != '\0'; ++p) | ^ ~~~~~~~~~~~ ./../common/options.c:587:9: warning: assigning to 'CHAR_T *' (aka '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] 587 | sep = p; | ^ ~ ./../common/options.c:669:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 669 | } else { | ^ ./../common/options.c:707:28: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 707 | nget_uslong(&value, sep, &endp, 10)) != NUM_OK) { | ^~~ ./../include/com_extern.h:326:53: note: passing argument to parameter here 326 | enum nresult nget_uslong __P((u_long *, const char *, char **, int)); | ^ ./../common/options.c:707:33: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 707 | nget_uslong(&value, sep, &endp, 10)) != NUM_OK) { | ^~~~~ ./../include/com_extern.h:326:62: note: passing argument to parameter here 326 | enum nresult nget_uslong __P((u_long *, const char *, char **, int)); | ^ ./../common/options.c:709:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 709 | t = msg_print(sp, sep, &nf2); | ^~~ ./../include/com_extern.h:145:41: note: passing argument to parameter here 145 | char *msg_print __P((SCR *, const char *, int *)); | ^ ./../common/options.c:732:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 732 | t = msg_print(sp, sep, &nf2); | ^~~ ./../include/com_extern.h:145:41: note: passing argument to parameter here 145 | char *msg_print __P((SCR *, const char *, int *)); | ^ ./../common/options.c:761:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 761 | op->func(sp, spo, sep, &value) || | ^~~ ./../common/options.c:762:33: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 762 | ex_optchange(sp, offset, sep, &value) || | ^~~ ./../include/ex_extern.h:42:41: note: passing argument to parameter here 42 | int ex_optchange __P((SCR *, int, char *, u_long *)); | ^ ./../common/options.c:763:32: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 763 | v_optchange(sp, offset, sep, &value) || | ^~~ ./../include/vi_extern.h:37:40: note: passing argument to parameter here 37 | int v_optchange __P((SCR *, int, char *, u_long *)); | ^ ./../common/options.c:764:42: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 764 | sp->gp->scr_optchange(sp, offset, sep, &value)) { | ^~~ ./../common/options.c:793:35: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 793 | !strcmp(O_STR(sp, offset), sep)) | ^~~ /usr/include/string.h:90:39: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ ./../common/options.c:798:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 798 | op->func(sp, spo, sep, NULL) || | ^~~ ./../common/options.c:799:33: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 799 | ex_optchange(sp, offset, sep, NULL) || | ^~~ ./../include/ex_extern.h:42:41: note: passing argument to parameter here 42 | int ex_optchange __P((SCR *, int, char *, u_long *)); | ^ ./../common/options.c:800:32: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 800 | v_optchange(sp, offset, sep, NULL) || | ^~~ ./../include/vi_extern.h:37:40: note: passing argument to parameter here 37 | int v_optchange __P((SCR *, int, char *, u_long *)); | ^ ./../common/options.c:801:42: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 801 | sp->gp->scr_optchange(sp, offset, sep, NULL)) { | ^~~ ./../common/options.c:807:37: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 807 | if (o_set(sp, offset, OS_STRDUP, sep, 0)) | ^~~ ./../include/com_extern.h:259:41: note: passing argument to parameter here 259 | int o_set __P((SCR *, int, u_int, char *, u_long)); | ^ ./../common/options.c:826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | o_set(sp, opt, flags, str, val) | ^ ./../common/options.c:870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | opts_empty(sp, off, silent) | ^ ./../common/options.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | opts_dump(sp, type) | ^ ./../common/options.c:1026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | opts_print(sp, op) | ^ ./../common/options.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | opts_save(sp, fp) | ^ ./../common/options.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | opts_search(name) | ^ ./../common/options.c:1161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1161 | opts_nomatch(sp, name) | ^ ./../common/options.c:1170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | opts_abbcmp(a, b) | ^ ./../common/options.c:1177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | opts_cmp(a, b) | ^ ./../common/options.c:1190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1190 | opts_copy(orig, sp) | ^ ./../common/options.c:1237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1237 | opts_free(sp) | ^ 43 warnings generated. --- v_status.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_status.c --- v_left.o --- ./../vi/v_left.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | v_left(sp, vp) | ^ ./../vi/v_left.c:54:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 54 | if (db_eget(sp, vp->m_start.lno, &p, NULL, NULL)) | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../vi/v_left.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 | v_cfirst(sp, vp) | ^ ./../vi/v_left.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 | v_first(sp, vp) | ^ ./../vi/v_left.c:202:36: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 202 | if (db_eget(sp, vp->m_start.lno, &p, NULL, NULL)) | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../vi/v_left.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | v_ncol(sp, vp) | ^ ./../vi/v_left.c:287:36: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 287 | if (db_eget(sp, vp->m_start.lno, &p, NULL, NULL)) | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../vi/v_left.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 | v_zero(sp, vp) | ^ ./../vi/v_left.c:360:36: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 360 | if (db_eget(sp, vp->m_start.lno, &p, NULL, NULL)) | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ 9 warnings generated. --- v_txt.o --- --- v_mark.o --- ./../vi/v_mark.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | v_mark(sp, vp) | ^ ./../vi/v_mark.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | v_bmark(sp, vp) | ^ ./../vi/v_mark.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | v_fmark(sp, vp) | ^ ./../vi/v_mark.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 | mark(sp, vp, cmd) | ^ 4 warnings generated. --- v_ulcase.o --- --- v_match.o --- ./../vi/v_match.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | v_match(sp, vp) | ^ ./../vi/v_match.c:63:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 63 | if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../vi/v_match.c:185:37: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 185 | if (db_get(sp, mp->lno, DBG_FATAL, &p, &len)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ 3 warnings generated. --- v_txt.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_txt.c --- v_ulcase.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_ulcase.c --- v_undo.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_undo.c --- v_ex.o --- ./../vi/v_ex.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | v_again(sp, vp) | ^ ./../vi/v_ex.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 | v_exmode(sp, vp) | ^ ./../vi/v_ex.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 | v_join(sp, vp) | ^ ./../vi/v_ex.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | v_shiftl(sp, vp) | ^ ./../vi/v_ex.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 | v_shiftr(sp, vp) | ^ ./../vi/v_ex.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | v_suspend(sp, vp) | ^ ./../vi/v_ex.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | v_switch(sp, vp) | ^ ./../vi/v_ex.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 | v_tagpush(sp, vp) | ^ ./../vi/v_ex.c:230:42: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 230 | ex_cadd(&cmd, &a, VIP(sp)->keyw, strlen(VIP(sp)->keyw)); | ^~~~~~~~~~~~~ ./../vi/vi.h:338:17: note: expanded from macro 'VIP' 338 | #define VIP(sp) ((VI_PRIVATE *)((sp)->vi_private)) | ^ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ ./../vi/v_ex.c:230:20: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 230 | ex_cadd(&cmd, &a, VIP(sp)->keyw, strlen(VIP(sp)->keyw)); | ^~~~~~~~~~~~~ ./../vi/vi.h:338:17: note: expanded from macro 'VIP' 338 | #define VIP(sp) ((VI_PRIVATE *)((sp)->vi_private)) | ^ ./../include/ex_extern.h:113:42: note: passing argument to parameter here 113 | void ex_cadd __P((EXCMD *, ARGS *, char *, size_t)); | ^ ./../vi/v_ex.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 | v_tagpop(sp, vp) | ^ ./../vi/v_ex.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | v_filter(sp, vp) | ^ ./../vi/v_ex.c:322:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 322 | if (argv_exp1(sp, &cmd, tp->lb + 1, tp->len - 1, 1)) | ^~~~~~~~~~ ./../include/ex_extern.h:20:42: note: passing argument to parameter here 20 | int argv_exp1 __P((SCR *, EXCMD *, char *, size_t, int)); | ^ ./../vi/v_ex.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | v_event_exec(sp, vp) | ^ ./../vi/v_ex.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 | v_exec_ex(sp, vp, exp) | ^ ./../vi/v_ex.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | v_ex(sp, vp) | ^ ./../vi/v_ex.c:431:29: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 431 | if (ex_run_str(sp, NULL, tp->lb, tp->len, 0, 1)) | ^~~~~~ ./../include/ex_extern.h:44:42: note: passing argument to parameter here 44 | int ex_run_str __P((SCR *, char *, char *, size_t, int, int)); | ^ ./../vi/v_ex.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | v_ex_done(sp, vp) | ^ ./../vi/v_ex.c:530:27: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 530 | if (db_eget(sp, sp->lno, &p, &len, NULL)) | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../vi/v_ex.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | v_ecl(sp) | ^ ./../vi/v_ex.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | v_ecl_exec(sp) | ^ ./../vi/v_ex.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | v_ecl_log(sp, tp) | ^ ./../vi/v_ex.c:672:31: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 672 | rval = db_append(sp, 0, lno, tp->lb, tp->len); | ^~~~~~ ./../include/com_extern.h:116:47: note: passing argument to parameter here 116 | int db_append __P((SCR *, int, recno_t, char *, size_t)); | ^ ./../vi/v_ex.c:682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | v_ecl_init(sp) | ^ 24 warnings generated. --- v_util.o --- --- v_put.o --- ./../vi/v_put.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | v_Put(sp, vp) | ^ ./../vi/v_put.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | v_put(sp, vp) | ^ ./../vi/v_put.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 | inc_buf(sp, vp) | ^ 3 warnings generated. --- v_redraw.o --- ./../vi/v_redraw.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | v_redraw(sp, vp) | ^ 1 warning generated. --- v_word.o --- --- v_right.o --- ./../vi/v_right.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | v_right(sp, vp) | ^ ./../vi/v_right.c:48:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 48 | if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../vi/v_right.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 | v_dollar(sp, vp) | ^ ./../vi/v_right.c:194:46: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 194 | vp->m_stop.cno = len ? len - multi_back(sp, p, &p[len]) : 0; | ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../vi/v_right.c:194:49: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 194 | vp->m_stop.cno = len ? len - multi_back(sp, p, &p[len]) : 0; | ^~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ 5 warnings generated. --- v_screen.o --- ./../vi/v_screen.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | v_screen(sp, vp) | ^ 1 warning generated. --- v_util.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_util.c --- v_xchar.o --- --- v_yank.o --- --- v_word.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_word.c --- v_itxt.o --- ./../vi/v_itxt.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | v_iA(sp, vp) | ^ ./../vi/v_itxt.c:82:38: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 82 | if (!db_get(sp, vp->m_start.lno, 0, &p, &len)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../vi/v_itxt.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | v_ia(sp, vp) | ^ --- v_xchar.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_xchar.c --- v_z.o --- --- v_itxt.o --- ./../vi/v_itxt.c:117:27: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 117 | if (db_eget(sp, sp->lno, &p, &len, &isempty)) { | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../vi/v_itxt.c:141:30: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 141 | return (v_txt(sp, vp, NULL, p, len, | ^ ./../include/vi_extern.h:92:16: note: passing argument to parameter here 92 | const char *, size_t, ARG_CHAR_T, recno_t, u_long, u_int32_t)); | ^ ./../vi/v_itxt.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | v_iI(sp, vp) | ^ ./../vi/v_itxt.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | v_ii(sp, vp) | ^ ./../vi/v_itxt.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | v_iO(sp, vp) | ^ ./../vi/v_itxt.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 | v_io(sp, vp) | ^ ./../vi/v_itxt.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 | io(sp, vp, cmd) | ^ ./../vi/v_itxt.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | v_change(sp, vp) | ^ ./../vi/v_itxt.c:424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | v_Replace(sp, vp) | ^ ./../vi/v_itxt.c:450:46: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 450 | vp->m_stop.cno = len ? len - multi_back(sp, p, &p[len]) : 0; | ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../vi/v_itxt.c:450:49: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 450 | vp->m_stop.cno = len ? len - multi_back(sp, p, &p[len]) : 0; | ^~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../vi/v_itxt.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | v_subst(sp, vp) | ^ ./../vi/v_itxt.c:480:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 480 | if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../vi/v_itxt.c:518:37: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 518 | return (v_txt(sp, vp, &vp->m_stop, p, len, 0, OOBLNO, 1, flags)); | ^ ./../include/vi_extern.h:92:16: note: passing argument to parameter here 92 | const char *, size_t, ARG_CHAR_T, recno_t, u_long, u_int32_t)); | ^ ./../vi/v_itxt.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | set_txt_std(sp, vp, flags) | ^ 18 warnings generated. --- v_paragraph.o --- ./../vi/v_paragraph.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 | v_paragraphf(sp, vp) | ^ ./../vi/v_paragraph.c:94:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 94 | else { | ^ ./../vi/v_paragraph.c:114:28: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 114 | if (len == 0 || v_isempty(p, len)) | ^ ./../include/vi_extern.h:106:28: note: passing argument to parameter here 106 | int v_isempty __P((CHAR_T *, size_t)); | ^ --- v_z.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_z.c --- v_zexit.o --- --- v_yank.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_yank.c --- v_search.o --- ./../vi/v_search.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | v_searchb(sp, vp) | ^ ./../vi/v_search.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | v_searchf(sp, vp) | ^ ./../vi/v_search.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 | v_exaddr(sp, vp, dir) | ^ ./../vi/v_search.c:191:6: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 191 | cmd = cmdp->cp; | ^ ~~~~~~~~ --- v_paragraph.o --- ./../vi/v_paragraph.c:128:4: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 128 | INTEXT_CHECK; | ^~~~~~~~~~~~ ./../vi/v_paragraph.c:31:28: note: expanded from macro 'INTEXT_CHECK' 31 | if (len == 0 || v_isempty(p, len)) { \ | ^ ./../include/vi_extern.h:106:28: note: passing argument to parameter here 106 | int v_isempty __P((CHAR_T *, size_t)); | ^ ./../vi/v_paragraph.c:131:30: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 131 | if (len == 0 || v_isempty(p, len)) --- v_search.o --- ./../vi/v_search.c:235:10: warning: assigning to 'CHAR_T *' (aka '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] 235 | for (t = cmd + 1, tlen = len - 1; tlen > 0; ++t, --tlen) | ^ ~~~~~~~ ./../vi/v_search.c:253:30: warning: passing 'char[2]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 253 | v_event_push(sp, NULL, "+", 1, CH_NOMAP | CH_QUOTED)) | ^~~ ./../include/com_extern.h:109:47: note: passing argument to parameter here 109 | int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); | ^ --- v_paragraph.o --- | ^ ./../include/vi_extern.h:106:28: note: passing argument to parameter here 106 | int v_isempty __P((CHAR_T *, size_t)); | ^ ./../vi/v_paragraph.c:151:57: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 151 | vp->m_stop.cno = lastlen ? lastlen - multi_back(sp, p, &p[lastlen]) : 0; | ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ --- v_search.o --- ./../vi/v_search.c:257:30: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 257 | if (v_event_push(sp, NULL, cmd, len, CH_NOMAP | CH_QUOTED)) | ^~~ ./../include/com_extern.h:109:47: note: passing argument to parameter here 109 | int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); | ^ ./../vi/v_search.c:263:30: warning: passing 'char[20]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 263 | if (v_event_push(sp, NULL, buf, tlen, CH_NOMAP | CH_QUOTED)) | ^~~ --- v_paragraph.o --- ./../vi/v_paragraph.c:151:60: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 151 | vp->m_stop.cno = lastlen ? lastlen - multi_back(sp, p, &p[lastlen]) : 0; | ^~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../vi/v_paragraph.c:183:54: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 183 | if (vp->m_start.cno == (len ? len - multi_back(sp, p, &p[len]) : 0)) --- v_search.o --- ./../include/com_extern.h:109:47: note: passing argument to parameter here 109 | int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); | ^ ./../vi/v_search.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | v_searchN(sp, vp) | ^ ./../vi/v_search.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | v_searchn(sp, vp) | ^ ./../vi/v_search.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 | v_searchw(sp, vp) | ^ ./../vi/v_search.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- v_paragraph.o --- | ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../vi/v_paragraph.c:183:57: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 183 | if (vp->m_start.cno == (len ? len - multi_back(sp, p, &p[len]) : 0)) | ^~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ --- v_search.o --- 356 | v_search(sp, vp, ptrn, plen, flags, dir) | ^ ./../vi/v_search.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | v_correct(sp, vp, isdelta) | ^ ./../vi/v_search.c:516:47: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 516 | if (db_get(sp, --vp->m_stop.lno, DBG_FATAL, &p, &len)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../vi/v_search.c:529:45: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] --- v_paragraph.o --- ./../vi/v_paragraph.c:206:46: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | vp->m_stop.cno = len ? len - multi_back(sp, p, &p[len]) : 0; | ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../vi/v_paragraph.c:206:49: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | vp->m_stop.cno = len ? len - multi_back(sp, p, &p[len]) : 0; | ^~~~~~~ --- v_search.o --- 529 | if (db_get(sp, vp->m_stop.lno, DBG_FATAL, &p, &len)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ 15 warnings generated. --- v_paragraph.o --- ./../include/com_extern.h:192:58: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../vi/v_paragraph.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | v_paragraphb(sp, vp) | ^ ./../vi/v_paragraph.c:262:37: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 262 | if (db_eget(sp, vp->m_start.lno, &p, NULL, NULL)) { | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../vi/v_paragraph.c:256:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 256 | } else { | ^ ./../vi/v_paragraph.c:282:28: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 282 | if (len == 0 || v_isempty(p, len)) | ^ ./../include/vi_extern.h:106:28: note: passing argument to parameter here 106 | int v_isempty __P((CHAR_T *, size_t)); | ^ ./../vi/v_paragraph.c:302:4: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 302 | INTEXT_CHECK; | ^~~~~~~~~~~~ ./../vi/v_paragraph.c:31:28: note: expanded from macro 'INTEXT_CHECK' 31 | if (len == 0 || v_isempty(p, len)) { \ | ^ ./../include/vi_extern.h:106:28: note: passing argument to parameter here 106 | int v_isempty __P((CHAR_T *, size_t)); | ^ ./../vi/v_paragraph.c:305:31: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 305 | if (len != 0 && !v_isempty(p, len)) { | ^ ./../include/vi_extern.h:106:28: note: passing argument to parameter here 106 | int v_isempty __P((CHAR_T *, size_t)); | ^ ./../vi/v_paragraph.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | v_buildps(sp, p_p, s_p) | ^ 18 warnings generated. --- vi.o --- --- v_zexit.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_zexit.c --- vi.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/vi.c --- vs_line.o --- --- v_status.o --- ./../vi/v_status.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | v_status(sp, vp) | ^ 1 warning generated. --- v_replace.o --- ./../vi/v_replace.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 | v_replace(sp, vp) | ^ ./../vi/v_replace.c:78:45: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 78 | if (db_get(sp, vp->m_start.lno, DBG_FATAL, &p, &len)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../vi/v_replace.c:180:2: warning: assigning to 'CHAR_T *' (aka '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] 180 | GET_SPACE_RET(sp, bp, blen, len); --- vs_msg.o --- --- v_replace.o --- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' 66 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../vi/v_replace.c:206:35: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 206 | if (db_set(sp, vp->m_start.lno, p, vp->m_start.cno)) | ^ ./../include/com_extern.h:118:39: note: passing argument to parameter here 118 | int db_set __P((SCR *, recno_t, char *, size_t)); | ^ ./../vi/v_replace.c:221:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 221 | if ((tp = text_init(sp, p, len, len)) == NULL) | ^ ./../include/com_extern.h:87:41: note: passing argument to parameter here 87 | TEXT *text_init __P((SCR *, const char *, size_t, size_t)); | ^ ./../vi/v_replace.c:232:41: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 232 | if (db_append(sp, 1, vp->m_start.lno, tp->lb, tp->len)) | ^~~~~~ ./../include/com_extern.h:116:47: note: passing argument to parameter here 116 | int db_append __P((SCR *, int, recno_t, char *, size_t)); | ^ ./../vi/v_replace.c:262:3: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 262 | ADD_SPACE_RET(sp, bp, blen, nlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/../common/mem.h:89:26: note: expanded from macro 'ADD_SPACE_RET' 89 | if (L__gp == NULL || bp == L__gp->tmp_bp) { \ | ~~ ^ ~~~~~~~~~~~~~ ./../vi/v_replace.c:262:3: warning: assigning to 'CHAR_T *' (aka '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] 262 | ADD_SPACE_RET(sp, bp, blen, nlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/../common/mem.h:92:6: note: expanded from macro 'ADD_SPACE_RET' 92 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../vi/v_replace.c:276:38: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 276 | rval = db_set(sp, vp->m_start.lno, bp, nlen); | ^~ ./../include/com_extern.h:118:39: note: passing argument to parameter here 118 | int db_set __P((SCR *, recno_t, char *, size_t)); | ^ ./../vi/v_replace.c:281:2: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 281 | FREE_SPACE(sp, bp, blen); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' 102 | if (L__gp != NULL && bp == L__gp->tmp_bp) \ | ~~ ^ ~~~~~~~~~~~~~ 10 warnings generated. --- vs_line.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/vs_line.c --- vs_msg.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/vs_msg.c --- vs_refresh.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/vs_refresh.c --- v_scroll.o --- ./../vi/v_scroll.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | v_lgoto(sp, vp) | ^ ./../vi/v_scroll.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] 109 | v_home(sp, vp) | ^ ./../vi/v_scroll.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | v_middle(sp, vp) | ^ ./../vi/v_scroll.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 | v_bottom(sp, vp) | ^ ./../vi/v_scroll.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 | goto_adjust(vp) | ^ ./../vi/v_scroll.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | v_up(sp, vp) | ^ ./../vi/v_scroll.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 | v_cr(sp, vp) | ^ ./../vi/v_scroll.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | v_down(sp, vp) | ^ ./../vi/v_scroll.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 | v_hpageup(sp, vp) | ^ ./../vi/v_scroll.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | v_hpagedown(sp, vp) | ^ ./../vi/v_scroll.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | v_pagedown(sp, vp) | ^ ./../vi/v_scroll.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | v_pageup(sp, vp) | ^ ./../vi/v_scroll.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | v_lineup(sp, vp) | ^ ./../vi/v_scroll.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | v_linedown(sp, vp) | ^ 14 warnings generated. --- v_section.o --- ./../vi/v_section.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | v_sectionf(sp, vp) | ^ ./../vi/v_section.c:88:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 88 | else { | ^ ./../vi/v_section.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | v_sectionb(sp, vp) | ^ ./../vi/v_section.c:262:37: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 262 | vp->m_start.cno -= multi_back(sp, p, &p[vp->m_start.cno]); | ^ --- vs_relative.o --- --- v_section.o --- ./../include/com_extern.h:192:42: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../vi/v_section.c:262:40: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 262 | vp->m_start.cno -= multi_back(sp, p, &p[vp->m_start.cno]); | ^~~~~~~~~~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ 5 warnings generated. --- v_sentence.o --- ./../vi/v_sentence.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 | v_sentencef(sp, vp) | ^ ./../vi/v_sentence.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 | v_sentenceb(sp, vp) | ^ ./../vi/v_sentence.c:395:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 395 | } else | ^ 3 warnings generated. --- vs_smap.o --- --- vs_relative.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/vs_relative.c --- vs_smap.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/vs_smap.c --- vs_split.o --- --- v_ulcase.o --- ./../vi/v_ulcase.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 | v_ulcase(sp, vp) | ^ ./../vi/v_ulcase.c:71:26: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 71 | if (db_get(sp, lno, 0, &p, &len)) { | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../vi/v_ulcase.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 | v_mulcase(sp, vp) | ^ ./../vi/v_ulcase.c:149:34: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 149 | if (db_get(sp, lno, DBG_FATAL, &p, &len)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../vi/v_ulcase.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | ulcase(sp, lno, lp, len, scno, ecno) | ^ ./../vi/v_ulcase.c:193:9: warning: assigning to 'CHAR_T *' (aka '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] 193 | for (p = bp + scno, t = bp + ecno + 1; p < t; ++p) { | ^ ~~~~~~~~~ ./../vi/v_ulcase.c:193:24: warning: assigning to 'CHAR_T *' (aka '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] 193 | for (p = bp + scno, t = bp + ecno + 1; p < t; ++p) { | ^ ~~~~~~~~~~~~~ 7 warnings generated. --- multibyte.o --- --- vs_split.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/vs_split.c --- multibyte.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multibyte.c --- v_undo.o --- ./../vi/v_undo.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | v_Undo(sp, vp) | ^ ./../vi/v_undo.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 | v_undo(sp, vp) | ^ 2 warnings generated. --- multi_chclass.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_chclass.c --- v_xchar.o --- ./../vi/v_xchar.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | v_xchar(sp, vp) | ^ ./../vi/v_xchar.c:48:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 48 | if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../vi/v_xchar.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | v_Xchar(sp, vp) | ^ ./../vi/v_xchar.c:128:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 128 | if (db_eget(sp, vp->m_start.lno, &p, NULL, NULL)) | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ 4 warnings generated. --- multi_big5.o --- --- v_z.o --- ./../vi/v_z.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | v_z(sp, vp) | ^ ./../vi/v_z.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | vs_crel(sp, count) | ^ 2 warnings generated. --- v_yank.o --- ./../vi/v_yank.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 | v_yank(sp, vp) | ^ ./../vi/v_yank.c:83:47: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 83 | if (db_get(sp, vp->m_final.lno, DBG_FATAL, &p, NULL)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ 2 warnings generated. --- multi_euc.o --- --- multi_big5.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_big5.c --- multi_eucjp.o --- --- v_zexit.o --- ./../vi/v_zexit.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | v_zexit(sp, vp) | ^ 1 warning generated. --- multi_euc.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_euc.c --- multi_eucjp.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_eucjp.c --- v_util.o --- ./../vi/v_util.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | v_eof(sp, mp) | ^ ./../vi/v_util.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 | v_eol(sp, mp) | ^ ./../vi/v_util.c:84:39: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 84 | if (mp->cno == len - multi_back(sp, p, &p[len])) | ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ --- multi_hz.o --- --- v_util.o --- ./../vi/v_util.c:84:42: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 84 | if (mp->cno == len - multi_back(sp, p, &p[len])) | ^~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../vi/v_util.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | v_nomove(sp) | ^ ./../vi/v_util.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | v_sof(sp, mp) | ^ ./../vi/v_util.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 | v_sol(sp) | ^ ./../vi/v_util.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] 146 | v_isempty(p, len) | ^ ./../vi/v_util.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | v_emsg(sp, p, which) | ^ 9 warnings generated. --- multi_iso2022.o --- --- multi_hz.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_hz.c --- multi_iso2022.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_iso2022.c --- vs_line.o --- ./../vi/vs_line.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | vs_line(sp, smp, yp, xp) | ^ ./../vi/vs_line.c:103:5: warning: assigning to 'CHAR_T *' (aka '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] 103 | p0 = p; | ^ ~ ./../vi/vs_line.c:152:37: warning: format specifies type 'unsigned long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat] 152 | sizeof(cbuf), O_NUMBER_FMT, smp->lno); | ~~~~~~~~~~~~ ^~~~~~~~ ./../vi/vs_line.c:197:10: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] --- vs_relative.o --- ./../vi/vs_relative.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | vs_column(sp, colp) | ^ ./../vi/vs_relative.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 | vs_screens(sp, lno, cnop) | ^ ./../vi/vs_relative.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 | vs_columns(sp, lp, lno, cnop, diffp) | ^ ./../vi/vs_relative.c:132:4: warning: assigning to 'CHAR_T *' (aka '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] 132 | p = lp; | ^ ~~ ./../vi/vs_relative.c:188:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] --- vs_line.o --- 197 | KEY_NAME(sp, ch), KEY_LEN(sp, ch)); | ^~~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' 149 | ((unsigned char)(ch) <= MAX_FAST_KEY \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | ? sp->gp->cname[(unsigned char)ch].name \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | : v_key_name1(sp, (unsigned char)ch)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/vs_line.c:193:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 193 | } else | ^ ./../vi/vs_line.c:404:41: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 404 | offset_in_line -= multi_back(sp, p0, p); | ^ ./../include/com_extern.h:192:58: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../vi/vs_line.c:405:28: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 405 | p -= multi_back(sp, p0, p); | ^ ./../include/com_extern.h:192:58: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../vi/vs_line.c:455:7: warning: assigning to 'CHAR_T *' (aka '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] 455 | pch = p; | ^ ~ ./../vi/vs_line.c:584:9: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 584 | kp = " "; /*enough?*/ | ^ ~~~~~~~~~~~~ ./../vi/vs_line.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | vs_number(sp) | ^ ./../vi/vs_line.c:699:52: warning: format specifies type 'unsigned long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat] 699 | len = snprintf(nbuf, sizeof(nbuf), O_NUMBER_FMT, smp->lno); | ~~~~~~~~~~~~ ^~~~~~~~ 11 warnings generated. --- vs_relative.o --- 188 | TAB_RESET; | ^ ./../vi/vs_relative.c:163:5: note: expanded from macro 'TAB_RESET' 163 | } else \ | ^ ./../vi/vs_relative.c:244:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 244 | TAB_RESET; | ^ ./../vi/vs_relative.c:163:5: note: expanded from macro 'TAB_RESET' 163 | } else \ | ^ ./../vi/vs_relative.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | vs_rcm(sp, lno, islast) | ^ --- multi_none.o --- --- vs_relative.o --- ./../vi/vs_relative.c:321:26: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 321 | if (db_get(sp, lno, 0, &p, &len) || len == 0) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../vi/vs_relative.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | vs_colpos(sp, lno, cno) | ^ ./../vi/vs_relative.c:365:27: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 365 | (void)db_get(sp, lno, 0, &lp, &llen); | ^~~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../vi/vs_relative.c:508:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 508 | TAB_RESET; | ^ ./../vi/vs_relative.c:163:5: note: expanded from macro 'TAB_RESET' 163 | } else \ | ^ 11 warnings generated. --- vs_refresh.o --- ./../vi/vs_refresh.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 | vs_repaint(sp, evp) | ^ ./../vi/vs_refresh.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 | vs_refresh(sp, forcepaint) | ^ ./../vi/vs_refresh.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | vs_paint(sp, flags) | ^ ./../vi/vs_refresh.c:190:4: warning: assigning to 'CHAR_T *' (aka '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] 190 | p = p0 = NULL; | ^ ~~~~~~~~~ ./../vi/vs_refresh.c:278:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] --- multi_sjis.o --- --- vs_msg.o --- ./../vi/vs_msg.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 | vs_busy(sp, msg, btype) | ^ ./../vi/vs_msg.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | vs_home(sp) | ^ ./../vi/vs_msg.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | vs_update(sp, m1, m2) | ^ ./../vi/vs_msg.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | vs_msg(sp, mtype, line, len) | ^ ./../vi/vs_msg.c:267:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 267 | } else | ^ --- multi_none.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_none.c --- vs_refresh.o --- 278 | } else if (LNO > TMAP->lno) { | ^ ./../vi/vs_refresh.c:419:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 419 | } else | ^ ./../vi/vs_refresh.c:428:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 428 | } else | ^ ./../vi/vs_refresh.c:480:23: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 480 | if (db_eget(sp, LNO, &p, &len, &isempty)) { | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ --- vs_msg.o --- ./../vi/vs_msg.c:298:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 298 | } else | ^ ./../vi/vs_msg.c:328:33: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 328 | (void)printf("%.*s", strlen(p), p); | ^ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ ./../vi/vs_msg.c:328:21: warning: field precision should have type 'int', but argument has type 'unsigned long' [-Wformat] 328 | (void)printf("%.*s", strlen(p), p); | ~~^~ ~~~~~~~~~ --- vs_refresh.o --- ./../vi/vs_refresh.c:486:5: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 486 | p0 = p; | ^ ~ ./../vi/vs_refresh.c:602:26: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 602 | tlen = multi_back(sp, p0, &p0[CNO + cnt]); | ^~ ./../include/com_extern.h:192:42: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ --- vs_msg.o --- ./../vi/vs_msg.c:349:31: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 349 | (void)vs_msgsave(sp, mtype, line, len); | ^~~~ ./../vi/vs_msg.c:41:51: note: passing argument to parameter here 41 | static void vs_msgsave __P((SCR *, mtype_t, char *, size_t)); | ^ ./../vi/vs_msg.c:395:30: warning: passing 'char[3]' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 395 | vs_output(sp, vip->mtype, ".\n", 2); | ^~~~~ ./../vi/vs_msg.c:45:58: note: passing argument to parameter here --- vs_refresh.o --- ./../vi/vs_refresh.c:602:30: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 602 | tlen = multi_back(sp, p0, &p0[CNO + cnt]); | ^~~~~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here 192 | int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); | ^ ./../vi/vs_refresh.c:774:25: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 774 | if (db_eget(sp, LNO, &p, &len, &isempty)) { | ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here --- vs_msg.o --- 45 | static void vs_output __P((SCR *, mtype_t, const CHAR_T *, int)); | ^ ./../vi/vs_msg.c:397:30: warning: passing 'char[2]' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 397 | vs_output(sp, vip->mtype, ";", 1); | ^~~ ./../vi/vs_msg.c:45:58: note: passing argument to parameter here 45 | static void vs_output __P((SCR *, mtype_t, const CHAR_T *, int)); | ^ ./../vi/vs_msg.c:398:26: warning: passing 'char[2]' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] --- vs_refresh.o --- 113 | int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); | ^ ./../vi/vs_refresh.c:778:7: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 778 | p0 = p; | ^ ~ ./../vi/vs_refresh.c:959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | vs_modeline(sp) | ^ ./../vi/vs_refresh.c:1037:9: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1037 | KEY_NAME(sp, '.'), KEY_LEN(sp, '.')); | ^~~~~~~~~~~~~~~~~ --- vs_msg.o --- 398 | vs_output(sp, M_NONE, " ", 1); | ^~~ ./../vi/vs_msg.c:45:58: note: passing argument to parameter here 45 | static void vs_output __P((SCR *, mtype_t, const CHAR_T *, int)); | ^ ./../vi/vs_msg.c:396:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 396 | else { | ^ ./../vi/vs_msg.c:401:9: warning: assigning to 'const char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 401 | for (s = line;; s = t) { | ^ ~~~~ --- vs_refresh.o --- ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' 149 | ((unsigned char)(ch) <= MAX_FAST_KEY \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | ? sp->gp->cname[(unsigned char)ch].name \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | : v_key_name1(sp, (unsigned char)ch)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/vs_refresh.c:1039:8: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1039 | KEY_NAME(sp, ' '), KEY_LEN(sp, ' ')); | ^~~~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' --- vs_msg.o --- ./../vi/vs_msg.c:422:24: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 422 | vs_output(sp, mtype, s, e - s); | ^ ./../vi/vs_msg.c:45:58: note: passing argument to parameter here 45 | static void vs_output __P((SCR *, mtype_t, const CHAR_T *, int)); | ^ ./../vi/vs_msg.c:425:26: warning: passing 'char[2]' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 425 | vs_output(sp, M_NONE, "\n", 1); | ^~~~ ./../vi/vs_msg.c:45:58: note: passing argument to parameter here --- vs_refresh.o --- 149 | ((unsigned char)(ch) <= MAX_FAST_KEY \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | ? sp->gp->cname[(unsigned char)ch].name \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | : v_key_name1(sp, (unsigned char)ch)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/vs_refresh.c:1043:8: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1043 | KEY_NAME(sp, *p), KEY_LEN(sp, *p)); | ^~~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' 149 | ((unsigned char)(ch) <= MAX_FAST_KEY \ --- vs_msg.o --- 45 | static void vs_output __P((SCR *, mtype_t, const CHAR_T *, int)); | ^ ./../vi/vs_msg.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | vs_output(sp, mtype, line, llen) | ^ ./../vi/vs_msg.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | vs_ex_resolve(sp, continuep) | ^ ./../vi/vs_msg.c:669:29: warning: passing 'char[2]' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 669 | vs_output(sp, vip->mtype, ".", 1); | ^~~ --- vs_refresh.o --- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | ? sp->gp->cname[(unsigned char)ch].name \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | : v_key_name1(sp, (unsigned char)ch)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/vs_refresh.c:1064:45: warning: format specifies type 'unsigned long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat] 1064 | snprintf(buf, sizeof(buf), "%lu,%lu", sp->lno, curcol + 1); | ~~~ ^~~~~~~ | %u ./../vi/vs_refresh.c:1096:9: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] --- vs_msg.o --- ./../vi/vs_msg.c:777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | vs_resolve(sp, csp, forcewait) | ^ ./../vi/vs_msg.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | vs_scroll(sp, continuep, wtype) | ^ ./../vi/vs_msg.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | vs_wait(sp, continuep, wtype) | ^ ./../vi/vs_msg.c:996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | vs_divider(sp) | ^ ./../vi/vs_msg.c:1016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- vs_refresh.o --- 1096 | KEY_NAME(sp, '*'), KEY_LEN(sp, '*')); | ^~~~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' 149 | ((unsigned char)(ch) <= MAX_FAST_KEY \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | ? sp->gp->cname[(unsigned char)ch].name \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | : v_key_name1(sp, (unsigned char)ch)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19 warnings generated. --- vs_msg.o --- 1016 | vs_msgsave(sp, mt, p, len) | ^ 24 warnings generated. --- multi_sjis.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_sjis.c --- multi_canna.o --- --- vi.o --- ./../vi/vi.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | vi(spp) | ^ ./../vi/vi.c:178:16: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 178 | ex_emsg(sp, KEY_NAME(sp, vp->key), EXM_SECURE); | ^~~~~~~~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' 149 | ((unsigned char)(ch) <= MAX_FAST_KEY \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | ? sp->gp->cname[(unsigned char)ch].name \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | : v_key_name1(sp, (unsigned char)ch)) --- vs_split.o --- ./../vi/vs_split.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | vs_split(sp, new, ccl) | ^ ./../vi/vs_split.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | vs_discard(sp, spp) | ^ ./../vi/vs_split.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 | vs_fg(sp, nspp, name, newscreen) | ^ ./../vi/vs_split.c:299:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 299 | nsp = vs_getbg(sp, name); | ^~~~ --- multi_canna.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_canna.c --- vi.o --- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:117:32: note: passing argument to parameter here 117 | void ex_emsg __P((SCR *, char *, exm_t)); | ^ ./../vi/vi.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | v_cmd(sp, dp, vp, ismotion, comcountp, mappedp) | ^ ./../vi/vi.c:595:14: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 595 | v_emsg(sp, KEY_NAME(sp, key), VIM_NOCOM); | ^~~~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' 149 | ((unsigned char)(ch) <= MAX_FAST_KEY \ --- vs_split.o --- ./../vi/vs_split.c:30:40: note: passing argument to parameter here 30 | static SCR *vs_getbg __P((SCR *, char *)); | ^ ./../vi/vs_split.c:302:25: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 302 | if (vs_swap(sp, &nsp, name)) | ^~~~ ./../include/vi_extern.h:158:39: note: passing argument to parameter here 158 | int vs_swap __P((SCR *, SCR **, char *)); | ^ ./../vi/vs_split.c:306:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 306 | msgq_str(sp, M_ERR, name, | ^~~~ --- vi.o --- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | ? sp->gp->cname[(unsigned char)ch].name \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | : v_key_name1(sp, (unsigned char)ch)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/vi_extern.h:108:31: note: passing argument to parameter here 108 | void v_emsg __P((SCR *, char *, vim_t)); | ^ ./../vi/vi.c:629:15: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 629 | v_emsg(sp, KEY_NAME(sp, key), | ^~~~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' --- vs_split.o --- ./../include/com_extern.h:138:42: note: passing argument to parameter here 138 | void msgq_str __P((SCR *, mtype_t, char *, char *)); | ^ ./../vi/vs_split.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | vs_bg(sp) | ^ ./../vi/vs_split.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | vs_swap(sp, nspp, name) | ^ ./../vi/vs_split.c:468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | vs_resize(sp, count, adj) | ^ ./../vi/vs_split.c:569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | vs_getbg(sp, name) | ^ --- vi.o --- 149 | ((unsigned char)(ch) <= MAX_FAST_KEY \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | ? sp->gp->cname[(unsigned char)ch].name \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 151 | : v_key_name1(sp, (unsigned char)ch)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/vi_extern.h:108:31: note: passing argument to parameter here 108 | void v_emsg __P((SCR *, char *, vim_t)); | ^ ./../vi/vi.c:799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | v_motion(sp, dm, vp, mappedp) | ^ ./../vi/vi.c:872:37: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] --- vs_split.o --- 10 warnings generated. --- vi.o --- 872 | if (db_get(sp, vp->m_stop.lno, 0, &p0, &len)) | ^~~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../vi/vi.c:1040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | v_init(sp) | ^ ./../vi/vi.c:1111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | v_dtoh(sp) | ^ ./../vi/vi.c:1149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | v_keyword(sp) | ^ ./../vi/vi.c:1161:37: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 1161 | if (db_get(sp, sp->lno, DBG_FATAL, &p, &len)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../vi/vi.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | v_alias(sp, vp, kp) | ^ ./../vi/vi.c:1243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1243 | v_count(sp, fkey, countp) | ^ ./../vi/vi.c:1283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1283 | v_key(sp, command_events, evp, ec_flags) | ^ 14 warnings generated. --- multi_euctw.o --- --- multi_chclass.o --- In file included from ./../common/multi_chclass.c:39: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../common/multi_chclass.c:39: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ --- multi_euctw.o --- cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_euctw.c --- addbytes.o --- --- addch.o --- --- multi_chclass.o --- ./../common/multi_chclass.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 | multi_chclass(p, ctxt) | ^ ./../common/multi_chclass.c:59:36: 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] 59 | class = (*charset(p[0]).chclass)(p, ctxt); | ^ ./../common/multi_chclass.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | jis0208_chclass(p, ctxt) | ^ ./../common/multi_chclass.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | ksc5601_chclass(p, ctxt) | ^ 6 warnings generated. --- addbytes.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/addbytes.c --- box.o --- --- v_word.o --- ./../vi/v_word.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | v_wordW(sp, vp) | ^ ./../vi/v_word.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 | v_wordw(sp, vp) | ^ ./../vi/v_word.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 | fword(sp, vp, type) | ^ ./../vi/v_word.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | v_wordE(sp, vp) | ^ ./../vi/v_word.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 | v_worde(sp, vp) | ^ ./../vi/v_word.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | eword(sp, vp, type) | ^ ./../vi/v_word.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | v_wordB(sp, vp) | ^ ./../vi/v_word.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | v_wordb(sp, vp) | ^ ./../vi/v_word.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | bword(sp, vp, type) | ^ 9 warnings generated. --- addch.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/addch.c --- clear.o --- --- box.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/box.c --- multi_hz.o --- In file included from ./../common/multi_hz.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../common/multi_hz.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ --- multi_big5.o --- In file included from ./../common/multi_big5.c:39: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../common/multi_big5.c:39: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ --- clear.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/clear.c --- multi_hz.o --- ./../common/multi_hz.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | hz_to_int(sp, e, dst, pdlen, src, slen, pflags, state) | ^ ./../common/multi_hz.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] 157 | int_to_hz(sp, e, dst, pdlen, src, slen, pflags, state) | ^ 4 warnings generated. --- multi_big5.o --- ./../common/multi_big5.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 | iso2022tobig5(dst, class, src) | ^ ./../common/multi_big5.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 | big5toiso2022(class, dst, src) | ^ ./../common/multi_big5.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | big5_to_int(sp, e, dst, pdlen, src, slen, pflags, state) | ^ ./../common/multi_big5.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | int_to_big5(sp, e, dst, pdlen, src, slen, pflags, state) | ^ ./../common/multi_big5.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | big5_keyinput(sp, e, kbuf, kbuflen, intbuf, pintbuflen, pstate, pconsumed) | ^ ./../common/multi_big5.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | big5_display(sp, e, name, p) | ^ 8 warnings generated. --- multi_euc.o --- In file included from ./../common/multi_euc.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../common/multi_euc.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ --- multi_eucjp.o --- In file included from ./../common/multi_eucjp.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../common/multi_eucjp.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ --- clrtobot.o --- --- clrtoeol.o --- --- multi_eucjp.o --- ./../common/multi_eucjp.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] 144 | eucjp_display(sp, e, name, p) | ^ 3 warnings generated. --- multi_euc.o --- ./../common/multi_euc.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | euc_recommendation(cs, e) | ^ ./../common/multi_euc.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | euc_display(sp, e, name, p) | ^ 4 warnings generated. --- clrtobot.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/clrtobot.c --- cr_put.o --- --- ctrace.o --- --- clrtoeol.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/clrtoeol.c --- cr_put.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/cr_put.c --- ctrace.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/ctrace.c --- cur_hash.o --- --- multi_none.o --- In file included from ./../common/multi_none.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../common/multi_none.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ --- cur_hash.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/cur_hash.c --- multi_none.o --- ./../common/multi_none.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | none_to_int(sp, e, dst, pdlen, src, slen, pflags, state) | ^ ./../common/multi_none.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 | int_to_none(sp, e, dst, pdlen, src, slen, pflags, state) | ^ ./../common/multi_none.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 | none_keyinput(sp, e, kbuf, kbuflen, intbuf, pintbuflen, pstate, pconsumed) | ^ 5 warnings generated. --- curses.o --- --- addch.o --- ./../curses/addch.c:57:18: warning: passing arguments to '__waddch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | return (__waddch(win, &buf)); | ^ ./../curses/addch.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 | waddch(win, ch) | ^ In file included from ./../curses/addch.c:38: ./../curses/curses.h:295:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 295 | int waddch(); | ^ ./../curses/addch.c:68:21: warning: passing arguments to '__waddbytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- multi_euctw.o --- In file included from ./../common/multi_euctw.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../common/multi_euctw.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ --- curses.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/curses.c --- addch.o --- 68 | return (__waddbytes(win, buf, 1, dp->attr & __STANDOUT)); | ^ ./../curses/addch.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 | __waddch(win, dp) | ^ In file included from ./../curses/addch.c:38: ./../curses/curses.h:334:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 334 | int __waddch(); | ^ 6 warnings generated. --- multi_euctw.o --- ./../common/multi_euctw.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | euctw_to_int(sp, e, dst, pdlen, src, slen, pflags, state) | ^ ./../common/multi_euctw.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 | int_to_euctw(sp, e, dst, pdlen, src, slen, pflags, state) | ^ ./../common/multi_euctw.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | euctw_keyinput(sp, e, kbuf, kbuflen, intbuf, pintbuflen, pstate, pconsumed) | ^ ./../common/multi_euctw.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 | euctw_display(sp, e, name, p) | ^ 6 warnings generated. --- delch.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/delch.c --- deleteln.o --- --- multi_sjis.o --- In file included from ./../common/multi_sjis.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../common/multi_sjis.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ ./../common/multi_sjis.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | jistosjis(dst, src) | ^ ./../common/multi_sjis.c:55:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] 55 | high = (high - 0x21 >> 1) + 0x81; | ~~~~~^~~~~~ ~~ ./../common/multi_sjis.c:55:15: note: place parentheses around the '-' expression to silence this warning 55 | high = (high - 0x21 >> 1) + 0x81; | ^ | ( ) ./../common/multi_sjis.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 | sjistojis(dst, src) | ^ ./../common/multi_sjis.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] 89 | sjis_to_int(sp, e, dst, pdlen, src, slen, pflags, state) | ^ ./../common/multi_sjis.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | int_to_sjis(sp, e, dst, pdlen, src, slen, pflags, state) | ^ ./../common/multi_sjis.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | sjis_keyinput(sp, e, kbuf, kbuflen, intbuf, pintbuflen, pstate, pconsumed) | ^ ./../common/multi_sjis.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | sjis_display(sp, e, name, p) | ^ 9 warnings generated. --- vs_smap.o --- ./../vi/vs_smap.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 | vs_change(sp, lno, op) | ^ ./../vi/vs_smap.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | vs_sm_fill(sp, lno, pos) | ^ ./../vi/vs_smap.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | vs_sm_delete(sp, lno) | ^ ./../vi/vs_smap.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | vs_sm_insert(sp, lno) | ^ ./../vi/vs_smap.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] --- delwin.o --- --- clrtobot.o --- ./../curses/clrtobot.c:73:15: warning: passing arguments to '__touchline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | __touchline(win, y, minx, maxx - win->lines[y]->line, | ^ ./../curses/clrtobot.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 | wclrtobot(win) | ^ In file included from ./../curses/clrtobot.c:38: ./../curses/curses.h:298:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 298 | int wclrtobot(); | ^ 3 warnings generated. --- vs_smap.o --- 408 | vs_sm_reset(sp, lno) | ^ ./../vi/vs_smap.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | vs_sm_scroll(sp, rp, count, scmd) | ^ ./../vi/vs_smap.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | vs_sm_up(sp, rp, count, scmd, smp) | ^ ./../vi/vs_smap.c:757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | vs_sm_1up(sp) | ^ ./../vi/vs_smap.c:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | vs_deleteln(sp, cnt) | ^ ./../vi/vs_smap.c:814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | vs_sm_down(sp, rp, count, scmd, smp) | ^ ./../vi/vs_smap.c:970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | vs_sm_erase(sp) | ^ ./../vi/vs_smap.c:992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | vs_sm_1down(sp) | ^ ./../vi/vs_smap.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | vs_insertln(sp, cnt) | ^ ./../vi/vs_smap.c:1052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | vs_sm_next(sp, p, t) | ^ ./../vi/vs_smap.c:1082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | vs_sm_prev(sp, p, t) | ^ ./../vi/vs_smap.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | vs_sm_cursor(sp, smpp) | ^ ./../vi/vs_smap.c:1150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | vs_sm_position(sp, rp, cnt, pos) | ^ ./../vi/vs_smap.c:1234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1234 | vs_sm_nlines(sp, from_sp, to_lno, max) | ^ 18 warnings generated. --- deleteln.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/deleteln.c --- delwin.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/delwin.c --- addbytes.o --- ./../curses/addbytes.c:199:29: warning: call to undeclared library function 'strchr' with type 'char *(const char *, int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | } else if (2 <= count && strchr("(,", bytes[0]) | ^ ./../curses/addbytes.c:199:29: note: include the header or explicitly provide a declaration for 'strchr' ./../curses/addbytes.c:238:13: warning: passing arguments to 'scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | scroll(win); | ^ --- erase.o --- --- fullname.o --- --- clear.o --- ./../curses/clear.c:48:12: warning: passing arguments to 'werase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if (werase(win) == OK) { | ^ ./../curses/clear.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 | wclear(win) | ^ In file included from ./../curses/clear.c:38: ./../curses/curses.h:297:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 297 | int wclear(); | ^ 3 warnings generated. --- addbytes.o --- ./../curses/addbytes.c:258:4: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 258 | memcpy(&newch, &lp->line[x], __LDATASIZE); | ^ ./../curses/addbytes.c:258:4: note: include the header or explicitly provide a declaration for 'memcpy' ./../curses/addbytes.c:344:9: warning: call to undeclared library function 'memcmp' with type 'int (const void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 344 | && (memcmp(&newch0, &lp->line[x - 1], __LDATASIZE) | ^ ./../curses/addbytes.c:344:9: note: include the header or explicitly provide a declaration for 'memcmp' ./../curses/addbytes.c:415:13: warning: passing arguments to 'wclrtoeol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | wclrtoeol(win); | ^ ./../curses/addbytes.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 | __waddbytes(win, bytes, count, so) | ^ In file included from ./../curses/addbytes.c:40: ./../curses/curses.h:317:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 317 | int __waddbytes(); | ^ 7 warnings generated. --- erase.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/erase.c --- getch.o --- --- getstr.o --- --- clrtoeol.o --- ./../curses/clrtoeol.c:80:21: warning: passing arguments to '__touchline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | return (__touchline(win, y, x, win->maxx - 1, 0)); | ^ ./../curses/clrtoeol.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 | wclrtoeol(win) | ^ In file included from ./../curses/clrtoeol.c:38: ./../curses/curses.h:299:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 299 | int wclrtoeol(); | ^ 3 warnings generated. --- box.o --- ./../curses/box.c:113:12: warning: passing arguments to '__touchwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | __touchwin(win); | ^ ./../curses/box.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 | box(win, vert, hor) | ^ In file included from ./../curses/box.c:38: ./../curses/curses.h:255:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 255 | int box(); | ^ 3 warnings generated. --- multi_iso2022.o --- In file included from ./../common/multi_iso2022.c:36: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../common/multi_iso2022.c:36: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ ./../common/multi_iso2022.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | parsecharset(p, len, hcs, pgroup) | ^ ./../common/multi_iso2022.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | callcharset(cs, e, ht, state, prefer) | ^ ./../common/multi_iso2022.c:251:32: 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] 251 | prefer = (*e->recommendation)(cs, e); | ^ ./../common/multi_iso2022.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | selcharset(cs, e, ht, pmask, state, prefer) | ^ ./../common/multi_iso2022.c:463:9: warning: passing 'CHAR_T[30]' (aka 'unsigned char[30]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 463 | strcpy(sequence, *ht); | ^~~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ ./../common/multi_iso2022.c:463:19: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 463 | strcpy(sequence, *ht); | ^~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ ./../common/multi_iso2022.c:465:13: warning: passing 'CHAR_T[30]' (aka 'unsigned char[30]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 465 | i = strlen(sequence); | ^~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ ./../common/multi_iso2022.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | iso2022_to_int(sp, e, dst, pdlen, src, slen, pflags, state) | ^ ./../common/multi_iso2022.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | int_to_iso2022(sp, e, dst, pdlen, src, slen, pflags, state) | ^ ./../common/multi_iso2022.c:961:4: warning: expression result unused [-Wunused-value] 961 | *q++; | ^~~~ ./../common/multi_iso2022.c:1054:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | iso2022kr_to_int(sp, e, dst, pdlen, src, slen, pflags, state) | ^ ./../common/multi_iso2022.c:1067:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1067 | if (slen == 4 && strncmp(src, "\033$)C", 4) == 0) { | ^~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ ./../common/multi_iso2022.c:1081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | int_to_iso2022kr(sp, e, dst, pdlen, src, slen, pflags, state) | ^ ./../common/multi_iso2022.c:1141:20: warning: unsequenced modification and access to 'p' [-Wunsequenced] 1141 | dst[p - t] = *p++; | ~ ^ ./../common/multi_iso2022.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | iso2022jp3_to_int(sp, e, dst, pdlen, src, slen, pflags, state) | ^ ./../common/multi_iso2022.c:1193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | iso2022cn_recommendation(cs, e) | ^ ./../common/multi_iso2022.c:1224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1224 | iso2022jp_recommendation(cs, e) | ^ ./../common/multi_iso2022.c:1242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | iso2022kr_recommendation(cs, e) | ^ ./../common/multi_iso2022.c:1259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | ctext_recommendation(cs, e) | ^ ./../common/multi_iso2022.c:1294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1294 | iso2022_keyinput(sp, e, kbuf, kbuflen, intbuf, pintbuflen, pstate, pconsumed) | ^ 22 warnings generated. --- getch.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/getch.c --- v_txt.o --- ./../vi/v_txt.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | v_tcmd(sp, vp, prompt, flags) | ^ ./../vi/v_txt.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 | txt_map_init(sp) | ^ ./../vi/v_txt.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | txt_map_end(sp) | ^ ./../vi/v_txt.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | v_txt(sp, vp, tm, lp, len, prompt, ai_line, rcount, flags) | ^ --- getstr.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/getstr.c --- fullname.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/fullname.c --- id_subwins.o --- --- idlok.o --- --- initscr.o --- --- insch.o --- --- v_txt.o --- ./../vi/v_txt.c:707:34: warning: passing 'char[2]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 707 | (void)v_event_push(sp, NULL, "\r", 1, CH_NOMAP); | ^~~~ ./../include/com_extern.h:109:47: note: passing argument to parameter here 109 | int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); | ^ ./../vi/v_txt.c:802:28: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 802 | if ((ntp = text_init(sp, p, | ^ ./../include/com_extern.h:87:41: note: passing argument to parameter here --- cr_put.o --- ./../curses/cr_put.c:55:17: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | return (__mvcur(ly, lx, y, x, 0)); | ^ ./../curses/cr_put.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 | mvcur(ly, lx, y, x) | ^ In file included from ./../curses/cr_put.c:40: ./../curses/curses.h:266:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 266 | int mvcur(); | ^ ./../curses/cr_put.c:82:7: warning: passing arguments to 'fgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | fgoto(in_refresh); --- id_subwins.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/id_subwins.c --- idlok.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/idlok.c --- initscr.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/initscr.c --- insch.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/insch.c --- v_txt.o --- 87 | TEXT *text_init __P((SCR *, const char *, size_t, size_t)); | ^ ./../vi/v_txt.c:823:5: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 823 | FREE_SPACE(sp, ait.lb, ait.lb_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' 102 | if (L__gp != NULL && bp == L__gp->tmp_bp) \ | ~~ ^ ~~~~~~~~~~~~~ ./../vi/v_txt.c:1663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1663 | txt_abbrev(sp, tp, pushcp, isinfoline, didsubp, turnoffp) | ^ --- cr_put.o --- | ^ ./../curses/cr_put.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | __mvcur(ly, lx, y, x, in_refresh) | ^ In file included from ./../curses/cr_put.c:40: ./../curses/curses.h:324:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 324 | int __mvcur(); | ^ ./../curses/cr_put.c:105:12: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | tputs(CR, 0, __cputchar); | ^ ./../curses/cr_put.c:106:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] --- v_txt.o --- ./../vi/v_txt.c:1785:21: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1785 | if (ex_is_abbrev(p, len)) { | ^ ./../include/ex_extern.h:4:29: note: passing argument to parameter here 4 | int ex_is_abbrev __P((char *, size_t)); | ^ ./../vi/v_txt.c:1790:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1790 | else | ^ ./../vi/v_txt.c:1858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1858 | txt_unmap(sp, tp, ec_flagsp) | ^ --- cr_put.o --- 106 | else | ^ ./../curses/cr_put.c:109:11: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | tputs(NL, 0, __cputchar); | ^ ./../curses/cr_put.c:150:10: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | tputs(NL, 0, __cputchar); | ^ ./../curses/cr_put.c:161: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] 161 | cgp = tgoto(CM, destcol, destline); | ^ --- v_txt.o --- ./../vi/v_txt.c:1894:58: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1894 | if ((off == tp->ai || off == tp->offset) && ex_is_unmap(p, len)) | ^ ./../include/ex_extern.h:5:28: note: passing argument to parameter here 5 | int ex_is_unmap __P((char *, size_t)); | ^ ./../vi/v_txt.c:1905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1905 | txt_ai_resolve(sp, tp, changedp) | ^ ./../vi/v_txt.c:1999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1999 | v_txt_auto(sp, lno, aitp, len, tp) | ^ --- cr_put.o --- ./../curses/cr_put.c:167:33: warning: passing arguments to 'plod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | if (outcol != COLS - 1 && plod(strlen(cgp), in_refresh) > 0) | ^ ./../curses/cr_put.c:168:8: warning: passing arguments to 'plod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | plod(0, in_refresh); | ^ ./../curses/cr_put.c:170:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | tputs(cgp, 0, __cputchar); | ^ --- v_txt.o --- ./../vi/v_txt.c:2022:34: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 2022 | if (db_get(sp, lno, DBG_FATAL, &t, &len)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../vi/v_txt.c:2057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2057 | txt_backup(sp, tiqh, tp, flagsp) | ^ ./../vi/v_txt.c:2136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2136 | txt_dent(sp, tp, isindent) | ^ --- cr_put.o --- ./../curses/cr_put.c:172:7: warning: passing arguments to 'plod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | plod(0, in_refresh); | ^ ./../curses/cr_put.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | fgoto(in_refresh) | ^ ./../curses/cr_put.c:58: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] 58 | static void fgoto(); | ^ ./../curses/cr_put.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] 186 | plodput(c) | ^ --- v_txt.o --- ./../vi/v_txt.c:2173:13: warning: unsequenced modification and access to 'target' [-Wunsequenced] 2173 | target -= --target % sw; | ~~ ^ ./../vi/v_txt.c:2238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2238 | txt_fc(sp, tp, redrawp) | ^ ./../vi/v_txt.c:2295:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2295 | if (argv_exp2(sp, &cmd, p, len + 1)) { | ^ ./../include/ex_extern.h:21:42: note: passing argument to parameter here 21 | int argv_exp2 __P((SCR *, EXCMD *, char *, size_t)); | ^ --- cr_put.o --- ./../curses/cr_put.c:60: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] 60 | static void plodput(); | ^ ./../curses/cr_put.c:247:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | tputs(HO, 0, plodput); | ^ ./../curses/cr_put.c:256:10: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | tputs(LL, 0, plodput); | ^ --- v_txt.o --- ./../vi/v_txt.c:2311:17: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2311 | nlen = strlen(cmd.argv[0]->bp); | ^~~~~~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ ./../vi/v_txt.c:2317:13: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2317 | !stat(cmd.argv[0]->bp, &sb) && S_ISDIR(sb.st_mode)) { | ^~~~~~~~~~~~~~~ /usr/include/sys/stat.h:396:33: note: passing argument to parameter here 396 | int stat(const char * __restrict, struct stat * __restrict); --- cr_put.o --- ./../curses/cr_put.c:306:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | tputs(CR, 0, plodput); | ^ ./../curses/cr_put.c:311:10: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | tputs(NL, 0, plodput); | ^ ./../curses/cr_put.c:322:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | tputs(NL, 0, plodput); | ^ ./../curses/cr_put.c:345:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- v_txt.o --- | ^ ./../vi/v_txt.c:2373:25: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2373 | if (argc == 1 && !stat(cmd.argv[0]->bp, &sb) && S_ISDIR(sb.st_mode)) { | ^~~~~~~~~~~~~~~ /usr/include/sys/stat.h:396:33: note: passing argument to parameter here 396 | int stat(const char * __restrict, struct stat * __restrict); | ^ ./../vi/v_txt.c:2398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2398 | txt_fc_col(sp, argc, argv) | ^ --- cr_put.o --- 345 | tputs(BC, 0, plodput); | ^ ./../curses/cr_put.c:351:8: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | tputs(UP, 0, plodput); | ^ ./../curses/cr_put.c:357:14: warning: passing arguments to 'tabcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | i = tabcol(outcol, HARDTABS); | ^ ./../curses/cr_put.c:361:10: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | tputs(TA, 0, plodput); | ^ --- v_txt.o --- ./../vi/v_txt.c:2412:19: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2412 | if ((p = strrchr(argv[0]->bp, '/')) == NULL) | ^~~~~~~~~~~ /usr/include/string.h:128:27: note: passing argument to parameter here 128 | char *strrchr(const char *, int) __pure; | ^ ./../vi/v_txt.c:2412:9: warning: assigning to 'CHAR_T *' (aka '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] 2412 | if ((p = strrchr(argv[0]->bp, '/')) == NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ --- cr_put.o --- ./../curses/cr_put.c:368:10: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | tputs(TA, 0, plodput); | ^ ./../curses/cr_put.c:375:11: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | tputs(BC, 0, plodput); | ^ ./../curses/cr_put.c:405:12: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | tputs(ND, 0, plodput); | ^ --- v_txt.o --- ./../vi/v_txt.c:2455:21: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2455 | p = msg_print(sp, av[0]->bp + prefix, &nf); | ^~~~~~~~~~~~~~~~~~ ./../include/com_extern.h:145:41: note: passing argument to parameter here 145 | char *msg_print __P((SCR *, const char *, int *)); | ^ ./../vi/v_txt.c:2455:5: warning: assigning to 'CHAR_T *' (aka '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] 2455 | p = msg_print(sp, av[0]->bp + prefix, &nf); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- cr_put.o --- ./../curses/cr_put.c:414:10: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | tputs(ND, 0, plodput); | ^ ./../curses/cr_put.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 | plod(cnt, in_refresh) | ^ ./../curses/cr_put.c:59: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] 59 | static int plod(); | ^ ./../curses/cr_put.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | tabcol(col, ts) | ^ --- v_txt.o --- ./../vi/v_txt.c:2462:4: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 2462 | FREE_SPACE(sp, p, 0); | ^~~~~~~~~~~~~~~~~~~~ ./../vi/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' 102 | if (L__gp != NULL && bp == L__gp->tmp_bp) \ | ~~ ^ ~~~~~~~~~~~~~ ./../vi/v_txt.c:2477:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2477 | p = msg_print(sp, argv[base]->bp + prefix, &nf); | ^~~~~~~~~~~~~~~~~~~~~~~ ./../include/com_extern.h:145:41: note: passing argument to parameter here 145 | char *msg_print __P((SCR *, const char *, int *)); --- cr_put.o --- ./../curses/cr_put.c:61: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] 61 | static int tabcol(); | ^ 36 warnings generated. --- v_txt.o --- | ^ ./../vi/v_txt.c:2477:7: warning: assigning to 'CHAR_T *' (aka '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] 2477 | p = msg_print(sp, argv[base]->bp + prefix, &nf); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/v_txt.c:2480:6: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 2480 | FREE_SPACE(sp, p, 0); | ^~~~~~~~~~~~~~~~~~~~ ./../vi/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' 102 | if (L__gp != NULL && bp == L__gp->tmp_bp) \ | ~~ ^ ~~~~~~~~~~~~~ ./../vi/v_txt.c:2510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2510 | txt_emark(sp, tp, cno) | ^ ./../vi/v_txt.c:2566:24: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2566 | (void)vs_columns(sp, tp->lb, tp->lno, &cno, &olen); | ^~~~~~ ./../include/vi_extern.h:141:37: note: passing argument to parameter here 141 | size_t vs_columns __P((SCR *, char *, recno_t, size_t *, size_t *)); | ^ ./../vi/v_txt.c:2606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2606 | txt_err(sp, tiqh) | ^ ./../vi/v_txt.c:2641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2641 | txt_hex(sp, tp) | ^ ./../vi/v_txt.c:2659:28: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2659 | for (off = tp->cno - 1, p = tp->lb + off, len = 0;; --p, --off, ++len) { | ^ ~~~~~~~~~~~~ ./../vi/v_txt.c:2847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2847 | txt_insch(sp, tp, chp, flags) | ^ ./../vi/v_txt.c:2861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2861 | txt_insmbch(sp, tp, chp, flags) | ^ ./../vi/v_txt.c:2932:25: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2932 | (void)vs_columns(sp, tp->lb, tp->lno, &cno, &nlen); | ^~~~~~ ./../include/vi_extern.h:141:37: note: passing argument to parameter here 141 | size_t vs_columns __P((SCR *, char *, recno_t, size_t *, size_t *)); | ^ ./../vi/v_txt.c:2950:9: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2950 | tp->lb, tp->lno, &cno, &olen); | ^~~~~~ ./../include/vi_extern.h:141:37: note: passing argument to parameter here 141 | size_t vs_columns __P((SCR *, char *, recno_t, size_t *, size_t *)); | ^ ./../vi/v_txt.c:2993:7: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2993 | p = tp->lb + cno; | ^ ~~~~~~~~~~~~ ./../vi/v_txt.c:2997:7: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2997 | p = tp->lb + cno; | ^ ~~~~~~~~~~~~ ./../vi/v_txt.c:3046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3046 | txt_isrch(sp, vp, tp, is_flagsp) | ^ ./../vi/v_txt.c:3128:28: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3128 | &start, &vp->m_final, tp->lb + 1, tp->cno - 1, NULL, sf) : | ^~~~~~~~~~ ./../include/com_extern.h:308:26: note: passing argument to parameter here 308 | MARK *, MARK *, char *, size_t, char **, u_int)); | ^ ./../vi/v_txt.c:3130:28: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3130 | &start, &vp->m_final, tp->lb + 1, tp->cno - 1, NULL, sf)) { | ^~~~~~~~~~ ./../include/com_extern.h:310:26: note: passing argument to parameter here 310 | MARK *, MARK *, char *, size_t, char **, u_int)); | ^ ./../vi/v_txt.c:3170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3170 | txt_resolve(sp, tiqh, flags) | ^ ./../vi/v_txt.c:3194:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3194 | if (db_set(sp, tp->lno, tp->lb, tp->len) || | ^~~~~~ ./../include/com_extern.h:118:39: note: passing argument to parameter here 118 | int db_set __P((SCR *, recno_t, char *, size_t)); | ^ ./../vi/v_txt.c:3203:29: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3203 | if (db_append(sp, 0, lno, tp->lb, tp->len) || | ^~~~~~ ./../include/com_extern.h:116:47: note: passing argument to parameter here 116 | int db_append __P((SCR *, int, recno_t, char *, size_t)); | ^ ./../vi/v_txt.c:3227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3227 | txt_showmatch(sp, tp) | ^ ./../vi/v_txt.c:3306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3306 | txt_margin(sp, tp, wmtp, didbreak, flags) | ^ ./../vi/v_txt.c:3466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3466 | txt_Rresolve(sp, tiqh, tp, orig_len) | ^ ./../vi/v_txt.c:3540:53: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 3540 | tiqh->cqh_first->lno, DBG_FATAL | DBG_NOCACHE, &p, &olen)) | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../vi/v_txt.c:3560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3560 | txt_nomorech(sp) | ^ 54 warnings generated. --- cur_hash.o --- ./../curses/cur_hash.c:55:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 55 | if (g = h & 0xf0000000) { | ~~^~~~~~~~~~~~~~~~ ./../curses/cur_hash.c:55:23: note: place parentheses around the assignment to silence this warning 55 | if (g = h & 0xf0000000) { | ^ | ( ) ./../curses/cur_hash.c:55:23: note: use '==' to turn this assignment into an equality comparison 55 | if (g = h & 0xf0000000) { | ^ | == ./../curses/cur_hash.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 | __hash(s, len) | ^ 2 warnings generated. --- multibyte.o --- In file included from ./../common/multibyte.c:43: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 16 | #define O_DIRECTORY 15 | ^ /usr/include/fcntl.h:117:9: note: previous definition is here 117 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ In file included from ./../common/multibyte.c:43: In file included from ./../common/../common/common.h:82: In file included from ./../common/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] 48 | #define O_PATH 47 | ^ /usr/include/fcntl.h:135:9: note: previous definition is here 135 | #define O_PATH 0x00400000 /* fd is only a path */ | ^ --- insertln.o --- --- longname.o --- --- move.o --- --- deleteln.o --- ./../curses/deleteln.c:66:14: warning: passing arguments to '__touchline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | __touchline(win, y, 0, win->maxx - 1, 0); | ^ ./../curses/deleteln.c:81:13: warning: passing arguments to '__touchline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | __touchline(win, y, 0, win->maxx - 1, 0); | ^ ./../curses/deleteln.c:83:15: warning: passing arguments to '__id_subwins' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | __id_subwins(win); | ^ ./../curses/deleteln.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 | wdeleteln(win) | ^ In file included from ./../curses/deleteln.c:40: ./../curses/curses.h:301:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 301 | int wdeleteln(); | ^ 5 warnings generated. --- delch.o --- ./../curses/delch.c:64:13: warning: passing arguments to '__touchline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | __touchline(win, win->cury, win->curx, win->maxx - 1, 0); | ^ ./../curses/delch.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 | wdelch(win) | ^ In file included from ./../curses/delch.c:40: ./../curses/curses.h:300:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 300 | int wdelch(); | ^ 3 warnings generated. --- move.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/move.c --- longname.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/longname.c --- insertln.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/insertln.c --- multibyte.o --- ./../common/multibyte.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 | multi_byte_c(sp, arg) | ^ ./../common/multibyte.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 | multi_byte(sp, p) | ^ ./../common/multibyte.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | multi_fix(sp, p0, p) | ^ ./../common/multibyte.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | multi_back(sp, p0, p) | ^ ./../common/multibyte.c:492:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] --- mvwin.o --- --- newwin.o --- --- overlay.o --- --- delwin.o --- ./../curses/delwin.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 | delwin(win) | ^ In file included from ./../curses/delwin.c:40: ./../curses/curses.h:257:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 257 | int delwin(); | ^ 2 warnings generated. --- multibyte.o --- 492 | if (mf = multi_fix(sp, p0, p)) | ~~~^~~~~~~~~~~~~~~~~~~~~~ ./../common/multibyte.c:492:10: note: place parentheses around the assignment to silence this warning 492 | if (mf = multi_fix(sp, p0, p)) | ^ | ( ) ./../common/multibyte.c:492:10: note: use '==' to turn this assignment into an equality comparison 492 | if (mf = multi_fix(sp, p0, p)) | ^ | == ./../common/multibyte.c:494:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 494 | else if (mf = multi_fix(sp, p0, p - 1)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/multibyte.c:494:15: note: place parentheses around the assignment to silence this warning 494 | else if (mf = multi_fix(sp, p0, p - 1)) --- mvwin.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/mvwin.c --- newwin.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/newwin.c --- overwrite.o --- --- overlay.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/overlay.c --- multibyte.o --- | ^ | ( ) ./../common/multibyte.c:494:15: note: use '==' to turn this assignment into an equality comparison 494 | else if (mf = multi_fix(sp, p0, p - 1)) | ^ | == ./../common/multibyte.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | multi_len_c(sp, arg) | ^ ./../common/multibyte.c:534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | multi_len(sp, p) | ^ ./../common/multibyte.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | multi_name(sp, p) | ^ ./../common/multibyte.c:575:30: 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] 575 | if (e->display && e->display(sp, e, name, p)) | ^ ./../common/multibyte.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | multi_rawname(sp, p) | ^ ./../common/multibyte.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | multi_isnone(sp, ch) | ^ ./../common/multibyte.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | multi_iswestern(sp, ch) | ^ ./../common/multibyte.c:710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | multi_Wordbound(c1, c2, forward) | ^ ./../common/multibyte.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | multi_wordbound(c1, c2, forward) | ^ ./../common/multibyte.c:799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | multi_predict_iso2022jp2(sp, p, len) | ^ ./../common/multibyte.c:823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | multi_predict_iso2022(sp, p, len) | ^ ./../common/multibyte.c:994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | multi_predict_euc(sp, p, len) | ^ ./../common/multibyte.c:1074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1074 | multi_predict_euctw(sp, p, len) | ^ ./../common/multibyte.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | multi_predict_sjis(sp, p, len) | ^ ./../common/multibyte.c:1196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | multi_predict_big5(sp, p, len) | ^ ./../common/multibyte.c:1250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1250 | multi_predict_hz(sp, p, len) | ^ ./../common/multibyte.c:1375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | multi_predict_region(sp, mstart, mend, ename, autodetect, mode) | ^ ./../common/multibyte.c:1429: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] 1429 | if ((*reader)(sp, l, &p, &len)) | ^ ./../common/multibyte.c:1438:26: 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] 1438 | switch ((*dt->func[i])(sp, p, len)) { | ^ ./../common/multibyte.c:1687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | multi_ext2int_text(sp, tiqh, opt) | ^ ./../common/multibyte.c:1716:2: warning: assigning to 'CHAR_T *' (aka '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] 1716 | GET_SPACE_RET(sp, np, nlen, 256); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' 66 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1719:14: 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] 1719 | (*e->toint)(sp, e, NULL, &ilen, tp->lb, tp->len, &flags, &tstate); | ^ ./../common/multibyte.c:1723:4: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 1723 | ADD_SPACE_RET(sp, np, nlen, ilen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/../common/mem.h:89:26: note: expanded from macro 'ADD_SPACE_RET' 89 | if (L__gp == NULL || bp == L__gp->tmp_bp) { \ | ~~ ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1723:4: warning: assigning to 'CHAR_T *' (aka '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] 1723 | ADD_SPACE_RET(sp, np, nlen, ilen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/../common/mem.h:92:6: note: expanded from macro 'ADD_SPACE_RET' 92 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1726:14: 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] 1726 | (*e->toint)(sp, e, np, &ilen, tp->lb, tp->len, NULL, pstate); | ^ ./../common/multibyte.c:1731:2: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 1731 | FREE_SPACE(sp, np, nlen); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' 102 | if (L__gp != NULL && bp == L__gp->tmp_bp) \ | ~~ ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1743 | rawgetline(sp, l, pp, plen) | ^ ./../common/multibyte.c:1778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1778 | dbgetline(sp, l, pp, plen) | ^ ./../common/multibyte.c:1784:34: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] 1784 | return db_get(sp, l, DBG_FATAL, pp, plen); | ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here 114 | int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); | ^ ./../common/multibyte.c:1788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1788 | rawsetline(sp, l, p, len) | ^ ./../common/multibyte.c:1818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1818 | dbsetline(sp, l, p, len) | ^ ./../common/multibyte.c:1824:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1824 | return db_set(sp, l, p, len); | ^ ./../include/com_extern.h:118:39: note: passing argument to parameter here 118 | int db_set __P((SCR *, recno_t, char *, size_t)); | ^ ./../common/multibyte.c:1828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1828 | rawdelline(sp, l) | ^ ./../common/multibyte.c:1863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1863 | dbdelline(sp, l) | ^ ./../common/multibyte.c:1876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1876 | multi_ext2int_region(sp, mstart, mend, opt, autodetect, mode, update) | ^ ./../common/multibyte.c:1938:2: warning: assigning to 'CHAR_T *' (aka '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] 1938 | GET_SPACE_RET(sp, np, nlen, 256); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' 66 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1943: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] 1943 | if ((*reader)(sp, l, &op, &olen)) | ^ ./../common/multibyte.c:1949:14: 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] 1949 | (*e->toint)(sp, e, NULL, &ilen, op, olen, &flags, &tstate); | ^ ./../common/multibyte.c:1953:4: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 1953 | ADD_SPACE_RET(sp, np, nlen, ilen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/../common/mem.h:89:26: note: expanded from macro 'ADD_SPACE_RET' 89 | if (L__gp == NULL || bp == L__gp->tmp_bp) { \ | ~~ ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1953:4: warning: assigning to 'CHAR_T *' (aka '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] 1953 | ADD_SPACE_RET(sp, np, nlen, ilen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/../common/mem.h:92:6: note: expanded from macro 'ADD_SPACE_RET' 92 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1954:14: 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] 1954 | (*e->toint)(sp, e, np, &ilen, op, olen, &flags, pstate); | ^ ./../common/multibyte.c:1958: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] 1958 | if ((*writer)(sp, l, np, ilen)) | ^ ./../common/multibyte.c:1964: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] 1964 | if ((*reader)(sp, joinline, &op, &olen)) | ^ ./../common/multibyte.c:1967:4: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 1967 | ADD_SPACE_RET(sp, np, nlen, olen + ilen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/../common/mem.h:89:26: note: expanded from macro 'ADD_SPACE_RET' 89 | if (L__gp == NULL || bp == L__gp->tmp_bp) { \ | ~~ ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1967:4: warning: assigning to 'CHAR_T *' (aka '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] 1967 | ADD_SPACE_RET(sp, np, nlen, olen + ilen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/../common/mem.h:92:6: note: expanded from macro 'ADD_SPACE_RET' 92 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1970: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] 1970 | if ((*writer)(sp, joinline, np, olen + ilen)) | ^ ./../common/multibyte.c:1977: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] 1977 | if ((*deleter)(sp, l)) | ^ ./../common/multibyte.c:1984:2: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 1984 | FREE_SPACE(sp, np, nlen); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' 102 | if (L__gp != NULL && bp == L__gp->tmp_bp) \ | ~~ ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1997:8: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1997 | a.bp = buf; | ^ ~~~ ./../common/multibyte.c:2022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2022 | multi_cnvstart(sp, encoding) | ^ ./../common/multibyte.c:2043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2043 | multi_cnvfinish(sp, extra) | ^ ./../common/multibyte.c:2055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2055 | multi_initstate(sp, e, state) | ^ ./../common/multibyte.c:2093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2093 | multi_int2extlen(sp, p0, len, pflags, extra) | ^ ./../common/multibyte.c:2129: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] 2129 | (*e->fromint)(sp, e, NULL, &ilen, p0, len, pflags, &tstate); | ^ ./../common/multibyte.c:2142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2142 | multi_int2ext(sp, p0, len, ilen, extra) | ^ ./../common/multibyte.c:2173:2: warning: assigning to 'CHAR_T *' (aka '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] 2173 | GET_SPACE_RET(sp, t0, tlen, ilen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' 66 | bp = L__gp->tmp_bp; \ | ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:2174: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] 2174 | (*e->fromint)(sp, e, t0, &newlen, p0, len, NULL, state); | ^ ./../common/multibyte.c:2178:2: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] 2178 | FREE_SPACE(sp, t0, tlen); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' 102 | if (L__gp != NULL && bp == L__gp->tmp_bp) \ | ~~ ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:2200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2200 | multi_keyinput_resetstate(sp) | ^ ./../common/multibyte.c:2212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2212 | multi_keyinput(sp, kbuf, pkbuflen, intbuf, pintbuflen, pstate) | ^ ./../common/multibyte.c:2264: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] 2264 | (*e->keyinput)(sp, e, kbuf, *pkbuflen, intbuf, pintbuflen, | ^ ./../common/multibyte.c:2298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2298 | multi_isencoding(p, opt) | ^ ./../common/multibyte.c:2330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2330 | multi_findencoding(p) | ^ ./../common/multibyte.c:2356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2356 | v_fep_on(sp) | ^ ./../common/multibyte.c:2371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2371 | v_fep_off(sp) | ^ ./../common/multibyte.c:2386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2386 | v_fep_force_off(sp) | ^ 74 warnings generated. --- overwrite.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/overwrite.c --- erase.o --- ./../curses/erase.c:71:15: warning: passing arguments to '__touchline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | __touchline(win, y, minx, maxx - win->lines[y]->line, | ^ ./../curses/erase.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 | werase(win) | ^ In file included from ./../curses/erase.c:38: ./../curses/curses.h:302:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 302 | int werase(); | ^ 3 warnings generated. --- getch.o --- ./../curses/getch.c:68:3: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | mvwaddch(curscr, | ^ ./../curses/curses.h:219:8: note: expanded from macro 'mvwaddch' 219 | (wmove(w, y, x) == ERR ? ERR : waddch(w, ch)) | ^ ./../curses/getch.c:68:3: warning: passing arguments to 'waddch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./../curses/curses.h:219:39: note: expanded from macro 'mvwaddch' 219 | (wmove(w, y, x) == ERR ? ERR : waddch(w, ch)) | ^ ./../curses/getch.c:70:9: warning: passing arguments to 'waddch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | waddch(win, inp); | ^ --- putchar.o --- --- getch.o --- ./../curses/getch.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 | wgetch(win) | ^ In file included from ./../curses/getch.c:38: ./../curses/curses.h:303:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 303 | int wgetch(); | ^ 5 warnings generated. --- fullname.o --- ./../curses/fullname.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | fullname(bp, def) | ^ 1 warning generated. --- refresh.o --- --- scroll.o --- --- putchar.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/putchar.c --- refresh.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/refresh.c --- setterm.o --- --- scroll.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/scroll.c --- setterm.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/setterm.c --- id_subwins.o --- ./../curses/id_subwins.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 | __id_subwins(orig) | ^ In file included from ./../curses/id_subwins.c:38: ./../curses/curses.h:323: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] 323 | void __id_subwins(); | ^ 2 warnings generated. --- getstr.o --- ./../curses/getstr.c:49:23: warning: passing arguments to 'wgetch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | while ((*str = wgetch(win)) != ERR && *str != '\n') | ^ ./../curses/getstr.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 | wgetstr(win, str) | ^ In file included from ./../curses/getstr.c:38: ./../curses/curses.h:304:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 304 | int wgetstr(); | ^ 3 warnings generated. --- idlok.o --- ./../curses/idlok.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 | idlok(win, bf) | ^ In file included from ./../curses/idlok.c:38: ./../curses/curses.h:263: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] 263 | void idlok(); | ^ 2 warnings generated. --- standout.o --- --- toucholap.o --- --- insertln.o --- ./../curses/insertln.c:68:14: warning: passing arguments to '__touchline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | __touchline(win, y, 0, win->maxx - 1, 0); | ^ ./../curses/insertln.c:81:13: warning: passing arguments to '__touchline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | __touchline(win, y, 0, win->maxx - 1, 0); | ^ ./../curses/insertln.c:83:15: warning: passing arguments to '__id_subwins' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | __id_subwins(win); | ^ ./../curses/insertln.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 | winsertln(win) | ^ In file included from ./../curses/insertln.c:40: ./../curses/curses.h:306:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 306 | int winsertln(); | ^ 5 warnings generated. --- insch.o --- ./../curses/insch.c:88:13: warning: passing arguments to '__touchline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | __touchline(win, win->cury, win->curx, win->maxx - 1, 0); | ^ ./../curses/insch.c:93:12: warning: passing arguments to 'wrefresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | wrefresh(win); | ^ ./../curses/insch.c:94:10: warning: passing arguments to 'scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | scroll(win); | ^ ./../curses/insch.c:96:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 96 | } else | ^ ./../curses/insch.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 | winsch(win, ch) | ^ In file included from ./../curses/insch.c:40: ./../curses/curses.h:305:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 305 | int winsch(); | ^ 6 warnings generated. --- initscr.o --- ./../curses/initscr.c:67:13: warning: passing arguments to 'setterm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | if (setterm(sp) == ERR) | ^ ./../curses/initscr.c:75:9: warning: passing arguments to 'delwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | delwin(curscr); | ^ ./../curses/initscr.c:76:22: warning: passing arguments to 'newwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | if ((curscr = newwin(LINES, COLS, 0, 0)) == ERR) | ^ ./../curses/initscr.c:81:9: warning: passing arguments to 'delwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | delwin(stdscr); | ^ ./../curses/initscr.c:82:22: warning: passing arguments to 'newwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | if ((stdscr = newwin(LINES, COLS, 0, 0)) == ERR) { | ^ ./../curses/initscr.c:83:9: warning: passing arguments to 'delwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | delwin(curscr); | ^ 6 warnings generated. --- standout.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/standout.c --- toucholap.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/toucholap.c --- touchwin.o --- --- tscroll.o --- --- tstp.o --- --- tty.o --- --- mvwin.o --- ./../curses/mvwin.c:62:13: warning: passing arguments to '__swflags' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | __swflags(win); | ^ ./../curses/mvwin.c:72:12: warning: passing arguments to '__swflags' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | __swflags(win); | ^ ./../curses/mvwin.c:73:15: warning: passing arguments to '__set_subwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | __set_subwin(orig, win); | ^ ./../curses/mvwin.c:75:12: warning: passing arguments to '__touchwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | __touchwin(win); | ^ ./../curses/mvwin.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 | mvwin(win, by, bx) | ^ In file included from ./../curses/mvwin.c:38: ./../curses/curses.h:269:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 269 | int mvwin(); | ^ 6 warnings generated. --- move.o --- ./../curses/move.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 | wmove(win, y, x) | ^ In file included from ./../curses/move.c:38: ./../curses/curses.h:307:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 307 | int wmove(); | ^ 2 warnings generated. --- longname.o --- ./../curses/longname.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | longname(bp, def) | ^ 1 warning generated. --- tstp.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/tstp.c --- tscroll.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/tscroll.c --- touchwin.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/touchwin.c --- unctrl.o --- --- waddnstr.o --- --- regcomp.o --- --- overlay.o --- ./../curses/overlay.c:80:10: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | wmove(win2, y2, x); | ^ ./../curses/overlay.c:81:13: warning: passing arguments to '__waddch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | __waddch(win2, sp); | ^ ./../curses/overlay.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 | overlay(win1, win2) | ^ In file included from ./../curses/overlay.c:40: ./../curses/curses.h:278:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 278 | int overlay(); | ^ 4 warnings generated. --- regcomp.o --- cc -D__REGEX_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../regex/regcomp.c --- putchar.o --- ./../curses/putchar.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | __cputchar(ch) | ^ In file included from ./../curses/putchar.c:38: ./../curses/curses.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 subsequent definition [-Wdeprecated-non-prototype] 316 | void __cputchar(); | ^ 2 warnings generated. --- tty.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/tty.c --- unctrl.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/unctrl.c --- waddnstr.o --- cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/waddnstr.c --- regerror.o --- --- newwin.o --- ./../curses/newwin.c:66:22: warning: passing arguments to '__makenew' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | if ((win = __makenew(nl, nc, by, bx, 0)) == NULL) | ^ ./../curses/newwin.c:87:20: warning: passing arguments to '__hash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | lp->hash = __hash((char *) lp->line, nc * __LDATASIZE); | ^ ./../curses/newwin.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | newwin(nl, nc, by, bx) | ^ In file included from ./../curses/newwin.c:40: --- scroll.o --- ./../curses/scroll.c:58:7: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | wmove(win, 0, 0); | ^ ./../curses/scroll.c:59:11: warning: passing arguments to 'wdeleteln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | wdeleteln(win); | ^ ./../curses/scroll.c:60:7: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | wmove(win, oy, ox); | ^ ./../curses/scroll.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 | scroll(win) | ^ In file included from ./../curses/scroll.c:38: --- regexec.o --- --- scroll.o --- ./../curses/curses.h:285:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 285 | int scroll(); | ^ 5 warnings generated. --- newwin.o --- ./../curses/curses.h:272:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 272 | WINDOW *newwin(); | ^ ./../curses/newwin.c:113:22: warning: passing arguments to '__makenew' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | if ((win = __makenew(nl, nc, by, bx, 1)) == NULL) | ^ ./../curses/newwin.c:122:14: warning: passing arguments to '__set_subwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | __set_subwin(orig, win); | ^ ./../curses/newwin.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 | subwin(orig, nl, nc, by, bx) | ^ In file included from ./../curses/newwin.c:40: ./../curses/curses.h:288:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 288 | WINDOW *subwin(); | ^ ./../curses/newwin.c:144:20: warning: passing arguments to '__hash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | lp->hash = __hash((char *) lp->line, win->maxx * __LDATASIZE); | ^ ./../curses/newwin.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 | __set_subwin(orig, win) | ^ ./../curses/newwin.c:46: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] 46 | void __set_subwin(); | ^ ./../curses/newwin.c:224:11: warning: passing arguments to '__swflags' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | __swflags(win); | ^ ./../curses/newwin.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] 157 | __makenew(nl, nc, by, bx, sub) | ^ ./../curses/newwin.c:44:17: 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 | static WINDOW *__makenew(); | ^ ./../curses/newwin.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 | __swflags(win) | ^ In file included from ./../curses/newwin.c:40: ./../curses/curses.h:330: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] 330 | void __swflags(); | ^ 16 warnings generated. --- regerror.o --- cc -D__REGEX_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../regex/regerror.c --- overwrite.o --- ./../curses/overwrite.c:72:14: warning: passing arguments to '__touchline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | __touchline(win2, y, startx - win2->begx, endx - win2->begx, | ^ ./../curses/overwrite.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 | overwrite(win1, win2) | ^ In file included from ./../curses/overwrite.c:41: ./../curses/curses.h:279:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 279 | int overwrite(); | ^ 3 warnings generated. --- regfree.o --- --- db.o --- --- standout.o --- ./../curses/standout.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 | wstandout(win) | ^ In file included from ./../curses/standout.c:38: ./../curses/curses.h:312:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 312 | int wstandout(); | ^ ./../curses/standout.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | wstandend(win) | ^ In file included from ./../curses/standout.c:38: ./../curses/curses.h:311:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 311 | int wstandend(); | ^ 4 warnings generated. --- regfree.o --- cc -D__REGEX_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../regex/regfree.c --- regexec.o --- cc -D__REGEX_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../regex/regexec.c --- mpool.o --- --- bt_close.o --- --- db.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../db/db/db.c --- touchwin.o --- ./../curses/touchwin.c:49:21: warning: passing arguments to '__touchline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | return (__touchline(win, y, sx, ex, 1)); | ^ ./../curses/touchwin.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 | touchline(win, y, sx, ex) | ^ In file included from ./../curses/touchwin.c:38: ./../curses/curses.h:290:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 290 | int touchline(); | ^ ./../curses/touchwin.c:68:14: warning: passing arguments to '__touchline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- mpool.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/mpool ./../db/mpool/mpool.c --- bt_close.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_close.c --- touchwin.o --- 68 | __touchline(win, y, 0, win->maxx - 1, 1); | ^ ./../curses/touchwin.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 | touchwin(win) | ^ In file included from ./../curses/touchwin.c:38: ./../curses/curses.h:292:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 292 | int touchwin(); | ^ ./../curses/touchwin.c:84:14: warning: passing arguments to '__touchline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | __touchline(win, y, 0, win->maxx - 1, 0); | ^ ./../curses/touchwin.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 | __touchwin(win) | ^ In file included from ./../curses/touchwin.c:38: ./../curses/curses.h:332:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 332 | int __touchwin(); | ^ ./../curses/touchwin.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] 89 | __touchline(win, y, sx, ex, force) | ^ In file included from ./../curses/touchwin.c:38: ./../curses/curses.h:331:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 331 | int __touchline(); | ^ 11 warnings generated. --- setterm.o --- ./../curses/setterm.c:99:13: warning: passing arguments to 'tgetent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | if (tgetent(genbuf, type) != 1) { | ^ ./../curses/setterm.c:115:18: warning: passing arguments to 'tgetnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | LINES = tgetnum("li"); | ^ ./../curses/setterm.c:116:17: warning: passing arguments to 'tgetnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | COLS = tgetnum("co"); | ^ ./../curses/setterm.c:151:16: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- bt_conv.o --- --- setterm.o --- 151 | if ((p = tgoto(CM, 0, 0)) == NULL || *p == 'O') { | ^ ./../curses/setterm.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 | setterm(type) | ^ In file included from ./../curses/setterm.c:45: ./../curses/curses.h:286:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 286 | int setterm(); | ^ ./../curses/setterm.c:189:22: warning: passing arguments to 'tgetflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | *(*fp++) = tgetflag(tmp); | ^ ./../curses/setterm.c:201:21: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | *(*sp++) = tgetstr(tmp, &aoftspace); | ^ ./../curses/setterm.c:215:14: warning: passing arguments to 'tgetnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | if (tgetnum("sg") > 0) | ^ ./../curses/setterm.c:217:14: warning: passing arguments to 'tgetnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | if (tgetnum("ug") > 0) | ^ ./../curses/setterm.c:234:17: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | return (tgetstr(name, &aoftspace)); | ^ ./../curses/setterm.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | getcap(name) | ^ In file included from ./../curses/setterm.c:45: ./../curses/curses.h:261: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] 261 | char *getcap(); | ^ 13 warnings generated. --- bt_debug.o --- --- bt_conv.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_conv.c --- bt_debug.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_debug.c --- toucholap.o --- ./../curses/toucholap.c:74:14: warning: passing arguments to '__touchline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | __touchline(win2, y, startx, endx, 0); | ^ ./../curses/toucholap.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 | touchoverlap(win1, win2) | ^ In file included from ./../curses/toucholap.c:38: ./../curses/curses.h:291:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 291 | int touchoverlap(); | ^ 3 warnings generated. --- tscroll.o --- ./../curses/tscroll.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 | __tscroll(cap, n1, n2) | ^ In file included from ./../curses/tscroll.c:38: ./../curses/curses.h:333: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] 333 | char *__tscroll(); | ^ 2 warnings generated. --- bt_delete.o --- --- bt_get.o --- --- bt_open.o --- --- tty.o --- ./../curses/tty.c:238:7: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | tputs(TI, 0, __cputchar); | ^ ./../curses/tty.c:239:7: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | tputs(VS, 0, __cputchar); | ^ ./../curses/tty.c:249:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | tputs(SE, 0, __cputchar); | ^ ./../curses/tty.c:252:10: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | __mvcur(curscr->cury, curscr->curx, curscr->maxy - 1, 0, 0); --- bt_delete.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_delete.c --- bt_get.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_get.c --- tty.o --- | ^ ./../curses/tty.c:255:13: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | (void)tputs(VE, 0, __cputchar); | ^ ./../curses/tty.c:256:13: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | (void)tputs(TE, 0, __cputchar); | ^ 6 warnings generated. --- bt_overflow.o --- --- bt_open.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_open.c --- bt_overflow.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_overflow.c --- regfree.o --- ./../regex/regfree.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | regfree(preg) | ^ 1 warning generated. --- regerror.o --- ./../regex/regerror.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | regerror(errcode, preg, errbuf, errbuf_size) | ^ ./../regex/regerror.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 | regatoi(preg, localbuf) | ^ 2 warnings generated. --- bt_page.o --- --- bt_put.o --- --- bt_close.o --- ./../db/btree/bt_close.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 | __bt_close(dbp) | ^ ./../db/include/db.h:52:20: note: expanded from macro '__bt_close' 52 | #define __bt_close nvi__bt_close | ^ ./../db/btree/bt_close.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | __bt_sync(dbp, flags) | ^ ./../db/include/db.h:76:19: note: expanded from macro '__bt_sync' 76 | #define __bt_sync nvi__bt_sync | ^ ./../db/btree/bt_close.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | bt_meta(t) | ^ 3 warnings generated. --- waddnstr.o --- ./../curses/waddnstr.c:61:10: warning: passing arguments to '__waddbytes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | return (waddbytes(win, s, len)); | ^ ./../curses/curses.h:203:40: note: expanded from macro 'waddbytes' 203 | #define waddbytes(w, s, n) __waddbytes(w, s, n, 0) | ^ ./../curses/waddnstr.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 | waddnstr(win, s, n) | ^ In file included from ./../curses/waddnstr.c:40: ./../curses/curses.h:296:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 296 | int waddnstr(); | ^ 3 warnings generated. --- tstp.o --- ./../curses/tstp.c:100:10: warning: passing arguments to 'wrefresh' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | wrefresh(curscr); | ^ ./../curses/tstp.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 | __stop_signal_handler(signo) | ^ In file included from ./../curses/tstp.c:43: ./../curses/curses.h:329: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] 329 | void __stop_signal_handler(); | ^ 3 warnings generated. --- bt_page.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_page.c --- refresh.o --- ./../curses/refresh.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 | putdesig(csp) | ^ ./../curses/refresh.c:118:23: warning: passing arguments to '__hash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | wlp->hash = __hash((char *)wlp->line, | ^ ./../curses/refresh.c:124:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | tputs(CL, 0, __cputchar); | ^ ./../curses/refresh.c:131:11: warning: passing arguments to 'werase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- bt_search.o --- --- bt_seq.o --- --- bt_split.o --- --- db.o --- ./../db/db/db.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 | dbopen(fname, flags, mode, type, openinfo) | ^ ./../db/include/db.h:97:17: note: expanded from macro 'dbopen' 97 | #define dbopen nvidbopen | ^ ./../db/db/db.c:66:4: warning: call to undeclared library function 'abort' with type 'void (void) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | abort(); | ^ ./../db/db/db.c:66:4: note: include the header or explicitly provide a declaration for 'abort' ./../db/db/db.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 | __dbpanic(dbp) | ^ ./../db/include/db.h:77:19: note: expanded from macro '__dbpanic' 77 | #define __dbpanic nvi__dbpanic | ^ 3 warnings generated. --- refresh.o --- 131 | werase(curscr); | ^ ./../curses/refresh.c:133:14: warning: passing arguments to '__touchwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | __touchwin(win); | ^ ./../curses/refresh.c:141:10: warning: passing arguments to 'werase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | werase(curscr); | ^ ./../curses/refresh.c:158:11: warning: passing arguments to 'quickch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | quickch(win); | ^ --- bt_put.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_put.c --- bt_search.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_search.c --- bt_seq.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_seq.c --- bt_utils.o --- --- bt_split.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_split.c --- refresh.o --- ./../curses/refresh.c:199:14: warning: passing arguments to 'makech' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | if (makech(win, wy) == ERR) | ^ ./../curses/refresh.c:229:10: warning: passing arguments to 'domvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | domvcur(ly, lx, win->cury, win->curx); | ^ ./../curses/refresh.c:243:11: warning: passing arguments to 'domvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | domvcur(ly, lx, win->cury + win->begy, | ^ ./../curses/refresh.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | wrefresh(win) | ^ In file included from ./../curses/refresh.c:40: ./../curses/curses.h:309:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 309 | int wrefresh(); | ^ ./../curses/refresh.c:273:10: warning: passing arguments to 'domvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | domvcur(ly, lx, ly + 1, 0); | ^ ./../curses/refresh.c:311:15: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | tputs(tgoto(CM, lx, ly), 0, __cputchar); | ^ ./../curses/refresh.c:311:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | tputs(tgoto(CM, lx, ly), 0, __cputchar); | ^ ./../curses/refresh.c:313:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | tputs(HO, 0, __cputchar); | ^ ./../curses/refresh.c:314:11: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | __mvcur(0, 0, ly, lx, 1); | ^ ./../curses/refresh.c:362:10: warning: passing arguments to 'domvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | domvcur(ly, lx, y, wx + win->begx); | ^ ./../curses/refresh.c:400:12: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | tputs(SE, 0, __cputchar); | ^ ./../curses/refresh.c:403:11: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | tputs(CE, 0, __cputchar); | ^ ./../curses/refresh.c:429:11: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | tputs(SO, 0, __cputchar); | ^ ./../curses/refresh.c:438:11: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | tputs(SE, 0, __cputchar); | ^ ./../curses/refresh.c:455:13: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | tputs(SE, 0, | ^ ./../curses/refresh.c:498:14: warning: passing arguments to 'domvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | domvcur(ly, wx + win->begx, | ^ ./../curses/refresh.c:555:10: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | tputs(UC, 0, __cputchar); | ^ ./../curses/refresh.c:578:11: warning: passing arguments to 'domvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | domvcur(ly, lx, ly, win->maxx + win->begx - 1); | ^ ./../curses/refresh.c:592:8: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | tputs(SE, 0, __cputchar); | ^ ./../curses/refresh.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | makech(win, wy) | ^ ./../curses/refresh.c:46: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] 46 | static int makech(); | ^ ./../curses/refresh.c:607:8: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | tputs(SE, 0, __cputchar); | ^ ./../curses/refresh.c:611:9: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | __mvcur(oy, ox, ny, nx, 1); | ^ ./../curses/refresh.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | domvcur(oy, ox, ny, nx) | ^ ./../curses/refresh.c:45:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static void domvcur(); | ^ ./../curses/refresh.c:753:21: warning: passing arguments to '__hash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | blank_hash = __hash((char *) buf, win->maxx * __LDATASIZE); | ^ ./../curses/refresh.c:817:16: warning: passing arguments to '__touchline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | __touchline(win, target, 0, win->maxx - 1, 0); | ^ ./../curses/refresh.c:819:16: warning: passing arguments to '__touchline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | __touchline(win, target, 0, win->maxx - 1, 0); | ^ ./../curses/refresh.c:828:15: warning: passing arguments to '__touchline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | __touchline(win, target, 0, win->maxx - 1, 0); | ^ ./../curses/refresh.c:867:10: warning: passing arguments to 'scrolln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | scrolln(win, starts, startw, curs, bot, top); | ^ ./../curses/refresh.c:873:16: warning: passing arguments to '__set_subwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | __set_subwin(win, wp); | ^ ./../curses/refresh.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | quickch(win) | ^ ./../curses/refresh.c: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 | static void quickch(); | ^ ./../curses/refresh.c:919:19: warning: passing arguments to '__tscroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | tputs(__tscroll(CS, top, bot + 1), 0, __cputchar); | ^ ./../curses/refresh.c:919:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | tputs(__tscroll(CS, top, bot + 1), 0, __cputchar); | ^ ./../curses/refresh.c:920:11: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | __mvcur(oy, ox, 0, 0, 1); | ^ ./../curses/refresh.c:921:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | tputs(HO, 0, __cputchar); | ^ ./../curses/refresh.c:922:11: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | __mvcur(0, 0, bot, 0, 1); | ^ ./../curses/refresh.c:924:20: warning: passing arguments to '__tscroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | tputs(__tscroll(SF, n, 0), 0, __cputchar); | ^ ./../curses/refresh.c:924:10: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | tputs(__tscroll(SF, n, 0), 0, __cputchar); | ^ ./../curses/refresh.c:927:11: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | tputs(sf, 0, __cputchar); | ^ ./../curses/refresh.c:928:19: warning: passing arguments to '__tscroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | tputs(__tscroll(CS, 0, win->maxy), 0, __cputchar); | ^ ./../curses/refresh.c:928:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | tputs(__tscroll(CS, 0, win->maxy), 0, __cputchar); | ^ ./../curses/refresh.c:929:11: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | __mvcur(bot, 0, 0, 0, 1); | ^ ./../curses/refresh.c:930:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | tputs(HO, 0, __cputchar); | ^ ./../curses/refresh.c:931:11: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | __mvcur(0, 0, oy, ox, 1); | ^ ./../curses/refresh.c:937:11: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | __mvcur(oy, ox, bot, 0, 1); | ^ ./../curses/refresh.c:938:19: warning: passing arguments to '__tscroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | tputs(__tscroll(SF, n, 0), 0, __cputchar); | ^ ./../curses/refresh.c:938:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | tputs(__tscroll(SF, n, 0), 0, __cputchar); | ^ ./../curses/refresh.c:940:11: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | __mvcur(oy, ox, top, 0, 1); | ^ ./../curses/refresh.c:941:19: warning: passing arguments to '__tscroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | tputs(__tscroll(DL, n, 0), 0, __cputchar); | ^ ./../curses/refresh.c:941:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | tputs(__tscroll(DL, n, 0), 0, __cputchar); | ^ ./../curses/refresh.c:943:11: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | __mvcur(oy, ox, top, 0, 1); | ^ ./../curses/refresh.c:945:10: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | tputs(dl, 0, __cputchar); | ^ ./../curses/refresh.c:947:11: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | __mvcur(oy, ox, bot, 0, 1); | ^ ./../curses/refresh.c:949:10: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | tputs(sf, 0, __cputchar); | ^ ./../curses/refresh.c:951:4: warning: call to undeclared library function 'abort' with type 'void (void) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 951 | abort(); | ^ ./../curses/refresh.c:951:4: note: include the header or explicitly provide a declaration for 'abort' ./../curses/refresh.c:954:10: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | __mvcur(top, 0, bot - n + 1, 0, 1); | ^ ./../curses/refresh.c:956:19: warning: passing arguments to '__tscroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | tputs(__tscroll(AL, n, 0), 0, __cputchar); | ^ ./../curses/refresh.c:956:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | tputs(__tscroll(AL, n, 0), 0, __cputchar); | ^ ./../curses/refresh.c:959:10: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | tputs(al, 0, __cputchar); | ^ ./../curses/refresh.c:962:10: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | __mvcur(bot - n + 1, 0, oy, ox, 1); | ^ ./../curses/refresh.c:974:19: warning: passing arguments to '__tscroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | tputs(__tscroll(CS, top, bot + 1), 0, __cputchar); | ^ ./../curses/refresh.c:974:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | tputs(__tscroll(CS, top, bot + 1), 0, __cputchar); | ^ ./../curses/refresh.c:975:11: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | __mvcur(oy, ox, 0, 0, 1); | ^ ./../curses/refresh.c:976:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | tputs(HO, 0, __cputchar); | ^ ./../curses/refresh.c:977:11: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | __mvcur(0, 0, top, 0, 1); | ^ ./../curses/refresh.c:980:20: warning: passing arguments to '__tscroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 980 | tputs(__tscroll(SR, -n, 0), 0, __cputchar); | ^ ./../curses/refresh.c:980:10: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 980 | tputs(__tscroll(SR, -n, 0), 0, __cputchar); | ^ ./../curses/refresh.c:983:11: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | tputs(sr, 0, __cputchar); | ^ ./../curses/refresh.c:984:19: warning: passing arguments to '__tscroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | tputs(__tscroll(CS, 0, win->maxy), 0, __cputchar); | ^ ./../curses/refresh.c:984:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | tputs(__tscroll(CS, 0, win->maxy), 0, __cputchar); | ^ ./../curses/refresh.c:985:11: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | __mvcur(top, 0, 0, 0, 1); | ^ ./../curses/refresh.c:986:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | tputs(HO, 0, __cputchar); | ^ ./../curses/refresh.c:987:11: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | __mvcur(0, 0, oy, ox, 1); | ^ ./../curses/refresh.c:992:10: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | __mvcur(oy, ox, bot + n + 1, 0, 1); | ^ ./../curses/refresh.c:994:19: warning: passing arguments to '__tscroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | tputs(__tscroll(SR, -n, 0), 0, __cputchar); | ^ ./../curses/refresh.c:994:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | tputs(__tscroll(SR, -n, 0), 0, __cputchar); | ^ ./../curses/refresh.c:996:19: warning: passing arguments to '__tscroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | tputs(__tscroll(DL, -n, 0), 0, __cputchar); | ^ ./../curses/refresh.c:996:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | tputs(__tscroll(DL, -n, 0), 0, __cputchar); | ^ ./../curses/refresh.c:999:10: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | tputs(dl, 0, __cputchar); | ^ ./../curses/refresh.c:1002:10: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | tputs(sr, 0, __cputchar); | ^ ./../curses/refresh.c:1007:10: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | __mvcur(bot + n + 1, 0, top, 0, 1); | ^ ./../curses/refresh.c:1009:19: warning: passing arguments to '__tscroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | tputs(__tscroll(AL, -n, 0), 0, __cputchar); | ^ ./../curses/refresh.c:1009:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | tputs(__tscroll(AL, -n, 0), 0, __cputchar); | ^ ./../curses/refresh.c:1012:10: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | tputs(al, 0, __cputchar); | ^ ./../curses/refresh.c:1015:10: warning: passing arguments to '__mvcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | __mvcur(top, 0, oy, ox, 1); | ^ ./../curses/refresh.c:882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | scrolln(win, starts, startw, curs, bot, top) | ^ ./../curses/refresh.c: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 | static void scrolln(); | ^ 97 warnings generated. --- bt_utils.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_utils.c --- rec_close.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/recno ./../db/recno/rec_close.c --- rec_delete.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/recno ./../db/recno/rec_delete.c --- bt_conv.o --- ./../db/btree/bt_conv.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 | __bt_pgin(t, pg, pp) | ^ ./../db/include/db.h:67:19: note: expanded from macro '__bt_pgin' 67 | #define __bt_pgin nvi__bt_pgin | ^ ./../db/btree/bt_conv.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 | __bt_pgout(t, pg, pp) | ^ ./../db/include/db.h:68:20: note: expanded from macro '__bt_pgout' 68 | #define __bt_pgout nvi__bt_pgout | ^ ./../db/btree/bt_conv.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | mswap(pg) | ^ 3 warnings generated. --- rec_get.o --- --- bt_get.o --- ./../db/btree/bt_get.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 | __bt_get(dbp, key, data, flags) | ^ ./../db/include/db.h:64:18: note: expanded from macro '__bt_get' 64 | #define __bt_get nvi__bt_get | ^ 1 warning generated. --- rec_get.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/recno ./../db/recno/rec_get.c --- mpool.o --- ./../db/mpool/mpool.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 | mpool_open(key, fd, pagesize, maxcache) | ^ ./../db/include/db.h:102:20: note: expanded from macro 'mpool_open' 102 | #define mpool_open nvimpool_open | ^ ./../db/mpool/mpool.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 | mpool_filter(mp, pgin, pgout, pgcookie) | ^ ./../db/include/db.h:99:22: note: expanded from macro 'mpool_filter' 99 | #define mpool_filter nvimpool_filter | ^ ./../db/mpool/mpool.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | mpool_new(mp, pgnoaddr) | ^ ./../db/include/db.h:101:19: note: expanded from macro 'mpool_new' 101 | #define mpool_new nvimpool_new | ^ ./../db/mpool/mpool.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | mpool_get(mp, pgno, flags) | ^ ./../db/include/db.h:100:19: note: expanded from macro 'mpool_get' 100 | #define mpool_get nvimpool_get | ^ ./../db/mpool/mpool.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | mpool_put(mp, page, flags) | ^ ./../db/include/db.h:103:19: note: expanded from macro 'mpool_put' 103 | #define mpool_put nvimpool_put | ^ ./../db/mpool/mpool.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | mpool_close(mp) | ^ ./../db/include/db.h:98:21: note: expanded from macro 'mpool_close' 98 | #define mpool_close nvimpool_close | ^ ./../db/mpool/mpool.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | mpool_sync(mp) | ^ ./../db/include/db.h:105:20: note: expanded from macro 'mpool_sync' 105 | #define mpool_sync nvimpool_sync | ^ ./../db/mpool/mpool.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | mpool_bkt(mp) | ^ ./../db/mpool/mpool.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | mpool_write(mp, bp) | ^ ./../db/mpool/mpool.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | mpool_look(mp, pgno) | ^ 10 warnings generated. --- rec_open.o --- --- bt_overflow.o --- ./../db/btree/bt_overflow.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | __ovfl_get(t, p, ssz, buf, bufsz) | ^ ./../db/include/db.h:79:20: note: expanded from macro '__ovfl_get' 79 | #define __ovfl_get nvi__ovfl_get | ^ ./../db/btree/bt_overflow.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | __ovfl_put(t, dbt, pg) | ^ ./../db/include/db.h:80:20: note: expanded from macro '__ovfl_put' 80 | #define __ovfl_put nvi__ovfl_put | ^ ./../db/btree/bt_overflow.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | __ovfl_delete(t, p) | ^ --- rec_put.o --- --- rec_open.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/recno ./../db/recno/rec_open.c --- bt_overflow.o --- ./../db/include/db.h:78:23: note: expanded from macro '__ovfl_delete' 78 | #define __ovfl_delete nvi__ovfl_delete | ^ 3 warnings generated. --- rec_put.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/recno ./../db/recno/rec_put.c --- rec_search.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/recno ./../db/recno/rec_search.c --- bt_seq.o --- ./../db/btree/bt_seq.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | __bt_seq(dbp, key, data, flags) | ^ ./../db/include/db.h:72:18: note: expanded from macro '__bt_seq' 72 | #define __bt_seq nvi__bt_seq | ^ ./../db/btree/bt_seq.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | __bt_seqset(t, ep, key, flags) | ^ ./../db/btree/bt_seq.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | __bt_seqadv(t, ep, flags) | ^ ./../db/btree/bt_seq.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | __bt_first(t, key, erval, exactp) | ^ ./../db/btree/bt_seq.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | __bt_setcur(t, pgno, index) | ^ ./../db/include/db.h:73:21: note: expanded from macro '__bt_setcur' 73 | #define __bt_setcur nvi__bt_setcur | ^ 5 warnings generated. --- bt_put.o --- ./../db/btree/bt_put.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 | __bt_put(dbp, key, data, flags) | ^ ./../db/include/db.h:69:18: note: expanded from macro '__bt_put' 69 | #define __bt_put nvi__bt_put | ^ ./../db/btree/bt_put.c:233:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 233 | } else if (h->prevpg == P_INVALID) { | ^ ./../db/btree/bt_put.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | bt_fast(t, key, data, exactp) | ^ 3 warnings generated. --- bt_open.o --- ./../db/btree/bt_open.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | __bt_open(fname, flags, mode, openinfo, dflags) | ^ ./../db/include/db.h:66:19: note: expanded from macro '__bt_open' 66 | #define __bt_open nvi__bt_open | ^ ./../db/btree/bt_open.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 | nroot(t) | ^ ./../db/btree/bt_open.c:429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | __bt_fd(dbp) | ^ ./../db/include/db.h:62:18: note: expanded from macro '__bt_fd' 62 | #define __bt_fd nvi__bt_fd | ^ 3 warnings generated. --- rec_seq.o --- --- rec_utils.o --- --- bt_search.o --- ./../db/btree/bt_search.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 | __bt_search(t, key, exactp) | ^ ./../db/include/db.h:71:21: note: expanded from macro '__bt_search' 71 | #define __bt_search nvi__bt_search | ^ ./../db/btree/bt_search.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 | __bt_snext(t, h, key, exactp) | ^ ./../db/btree/bt_search.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | __bt_sprev(t, h, key, exactp) | ^ 3 warnings generated. --- bt_page.o --- ./../db/btree/bt_page.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 | __bt_free(t, h) | ^ ./../db/include/db.h:63:19: note: expanded from macro '__bt_free' 63 | #define __bt_free nvi__bt_free | ^ ./../db/btree/bt_page.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 | __bt_new(t, npg) | ^ ./../db/include/db.h:65:18: note: expanded from macro '__bt_new' 65 | #define __bt_new nvi__bt_new | ^ 2 warnings generated. --- rec_seq.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/recno ./../db/recno/rec_seq.c --- rec_utils.o --- cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/recno ./../db/recno/rec_utils.c --- bt_delete.o --- ./../db/btree/bt_delete.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 | __bt_delete(dbp, key, flags) | ^ ./../db/include/db.h:56:21: note: expanded from macro '__bt_delete' 56 | #define __bt_delete nvi__bt_delete | ^ ./../db/btree/bt_delete.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] 144 | __bt_stkacq(t, hp, c) | ^ ./../db/btree/bt_delete.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 | __bt_bdelete(t, key) | ^ ./../db/btree/bt_delete.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | __bt_pdelete(t, h) | ^ ./../db/btree/bt_delete.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | __bt_dleaf(t, key, h, index) | ^ ./../db/include/db.h:57:20: note: expanded from macro '__bt_dleaf' 57 | #define __bt_dleaf nvi__bt_dleaf | ^ ./../db/btree/bt_delete.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | __bt_curdel(t, key, h, index) | ^ ./../db/btree/bt_delete.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | __bt_relink(t, h) | ^ 7 warnings generated. --- rec_close.o --- ./../db/recno/rec_close.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | __rec_close(dbp) | ^ ./../db/include/db.h:81:21: note: expanded from macro '__rec_close' 81 | #define __rec_close nvi__rec_close | ^ ./../db/recno/rec_close.c:90:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 90 | } else | ^ ./../db/recno/rec_close.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 | __rec_sync(dbp, flags) | ^ ./../db/include/db.h:94:20: note: expanded from macro '__rec_sync' 94 | #define __rec_sync nvi__rec_sync | ^ 3 warnings generated. --- regexec.o --- In file included from ./../regex/regexec.c:89: ./../regex/engine.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | matcher(g, string, nmatch, pmatch, eflags) | ^ ./../regex/engine.c:48:17: note: expanded from macro 'matcher' 48 | #define matcher smatcher | ^ ./../regex/engine.c:273:29: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 273 | endp - multi_back(NULL, m->coldp, endp), | ^~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:273:39: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 273 | endp - multi_back(NULL, m->coldp, endp), | ^~~~ ./../regex/engine.c:97:54: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | dissect(m, start, stop, startst, stopst) | ^ ./../regex/engine.c:51:17: note: expanded from macro 'dissect' 51 | #define dissect sdissect | ^ ./../regex/engine.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | backref(m, start, stop, startst, stopst, lev) | ^ ./../regex/engine.c:52:17: note: expanded from macro 'backref' 52 | #define backref sbackref | ^ ./../regex/engine.c:596:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 596 | ret = mbchin(cs, sp); | ^~ ./../regex/engine.c:114:40: note: passing argument to parameter here 114 | static int mbchin __P((cset *, u_char *)); | ^ ./../regex/engine.c:608:29: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 608 | && 1 < multi_back(NULL, m->beginp, sp)) | ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:608:40: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 608 | && 1 < multi_back(NULL, m->beginp, sp)) | ^~ ./../regex/engine.c:97:54: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:630:30: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 630 | && (1 < multi_back(NULL, m->beginp, sp) | ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:630:41: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 630 | && (1 < multi_back(NULL, m->beginp, sp) | ^~ ./../regex/engine.c:97:54: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:648:30: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 648 | && (1 < multi_back(NULL, m->beginp, sp) | ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:648:41: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 648 | && (1 < multi_back(NULL, m->beginp, sp) | ^~ ./../regex/engine.c:97:54: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:778:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 778 | } | ^ ./../regex/engine.c:786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | fast(m, start, stop, startst, stopst) | ^ ./../regex/engine.c:49:14: note: expanded from macro 'fast' 49 | #define fast sfast | ^ ./../regex/engine.c:802:34: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 802 | : *(start - multi_back(NULL, m->beginp, start)); | ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:802:45: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 802 | : *(start - multi_back(NULL, m->beginp, start)); | ^~~~~ ./../regex/engine.c:97:54: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | slow(m, start, stop, startst, stopst) | ^ ./../regex/engine.c:50:14: note: expanded from macro 'slow' 50 | #define slow sslow | ^ ./../regex/engine.c:918:34: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 918 | : *(start - multi_back(NULL, m->beginp, start)); | ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:918:45: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 918 | : *(start - multi_back(NULL, m->beginp, start)); | ^~~~~ ./../regex/engine.c:97:54: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | step(g, start, stop, bef, ch, aft) | ^ ./../regex/engine.c:53:14: note: expanded from macro 'step' 53 | #define step sstep | ^ ./../regex/engine.c:1147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | mstep(g, start, stop, bef, ch, p, aft, padv) | ^ ./../regex/engine.c:55:15: note: expanded from macro 'mstep' 55 | #define mstep smstep | ^ ./../regex/engine.c:1211:36: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1211 | if (!NONCHAR(ch) && mbchin(cs, p)) | ^ ./../regex/engine.c:114:40: note: passing argument to parameter here 114 | static int mbchin __P((cset *, u_char *)); | ^ ./../regex/engine.c:1280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1280 | mbchin(cs, q) | ^ ./../regex/engine.c:56:16: note: expanded from macro 'mbchin' 56 | #define mbchin smbchin | ^ ./../regex/engine.c:1294:9: warning: assigning to 'u_char *' (aka '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] 1294 | for (p = cs->multis; | ^ ~~~~~~~~~~ In file included from ./../regex/regexec.c:138: ./../regex/engine.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | matcher(g, string, nmatch, pmatch, eflags) | ^ ./../regex/engine.c:63:17: note: expanded from macro 'matcher' 63 | #define matcher lmatcher | ^ ./../regex/engine.c:273:29: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 273 | endp - multi_back(NULL, m->coldp, endp), | ^~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:273:39: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 273 | endp - multi_back(NULL, m->coldp, endp), | ^~~~ ./../regex/engine.c:97:54: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | dissect(m, start, stop, startst, stopst) | ^ ./../regex/engine.c:66:17: note: expanded from macro 'dissect' 66 | #define dissect ldissect | ^ ./../regex/engine.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | backref(m, start, stop, startst, stopst, lev) | ^ ./../regex/engine.c:67:17: note: expanded from macro 'backref' 67 | #define backref lbackref | ^ ./../regex/engine.c:596:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 596 | ret = mbchin(cs, sp); | ^~ ./../regex/engine.c:114:40: note: passing argument to parameter here 114 | static int mbchin __P((cset *, u_char *)); | ^ ./../regex/engine.c:608:29: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 608 | && 1 < multi_back(NULL, m->beginp, sp)) | ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:608:40: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 608 | && 1 < multi_back(NULL, m->beginp, sp)) | ^~ ./../regex/engine.c:97:54: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:630:30: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 630 | && (1 < multi_back(NULL, m->beginp, sp) | ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:630:41: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 630 | && (1 < multi_back(NULL, m->beginp, sp) | ^~ ./../regex/engine.c:97:54: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:648:30: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 648 | && (1 < multi_back(NULL, m->beginp, sp) | ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:648:41: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 648 | && (1 < multi_back(NULL, m->beginp, sp) | ^~ ./../regex/engine.c:97:54: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:778:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 778 | } | ^ ./../regex/engine.c:786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | fast(m, start, stop, startst, stopst) | ^ ./../regex/engine.c:64:14: note: expanded from macro 'fast' 64 | #define fast lfast | ^ ./../regex/engine.c:802:34: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 802 | : *(start - multi_back(NULL, m->beginp, start)); | ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:802:45: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 802 | : *(start - multi_back(NULL, m->beginp, start)); | ^~~~~ ./../regex/engine.c:97:54: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | slow(m, start, stop, startst, stopst) | ^ ./../regex/engine.c:65:14: note: expanded from macro 'slow' 65 | #define slow lslow | ^ ./../regex/engine.c:918:34: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 918 | : *(start - multi_back(NULL, m->beginp, start)); | ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:918:45: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 918 | : *(start - multi_back(NULL, m->beginp, start)); | ^~~~~ ./../regex/engine.c:97:54: note: passing argument to parameter here 97 | extern int multi_back __P((void *, u_char *, u_char *)); | ^ ./../regex/engine.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | step(g, start, stop, bef, ch, aft) | ^ ./../regex/engine.c:68:14: note: expanded from macro 'step' 68 | #define step lstep | ^ ./../regex/engine.c:1147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | mstep(g, start, stop, bef, ch, p, aft, padv) | ^ ./../regex/engine.c:70:15: note: expanded from macro 'mstep' 70 | #define mstep lmstep | ^ ./../regex/engine.c:1211:36: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1211 | if (!NONCHAR(ch) && mbchin(cs, p)) | ^ ./../regex/engine.c:114:40: note: passing argument to parameter here 114 | static int mbchin __P((cset *, u_char *)); | ^ ./../regex/engine.c:1280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1280 | mbchin(cs, q) | ^ ./../regex/engine.c:71:16: note: expanded from macro 'mbchin' 71 | #define mbchin lmbchin | ^ ./../regex/engine.c:1294:9: warning: assigning to 'u_char *' (aka '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] 1294 | for (p = cs->multis; | ^ ~~~~~~~~~~ ./../regex/regexec.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | regexec(preg, string, nmatch, pmatch, eflags) | ^ 49 warnings generated. --- bt_utils.o --- ./../db/btree/bt_utils.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 | __bt_ret(t, e, key, rkey, data, rdata, copy) | ^ ./../db/include/db.h:70:18: note: expanded from macro '__bt_ret' 70 | #define __bt_ret nvi__bt_ret | ^ ./../db/btree/bt_utils.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | __bt_cmp(t, k1, e) | ^ ./../db/include/db.h:53:18: note: expanded from macro '__bt_cmp' 53 | #define __bt_cmp nvi__bt_cmp | ^ ./../db/btree/bt_utils.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 | __bt_defcmp(a, b) | ^ ./../db/include/db.h:54:21: note: expanded from macro '__bt_defcmp' 54 | #define __bt_defcmp nvi__bt_defcmp | ^ ./../db/btree/bt_utils.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | __bt_defpfx(a, b) | ^ ./../db/include/db.h:55:21: note: expanded from macro '__bt_defpfx' 55 | #define __bt_defpfx nvi__bt_defpfx | ^ 4 warnings generated. --- rec_search.o --- ./../db/recno/rec_search.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 | __rec_search(t, recno, op) | ^ ./../db/include/db.h:92:22: note: expanded from macro '__rec_search' 92 | #define __rec_search nvi__rec_search | ^ 1 warning generated. --- rec_delete.o --- ./../db/recno/rec_delete.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 | __rec_delete(dbp, key, flags) | ^ ./../db/include/db.h:82:22: note: expanded from macro '__rec_delete' 82 | #define __rec_delete nvi__rec_delete | ^ ./../db/recno/rec_delete.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 | rec_rdelete(t, nrec) | ^ ./../db/recno/rec_delete.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | __rec_dleaf(t, h, index) | ^ ./../db/include/db.h:83:21: note: expanded from macro '__rec_dleaf' 83 | #define __rec_dleaf nvi__rec_dleaf | ^ 3 warnings generated. --- rec_put.o --- ./../db/recno/rec_put.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | __rec_put(dbp, key, data, flags) | ^ ./../db/include/db.h:90:19: note: expanded from macro '__rec_put' 90 | #define __rec_put nvi__rec_put | ^ ./../db/recno/rec_put.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | __rec_iput(t, nrec, data, flags) | ^ ./../db/include/db.h:88:20: note: expanded from macro '__rec_iput' 88 | #define __rec_iput nvi__rec_iput | ^ 2 warnings generated. --- regcomp.o --- ./../regex/regcomp.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | regcomp(preg, pattern, cflags) | ^ ./../regex/regcomp.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | p_ere(p, stop) | ^ ./../regex/regcomp.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | p_ere_exp(p) | ^ ./../regex/regcomp.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | p_str(p) | ^ ./../regex/regcomp.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | p_bre(p, end1, end2) | ^ ./../regex/regcomp.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | p_simp_re(p, starordinary) | ^ ./../regex/regcomp.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | p_count(p) | ^ ./../regex/regcomp.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | p_bracket(p) | ^ ./../regex/regcomp.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | p_b_term(p, cs) | ^ ./../regex/regcomp.c:818:11: warning: call to undeclared function 'multi_byte_c'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 818 | if (1 < multi_byte_c(NULL, PEEK())) { | ^ ./../regex/regcomp.c:900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | p_b_cclass(p, cs) | ^ ./../regex/regcomp.c:936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | p_b_eclass(p, cs) | ^ ./../regex/regcomp.c:951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | p_b_symbol(p) | ^ ./../regex/regcomp.c:971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | p_b_coll_elem(p, endc) | ^ ./../regex/regcomp.c:1001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | othercase(ch) | ^ ./../regex/regcomp.c:1020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | bothcases(p, ch) | ^ ./../regex/regcomp.c:1045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | ordinary(p, ch) | ^ ./../regex/regcomp.c:1066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | mordinary(p, ch) | ^ ./../regex/regcomp.c:1110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | nonnewline(p) | ^ ./../regex/regcomp.c:1134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | repeat(p, start, from, to) | ^ ./../regex/regcomp.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | seterr(p, e) | ^ ./../regex/regcomp.c:1222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | allocset(p) | ^ ./../regex/regcomp.c:1280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1280 | freeset(p, cs) | ^ ./../regex/regcomp.c:1305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1305 | freezeset(p, cs) | ^ ./../regex/regcomp.c:1339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | firstch(p, cs) | ^ ./../regex/regcomp.c:1358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1358 | nch(p, cs) | ^ ./../regex/regcomp.c:1378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1378 | mcadd(p, cs, cp) | ^ ./../regex/regcomp.c:1404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1404 | mcsub(cs, cp) | ^ ./../regex/regcomp.c:1431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1431 | mcin(cs, cp) | ^ ./../regex/regcomp.c:1443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | mcfind(cs, cp) | ^ ./../regex/regcomp.c:1465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1465 | mcinvert(p, cs) | ^ ./../regex/regcomp.c:1484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1484 | mccase(p, cs) | ^ ./../regex/regcomp.c:1498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1498 | isinsets(g, c) | ^ ./../regex/regcomp.c:1518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1518 | samesets(g, c1, c2) | ^ ./../regex/regcomp.c:1540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1540 | categorize(p, g) | ^ ./../regex/regcomp.c:1568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1568 | dupl(p, start, finish) | ^ ./../regex/regcomp.c:1596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1596 | doemit(p, op, opnd) | ^ ./../regex/regcomp.c:1622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1622 | doinsert(p, op, opnd, pos) | ^ ./../regex/regcomp.c:1662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1662 | dofwd(p, pos, value) | ^ ./../regex/regcomp.c:1680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1680 | enlarge(p, size) | ^ ./../regex/regcomp.c:1703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1703 | stripsnug(p, g) | ^ ./../regex/regcomp.c:1726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1726 | findmust(p, g) | ^ ./../regex/regcomp.c:1807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1807 | pluscount(p, g) | ^ 43 warnings generated. --- rec_get.o --- ./../db/recno/rec_get.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 | __rec_get(dbp, key, data, flags) | ^ ./../db/include/db.h:87:19: note: expanded from macro '__rec_get' 87 | #define __rec_get nvi__rec_get | ^ ./../db/recno/rec_get.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | __rec_fpipe(t, top) | ^ ./../db/include/db.h:86:21: note: expanded from macro '__rec_fpipe' 86 | #define __rec_fpipe nvi__rec_fpipe | ^ ./../db/recno/rec_get.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | __rec_vpipe(t, top) | ^ ./../db/include/db.h:96:21: note: expanded from macro '__rec_vpipe' 96 | #define __rec_vpipe nvi__rec_vpipe | ^ ./../db/recno/rec_get.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 | __rec_fmap(t, top) | ^ ./../db/include/db.h:85:20: note: expanded from macro '__rec_fmap' 85 | #define __rec_fmap nvi__rec_fmap | ^ ./../db/recno/rec_get.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | __rec_vmap(t, top) | ^ ./../db/include/db.h:95:20: note: expanded from macro '__rec_vmap' 95 | #define __rec_vmap nvi__rec_vmap | ^ 5 warnings generated. --- rec_seq.o --- ./../db/recno/rec_seq.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 | __rec_seq(dbp, key, data, flags) | ^ ./../db/include/db.h:93:19: note: expanded from macro '__rec_seq' 93 | #define __rec_seq nvi__rec_seq | ^ 1 warning generated. --- bt_split.o --- ./../db/btree/bt_split.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 | __bt_split(t, sp, key, data, flags, ilen, argskip) | ^ ./../db/include/db.h:74:20: note: expanded from macro '__bt_split' 74 | #define __bt_split nvi__bt_split | ^ ./../db/btree/bt_split.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | bt_page(t, h, lp, rp, skip, ilen) | ^ ./../db/btree/bt_split.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | bt_root(t, h, lp, rp, skip, ilen) | ^ ./../db/btree/bt_split.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- rec_utils.o --- ./../db/recno/rec_utils.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | __rec_ret(t, e, nrec, key, data) | ^ ./../db/include/db.h:91:19: note: expanded from macro '__rec_ret' 91 | #define __rec_ret nvi__rec_ret | ^ 1 warning generated. --- bt_split.o --- 496 | bt_rroot(t, h, l, r) | ^ ./../db/btree/bt_split.c:536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | bt_broot(t, h, l, r) | ^ ./../db/btree/bt_split.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | bt_psplit(t, h, l, r, pskip, ilen) | ^ ./../db/btree/bt_split.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | bt_preserve(t, pg) | ^ ./../db/btree/bt_split.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | rec_total(h) | ^ 8 warnings generated. --- rec_open.o --- ./../db/recno/rec_open.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 | __rec_open(fname, flags, mode, openinfo, dflags) | ^ ./../db/include/db.h:89:20: note: expanded from macro '__rec_open' 89 | #define __rec_open nvi__rec_open | ^ ./../db/recno/rec_open.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 | __rec_fd(dbp) | ^ ./../db/include/db.h:84:18: note: expanded from macro '__rec_fd' 84 | #define __rec_fd nvi__rec_fd | ^ 2 warnings generated. --- nvi --- cc -o nvi cl_bsd.o cl_funcs.o cl_main.o cl_read.o cl_screen.o cl_term.o cut.o delete.o ex.o ex_abbrev.o ex_append.o ex_args.o ex_argv.o ex_at.o ex_bang.o ex_cd.o ex_cmd.o ex_cscope.o ex_delete.o ex_display.o ex_edit.o ex_equal.o ex_file.o ex_filter.o ex_global.o ex_init.o ex_join.o ex_map.o ex_mark.o ex_mkexrc.o ex_move.o ex_open.o ex_perl.o ex_preserve.o ex_print.o ex_put.o ex_quit.o ex_read.o ex_screen.o ex_script.o ex_set.o ex_shell.o ex_shift.o ex_source.o ex_stop.o ex_subst.o ex_tag.o ex_tcl.o ex_txt.o ex_undo.o ex_usage.o ex_util.o ex_version.o ex_visual.o ex_write.o ex_yank.o ex_z.o exf.o getc.o key.o line.o log.o main.o mark.o msg.o options.o options_f.o put.o recover.o screen.o search.o seq.o util.o v_at.o v_ch.o v_cmd.o v_delete.o v_ex.o v_increment.o v_init.o v_itxt.o v_left.o v_mark.o v_match.o v_paragraph.o v_put.o v_redraw.o v_replace.o v_right.o v_screen.o v_scroll.o v_search.o v_section.o v_sentence.o v_status.o v_txt.o v_ulcase.o v_undo.o v_util.o v_word.o v_xchar.o v_yank.o v_z.o v_zexit.o vi.o vs_line.o vs_msg.o vs_refresh.o vs_relative.o vs_smap.o vs_split.o multibyte.o multi_chclass.o multi_big5.o multi_euc.o multi_eucjp.o multi_hz.o multi_iso2022.o multi_none.o multi_sjis.o multi_canna.o multi_euctw.o addbytes.o addch.o box.o clear.o clrtobot.o clrtoeol.o cr_put.o ctrace.o cur_hash.o curses.o delch.o deleteln.o delwin.o erase.o fullname.o getch.o getstr.o id_subwins.o idlok.o initscr.o insch.o insertln.o longname.o move.o mvwin.o newwin.o overlay.o overwrite.o putchar.o refresh.o scroll.o setterm.o standout.o toucholap.o touchwin.o tscroll.o tstp.o tty.o unctrl.o waddnstr.o regcomp.o regerror.o regexec.o regfree.o db.o mpool.o bt_close.o bt_conv.o bt_debug.o bt_delete.o bt_get.o bt_open.o bt_overflow.o bt_page.o bt_put.o bt_search.o bt_seq.o bt_split.o bt_utils.o rec_close.o rec_delete.o rec_get.o rec_open.o rec_put.o rec_search.o rec_seq.o rec_utils.o -ltermlib rm -f nex ln nvi nex =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nvi-m17n-1.79.20040608_6,1 depends on package: perl5>=5.42.r<5.43 - not found ===> Installing existing package /packages/All/perl5-5.42.0_1.pkg [pkg.DaveG.ca] Installing perl5-5.42.0_1... [pkg.DaveG.ca] Extracting perl5-5.42.0_1: .......... done ===> nvi-m17n-1.79.20040608_6,1 depends on package: perl5>=5.42.r<5.43 - found ===> Returning to build of nvi-m17n-1.79.20040608_6,1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for nvi-m17n-1.79.20040608_6,1 ===> Generating temporary packing list /bin/rm -rf /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi /bin/mkdir -p /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi && /bin/chmod 755 /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi Installing message catalogs: /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/catalog ... /bin/mkdir -p /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/catalog && /bin/chmod 755 /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/catalog (cd ./../catalog && /bin/cp dutch english french german ru_SU.KOI8-R spanish swedish /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/catalog && cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/catalog && /bin/chmod 444 *) Installing Perl scripts: /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/perl ... /bin/mkdir -p /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/perl && /bin/chmod 755 /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/perl [ ! -f VI.pm ] || (/bin/cp VI.pm /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/perl && cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/perl && /bin/chmod 444 VI.pm) (cd ./../perl_scripts && /bin/cp *.pl /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/perl && cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/perl && /bin/chmod 444 *.pl) Installing Tcl scripts: /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/tcl ... /bin/mkdir -p /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/tcl && /bin/chmod 755 /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/tcl (cd ./../tcl_scripts && /bin/cp *.tcl /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/tcl && cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/tcl && /bin/chmod 444 *.tcl) Installing recover script: /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/recover ... (/bin/cp recover /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/recover && /bin/chmod 555 /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/recover) Installing vi, ex, view: /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin ... cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && /bin/rm -f `echo vi | sed 's,^,n,;'` /bin/cp nvi /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin/`echo vi | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && [ -f /usr/bin/strip ] && /usr/bin/strip `echo vi | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && /bin/chmod 555 `echo vi | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && /bin/rm -f `echo ex | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && /bin/rm -f `echo view | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && /bin/ln -s `echo vi | sed 's,^,n,;'` `echo ex | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && /bin/ln -s `echo vi | sed 's,^,n,;'` `echo view | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && /bin/rm -f regular qregular /bin/cp regular /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin/regular /bin/cp qregular /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin/qregular cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && /bin/chmod 555 regular qregular Installing man pages: /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/man ... cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/man/man1 && /bin/rm -f `echo vi.1 | sed 's,^,n,;'` /bin/cp ./../docs/USD.doc/vi.man/vi.1 /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/man/man1/`echo vi.1 | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/man/man1 && /bin/chmod 444 `echo vi.1 | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/man/man1 && /bin/rm -f `echo ex.1 | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/man/man1 && /bin/rm -f `echo view.1 | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/man/man1 && /bin/ln -s `echo vi.1 | sed 's,^,n,;'` `echo ex.1 | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/man/man1 && /bin/ln -s `echo vi.1 | sed 's,^,n,;'` `echo view.1 | sed 's,^,n,;'` install -m 0644 /wrkdirs/usr/ports/editors/nvi-m17n/work/nvi-1.79/build/../docs.m17n/README.english /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/ install -m 0644 /wrkdirs/usr/ports/editors/nvi-m17n/work/nvi-1.79/build/../docs.m17n/README.japanese /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/ ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-10-02T09:08:52+0000' 'PKG_NOTE_ports_top_git_hash=a936fb9b16ba' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=4485bd8221c2' '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 nvi-m17n-1.79.20040608_6,1 ===> Building nvi-m17n-1.79.20040608_6,1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for nvi-m17n-1.79.20040608_6,1 build of editors/nvi-m17n | nvi-m17n-1.79.20040608_6,1 ended at Thu Oct 2 05:13:19 EDT 2025 build time: 00:04:34