=>> Building japanese/jvim3 build started at Fri Oct 3 20:59:08 EDT 2025 port directory: /usr/ports/japanese/jvim3 package name: ja-jvim-3.0.j2.1b_3 building for: FreeBSD pkg.DaveG.ca 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64 maintained by: hrs@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2570 Aug 27 2024 /usr/ports/japanese/jvim3/Makefile Ports top last git commit: a936fb9b16ba Ports top unclean checkout: no Port dir last git commit: f27598a6a985 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500064 Jail OSVERSION: 1500064 Job Id: 02 ---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/02/.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 ja-jvim-3.0.j2.1b_3: DOCS=on: Build and/or install documentation X11=on: X11 (graphics) support ====> Japanese FrontEnd Processor: you can only select none or one of them DIRECT_CANNA=off: Canna support (direct) WNN6=off: Wnn6 support WNN7=off: Wnn7 support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- hrs@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/jvim3/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/jvim3/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/jvim3/work/.cache HOME=/wrkdirs/usr/ports/japanese/jvim3/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/jvim3/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/jvim3/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/jvim3/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/jvim3/work XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/jvim3/work/.cache HOME=/wrkdirs/usr/ports/japanese/jvim3/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/jvim3/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/jvim3/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include" LDFLAGS=" " LIBS="-ltermlib -L/usr/local/lib -lX11 -L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- VERSION=3.0.j2.1b PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/jvim" EXAMPLESDIR="share/examples/jvim" DATADIR="share/jvim" WWWDIR="www/jvim" ETCDIR="etc/jvim" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/jvim DOCSDIR=/usr/local/share/doc/jvim EXAMPLESDIR=/usr/local/share/examples/jvim WWWDIR=/usr/local/www/jvim ETCDIR=/usr/local/etc/jvim --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-jvim-3.0.j2.1b_3 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 ===> ja-jvim-3.0.j2.1b_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ja-jvim-3.0.j2.1b_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-jvim-3.0.j2.1b_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-jvim-3.0.j2.1b_3 for building => SHA256 Checksum OK for vim-3.0.tar.gz. => SHA256 Checksum OK for jvim.2.1b.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by ja-jvim-3.0.j2.1b_3 for building ===> Extracting for ja-jvim-3.0.j2.1b_3 ===> Fetching all distfiles required by ja-jvim-3.0.j2.1b_3 for building => SHA256 Checksum OK for vim-3.0.tar.gz. => SHA256 Checksum OK for jvim.2.1b.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ja-jvim-3.0.j2.1b_3 ===> Applying extra patch /wrkdirs/usr/ports/japanese/jvim3/work/jvim.diff ===> Applying FreeBSD patches for ja-jvim-3.0.j2.1b_3 from /usr/ports/japanese/jvim3/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-jvim-3.0.j2.1b_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.12,1.pkg [pkg.DaveG.ca] Installing libX11-1.8.12,1... [pkg.DaveG.ca] `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] Extracting libX11-1.8.12,1: .......... done ===> ja-jvim-3.0.j2.1b_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of ja-jvim-3.0.j2.1b_3 ===> ja-jvim-3.0.j2.1b_3 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. ===> ja-jvim-3.0.j2.1b_3 depends on file: /usr/local/bin/ccache - found ===> Returning to build of ja-jvim-3.0.j2.1b_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ja-jvim-3.0.j2.1b_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ja-jvim-3.0.j2.1b_3 --- alloc.o --- --- unix.o --- --- buffer.o --- --- charset.o --- --- cmdcmds.o --- --- mkcmdtab.o --- --- csearch.o --- --- digraph.o --- --- edit.o --- --- fileio.o --- --- getchar.o --- --- help.o --- --- linefunc.o --- --- main.o --- --- mark.o --- --- memfile.o --- --- alloc.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT alloc.c --- unix.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT unix.c --- buffer.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT buffer.c --- charset.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT charset.c --- cmdcmds.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT cmdcmds.c --- mkcmdtab.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT mkcmdtab.c --- csearch.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT csearch.c --- digraph.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT digraph.c --- edit.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT edit.c --- fileio.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT fileio.c --- getchar.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT getchar.c --- help.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT help.c --- linefunc.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT linefunc.c --- main.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT main.c --- mark.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT mark.c --- memfile.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT memfile.c --- alloc.o --- In file included from alloc.c:18: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from alloc.c:18: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from alloc.c:18: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from alloc.c:18: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ alloc.c:37:16: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | return (lalloc((long_u)size, TRUE)); | ^ alloc.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 | alloc(size) | ^ In file included from alloc.c:18: In file included from ./proto.h:46: ./proto/alloc.pro:2:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2 | unsigned char *alloc __PARMS((unsigned int size)); | ^ alloc.c:88:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | emsg(e_outofmem); | ^ alloc.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 | lalloc(size, message) | ^ In file included from alloc.c:18: In file included from ./proto.h:46: ./proto/alloc.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | unsigned char *lalloc __PARMS((unsigned long size, int message)); | ^ alloc.c:105:10: warning: assigning to 'char_u *' (aka 'unsigned char *') from 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 105 | string = ""; | ^ ~~ alloc.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | strsave(string) | ^ In file included from alloc.c:18: In file included from ./proto.h:46: ./proto/alloc.pro:4:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | unsigned char *strsave __PARMS((unsigned char *string)); | ^ alloc.c:122:10: warning: assigning to 'char_u *' (aka 'unsigned char *') from 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 122 | string = ""; | ^ ~~ alloc.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | strnsave(string, len) | ^ In file included from alloc.c:18: In file included from ./proto.h:46: ./proto/alloc.pro:5:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | unsigned char *strnsave __PARMS((unsigned char *string, int len)); | ^ alloc.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 | copy_spaces(ptr, count) | ^ In file included from alloc.c:18: In file included from ./proto.h:46: ./proto/alloc.pro:6: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] 6 | void copy_spaces __PARMS((unsigned char *ptr, size_t count)); | ^ alloc.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 | del_spaces(ptr) | ^ In file included from alloc.c:18: In file included from ./proto.h:46: ./proto/alloc.pro:7: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] 7 | void del_spaces __PARMS((unsigned char *ptr)); | ^ alloc.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | nofreeNULL(x) | ^ alloc.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 | bsdmemset(ptr, c, size) | ^ alloc.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | vim_strnicmp(s1, s2, len) | ^ In file included from alloc.c:18: In file included from ./proto.h:46: ./proto/alloc.pro:8:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | int vim_strnicmp __PARMS((unsigned char *s1, unsigned char *s2, size_t len)); | ^ alloc.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 | vim_stricmp(s1, s2) | ^ 25 warnings generated. --- memline.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT memline.c --- mkcmdtab.o --- mkcmdtab.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | main(argc, argv) | ^ 1 warning generated. --- message.o --- --- csearch.o --- In file included from csearch.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from csearch.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); --- message.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT message.c --- csearch.o --- | ^ In file included from csearch.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from csearch.c:16: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ csearch.c:76:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | emsg(e_invarg); | ^ csearch.c:89:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | emsg(e_backslash); | ^ csearch.c:101:21: warning: passing arguments to 'skip_regexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | cmd = skip_regexp(cmd, delimiter); | ^ csearch.c:125:20: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | old_sub = strsave(sub); | ^ csearch.c:131:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | emsg(e_nopresub); | ^ csearch.c:169:11: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | skipspace(&cmd); | ^ csearch.c:172:16: warning: passing arguments to 'getdigits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | i = getdigits(&cmd); | ^ csearch.c:175:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | emsg(e_zerocount); | ^ csearch.c:185:11: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | skipspace(&cmd); | ^ csearch.c:190:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | emsg(e_trailing); | ^ csearch.c:197:23: warning: passing arguments to 'myregcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | if ((prog = myregcomp(pat, 1, which_pat)) == NULL) | ^ csearch.c:199:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | emsg(e_invcmd); | ^ csearch.c:207:16: warning: passing arguments to 'regtilde' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | sub = regtilde(sub, (int)p_magic); | ^ csearch.c:212:15: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | ptr = ml_get(lnum); | ^ csearch.c:224:27: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | if ((old_line = strsave(ptr)) == NULL) | ^ csearch.c:260:18: warning: passing arguments to 'comp_Botline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | comp_Botline(curwin); | ^ csearch.c:261:18: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | updateScreen(CURSUPD); | ^ csearch.c:263:25: warning: passing arguments to 'set_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | (void)set_highlight('r'); | ^ csearch.c:265:10: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | smsg((char_u *)"replace by %s (y/n/q)?", sub); | ^ csearch.c:266:15: warning: passing arguments to 'showruler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | showruler(TRUE); | ^ csearch.c:290:28: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | if ((new_start = alloc((unsigned)(STRLEN(old_line) + sublen + 5))) == NULL) | ^ csearch.c:299:21: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | if ((p1 = alloc((unsigned)(STRLEN(new_start) + STRLEN(old_copy) + sublen + 1))) == NULL) | ^ csearch.c:329:19: warning: passing arguments to 'u_inssub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | if (u_inssub(lnum)) /* prepare for undo */ | ^ csearch.c:332:19: warning: passing arguments to 'mark_adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | mark_adjust(lnum, MAXLNUM, 1L); | ^ csearch.c:333:17: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | ml_append(lnum - 1, new_start, (colnr_t)(p1 - new_start + 1), FALSE); | ^ csearch.c:368:20: warning: passing arguments to 'u_savesub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | if (u_savesub(lnum)) | ^ csearch.c:369:18: warning: passing arguments to 'ml_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | ml_replace(lnum, new_start, TRUE); | ^ csearch.c:377:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | EMSG("dosub internal error: old_match < old_line"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ csearch.c:407:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | updateScreen(CURSUPD); /* need this to update LineSizes */ | ^ csearch.c:408:12: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | beginline(TRUE); | ^ csearch.c:412:22: warning: passing arguments to 'plural' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | nsubs, plural(nsubs), | ^ csearch.c:413:29: warning: passing arguments to 'plural' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | (long)nlines, plural((long)nlines)); | ^ csearch.c:410:8: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | smsg((char_u *)"%s%ld substitution%s on %ld line%s", | ^ csearch.c:415:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | emsg(e_interr); | ^ csearch.c:417:5: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | MSG(""); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ csearch.c:420:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | emsg(e_interr); | ^ csearch.c:422:3: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | MSG(""); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ csearch.c:424:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | emsg(e_nomatch); | ^ csearch.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 | dosub(lp, up, cmd, nextcommand, use_old) | ^ In file included from csearch.c:16: In file included from ./proto.h:51: ./proto/csearch.pro:2: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] 2 | void dosub __PARMS((long lp, long up, unsigned char *cmd, unsigned char **nextcommand, int use_old)); | ^ csearch.c:466:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | EMSG("Cannot do :global recursive"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ csearch.c:483:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | emsg(e_backslash); | ^ csearch.c:499:20: warning: passing arguments to 'skip_regexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | cmd = skip_regexp(cmd, delim); | ^ csearch.c:506:23: warning: passing arguments to 'myregcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | if ((prog = myregcomp(pat, 2, which_pat)) == NULL) | ^ csearch.c:508:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | emsg(e_invcmd); | ^ csearch.c:511:2: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | MSG(""); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ csearch.c:519:31: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | match = regexec(prog, ml_get(lnum), (int)TRUE); /* a match on this line? */ | ^ csearch.c:522:16: warning: passing arguments to 'ml_setmarked' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | ml_setmarked(lnum); | ^ csearch.c:534:3: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | MSG("Interrupted"); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ csearch.c:536:6: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | msg(e_nomatch); | ^ csearch.c:561:14: warning: passing arguments to 'docmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | docmdline((char_u *)"p"); | ^ csearch.c:563:14: warning: passing arguments to 'docmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | docmdline(cmd); | ^ csearch.c:572:15: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | wait_return(FALSE); | ^ csearch.c:575:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | updateScreen(CURSUPD); | ^ csearch.c:576:10: warning: passing arguments to 'msgmore' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | msgmore(curbuf->b_ml.ml_line_count - old_lcount); | ^ csearch.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 | doglob(type, lp, up, cmd) | ^ In file included from csearch.c:16: In file included from ./proto.h:51: ./proto/csearch.pro:3: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] 3 | void doglob __PARMS((int type, long lp, long up, unsigned char *cmd)); | ^ 61 warnings generated. --- charset.o --- In file included from charset.c:11: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from charset.c:11: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from charset.c:11: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from charset.c:11: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ charset.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | transchar(c) | ^ In file included from charset.c:11: In file included from ./proto.h:48: ./proto/charset.pro:2:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2 | unsigned char *transchar __PARMS((int c)); | ^ charset.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 | charsize(c) | ^ In file included from charset.c:11: In file included from ./proto.h:48: ./proto/charset.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | int charsize __PARMS((int c)); | ^ charset.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 | strsize(s) | ^ In file included from charset.c:11: In file included from ./proto.h:48: ./proto/charset.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | int strsize __PARMS((unsigned char *s)); | ^ charset.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | chartabsize(c, col) | ^ In file included from charset.c:11: In file included from ./proto.h:48: ./proto/charset.pro:5:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | int chartabsize __PARMS((int c, long col)); | ^ charset.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | isidchar(c) | ^ In file included from charset.c:11: In file included from ./proto.h:48: ./proto/charset.pro:6:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | int isidchar __PARMS((int c)); | ^ charset.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 | isabchar(c) | ^ In file included from charset.c:11: In file included from ./proto.h:48: ./proto/charset.pro:8:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | int isabchar __PARMS((int c)); | ^ 16 warnings generated. --- digraph.o --- In file included from digraph.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from digraph.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); --- misccmds.o --- --- digraph.o --- | ^ In file included from digraph.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from digraph.c:16: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ digraph.c:207:18: warning: passing arguments to 'getdigraph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | c = getdigraph(backspaced, c, FALSE); | ^ digraph.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 | dodigraph(c) | ^ In file included from digraph.c:16: In file included from ./proto.h:52: ./proto/digraph.pro:2:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2 | int dodigraph __PARMS((int c)); | ^ digraph.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | getdigraph(char1, char2, meta) | ^ In file included from digraph.c:16: In file included from ./proto.h:52: ./proto/digraph.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | int getdigraph __PARMS((int char1, int char2, int meta)); | ^ digraph.c:272:12: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | skipspace(&str); | ^ digraph.c:277:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | EMSG("Escape not allowed in digraph"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ digraph.c:280:12: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | skipspace(&str); | ^ digraph.c:283:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | emsg(e_number); | ^ digraph.c:286:16: warning: passing arguments to 'getdigits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | n = getdigits(&str); | ^ digraph.c:298:32: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | newtab = (char_u (*)[3])alloc(digraphcount * 3 + 3); | ^ digraph.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | putdigraph(str) | ^ In file included from digraph.c:16: In file included from ./proto.h:52: ./proto/digraph.pro:4: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] 4 | void putdigraph __PARMS((unsigned char *str)); | ^ digraph.c:319:13: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | msg_outchar('\n'); | ^ digraph.c:331:13: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | msg_outchar('\n'); | ^ digraph.c:332:13: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | wait_return(TRUE); /* clear screen, because some digraphs may be wrong, | ^ digraph.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 | printdigraph(p) | ^ digraph.c:349:15: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | msg_outchar('\n'); | ^ digraph.c:353:14: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | msg_outstr((char_u *)" "); | ^ digraph.c:355:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | msg_outstr(buf); | ^ 24 warnings generated. --- normal.o --- --- ops.o --- --- misccmds.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT misccmds.c --- normal.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT normal.c --- ops.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT ops.c --- main.o --- In file included from main.c:12: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from main.c:12: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from main.c:12: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from main.c:12: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ main.c:100:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 100 | fprintf(stderr, (char *)errors[n]); | ^ ~~~~~~~~~ main.c:100:18: note: treat the string as an argument to avoid this 100 | fprintf(stderr, (char *)errors[n]); | ^ | "%s", main.c:105:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 105 | fprintf(stderr, (char *)use[i]); | ^ ~~~~~~ main.c:105:19: note: treat the string as an argument to avoid this 105 | fprintf(stderr, (char *)use[i]); | ^ | "%s", main.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | usage(n) | ^ main.c:25: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] 25 | static void usage __PARMS((int)); | ^ main.c:179:25: warning: passing arguments to 'win_alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | if ((curwin = win_alloc(NULL)) == NULL || | ^ main.c:180:25: warning: passing arguments to 'buflist_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | (curbuf = buflist_new(NULL, NULL, 1L, FALSE)) == NULL) | ^ main.c:187:20: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | if (STRCMP(gettail((char_u *)argv[0]), (char_u *)"view") == 0) | ^ main.c:323:30: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | curbuf->b_p_jc = strsave(argv[0]); | ^ main.c:323:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 323 | curbuf->b_p_jc = strsave(argv[0]); | ^ ~~~~~~~~~~~~~~~~ main.c:333:14: warning: assigning to 'char_u *' (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 | for (cp = argv[0]; *cp; cp++) | ^ ~~~~~~~ main.c:371:21: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | if ((IObuff = alloc(IOSIZE)) == NULL || (NameBuff = alloc(MAXPATHL)) == NULL) | ^ main.c:371:59: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | if ((IObuff = alloc(IOSIZE)) == NULL || (NameBuff = alloc(MAXPATHL)) == NULL) | ^ main.c:465:10: warning: passing arguments to 'win_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | win_init(curwin); /* init cursor position */ | ^ main.c:467:13: warning: passing arguments to 'termcapinit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | termcapinit(term); /* get terminal capabilities */ | ^ main.c:505:7: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | smsg("%d files to edit\n", arg_count); | ^ main.c:512:16: warning: passing arguments to 'dosource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | (void)dosource(DEFVIMRC_FILE); | ^ main.c:528:22: warning: passing 'char_u *' (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] 528 | if (initstr[strlen(initstr) - 1] == '"') | ^~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ main.c:529:21: warning: passing 'char_u *' (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] 529 | initstr[strlen(initstr) - 1] = '\0'; | ^~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ main.c:530:12: warning: passing arguments to 'docmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | docmdline(initstr); | ^ main.c:535:19: warning: passing arguments to 'dosource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | else if (dosource((char_u *)SYSVIMRC_FILE) == FAIL) | ^ main.c:542:23: warning: passing 'char_u *' (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] 542 | if (initstr[strlen(initstr) - 1] == '"') | ^~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ main.c:543:20: warning: passing 'char_u *' (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] 543 | initstr[strlen(initstr) - 1] = '\0'; | ^~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ main.c:544:13: warning: passing arguments to 'docmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | docmdline(initstr); | ^ main.c:550:18: warning: passing arguments to 'dosource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | (void)dosource((char_u *)SYSEXRC_FILE); | ^ main.c:576:18: warning: passing arguments to 'fullpathcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | if (fullpathcmp((char_u *)SYSVIMRC_FILE, (char_u *)VIMRC_FILE) | ^ main.c:578:19: warning: passing arguments to 'fullpathcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | && fullpathcmp((char_u *)DEFVIMRC_FILE, (char_u *)VIMRC_FILE) | ^ main.c:581:16: warning: passing arguments to 'dosource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | i = dosource((char_u *)VIMRC_FILE); | ^ main.c:594:31: warning: passing arguments to 'fullpathcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | if (i == FAIL && fullpathcmp((char_u *)SYSEXRC_FILE, (char_u *)EXRC_FILE)) | ^ main.c:595:18: warning: passing arguments to 'dosource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | (void)dosource((char_u *)EXRC_FILE); | ^ main.c:605:10: warning: passing arguments to 'settmode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | settmode(1); | ^ main.c:611:14: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | wait_return(TRUE); /* must be called after settmode(1) */ | ^ main.c:633:16: warning: passing arguments to 'setfname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | (void)setfname(fileconvsfrom(fname), NULL, TRUE); | ^ main.c:642:27: warning: passing arguments to 'make_windows' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | win_count = make_windows(win_count); | ^ main.c:654:9: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | outstr(T_CVV); | ^ main.c:655:9: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | outstr(T_CV); | ^ main.c:669:10: warning: passing arguments to 'getout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | getout(1); | ^ main.c:689:12: warning: passing arguments to 'win_enter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | win_enter(curwin->w_next, FALSE); | ^ main.c:692:15: warning: passing arguments to 'doecmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | (void)doecmd(i < arg_count ? fileconvsfrom(arg_files[i]) : NULL, | ^ main.c:700:11: warning: passing arguments to 'win_enter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | win_enter(firstwin, FALSE); /* back to first window */ | ^ main.c:708:20: warning: passing arguments to 'buflist_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | (void)buflist_add(fileconvsfrom(arg_files[i])); | ^ main.c:714:12: warning: passing arguments to 'docmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | docmdline(command); | ^ main.c:734:16: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | stuffReadbuff((char_u *)":ta "); | ^ main.c:735:16: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | stuffReadbuff(tagname); | ^ main.c:736:16: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | stuffReadbuff((char_u *)"\n"); | ^ main.c:740:14: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | updateScreen(NOT_VALID); | ^ main.c:744:16: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | stuffReadbuff((char_u *)"i"); | ^ main.c:763:17: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | updateScreen(INVERTED); /* update inverted part */ | ^ main.c:765:17: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | updateScreen(must_redraw); | ^ main.c:767:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | msg(keep_msg); /* display message after redraw */ | ^ main.c:769:13: warning: passing arguments to 'showruler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | showruler(FALSE); | ^ main.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 | main(argc, argv) | ^ In file included from main.c:12: In file included from ./proto.h:58: ./proto/main.pro:2:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2 | int main __PARMS((int argc, char **argv)); | ^ main.c:785:10: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | windgoto((int)Rows - 1, 0); | ^ main.c:786:9: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | outchar('\r'); | ^ main.c:787:9: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | outchar('\n'); | ^ main.c:782:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | getout(r) | ^ In file included from main.c:12: In file included from ./proto.h:58: ./proto/main.pro:3: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] 3 | void getout __PARMS((int r)); | ^ 61 warnings generated. --- linefunc.o --- In file included from linefunc.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from linefunc.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from linefunc.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from linefunc.c:16: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ linefunc.c:35:14: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | ptr = ml_get(curwin->w_cursor.lnum); | ^ linefunc.c:53:21: warning: passing arguments to 'chartabsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | col += chartabsize(*ptr, (long)col); | ^ linefunc.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | coladvance(wcol) | ^ In file included from linefunc.c:16: In file included from ./proto.h:57: ./proto/linefunc.pro:2: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] 2 | void coladvance __PARMS((unsigned int wcol)); | ^ linefunc.c:80:12: warning: passing arguments to 'inc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | return inc(&curwin->w_cursor); | ^ linefunc.c:87:34: warning: passing arguments to 'ml_get_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | register char_u *p = ml_get_pos(lp); | ^ linefunc.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 | inc(lp) | ^ In file included from linefunc.c:16: In file included from ./proto.h:57: ./proto/linefunc.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | int inc __PARMS((struct fpos *lp)); | ^ linefunc.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 | incl(lp) | ^ In file included from linefunc.c:16: In file included from ./proto.h:57: ./proto/linefunc.pro:5:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | int incl __PARMS((struct fpos *lp)); | ^ linefunc.c:138:12: warning: passing arguments to 'dec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | return dec(&curwin->w_cursor); | ^ linefunc.c:157:26: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | lp->col = STRLEN(ml_get(lp->lnum)); | ^ linefunc.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 | dec(lp) | ^ In file included from linefunc.c:16: In file included from ./proto.h:57: ./proto/linefunc.pro:7:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | int dec __PARMS((struct fpos *lp)); | ^ linefunc.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 | decl(lp) | ^ In file included from linefunc.c:16: In file included from ./proto.h:57: ./proto/linefunc.pro:8:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | int decl __PARMS((struct fpos *lp)); | ^ linefunc.c:190:21: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | len = STRLEN(ml_get(curwin->w_cursor.lnum)); | ^ 21 warnings generated. --- param.o --- --- buffer.o --- In file included from buffer.c:29: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from buffer.c:29: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); --- cmdcmds.o --- In file included from cmdcmds.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from cmdcmds.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); --- help.o --- In file included from help.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from help.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); --- param.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT param.c --- quickfix.o --- --- help.o --- | ^ In file included from help.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from help.c:15: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ help.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 | kopen(fnamep, type) | ^ help.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 | kclose(mp) | ^ help.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | ktell(mp) | ^ help.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 | kseek(mp, offset, wherefrom) | ^ help.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | kgetc(mp) | ^ help.c:149:23: warning: passing 'char *' to parameter of type 'char_u *' (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] 149 | if ((helpmem = kopen((char *)p_hf, READBIN)) == NULL) | ^~~~~~~~~~~~ help.c:184:7: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | smsg((char_u *)"Sorry, help file \"%s\" not found", p_hf); | ^ help.c:285:14: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | updateScreen(CLEAR); | ^ help.c:306:8: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | outstr(T_ED); | ^ help.c:314:21: warning: passing arguments to 'set_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | (void)set_highlight('h'); | ^ help.c:315:10: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | windgoto(0,0); | ^ help.c:359:11: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | outchar('\n'); | ^ help.c:370:11: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | outchar(nextc); | ^ help.c:391:13: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | windgoto(line, 0); | ^ help.c:419:10: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | windgoto(0, (int)(Columns - STRLEN(JpVersion) - 1)); | ^ help.c:420:9: warning: passing arguments to 'outstrn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | outstrn(JpVersion); | ^ help.c:428:10: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | windgoto((int)Rows - 1, col); | ^ help.c:429:2: warning: passing arguments to 'outstrn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | OUTSTRN(""); | ^ ./vim.h:359:29: note: expanded from macro 'OUTSTRN' 359 | #define OUTSTRN(s) outstrn((char_u *)(s)) | ^ 22 warnings generated. --- buffer.o --- | ^ In file included from buffer.c:29: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from buffer.c:29: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here --- cmdcmds.o --- | ^ In file included from cmdcmds.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from cmdcmds.c:15: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here --- quickfix.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT quickfix.c --- regexp.o --- --- buffer.o --- 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ buffer.c:59:15: warning: passing arguments to 'close_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | close_buffer(curbuf, FALSE, FALSE); | ^ buffer.c:69:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | EMSG("Cannot allocate buffer, exiting..."); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ buffer.c:70:10: warning: passing arguments to 'getout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | getout(2); --- cmdcmds.o --- 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ cmdcmds.c:65:13: warning: passing arguments to 'u_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | if (!u_save((linenr_t)(start - 1), (linenr_t)(end + 1))) | ^ cmdcmds.c:69:13: warning: passing arguments to 'set_indent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | set_indent(indent, TRUE); /* remove existing indent */ | ^ cmdcmds.c:72:23: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | len = strsize(ml_get(curwin->w_cursor.lnum)); /* get line lenght */ | ^ --- buffer.o --- | ^ buffer.c:72:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | EMSG("Cannot allocate buffer, using other one..."); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ buffer.c:104:16: warning: passing arguments to 'dosource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | if (dosource(tmp) == FAIL && dotp != NULL) | ^ buffer.c:105:19: warning: passing arguments to 'dosource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | (void)dosource((char_u *)SYSVIMRC_FILE); --- cmdcmds.o --- cmdcmds.c:72:16: warning: passing arguments to 'strsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | len = strsize(ml_get(curwin->w_cursor.lnum)); /* get line lenght */ | ^ cmdcmds.c:76:23: warning: passing arguments to 'set_indent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | case 0: set_indent((width - len) / 2, FALSE); /* center */ | ^ cmdcmds.c:78:23: warning: passing arguments to 'set_indent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | case 1: set_indent(width - len, FALSE); /* right */ | ^ --- buffer.o --- | ^ buffer.c:106:19: warning: passing arguments to 'fullpathcmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | if (fullpathcmp((char_u *)SYSVIMRC_FILE, (char_u *)VIMRC_FILE)) | ^ buffer.c:126:18: warning: passing arguments to 'dosource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | if (dosource(tmp) == FAIL && dotp != NULL) | ^ buffer.c:127:15: warning: passing arguments to 'dosource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | dosource((char_u *)VIMRC_FILE); | ^ --- cmdcmds.o --- cmdcmds.c:83:11: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | beginline(TRUE); | ^ cmdcmds.c:84:14: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | updateScreen(NOT_VALID); | ^ cmdcmds.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 | do_align(start, end, width, type) | ^ In file included from cmdcmds.c:15: In file included from ./proto.h:49: ./proto/cmdcmds.pro:2: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] --- buffer.o --- buffer.c:136:15: warning: passing arguments to 'readfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | if (readfile(curbuf->b_filename, curbuf->b_sfilename, (linenr_t)0, | ^ buffer.c:141:3: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | MSG("Empty Buffer"); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ buffer.c:142:2: warning: passing arguments to 'unset_Changed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | UNCHANGED(curbuf); | ^ ./vim.h:341:37: note: expanded from macro 'UNCHANGED' --- cmdcmds.o --- 2 | void do_align __PARMS((long start, long end, int width, int type)); | ^ cmdcmds.c:103:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | EMSG("Move lines into themselves"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ cmdcmds.c:116:14: warning: passing arguments to 'mark_adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | mark_adjust(line1, line2, n - line2); | ^ cmdcmds.c:117:14: warning: passing arguments to 'mark_adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- buffer.o --- 341 | #define UNCHANGED(buf) unset_Changed(buf) | ^ buffer.c:167:13: warning: passing arguments to 'buf_freeall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | buf_freeall(buf); /* free all things allocated for this buffer */ | ^ buffer.c:198:12: warning: passing arguments to 'buf_clear' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | buf_clear(buf); | ^ buffer.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 | close_buffer(buf, free_buf, remove) | ^ In file included from buffer.c:29: In file included from ./proto.h:47: --- cmdcmds.o --- 117 | mark_adjust(line2 + 1, n, -(line2 - line1 + 1)); | ^ cmdcmds.c:121:14: warning: passing arguments to 'mark_adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | mark_adjust(line1, line2, -(line1 - n - 1)); | ^ cmdcmds.c:122:14: warning: passing arguments to 'mark_adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | mark_adjust(n + 1, line1 - 1, line2 - line1 + 1); | ^ cmdcmds.c:135:9: warning: passing arguments to 'u_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | u_save(line1 - 1, line1 + 1); | ^ --- buffer.o --- ./proto/buffer.pro:3: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] 3 | void close_buffer __PARMS((struct buffer *buf, int free_buf, int remove)); | ^ buffer.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 | buf_clear(buf) | ^ In file included from buffer.c:29: In file included from ./proto.h:47: ./proto/buffer.pro:4: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] 4 | void buf_clear __PARMS((struct buffer *buf)); | ^ --- cmdcmds.o --- cmdcmds.c:136:21: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | q = strsave(ml_get(line1)); | ^ cmdcmds.c:136:14: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | q = strsave(ml_get(line1)); | ^ cmdcmds.c:142:26: warning: passing arguments to 'ml_has_mark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | has_mark = ml_has_mark(line1); | ^ cmdcmds.c:143:13: warning: passing arguments to 'ml_delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- buffer.o --- buffer.c:225:13: warning: passing arguments to 'u_blockfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | u_blockfree(buf); /* free the memory allocated for undo */ | ^ buffer.c:226:10: warning: passing arguments to 'ml_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | ml_close(buf); /* close and delete the memline/memfile */ | ^ buffer.c:228:12: warning: passing arguments to 'u_clearall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | u_clearall(buf); /* reset all undo information */ | ^ --- cmdcmds.o --- 143 | ml_delete(line1); | ^ cmdcmds.c:144:10: warning: passing arguments to 'u_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | u_save(n, n + 1); | ^ cmdcmds.c:145:13: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | ml_append(n, q, (colnr_t)0, FALSE); | ^ cmdcmds.c:148:17: warning: passing arguments to 'ml_setmarked' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | ml_setmarked(n + 1); | ^ --- buffer.o --- buffer.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 | buf_freeall(buf) | ^ In file included from buffer.c:29: In file included from ./proto.h:47: ./proto/buffer.pro:5: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] 5 | void buf_freeall __PARMS((struct buffer *buf)); | ^ buffer.c:272:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | EMSG("No modified buffer found"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ --- cmdcmds.o --- cmdcmds.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 | do_move(line1, line2, n) | ^ In file included from cmdcmds.c:15: In file included from ./proto.h:49: ./proto/cmdcmds.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | int do_move __PARMS((long line1, long line2, long n)); | ^ cmdcmds.c:174:13: warning: passing arguments to 'mark_adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | mark_adjust(n + 1, MAXLNUM, line2 - line1 + 1); | ^ cmdcmds.c:187:8: warning: passing arguments to 'u_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- buffer.o --- buffer.c:294:37: warning: cast to 'char_u *' (aka 'unsigned char *') from smaller integer type 'int' [-Wint-to-pointer-cast] 294 | EMSG2("Cannot go to buffer %ld", (char_u *)count); | ^~~~~~~~~~~~~~~ ./vim.h:357:55: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ buffer.c:294:4: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | EMSG2("Cannot go to buffer %ld", (char_u *)count); | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ --- cmdcmds.o --- 187 | u_save(n, n + 1); | ^ cmdcmds.c:194:21: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | p = strsave(ml_get(line1)); | ^ cmdcmds.c:194:14: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | p = strsave(ml_get(line1)); | ^ cmdcmds.c:197:13: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | ml_append(curwin->w_cursor.lnum, p, (colnr_t)0, FALSE); | ^ --- buffer.o --- buffer.c:296:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | EMSG("Cannot go beyond last buffer"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ buffer.c:298:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | EMSG("Cannot go before first buffer"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ buffer.c:308:45: warning: cast to 'char_u *' (aka 'unsigned char *') from smaller integer type 'int' [-Wint-to-pointer-cast] --- cmdcmds.o --- cmdcmds.c:211:9: warning: passing arguments to 'msgmore' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | msgmore((long)lnum); | ^ cmdcmds.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | do_copy(line1, line2, n) | ^ In file included from cmdcmds.c:15: In file included from ./proto.h:49: ./proto/cmdcmds.pro:4: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] 4 | void do_copy __PARMS((long line1, long line2, long n)); | ^ cmdcmds.c:238:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- buffer.o --- 308 | EMSG2("Other window editing buffer %ld", (char_u *)buf->b_fnum); | ^~~~~~~~~~~~~~~~~~~~~ ./vim.h:357:55: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ buffer.c:308:4: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | EMSG2("Other window editing buffer %ld", (char_u *)buf->b_fnum); | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ buffer.c:314:7: warning: cast to 'char_u *' (aka 'unsigned char *') from smaller integer type 'int' [-Wint-to-pointer-cast] --- cmdcmds.o --- 238 | emsg(e_curdir); | ^ cmdcmds.c:249:13: warning: passing arguments to 'skiptospace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | skiptospace(&trailarg); | ^ cmdcmds.c:250:11: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | skipspace(&trailarg); | ^ cmdcmds.c:260:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | emsg(e_noprev); | ^ cmdcmds.c:268:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | emsg(e_toolong); --- buffer.o --- 314 | (char_u *)buf->b_fnum); | ^~~~~~~~~~~~~~~~~~~~~ ./vim.h:357:55: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ buffer.c:313:4: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | EMSG2("No write since last change for buffer %ld (use ! to override)", | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ --- cmdcmds.o --- | ^ cmdcmds.c:271:16: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | if ((t = alloc(len)) == NULL) | ^ cmdcmds.c:287:19: warning: passing arguments to 'AppendToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | AppendToRedobuff(prevcmd); | ^ cmdcmds.c:288:19: warning: passing arguments to 'AppendToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | AppendToRedobuff((char_u *)"\n"); | ^ cmdcmds.c:293:13: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- buffer.o --- buffer.c:323:19: warning: passing arguments to 'doecmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | retval = doecmd(NULL, NULL, NULL, FALSE, (linenr_t)1); | ^ buffer.c:369:16: warning: passing arguments to 'win_split' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | if (win_split(0L, FALSE) == FAIL) | ^ buffer.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 | do_buffer(action, start, dir, count, forceit) | ^ In file included from buffer.c:29: In file included from ./proto.h:47: --- cmdcmds.o --- 293 | msg_outchar(':'); | ^ cmdcmds.c:296:13: warning: passing arguments to 'msg_outnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | msg_outnum((long)line1); | ^ cmdcmds.c:297:14: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | msg_outchar(','); | ^ cmdcmds.c:298:13: warning: passing arguments to 'msg_outnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | msg_outnum((long)line2); | ^ cmdcmds.c:300:13: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- buffer.o --- ./proto/buffer.pro:6:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | int do_buffer __PARMS((int action, int start, int dir, int count, int forceit)); | ^ buffer.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 | enter_buffer(buf) | ^ buffer.c:397:21: warning: passing arguments to 'buf_copy_options' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | buf_copy_options(curbuf, buf); | ^ buffer.c:416:14: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- cmdcmds.o --- 300 | msg_outchar('!'); | ^ cmdcmds.c:301:14: warning: passing arguments to 'msg_outtrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | msg_outtrans(prevcmd, -1); | ^ cmdcmds.c:305:10: warning: passing arguments to 'doshell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | doshell(prevcmd); | ^ cmdcmds.c:307:11: warning: passing arguments to 'dofilter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | dofilter(line1, line2, prevcmd, TRUE, TRUE); | ^ cmdcmds.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] --- buffer.o --- 416 | updateScreen(NOT_VALID); | ^ buffer.c:418:11: warning: passing arguments to 'fileinfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | fileinfo(did_cd); | ^ buffer.c:442:14: warning: passing arguments to 'fname_expand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | fname_expand(&fname, &sfname); | ^ buffer.c:452:20: warning: passing arguments to 'buf_copy_options' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | buf_copy_options(curbuf, buf); | ^ --- cmdcmds.o --- 220 | dobang(addr_count, line1, line2, forceit, arg) | ^ In file included from cmdcmds.c:15: In file included from ./proto.h:49: ./proto/cmdcmds.pro:5: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] 5 | void dobang __PARMS((int addr_count, long line1, long line2, int forceit, unsigned char *arg)); | ^ cmdcmds.c:326:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | emsg(e_curdir); | ^ cmdcmds.c:331:13: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | msg_outchar('\n'); /* may shift screen one line up */ --- buffer.o --- buffer.c:468:21: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | buf = (BUF *)alloc((unsigned)sizeof(BUF)); | ^ buffer.c:476:28: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | buf->b_filename = strsave(fname); | ^ buffer.c:477:29: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | buf->b_sfilename = strsave(sfname); | ^ buffer.c:480:36: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- cmdcmds.o --- | ^ cmdcmds.c:338:15: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | msg_outstr((char_u *)"[No write since last change]\n"); | ^ cmdcmds.c:342:10: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | windgoto((int)Rows - 1, 0); | ^ cmdcmds.c:355:13: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | wait_return(TRUE); /* includes starttermcap() */ | ^ --- buffer.o --- 480 | buf->b_winlnum = (WINLNUM *)alloc((unsigned)sizeof(WINLNUM)); | ^ buffer.c:504:20: warning: passing arguments to 'buf_copy_options' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | buf_copy_options(curbuf, buf); | ^ buffer.c:525:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | EMSG("Warning: List of file names overflow"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ --- cmdcmds.o --- cmdcmds.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 | doshell(cmd) | ^ In file included from cmdcmds.c:15: In file included from ./proto.h:49: ./proto/cmdcmds.pro:6: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] 6 | void doshell __PARMS((unsigned char *cmd)); | ^ cmdcmds.c:417:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | emsg(e_curdir); | ^ cmdcmds.c:444:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | emsg(e_notmp); --- buffer.o --- buffer.c:543:13: warning: passing arguments to 'clrallmarks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | clrallmarks(buf); /* clear marks */ | ^ buffer.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 | buflist_new(fname, sfname, lnum, use_curbuf) | ^ In file included from buffer.c:29: In file included from ./proto.h:47: ./proto/buffer.pro:7:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | struct buffer *buflist_new __PARMS((unsigned char *fname, unsigned char *sfname, long lnum, int use_curbuf)); | ^ --- cmdcmds.o --- | ^ cmdcmds.c:459:24: warning: passing arguments to 'buf_write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | if (do_in && buf_write(curbuf, itmp, NULL, line1, line2, FALSE, 0, FALSE) == FAIL) | ^ cmdcmds.c:461:14: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | msg_outchar('\n'); /* keep message from writeit() */ | ^ cmdcmds.c:463:14: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | (void)emsg2(e_notcreate, itmp); /* will call wait_return */ | ^ --- buffer.o --- buffer.c:565:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | emsg(e_noalt); | ^ buffer.c:571:13: warning: passing arguments to 'getfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | if (getfile(buf->b_filename, buf->b_sfilename, setpm, lnum) <= 0) | ^ buffer.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | buflist_getfile(n, lnum, setpm) | ^ In file included from buffer.c:29: In file included from ./proto.h:47: --- cmdcmds.o --- cmdcmds.c:470:10: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | outchar('\n'); | ^ cmdcmds.c:515:10: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | windgoto((int)Rows - 1, 0); | ^ cmdcmds.c:529:14: warning: passing arguments to 'u_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | if (!u_save((linenr_t)(line2), (linenr_t)(line2 + 1))) | ^ cmdcmds.c:534:15: warning: passing arguments to 'readfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- buffer.o --- ./proto/buffer.pro:8:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | int buflist_getfile __PARMS((int n, long lnum, int setpm)); | ^ buffer.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | buflist_findname(fname) | ^ buffer.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | buflist_findnr(nr) | ^ buffer.c:646:14: warning: passing arguments to 'home_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | home_replace(fname, NameBuff, MAXPATHL); | ^ --- cmdcmds.o --- 534 | if (readfile(otmp, NULL, line2, FALSE, (linenr_t)0, MAXLNUM) == FAIL) | ^ cmdcmds.c:536:11: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | outchar('\n'); | ^ cmdcmds.c:537:9: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | emsg2(e_notread, otmp); | ^ cmdcmds.c:545:12: warning: passing arguments to 'dellines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | dellines(linecount, TRUE, TRUE); | ^ --- buffer.o --- buffer.c:632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | buflist_nr2name(n) | ^ In file included from buffer.c:29: In file included from ./proto.h:47: ./proto/buffer.pro:10:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | unsigned char *buflist_nr2name __PARMS((int n)); | ^ buffer.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 | buflist_setlnum(buf, lnum) | ^ buffer.c:665:25: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- cmdcmds.o --- cmdcmds.c:553:14: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | wait_return(FALSE); | ^ cmdcmds.c:558:14: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | updateScreen(CLEAR); /* do this before messages below */ | ^ cmdcmds.c:563:11: warning: passing arguments to 'msgmore' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | msgmore(linecount); | ^ cmdcmds.c:565:8: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- buffer.o --- 665 | wlp = (WINLNUM *)alloc((unsigned)sizeof(WINLNUM)); | ^ buffer.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | buflist_findlnum(buf) | ^ buffer.c:723:13: warning: passing arguments to 'gotocmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | gotocmdline(TRUE, NUL); | ^ buffer.c:727:15: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | msg_outchar('\n'); | ^ buffer.c:732:16: warning: passing arguments to 'home_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- cmdcmds.o --- 565 | smsg((char_u *)"%ld lines filtered", (long)linecount); | ^ cmdcmds.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 | dofilter(line1, line2, buff, do_in, do_out) | ^ In file included from cmdcmds.c:15: In file included from ./proto.h:49: ./proto/cmdcmds.pro:7: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] 7 | void dofilter __PARMS((long line1, long line2, unsigned char *buff, int do_in, int do_out)); | ^ 80 warnings generated. --- buffer.o --- 732 | home_replace(buf->b_xfilename, NameBuff, MAXPATHL); | ^ buffer.c:757:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | msg_outstr(IObuff); | ^ buffer.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 | buflist_name_nr(fnum, fname, lnum) | ^ In file included from buffer.c:29: In file included from ./proto.h:47: ./proto/buffer.pro:12:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | int buflist_name_nr __PARMS((int fnum, unsigned char **fname, long *lnum)); | ^ buffer.c:810:15: warning: passing arguments to 'fname_expand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | fname_expand(&fname, &sfname); | ^ buffer.c:822:6: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | EMSG("Buffer with this name already exists"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ buffer.c:827:18: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | fname = strsave(fname); | ^ buffer.c:828:19: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | sfname = strsave(sfname); | ^ buffer.c:797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | setfname(fname, sfname, message) | ^ In file included from buffer.c:29: In file included from ./proto.h:47: ./proto/buffer.pro:13:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | int setfname __PARMS((unsigned char *fname, unsigned char *sfname, int message)); | ^ buffer.c:857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | setaltfname(fname, sfname, lnum) | ^ In file included from buffer.c:29: In file included from ./proto.h:47: ./proto/buffer.pro:14: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] 14 | void setaltfname __PARMS((unsigned char *fname, unsigned char *sfname, long lnum)); | ^ buffer.c:875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | buflist_add(fname) | ^ In file included from buffer.c:29: In file included from ./proto.h:47: ./proto/buffer.pro:15:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | int buflist_add __PARMS((unsigned char *fname)); | ^ buffer.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 | otherfile(fname) | ^ In file included from buffer.c:29: In file included from ./proto.h:47: ./proto/buffer.pro:17:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | int otherfile __PARMS((unsigned char *fname)); | ^ buffer.c:931:15: warning: passing arguments to 'home_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | home_replace(name, IObuff + 1, IOSIZE - 1); | ^ buffer.c:937:22: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | char_u *p = ml_get(curwin->w_cursor.lnum); | ^ buffer.c:938:22: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | int pcol = getvcol(curwin, &curwin->w_cursor, 3) + 1; | ^ buffer.c:946:22: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | lastcol = getvcol(curwin, &last, 3); | ^ buffer.c:1004:5: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | msg(IObuff); | ^ buffer.c:909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | fileinfo(fullname) | ^ In file included from buffer.c:29: In file included from ./proto.h:47: ./proto/buffer.pro:18: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] 18 | void fileinfo __PARMS((int fullname)); | ^ buffer.c:1030:15: warning: passing arguments to 'home_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | home_replace(curbuf->b_filename, IObuff, IOSIZE); | ^ buffer.c:1034:14: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | i = gettail(curbuf->b_filename); /* use filename only for icon */ | ^ buffer.c:1039:20: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | lasttitle = alloc((unsigned)(STRLEN(t) + 7)); | ^ buffer.c:1047:21: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1047 | lasticon = strsave(i); | ^ buffer.c:1085:9: warning: assigning to 'char_u *' (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] 1085 | fname = fileconvsto(fname); | ^ ~~~~~~~~~~~~~~~~~~ buffer.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 | fix_fname(fname) | ^ In file included from buffer.c:29: In file included from ./proto.h:47: ./proto/buffer.pro:21:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | unsigned char *fix_fname __PARMS((unsigned char *fname)); | ^ buffer.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | fname_expand(fname, sfname) | ^ In file included from buffer.c:29: In file included from ./proto.h:47: ./proto/buffer.pro:22: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] 22 | void fname_expand __PARMS((unsigned char **fname, unsigned char **sfname)); | ^ buffer.c:1143:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | EMSG("Argument list contains less than 2 files"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ buffer.c:1152:14: warning: passing arguments to 'close_others' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1152 | close_others(FALSE); | ^ buffer.c:1154:26: warning: passing arguments to 'make_windows' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | win_count = make_windows(arg_count); | ^ buffer.c:1158:15: warning: passing arguments to 'doecmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1158 | (void)doecmd(arg_files[i], NULL, NULL, TRUE, (linenr_t)1); | ^ buffer.c:1162:12: warning: passing arguments to 'win_enter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | win_enter(curwin->w_next, FALSE); | ^ buffer.c:1164:11: warning: passing arguments to 'win_enter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | win_enter(firstwin, FALSE); /* back to first window */ | ^ buffer.c:1190:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1190 | EMSG("No relevant entries in buffer list"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ buffer.c:1199:14: warning: passing arguments to 'close_others' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | close_others(FALSE); | ^ buffer.c:1201:26: warning: passing arguments to 'make_windows' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | win_count = make_windows(win_count); | ^ buffer.c:1211:17: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | stuffReadbuff((char_u *)"\n\027\027:"); /* CTRL-W CTRL-W */ | ^ buffer.c:1212:16: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | stuffReadbuff((char_u *)":buf "); /* edit Nth buffer */ | ^ buffer.c:1213:19: warning: passing arguments to 'stuffnumReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | stuffnumReadbuff((long)buf->b_fnum); | ^ buffer.c:1216:15: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | stuffReadbuff((char_u *)"\n100\027k"); /* back to first window */ | ^ buffer.c:1173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | do_buffer_all(all) | ^ In file included from buffer.c:29: In file included from ./proto.h:47: ./proto/buffer.pro:24: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] 24 | void do_buffer_all __PARMS((int all)); | ^ 116 warnings generated. --- regexp.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT regexp.c --- regsub.o --- --- screen.o --- --- regsub.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT regsub.c --- screen.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT screen.c --- unix.o --- In file included from unix.c:18: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from unix.c:18: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from unix.c:18: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from unix.c:18: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ unix.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 | mch_write(s, len) | ^ unix.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 | GetChars(buf, maxlen, wtime) | ^ unix.c:172:15: warning: passing arguments to 'set_winsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | set_winsize(0, 0, FALSE); | ^ unix.c:184:16: warning: passing arguments to 'updatescript' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | updatescript(0); | ^ unix.c:191:15: warning: passing arguments to 'set_winsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | set_winsize(0, 0, FALSE); | ^ unix.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 | mch_avail_mem(special) | ^ unix.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 | sig_winch(sig, code, scp) | ^ unix.c:310:10: warning: passing arguments to 'settmode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | settmode(0); | ^ unix.c:312:10: warning: passing arguments to 'settmode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | settmode(1); | ^ unix.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | check_win(argc, argv) | ^ unix.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 | fname_case(name) | ^ unix.c:407:23: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | oldtitle = strsave((char_u *)text_prop.value); | ^ unix.c:430:22: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | oldicon = strsave((char_u *)text_prop.value); | ^ unix.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 | mch_settitle(title, icon) | ^ unix.c:595:19: warning: passing arguments to 'outstrn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | case 2: outstrn((char_u *)"\033]2;"); /* xterm */ | ^ unix.c:596:13: warning: passing arguments to 'outstrn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | outstrn(title); | ^ unix.c:597:13: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | outchar(Ctrl('G')); | ^ unix.c:601:19: warning: passing arguments to 'outstrn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | case 3: outstrn((char_u *)"\033P1.y"); /* iris-ansi */ | ^ unix.c:602:13: warning: passing arguments to 'outstrn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | outstrn(title); | ^ unix.c:603:13: warning: passing arguments to 'outstrn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | outstrn((char_u *)"\234"); | ^ unix.c:622:19: warning: passing arguments to 'outstrn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | case 2: outstrn((char_u *)"\033]1;"); /* xterm */ | ^ unix.c:623:13: warning: passing arguments to 'outstrn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | outstrn(icon); | ^ unix.c:624:13: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | outchar(Ctrl('G')); | ^ unix.c:628:19: warning: passing arguments to 'outstrn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | case 3: outstrn((char_u *)"\033P3.y"); /* iris-ansi */ | ^ unix.c:629:13: warning: passing arguments to 'outstrn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | outstrn(icon); | ^ unix.c:630:13: warning: passing arguments to 'outstrn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | outstrn((char_u *)"\234"); | ^ unix.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | mch_restore_title(which) | ^ In file included from unix.c:18: In file included from ./proto.h:25: ./proto/unix.pro:22: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] 22 | void mch_restore_title __PARMS((int which)); | ^ unix.c:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | vim_dirname(buf, len) | ^ unix.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | FullName(fname, buf, len) | ^ unix.c:753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | isFullName(fname) | ^ unix.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | getperm(name) | ^ unix.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 | setperm(name, perm) | ^ unix.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | isdir(name) | ^ unix.c:811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | mch_windexit(r) | ^ unix.c:818:10: warning: passing arguments to 'settmode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | settmode(0); | ^ unix.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | mch_settmode(raw) | ^ unix.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | mch_screenmode(arg) | ^ unix.c:902:2: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | EMSG("Screen mode setting not supported"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ unix.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | call_shell(cmd, dummy, cooked) | ^ unix.c:1071:11: warning: passing arguments to 'settmode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | settmode(0); /* set to cooked mode */ | ^ unix.c:1098:13: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | skipspace(&p); | ^ unix.c:1102:25: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | argv = (char **)alloc((unsigned)((argc + 4) * sizeof(char *))); | ^ unix.c:1118:10: warning: passing arguments to 'outstrn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1118 | outstrn((char_u *)"\nCannot fork\n"); | ^ unix.c:1145:12: warning: passing arguments to 'outstrn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1145 | outstrn((char_u *)"\nCannot execute shell "); | ^ unix.c:1146:12: warning: passing arguments to 'outstrn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | outstrn(p_sh); | ^ unix.c:1147:12: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | outchar('\n'); | ^ unix.c:1151:12: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | outchar('\n'); | ^ unix.c:1152:11: warning: passing arguments to 'outnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1152 | outnum((long)status); | ^ unix.c:1153:12: warning: passing arguments to 'outstrn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | outstrn((char_u *)" returned\n"); | ^ unix.c:1175:11: warning: passing arguments to 'settmode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1175 | settmode(1); /* set to raw mode */ | ^ unix.c:1198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1198 | Read(buf, maxlen) | ^ unix.c:1266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | WaitForChar(ticks) | ^ unix.c:1279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | RealWaitForChar(ticks) | ^ unix.c:1314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1314 | remove(buf) | ^ unix.c:1347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1347 | ExpandWildCards(num_pat, pat, num_file, file, files_only, list_notfound) | ^ unix.c:1377:27: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1377 | *file = (char_u **)alloc(num_pat * sizeof(char_u *)); | ^ unix.c:1384:24: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | (*file)[i] = strsave(pat[i]); | ^ unix.c:1395:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1395 | emsg(e_notmp); | ^ unix.c:1409:17: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1409 | command = alloc(len); | ^ unix.c:1453:15: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1453 | msg_outchar('\n'); /* clear bottom line quickly */ | ^ unix.c:1465:8: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1465 | emsg2(e_notopen, tmpname); | ^ unix.c:1471:16: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1471 | buffer = alloc(len + 1); | ^ unix.c:1483:8: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1483 | emsg2(e_notread, tmpname); | ^ unix.c:1506:13: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1506 | skipspace(&p); /* skip to next entry */ | ^ unix.c:1510:26: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | *file = (char_u **)alloc(sizeof(char_u *) * i); | ^ unix.c:1536:14: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1536 | skipspace(&p); /* skip to next entry */ | ^ unix.c:1545:12: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1545 | p = alloc((unsigned)(STRLEN((*file)[i]) + 1 + dir)); | ^ unix.c:1559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1559 | FreeWild(num, file) | ^ unix.c:1571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | has_wildcard(p) | ^ unix.c:1585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1585 | have_wildcard(num, file) | ^ 75 warnings generated. --- search.o --- --- mark.o --- In file included from mark.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from mark.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); --- search.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT search.c --- mark.o --- | ^ In file included from mark.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from mark.c:15: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ mark.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | setmark(c) | ^ In file included from mark.c:15: In file included from ./proto.h:59: ./proto/mark.pro:2:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2 | int setmark __PARMS((int c)); | ^ mark.c:166:22: warning: passing arguments to 'buflist_getfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | if (buflist_getfile(curwin->w_jumplist[curwin->w_jumplistidx].fnum, | ^ mark.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 | movemark(count) | ^ In file included from mark.c:15: In file included from ./proto.h:59: ./proto/mark.pro:5:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | struct fpos *movemark __PARMS((int count)); | ^ mark.c:219:23: warning: passing arguments to 'buflist_getfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | if (buflist_getfile(namedfm[c].fnum, namedfm[c].mark.lnum, TRUE) == OK) | ^ mark.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | getmark(c, changefile) | ^ In file included from mark.c:15: In file included from ./proto.h:59: ./proto/mark.pro:6:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | struct fpos *getmark __PARMS((int c, int changefile)); | ^ mark.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 | clrallmarks(buf) | ^ In file included from mark.c:15: In file included from ./proto.h:59: ./proto/mark.pro:7: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] 7 | void clrallmarks __PARMS((struct buffer *buf)); | ^ mark.c:261:25: warning: passing arguments to 'buflist_nr2name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | name = buflist_nr2name(fmark->fnum); | ^ mark.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 | fm_getname(fmark) | ^ In file included from mark.c:15: In file included from ./proto.h:59: ./proto/mark.pro:8:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | unsigned char *fm_getname __PARMS((struct filemark *fmark)); | ^ mark.c:280:13: warning: passing arguments to 'gotocmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | gotocmdline(TRUE, NUL); | ^ mark.c:281:12: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | msg_outstr((char_u *)"\nmark line file\n"); | ^ mark.c:288:14: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | msg_outstr(IObuff); | ^ mark.c:304:14: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | msg_outstr(IObuff); | ^ mark.c:320:13: warning: passing arguments to 'gotocmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | gotocmdline(TRUE, NUL); | ^ mark.c:321:12: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | msg_outstr((char_u *)"\n jump line file\n"); | ^ mark.c:335:14: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | msg_outstr(IObuff); | ^ mark.c:340:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | msg_outstr((char_u *)">\n"); | ^ mark.c:404:16: warning: passing arguments to 'qf_mark_adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | qf_mark_adjust(line1, line2, inc); | ^ mark.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 | mark_adjust(line1, line2, inc) | ^ In file included from mark.c:15: In file included from ./proto.h:59: ./proto/mark.pro:11: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] 11 | void mark_adjust __PARMS((long line1, long line2, long inc)); | ^ 28 warnings generated. --- tag.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT tag.c --- memfile.o --- In file included from memfile.c:43: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from memfile.c:43: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); --- getchar.o --- In file included from getchar.c:20: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from getchar.c:20: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); --- memfile.o --- | ^ In file included from memfile.c:43: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from memfile.c:43: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here --- getchar.o --- | ^ In file included from getchar.c:20: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from getchar.c:20: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here --- memfile.o --- 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ memfile.c:133:29: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | if ((mfp = (MEMFILE *)alloc((unsigned)sizeof(MEMFILE))) == NULL) | ^ memfile.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | mf_open(fname, new, fail_nofile) | ^ In file included from memfile.c:43: In file included from ./proto.h:64: ./proto/memfile.pro:2: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] 2 | struct memfile *mf_open __PARMS((unsigned char *fname, int new, int fail_nofile)); | ^ --- getchar.o --- 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ getchar.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 | free_buff(buf) | ^ getchar.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | get_bufcont(buffer, dozero) | ^ getchar.c:161:39: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | if ((count || dozero) && (p = lalloc(count + 1, TRUE)) != NULL) | ^ getchar.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 | add_buff(buf, s) | ^ --- memfile.o --- memfile.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 | mf_open_file(mfp, fname) | ^ In file included from memfile.c:43: In file included from ./proto.h:64: ./proto/memfile.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | int mf_open_file __PARMS((struct memfile *mfp, unsigned char *fname)); | ^ memfile.c:238:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | EMSG("Close error on swap file"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) --- getchar.o --- getchar.c:224:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | EMSG("Add to read buffer"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ getchar.c:242:32: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | p = (struct bufblock *)lalloc((long_u)(sizeof(struct bufblock) + len), TRUE); | ^ getchar.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 | add_num_buff(buf, n) | ^ --- memfile.o --- | ^ memfile.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 | mf_close(mfp, delete) | ^ In file included from memfile.c:43: In file included from ./proto.h:64: ./proto/memfile.pro:4: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] 4 | void mf_close __PARMS((struct memfile *mfp, int delete)); | ^ memfile.c:315:28: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | if ((p = (char_u *)alloc(mfp->mf_page_size * page_count)) == NULL) | ^ --- getchar.o --- getchar.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 | add_char_buff(buf, c) | ^ getchar.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 | read_stuff(advance) | ^ getchar.c:358:16: warning: passing arguments to 'inchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | while (inchar(typestr, MAXMAPLEN, 10)) | ^ getchar.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 | flush_buffers(typeahead) | ^ In file included from getchar.c:20: In file included from ./proto.h:55: --- memfile.o --- memfile.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 | mf_new(mfp, negative, page_count) | ^ In file included from memfile.c:43: In file included from ./proto.h:64: ./proto/memfile.pro:5:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | struct block_hdr *mf_new __PARMS((struct memfile *mfp, int negative, int page_count)); | ^ memfile.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 | mf_get(mfp, nr, page_count) | ^ In file included from memfile.c:43: In file included from ./proto.h:64: --- getchar.o --- ./proto/getchar.pro:5: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] 5 | void flush_buffers __PARMS((int typeahead)); | ^ getchar.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 | AppendToRedobuff(s) | ^ In file included from getchar.c:20: In file included from ./proto.h:55: ./proto/getchar.pro:7: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] 7 | void AppendToRedobuff __PARMS((unsigned char *s)); | ^ --- memfile.o --- ./proto/memfile.pro:6:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | struct block_hdr *mf_get __PARMS((struct memfile *mfp, long nr, int page_count)); | ^ memfile.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 | mf_put(mfp, hp, dirty, infile) | ^ In file included from memfile.c:43: In file included from ./proto.h:64: ./proto/memfile.pro:7: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] 7 | void mf_put __PARMS((struct memfile *mfp, struct block_hdr *hp, int dirty, int infile)); | ^ --- getchar.o --- getchar.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 | AppendCharToRedobuff(c) | ^ In file included from getchar.c:20: In file included from ./proto.h:55: ./proto/getchar.pro:8: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] 8 | void AppendCharToRedobuff __PARMS((int c)); | ^ getchar.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | AppendNumberToRedobuff(n) | ^ In file included from getchar.c:20: In file included from ./proto.h:55: --- memfile.o --- memfile.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 | mf_free(mfp, hp) | ^ In file included from memfile.c:43: In file included from ./proto.h:64: ./proto/memfile.pro:8: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] 8 | void mf_free __PARMS((struct memfile *mfp, struct block_hdr *hp)); | ^ memfile.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | mf_sync(mfp, all, check_char) | ^ In file included from memfile.c:43: In file included from ./proto.h:64: --- getchar.o --- ./proto/getchar.pro:9: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] 9 | void AppendNumberToRedobuff __PARMS((long n)); | ^ getchar.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | stuffReadbuff(s) | ^ In file included from getchar.c:20: In file included from ./proto.h:55: ./proto/getchar.pro:10: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] 10 | void stuffReadbuff __PARMS((unsigned char *s)); | ^ --- memfile.o --- ./proto/memfile.pro:9:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | int mf_sync __PARMS((struct memfile *mfp, int all, int check_char)); | ^ memfile.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 | mf_ins_hash(mfp, hp) | ^ memfile.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | mf_rem_hash(mfp, hp) | ^ memfile.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | mf_find_hash(mfp, nr) | ^ --- getchar.o --- getchar.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | stuffcharReadbuff(c) | ^ In file included from getchar.c:20: In file included from ./proto.h:55: ./proto/getchar.pro:11: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] 11 | void stuffcharReadbuff __PARMS((int c)); | ^ getchar.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | stuffnumReadbuff(n) | ^ In file included from getchar.c:20: In file included from ./proto.h:55: --- memfile.o --- memfile.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | mf_ins_used(mfp, hp) | ^ memfile.c:635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | mf_rem_used(mfp, hp) | ^ memfile.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | mf_release(mfp, page_count) | ^ memfile.c:701:27: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | if ((hp->bh_data = alloc(mfp->mf_page_size * page_count)) == NULL) | ^ --- getchar.o --- ./proto/getchar.pro:12: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] 12 | void stuffnumReadbuff __PARMS((long n)); | ^ getchar.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 | read_redo(init) | ^ getchar.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | start_redo(count) | ^ In file included from getchar.c:20: In file included from ./proto.h:55: ./proto/getchar.pro:14:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- memfile.o --- memfile.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | mf_alloc_bhdr(mfp, page_count) | ^ memfile.c:757:25: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | if ((hp = (BHDR *)alloc((unsigned)sizeof(BHDR))) != NULL) | ^ memfile.c:759:37: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | if ((hp->bh_data = (char_u *)alloc(mfp->mf_page_size * page_count)) == NULL) | ^ memfile.c:773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | mf_free_bhdr(hp) | ^ --- getchar.o --- 14 | int start_redo __PARMS((long count)); | ^ getchar.c:604:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | emsg(e_toocompl); /* also calls flush_buffers */ | ^ getchar.c:608:11: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | s = alloc(newlen); | ^ getchar.c:628:31: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | p = (struct noremap *)alloc((int)sizeof(struct noremap)); | ^ --- memfile.o --- memfile.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | mf_ins_free(mfp, hp) | ^ memfile.c:797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | mf_rem_free(mfp) | ^ memfile.c:813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | mf_read(mfp, hp) | ^ memfile.c:833:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | EMSG("Seek error in swap file read"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ --- getchar.o --- getchar.c:587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | ins_typestr(str, noremap) | ^ In file included from getchar.c:20: In file included from ./proto.h:55: ./proto/getchar.pro:18:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | int ins_typestr __PARMS((unsigned char *str, int noremap)); | ^ getchar.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | del_typestr(len) | ^ In file included from getchar.c:20: In file included from ./proto.h:55: --- memfile.o --- memfile.c:838:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | EMSG("Read error in swap file"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ memfile.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | mf_write(mfp, hp) | ^ memfile.c:894:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | EMSG("Seek error in swap file write"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) --- getchar.o --- ./proto/getchar.pro:19: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] 19 | void del_typestr __PARMS((int len)); | ^ getchar.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | gotchars(s, len) | ^ getchar.c:702:15: warning: passing arguments to 'updatescript' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | updatescript(*s & 255); | ^ getchar.c:726:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | emsg(e_nesting); | ^ --- memfile.o --- | ^ memfile.c:905:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | EMSG("Write error in swap file"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ memfile.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | mf_trans_add(mfp, hp) | ^ memfile.c:939:29: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | if ((np = (NR_TRANS *)alloc((unsigned)sizeof(NR_TRANS))) == NULL) | ^ --- getchar.o --- getchar.c:739:9: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | emsg2(e_notopen, name); | ^ getchar.c:719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | openscript(name) | ^ In file included from getchar.c:20: In file included from ./proto.h:55: ./proto/getchar.pro:20:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | int openscript __PARMS((unsigned char *name)); | ^ getchar.c:781:14: warning: passing arguments to 'ml_sync_all' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- memfile.o --- memfile.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 | mf_trans_del(mfp, old) | ^ In file included from memfile.c:43: In file included from ./proto.h:64: ./proto/memfile.pro:11: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] 11 | long mf_trans_del __PARMS((struct memfile *mfp, long old)); | ^ memfile.c:1029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | mf_fullname(mfp) | ^ In file included from memfile.c:43: In file included from ./proto.h:64: --- getchar.o --- 781 | ml_sync_all(c == 0); | ^ getchar.c:772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | updatescript(c) | ^ In file included from getchar.c:20: In file included from ./proto.h:55: ./proto/getchar.pro:21: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] 21 | void updatescript __PARMS((int c)); | ^ getchar.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 | vgetorpeek(advance) | ^ getchar.c:899:16: warning: passing arguments to 'inchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- memfile.o --- ./proto/memfile.pro:12: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] 12 | void mf_fullname __PARMS((struct memfile *mfp)); | ^ memfile.c:1044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1044 | mf_need_trans(mfp) | ^ In file included from memfile.c:43: In file included from ./proto.h:64: ./proto/memfile.pro:13:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | int mf_need_trans __PARMS((struct memfile *mfp)); | ^ --- getchar.o --- 899 | c = inchar(typestr, MAXMAPLEN, 0); /* flush all input */ | ^ getchar.c:960:26: warning: passing arguments to 'check_termcode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | n = check_termcode(typestr); | ^ getchar.c:1015:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | EMSG("recursive mapping"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ --- memfile.o --- memfile.c:1067:3: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | MSG("No memfile"); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ memfile.c:1084:6: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | msg(IObuff); | ^ memfile.c:1093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1093 | mf_do_open(mfp, fname, new) | ^ --- getchar.o --- getchar.c:1054:152: warning: passing arguments to 'inchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | if (advance && len == 1 && typestr[0] == ESC && typemaplen == 0 && (State & INSERT) && (p_timeout || (n == NEEDMORET && p_ttimeout)) && (c = inchar(typestr + len, 2, 0)) == 0) | ^ getchar.c:1100:15: warning: passing arguments to 'inchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | c = inchar(typestr + len, typemaplen + MAXMAPLEN - len, !advance ? 0 : ((len == 0 || !(p_timeout || (p_ttimeout && n == NEEDMORET))) ? -1 : (int)p_tm)); | ^ --- memfile.o --- memfile.c:1105:15: warning: passing 'char *' to parameter of type 'char_u *' (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] 1105 | if (FullName(fileconvsto(fname), NameBuff, MAXPATHL) == FAIL) | ^~~~~~~~~~~~~~~~~~ ./proto/unix.pro:24:31: note: passing argument to parameter here 24 | int FullName __ARGS((char_u *, char_u *, int)); | ^ memfile.c:1112:27: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | mfp->mf_xfname = strsave(fileconvsfrom(NameBuff)); | ^ 55 warnings generated. --- getchar.o --- getchar.c:1199:11: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | skipspace(&p); | ^ getchar.c:1254:9: warning: passing arguments to 'isabchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1254 | if (!isidchar(*(keys + len - 1))) /* does not end in id char */ | ^ getchar.c:26:31: note: expanded from macro 'isidchar' 26 | # define isidchar(_a) isabchar(_a) | ^ getchar.c:1262:9: warning: passing arguments to 'isabchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1262 | if (isidchar(*(keys + n)) != isidchar(*(keys + len - 2))) | ^ getchar.c:26:31: note: expanded from macro 'isidchar' 26 | # define isidchar(_a) isabchar(_a) | ^ getchar.c:1262:34: warning: passing arguments to 'isabchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1262 | if (isidchar(*(keys + n)) != isidchar(*(keys + len - 2))) | ^ getchar.c:26:31: note: expanded from macro 'isidchar' 26 | # define isidchar(_a) isabchar(_a) | ^ getchar.c:1334:24: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1334 | newstr = strsave(arg); | ^ getchar.c:1370:4: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | MSG("No abbreviation found"); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ getchar.c:1372:4: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | MSG("No mapping found"); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ getchar.c:1382:31: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1382 | mp = (struct mapblock *)alloc((unsigned)sizeof(struct mapblock)); | ^ getchar.c:1385:22: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | mp->m_keys = strsave(keys); | ^ getchar.c:1386:21: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1386 | mp->m_str = strsave(arg); | ^ getchar.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 | domap(maptype, keys, mode) | ^ In file included from getchar.c:20: In file included from ./proto.h:55: ./proto/getchar.pro:24:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | int domap __PARMS((int maptype, unsigned char *keys, int mode)); | ^ getchar.c:1406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1406 | showmap(mp) | ^ getchar.c:1411:9: warning: passing arguments to 'msg_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | msg_pos(-1, 0); /* always start in column 0 */ | ^ getchar.c:1413:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | msg_outstr((char_u *)"! "); | ^ getchar.c:1415:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1415 | msg_outstr((char_u *)"i "); | ^ getchar.c:1417:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1417 | msg_outstr((char_u *)"c "); | ^ getchar.c:1425:14: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | msg_outchar(' '); /* padd with blanks */ | ^ getchar.c:1429:14: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | msg_outchar('*'); | ^ getchar.c:1431:14: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1431 | msg_outchar(' '); | ^ getchar.c:1432:14: warning: passing arguments to 'msg_outtrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1432 | msg_outtrans(mp->m_str, -1); | ^ getchar.c:1433:13: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | msg_outchar('\n'); | ^ getchar.c:1469:19: warning: passing arguments to 'isabchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | if (col == 0 || !isidchar(ptr[col - 1])) /* cannot be an abbr. */ | ^ getchar.c:26:31: note: expanded from macro 'isidchar' 26 | # define isidchar(_a) isabchar(_a) | ^ getchar.c:1474:11: warning: passing arguments to 'isabchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | is_id = isidchar(ptr[col - 2]); | ^ getchar.c:26:31: note: expanded from macro 'isidchar' 26 | # define isidchar(_a) isabchar(_a) | ^ getchar.c:1478:47: warning: passing arguments to 'isabchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | else if (!isspace(ptr[len - 1]) && is_id == isidchar(ptr[len - 1])) | ^ getchar.c:26:31: note: expanded from macro 'isidchar' 26 | # define isidchar(_a) isabchar(_a) | ^ getchar.c:1449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1449 | check_abbr(c, ptr, col, mincol) | ^ In file included from getchar.c:20: In file included from ./proto.h:55: ./proto/getchar.pro:25:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | int check_abbr __PARMS((int c, unsigned char *ptr, int col, int mincol)); | ^ getchar.c:1577:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1577 | EMSG("makemap: Illegal mode"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ getchar.c:1584:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1584 | if (fprintf(fd, (char *)p) < 0) | ^ ~ getchar.c:1584:19: note: treat the string as an argument to avoid this 1584 | if (fprintf(fd, (char *)p) < 0) | ^ | "%s", getchar.c:1587:38: warning: passing arguments to 'putescstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1587 | if ( putc(' ', fd) < 0 || putescstr(fd, mp->m_keys, FALSE) == FAIL || | ^ getchar.c:1588:35: warning: passing arguments to 'putescstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1588 | putc(' ', fd) < 0 || putescstr(fd, mp->m_str, FALSE) == FAIL || | ^ getchar.c:1541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1541 | makemap(fd) | ^ In file included from getchar.c:20: In file included from ./proto.h:55: ./proto/getchar.pro:26:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | int makemap __PARMS((FILE *fd)); | ^ getchar.c:1604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1604 | putescstr(fd, str, set) | ^ In file included from getchar.c:20: In file included from ./proto.h:55: ./proto/getchar.pro:27:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | int putescstr __PARMS((FILE *fd, unsigned char *str, int set)); | ^ getchar.c:1704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | show_special(keys, len) | ^ getchar.c:1722:8: warning: assigning to 'char_u *' (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] 1722 | w = special_keys[i].name; | ^ ~~~~~~~~~~~~~~~~~~~~ getchar.c:1737:21: warning: passing arguments to 'msg_outtrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1737 | return(msg_outtrans(buf, len)); | ^ getchar.c:1741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1741 | put_special(keys) | ^ getchar.c:1749:10: warning: returning 'char *' from a function with result type 'char_u *' (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] 1749 | return(special_keys[i].name); | ^~~~~~~~~~~~~~~~~~~~~~ getchar.c:1755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1755 | convert_special(keys) | ^ getchar.c:1762:37: warning: passing 'char_u *' (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] 1762 | if (strncmp(special_keys[i].name, keys, strlen(special_keys[i].name)) == 0) | ^~~~ /usr/include/string.h:116:40: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ 95 warnings generated. --- term.o --- --- edit.o --- In file included from edit.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from edit.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); --- undo.o --- --- term.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT term.c --- message.o --- In file included from message.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from message.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); --- edit.o --- | ^ In file included from edit.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from edit.c:15: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here --- undo.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT undo.c --- message.o --- | ^ In file included from message.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from message.c:16: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here --- edit.o --- 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ edit.c:103:20: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | *((ptr = ml_get(curwin->w_cursor.lnum)) + curwin->w_cursor.col) != NUL && | ^ edit.c:110:20: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | *((ptr = ml_get(curwin->w_cursor.lnum)) + curwin->w_cursor.col) != NUL && | ^ edit.c:143:11: warning: passing arguments to 'dodigraph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | dodigraph(-1); /* clear digraphs */ --- message.o --- 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ message.c:36:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 36 | fprintf(stderr, (char *)s); | ^ ~ message.c:36:19: note: treat the string as an argument to avoid this 36 | fprintf(stderr, (char *)s); | ^ | "%s", message.c:44:14: warning: passing arguments to 'msg_outtrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | msg_outtrans(s, -1); | ^ message.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 | msg(s) | ^ In file included from message.c:16: In file included from ./proto.h:66: --- edit.o --- | ^ edit.c:165:12: warning: passing arguments to 'showruler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | showruler(0); | ^ edit.c:230:22: warning: passing arguments to 'AppendToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | AppendToRedobuff(completion_str); | ^ edit.c:252:31: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | saved_line = strsave(ml_get(curwin->w_cursor.lnum)); | ^ --- message.o --- ./proto/message.pro:2:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2 | int msg __PARMS((unsigned char *s)); | ^ message.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 | smsg(s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) | ^ message.c:80:16: warning: passing arguments to 'flush_buffers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | flush_buffers(FALSE); /* flush internal buffers */ | ^ message.c:81:21: warning: passing arguments to 'set_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- edit.o --- edit.c:252:24: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | saved_line = strsave(ml_get(curwin->w_cursor.lnum)); | ^ edit.c:257:16: warning: passing arguments to 'dodigraph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | c = dodigraph(c); | ^ edit.c:270:18: warning: passing arguments to 'screen_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | screen_outchar('^', curwin->w_winpos + curwin->w_row, curwin->w_col); | ^ --- message.o --- 81 | (void)set_highlight('e'); /* set highlight mode for error messages */ | ^ message.c:92:15: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | msg_outchar('\n'); /* one message per line, don't overwrite */ | ^ message.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 | emsg(s) | ^ In file included from message.c:16: In file included from ./proto.h:66: ./proto/message.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | int emsg __PARMS((unsigned char *s)); | ^ --- edit.o --- edit.c:272:20: warning: passing arguments to 'AppendToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | AppendToRedobuff((char_u *)"\026"); /* CTRL-V */ | ^ edit.c:279:20: warning: passing arguments to 'get_literal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | c = get_literal(&nextc, &k); | ^ edit.c:280:15: warning: passing arguments to 'insertchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | insertchar(c, k); | ^ --- message.o --- message.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 | emsg2(s, a1) | ^ In file included from message.c:16: In file included from ./proto.h:66: ./proto/message.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | int emsg2 __PARMS((unsigned char *s, unsigned char *a1)); | ^ message.c:149:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | msg_outstr((char_u *)"Interrupt: "); | ^ message.c:151:21: warning: passing arguments to 'set_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- edit.o --- edit.c:324:22: warning: passing arguments to 'AppendToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | AppendToRedobuff(ESC_STR); | ^ edit.c:343:19: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | (void)delchar(FALSE); | ^ edit.c:352:6: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | MSG(""); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) --- message.o --- 151 | (void)set_highlight('r'); | ^ message.c:162:12: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | msg_outstr((char_u *)"Press RETURN or enter command to continue"); | ^ message.c:175:20: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | stuffcharReadbuff(c); | ^ message.c:195:14: warning: passing arguments to 'set_winsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | set_winsize(0, 0, FALSE); | ^ --- edit.o --- | ^ edit.c:365:19: warning: passing arguments to 'stuff_inserted' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | stuff_inserted(NUL, 1L, (c == Ctrl('A'))); | ^ edit.c:372:20: warning: passing arguments to 'insertbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | if (insertbuf(vgetc()) == FAIL) | ^ edit.c:399:25: warning: passing arguments to 'AppendCharToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | AppendCharToRedobuff(c); | ^ --- message.o --- message.c:201:16: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | updateScreen(CLEAR); | ^ message.c:204:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | updateScreen(VALID); | ^ message.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 | wait_return(redraw) | ^ In file included from message.c:16: In file included from ./proto.h:66: --- edit.o --- edit.c:403:19: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | (void)delchar(FALSE); /* delete the '^' or '0' */ | ^ edit.c:409:15: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | beginline(TRUE); | ^ edit.c:411:16: warning: passing arguments to 'set_indent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | set_indent(0, TRUE); /* remove all indent */ | ^ --- message.o --- ./proto/message.pro:5: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] 5 | void wait_return __PARMS((int redraw)); | ^ message.c:218:9: warning: passing arguments to 'msg_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | msg_pos(cmdline_row, 0); | ^ message.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 | msg_pos(row, col) | ^ In file included from message.c:16: In file included from ./proto.h:66: --- edit.o --- edit.c:418:15: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | beginline(TRUE); | ^ edit.c:421:16: warning: passing arguments to 'shift_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | shift_line(c == Ctrl('D'), TRUE, 1); | ^ edit.c:463:18: warning: passing arguments to 'u_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | if (!u_save((linenr_t)(curwin->w_cursor.lnum - 2), (linenr_t)(curwin->w_cursor.lnum + 1))) | ^ --- message.o --- ./proto/message.pro:7: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] 7 | void msg_pos __PARMS((int row, int col)); | ^ message.c:246:12: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | msg_outstr(buf); | ^ message.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 | msg_outchar(c) | ^ In file included from message.c:16: In file included from ./proto.h:66: --- edit.o --- edit.c:479:19: warning: passing arguments to 'dojoin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | (void)dojoin(FALSE, TRUE); | ^ edit.c:484:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 484 | else | ^ edit.c:491:15: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | inschar(saved_char, saved_kchar); | ^ --- message.o --- ./proto/message.pro:8: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] 8 | void msg_outchar __PARMS((int c)); | ^ message.c:256:12: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | msg_outstr(buf); | ^ message.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | msg_outnum(n) | ^ In file included from message.c:16: In file included from ./proto.h:66: --- edit.o --- edit.c:516:16: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | beginline(TRUE); | ^ edit.c:532:23: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | temp = isidchar(gchar_cursor()); | ^ edit.c:535:70: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | else if (mode == 2 && (isspace(cc = gchar_cursor()) || isidchar(cc) != temp)) --- message.o --- ./proto/message.pro:9: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] 9 | void msg_outnum __PARMS((long n)); | ^ message.c:282:14: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | msg_outstr(buf); | ^ message.c:288:23: warning: passing arguments to 'transchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | msg_outstr(transchar(*str)); | ^ message.c:288:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- edit.o --- | ^ edit.c:551:20: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | p = ml_get(curwin->w_cursor.lnum) + 1; | ^ edit.c:551:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 551 | p = ml_get(curwin->w_cursor.lnum) + 1; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- message.o --- 288 | msg_outstr(transchar(*str)); | ^ message.c:289:21: warning: passing arguments to 'charsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | retval += charsize(*str); | ^ message.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 | msg_outtrans(str, len) | ^ In file included from message.c:16: In file included from ./proto.h:66: ./proto/message.pro:10:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | int msg_outtrans __PARMS((unsigned char *str, int len)); | ^ --- edit.o --- edit.c:562:19: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | delchar(FALSE); | ^ edit.c:563:18: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | delchar(FALSE); | ^ edit.c:568:18: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | delchar(FALSE); --- message.o --- message.c:333:15: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | msg_outstr(buf); | ^ message.c:351:38: warning: passing arguments to 'charsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | else if (c != NUL && (n = charsize(c)) > 1) | ^ message.c:354:18: warning: passing arguments to 'transchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | p = transchar(c); | ^ --- edit.o --- | ^ edit.c:572:19: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | delchar(FALSE); | ^ edit.c:573:18: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | delchar(FALSE); | ^ edit.c:575:18: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- message.o --- message.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 | msg_prt_line(s) | ^ In file included from message.c:16: In file included from ./proto.h:66: ./proto/message.pro:11: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] 11 | void msg_prt_line __PARMS((unsigned char *s)); | ^ message.c:382:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 382 | fprintf(stderr, (char *)s); | ^ ~ message.c:382:19: note: treat the string as an argument to avoid this 382 | fprintf(stderr, (char *)s); | ^ | "%s", --- edit.o --- 575 | inschar(*(char *)saved_line, | ^ edit.c:584:20: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | p = ml_get(curwin->w_cursor.lnum); | ^ edit.c:584:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 584 | p = ml_get(curwin->w_cursor.lnum); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- message.o --- message.c:402:20: warning: passing arguments to 'screen_del_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | screen_del_lines(0, 0, 1, (int)Rows); /* always works */ | ^ message.c:418:15: warning: passing arguments to 'screen_msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | screen_msg("-- more --", Rows - 1, 0); | ^ message.c:427:11: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | outstr((char_u *)"\r "); | ^ --- edit.o --- edit.c:596:19: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | delchar(FALSE); | ^ edit.c:597:18: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | delchar(FALSE); | ^ edit.c:599:18: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- message.o --- message.c:443:16: warning: passing arguments to 'screen_msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | screen_msg(" ", msg_row, msg_col++); | ^ message.c:447:15: warning: passing arguments to 'screen_msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | screen_msg(s++, msg_row, msg_col++); | ^ message.c:451:18: warning: passing arguments to 'screen_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | screen_outchar(*s, msg_row, msg_col); | ^ --- edit.o --- 599 | inschar(*s, *(s + 1)); | ^ edit.c:607:19: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | delchar(FALSE); | ^ edit.c:608:18: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | delchar(FALSE); | ^ --- message.o --- message.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | msg_outstr(s) | ^ In file included from message.c:16: In file included from ./proto.h:66: ./proto/message.pro:12: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] 12 | void msg_outstr __PARMS((unsigned char *s)); | ^ message.c:489:13: warning: passing arguments to 'screen_fill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | screen_fill(msg_row, msg_row + 1, msg_col, (int)Columns, ' ', ' '); | ^ --- edit.o --- edit.c:616:20: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | p = ml_get(curwin->w_cursor.lnum); | ^ edit.c:616:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 616 | p = ml_get(curwin->w_cursor.lnum); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:621:13: warning: assigning to 'char *' from 'char_u *' (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] --- message.o --- message.c:490:13: warning: passing arguments to 'screen_fill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | screen_fill(msg_row + 1, (int)Rows, 0, (int)Columns, ' ', ' '); | ^ 56 warnings generated. --- edit.o --- 621 | s = &saved_line[i]; | ^ ~~~~~~~~~~~~~~ edit.c:628:46: warning: passing 'char *' to parameter of type '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 | switch (ISkanjiPointer(saved_line, s)){ | ^ ./proto/kanji.pro:6:61: note: passing argument to parameter here 6 | int ISkanjiPointer __ARGS((unsigned char *, unsigned char *)); | ^ edit.c:630:19: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | delchar(FALSE); | ^ edit.c:631:19: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | delchar(FALSE); | ^ edit.c:633:19: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | inschar(*s, *(s + 1)); | ^ edit.c:637:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 637 | switch (ISkanjiPointer(p, o)) { | ^ ./proto/kanji.pro:6:44: note: passing argument to parameter here 6 | int ISkanjiPointer __ARGS((unsigned char *, unsigned char *)); | ^ edit.c:637:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 637 | switch (ISkanjiPointer(p, o)) { | ^ ./proto/kanji.pro:6:61: note: passing argument to parameter here 6 | int ISkanjiPointer __ARGS((unsigned char *, unsigned char *)); | ^ edit.c:639:20: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | delchar(FALSE); | ^ edit.c:640:20: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | delchar(FALSE); | ^ edit.c:643:21: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | delchar(FALSE); | ^ edit.c:644:20: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | inschar(' ', NUL); | ^ edit.c:645:20: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | inschar(*(s + 1), *(s + 2)); | ^ edit.c:652:20: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | delchar(FALSE); | ^ edit.c:654:20: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | inschar(' ', NUL); | ^ edit.c:662:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 662 | if (ISkanjiPointer(p, o)) | ^ ./proto/kanji.pro:6:44: note: passing argument to parameter here 6 | int ISkanjiPointer __ARGS((unsigned char *, unsigned char *)); | ^ edit.c:662:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 662 | if (ISkanjiPointer(p, o)) | ^ ./proto/kanji.pro:6:61: note: passing argument to parameter here 6 | int ISkanjiPointer __ARGS((unsigned char *, unsigned char *)); | ^ edit.c:664:20: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | delchar(FALSE); | ^ edit.c:665:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 665 | if (ISkanjiPointer(saved_line, s+1)) | ^~~ ./proto/kanji.pro:6:61: note: passing argument to parameter here 6 | int ISkanjiPointer __ARGS((unsigned char *, unsigned char *)); | ^ edit.c:666:21: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | delchar(FALSE); | ^ edit.c:669:19: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | delchar(FALSE); | ^ edit.c:671:19: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | inschar(*s, *(s + 1)); | ^ edit.c:674:20: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | inschar(*(s + 1), *(s + 2)); | ^ edit.c:686:19: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | delchar(FALSE); | ^ edit.c:687:18: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | delchar(FALSE); | ^ edit.c:714:16: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | delchar(FALSE); | ^ edit.c:716:21: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | (void)delchar(FALSE); | ^ edit.c:738:25: warning: passing arguments to 'AppendCharToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | AppendCharToRedobuff(c); | ^ edit.c:768:16: warning: passing arguments to 'coladvance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | coladvance(MAXCOL); | ^ edit.c:778:14: warning: passing arguments to 'bck_word' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | bck_word(1L, 0); | ^ edit.c:813:14: warning: passing arguments to 'fwd_word' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | fwd_word(1L, 0, 0); | ^ edit.c:821:16: warning: passing arguments to 'oneup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | if (oneup(1L)) | ^ edit.c:836:18: warning: passing arguments to 'onepage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | if (onepage(BACKWARD, 1L)) | ^ edit.c:843:18: warning: passing arguments to 'onedown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | if (onedown(1L)) | ^ edit.c:858:18: warning: passing arguments to 'onepage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | if (onepage(FORWARD, 1L)) | ^ edit.c:870:21: warning: passing arguments to 'AppendToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | AppendToRedobuff((char_u *)"\t"); | ^ edit.c:886:12: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | inschar(' ', NUL); | ^ edit.c:891:12: warning: passing arguments to 'insstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | insstr((char_u *)" "); /* insstr does not delete chars */ | ^ edit.c:906:20: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | (void)delchar(FALSE); | ^ edit.c:911:19: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | (void)delchar(FALSE); | ^ edit.c:920:20: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | (void)delchar(FALSE); | ^ edit.c:922:21: warning: passing arguments to 'AppendToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | AppendToRedobuff(NL_STR); | ^ edit.c:923:17: warning: passing arguments to 'Opencmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | if (!Opencmd(FORWARD, TRUE, State == INSERT)) | ^ edit.c:934:17: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | updateScreen(CLEAR); | ^ edit.c:941:19: warning: passing arguments to 'screen_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | screen_outchar('?', curwin->w_row, curwin->w_col); | ^ edit.c:946:18: warning: passing arguments to 'charsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | if (charsize(c) == 1) | ^ edit.c:949:21: warning: passing arguments to 'screen_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | screen_outchar(c, curwin->w_row, curwin->w_col); | ^ edit.c:955:23: warning: passing arguments to 'AppendToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | AppendToRedobuff((char_u *)"\026"); /* CTRL-V */ | ^ edit.c:956:21: warning: passing arguments to 'getdigraph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | c = getdigraph(c, cc, TRUE); | ^ edit.c:975:18: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | ptr = ml_get(complete_pos.lnum); | ^ edit.c:983:24: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | || isidchar(ptr[temp]))) | ^ edit.c:988:29: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | complete_pat = strsave((char_u *)"\\<[a-zA-Z_]"); | ^ edit.c:1002:25: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | else if (isidchar(ptr[temp])) | ^ edit.c:1018:27: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | complete_pat = alloc(curwin->w_cursor.col - temp + 3); | ^ edit.c:1024:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1024 | else | ^ edit.c:1030:35: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | last_completion_str = strsave((char_u *)" "); | ^ edit.c:1038:14: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | delchar(FALSE); | ^ edit.c:1043:36: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | last_completion_str = strsave(completion_str); | ^ edit.c:1053:18: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | ptr = ml_get(curwin->w_cursor.lnum); | ^ edit.c:1065:19: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | ptr = ml_get(complete_pos.lnum); | ^ edit.c:1072:25: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1072 | else if (isidchar(ptr[temp])) | ^ edit.c:1105:19: warning: passing arguments to 'searchit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1105 | if (!searchit(&complete_pos, complete_direction, | ^ edit.c:1120:23: warning: passing arguments to 'ml_get_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | ptr = ml_get_pos(&complete_pos); | ^ edit.c:1122:23: warning: passing arguments to 'ml_get_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1122 | ptr = ml_get_pos(&complete_pos) + 1; | ^ edit.c:1138:24: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | else if (isidchar(*tmp_ptr)) | ^ edit.c:1151:38: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | tmp_ptr = completion_str = alloc(temp); | ^ edit.c:1170:24: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | else if (isidchar(*ptr)) | ^ edit.c:1192:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1192 | EMSG("Exact match only"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ edit.c:1194:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | EMSG("No other matches"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ edit.c:1199:12: warning: passing arguments to 'insstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | insstr(completion_str); | ^ edit.c:1202:18: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1202 | ptr = ml_get(curwin->w_cursor.lnum); | ^ edit.c:1225:17: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1225 | ptr = ml_get(lnum); | ^ edit.c:1235:26: warning: passing arguments to 'chartabsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1235 | temp += chartabsize(*ptr++, (long)temp); | ^ edit.c:1241:31: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | if (ISkanjiPointer(ml_get(lnum), ptr) == 2) | ^ edit.c:1266:38: warning: passing arguments to 'showmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | if (c == '}' && (pos = showmatch('{')) != NULL) | ^ edit.c:1272:17: warning: passing arguments to 'set_indent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1272 | set_indent(i, TRUE); | ^ edit.c:1275:17: warning: passing arguments to 'shift_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | shift_line(TRUE, TRUE, 1); | ^ edit.c:1282:16: warning: passing arguments to 'set_indent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | set_indent(0, TRUE); | ^ edit.c:1285:17: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1285 | if (isidchar(c) || !echeck_abbr(c)) | ^ edit.c:1287:16: warning: passing arguments to 'insertchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | insertchar(c, k); | ^ edit.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 | edit(count) | ^ In file included from edit.c:15: In file included from ./proto.h:53: ./proto/edit.pro:2: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] 2 | void edit __PARMS((long count)); | ^ edit.c:1303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1303 | get_literal(nextc, kp) | ^ In file included from edit.c:15: In file included from ./proto.h:53: ./proto/edit.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | int get_literal __PARMS((int *nextc, int *kp)); | ^ edit.c:1547:30: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1547 | if (ISkanjiPointer(ml_get(curwin->w_cursor.lnum), ptr) == 2) | ^ edit.c:1562:11: warning: passing arguments to 'Opencmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | Opencmd(FORWARD, FALSE, FALSE); | ^ edit.c:1565:18: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1565 | (void)delchar(FALSE); | ^ edit.c:1569:16: warning: passing arguments to 'curs_columns' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1569 | curs_columns(FALSE); /* update curwin->w_virtcol */ | ^ edit.c:1581:18: warning: passing arguments to 'win_del_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1581 | win_del_lines(curwin, 0, 1, TRUE, TRUE); | ^ edit.c:1582:16: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1582 | updateScreen(CURSUPD); | ^ edit.c:1609:55: warning: passing arguments to 'charsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1609 | (textwidth == 0 || (curwin->w_virtcol += charsize(p[i - 1])) < textwidth) && | ^ edit.c:1610:29: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1610 | !(!no_abbr && !isidchar(c) && isidchar(p[i - 1]))) | ^ edit.c:1610:44: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1610 | !(!no_abbr && !isidchar(c) && isidchar(p[i - 1]))) | ^ edit.c:1613:12: warning: passing arguments to 'dodigraph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1613 | dodigraph(-1); /* clear digraphs */ | ^ edit.c:1614:12: warning: passing arguments to 'dodigraph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | dodigraph(p[i-1]); /* may be the start of a digraph */ | ^ edit.c:1617:9: warning: passing arguments to 'insstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | insstr(p); | ^ edit.c:1618:19: warning: passing arguments to 'AppendToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1618 | AppendToRedobuff(p); | ^ edit.c:1623:10: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1623 | inschar(c, k); | ^ edit.c:1627:23: warning: passing arguments to 'AppendCharToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | AppendCharToRedobuff(c); | ^ edit.c:1630:24: warning: passing arguments to 'AppendCharToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1630 | AppendCharToRedobuff(k); | ^ edit.c:1429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | insertchar(c, k) | ^ In file included from edit.c:15: In file included from ./proto.h:53: ./proto/edit.pro:5: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] 5 | void insertchar __PARMS((unsigned int c, unsigned int k)); | ^ edit.c:1654:19: warning: passing arguments to 'AppendToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1654 | AppendToRedobuff(ESC_STR); | ^ edit.c:1672:19: warning: passing arguments to 'AppendToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | AppendToRedobuff((char_u *)"1i"); /* pretend we start an insertion */ | ^ edit.c:1698:13: warning: passing arguments to 'ml_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1698 | ml_replace(curwin->w_cursor.lnum, (char_u *)"", TRUE); | ^ edit.c:1721:20: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1721 | for (ptr = ml_get(curwin->w_cursor.lnum); iswhite(*ptr); ++ptr) | ^ edit.c:1713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1713 | beginline(flag) | ^ In file included from edit.c:15: In file included from ./proto.h:53: ./proto/edit.pro:10: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] 10 | void beginline __PARMS((int flag)); | ^ edit.c:1787:12: warning: passing arguments to 'coladvance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1787 | coladvance(curwin->w_curswant); | ^ edit.c:1773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1773 | oneup(n) | ^ In file included from edit.c:15: In file included from ./proto.h:53: ./proto/edit.pro:13:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | int oneup __PARMS((long n)); | ^ edit.c:1805:12: warning: passing arguments to 'coladvance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1805 | coladvance(curwin->w_curswant); | ^ edit.c:1792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1792 | onedown(n) | ^ In file included from edit.c:15: In file included from ./proto.h:53: ./proto/edit.pro:14:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | int onedown __PARMS((long n)); | ^ edit.c:1835:19: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1835 | else if (plines(curwin->w_botline) >= curwin->w_height - 2 || /* next line is big */ | ^ edit.c:1842:17: warning: passing arguments to 'comp_Botline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1842 | comp_Botline(curwin); | ^ edit.c:1851:19: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1851 | if ((n = plines(lp)) > curwin->w_height / 2) | ^ edit.c:1853:58: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1853 | else if (lp < curbuf->b_ml.ml_line_count && n + plines(lp + 1) < curwin->w_height / 2) | ^ edit.c:1859:16: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1859 | n += plines(lp); | ^ edit.c:1867:17: warning: passing arguments to 'comp_Botline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1867 | comp_Botline(curwin); | ^ edit.c:1879:14: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1879 | updateScreen(VALID); | ^ edit.c:1815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1815 | onepage(dir, count) | ^ In file included from edit.c:15: In file included from ./proto.h:53: ./proto/edit.pro:15:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | int onepage __PARMS((int dir, long count)); | ^ edit.c:1894:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1894 | EMSG("No inserted text yet"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ edit.c:1898:20: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1898 | stuffcharReadbuff(c); | ^ edit.c:1906:16: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1906 | stuffReadbuff(ptr); | ^ edit.c:1884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1884 | stuff_inserted(c, count, no_esc) | ^ In file included from edit.c:15: In file included from ./proto.h:53: ./proto/edit.pro:16: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] 16 | void stuff_inserted __PARMS((int c, long count, int no_esc)); | ^ edit.c:1928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1928 | echeck_abbr(c) | ^ edit.c:1934:29: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1934 | return check_abbr(c, ml_get(curwin->w_cursor.lnum), curwin->w_cursor.col, | ^ edit.c:1934:19: warning: passing arguments to 'check_abbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1934 | return check_abbr(c, ml_get(curwin->w_cursor.lnum), curwin->w_cursor.col, | ^ 181 warnings generated. --- window.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT window.c --- kanji.o --- --- fileio.o --- In file included from fileio.c:25: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from fileio.c:25: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); --- kanji.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT kanji.c --- fileio.o --- | ^ In file included from fileio.c:25: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from fileio.c:25: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ fileio.c:60:14: warning: passing arguments to 'home_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | home_replace(name, IObuff + 1, IOSIZE - 1); | ^ fileio.c:68:12: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | msg_outstr(IObuff); | ^ fileio.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 | filemess(name, s) | ^ In file included from fileio.c:25: In file included from ./proto.h:54: ./proto/fileio.pro:2: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] 2 | void filemess __PARMS((unsigned char *name, unsigned char *s)); | ^ fileio.c:126:13: warning: initializing 'char_u *' (aka 'unsigned char *') with an expression 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] 126 | char_u *code = curbuf->b_p_jc; | ^ ~~~~~~~~~~~~~~ fileio.c:138:15: warning: passing arguments to 'setfname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | if (setfname(fname, sfname, FALSE) == OK) | ^ fileio.c:160:17: warning: passing 'char *' to parameter of type 'char_u *' (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] 160 | perm = getperm(fileconvsto(fname)); | ^~~~~~~~~~~~~~~~~~ ./proto/unix.pro:26:30: note: passing argument to parameter here 26 | long getperm __ARGS((char_u *)); | ^ fileio.c:267:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 267 | else | ^ fileio.c:313:29: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | if ((new_buffer = lalloc((long_u)(size + linerest + 1), FALSE)) != NULL) | ^ fileio.c:318:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | emsg(e_outofmem); | ^ fileio.c:373:20: warning: passing arguments to 'paramchanged' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | paramchanged((char_u *)"tx"); | ^ fileio.c:396:38: warning: passing 'char_u[81]' (aka 'unsigned char[81]') 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] 396 | if (ml_append(lnum, tmp, strlen(tmp) + 1, newfile) == FAIL) | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ fileio.c:396:19: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | if (ml_append(lnum, tmp, strlen(tmp) + 1, newfile) == FAIL) | ^ fileio.c:442:24: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | if ((tmp = lalloc(n, TRUE)) == NULL) | ^ fileio.c:460:19: warning: passing 'char_u *' (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] 460 | n = strlen(tmp); | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ fileio.c:463:20: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | if (ml_append(lnum, tmp, n + 1, newfile) == FAIL) | ^ fileio.c:529:37: warning: passing 'char_u[81]' (aka 'unsigned char[81]') 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] 529 | if (ml_append(lnum, tmp, strlen(tmp) + 1, newfile) == FAIL) | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ fileio.c:529:18: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | if (ml_append(lnum, tmp, strlen(tmp) + 1, newfile) == FAIL) | ^ fileio.c:538:21: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | if ((tmp = lalloc(n, TRUE)) == NULL) | ^ fileio.c:556:16: warning: passing 'char_u *' (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] 556 | n = strlen(tmp); | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ fileio.c:559:17: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | if (ml_append(lnum, tmp, n + 1, newfile) == FAIL) | ^ fileio.c:606:14: warning: passing arguments to 'mark_adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | mark_adjust(from + 1, MAXLNUM, (long)linecnt); | ^ fileio.c:615:14: warning: passing arguments to 'home_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | home_replace(fname, IObuff + 1, IOSIZE - 1); | ^ fileio.c:636:25: warning: passing arguments to 'plural' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | (long)linecnt, plural((long)linecnt), | ^ fileio.c:638:20: warning: passing arguments to 'plural' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | filesize, plural(filesize), toupper(*code)); | ^ fileio.c:642:5: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | msg(IObuff); | ^ fileio.c:647:15: warning: passing arguments to 'paramchanged' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | paramchanged((char_u *)"ro"); | ^ fileio.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 | readfile(fname, sfname, from, newfile, skip_lnum, nlines) | ^ In file included from fileio.c:25: In file included from ./proto.h:54: ./proto/fileio.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | int readfile __PARMS((unsigned char *fname, unsigned char *sfname, long from, int newfile, long skip_lnum, long nlines)); | ^ fileio.c:721:15: warning: passing arguments to 'setfname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | if (setfname(fname, sfname, FALSE) == OK) | ^ fileio.c:744:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | emsg(e_curdir); | ^ fileio.c:749:11: warning: passing arguments to 'settmode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | settmode(0); /* when exiting allow typahead now */ | ^ fileio.c:754:16: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | buffer = alloc(BUFSIZE); | ^ fileio.c:823:25: warning: passing arguments to 'modname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | if ((backup = modname(fname, ".bak")) == NULL) | ^ fileio.c:868:16: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | wp = gettail(fname); | ^ fileio.c:870:29: warning: passing arguments to 'buf_modname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | if ((backup = buf_modname(buf, copybuf, (char_u *)".bak")) == NULL) | ^ fileio.c:904:17: warning: passing 'char *' to parameter of type 'char_u *' (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 | (void)setperm(fileconvsto(backup), perm & 0777); | ^~~~~~~~~~~~~~~~~~~ ./proto/unix.pro:27:30: note: passing argument to parameter here 27 | int setperm __ARGS((char_u *, int)); | ^ fileio.c:937:17: warning: passing 'char *' to parameter of type 'char_u *' (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] 937 | (void)setperm(fileconvsto(fname), perm); | ^~~~~~~~~~~~~~~~~~ ./proto/unix.pro:27:30: note: passing argument to parameter here 27 | int setperm __ARGS((char_u *, int)); | ^ fileio.c:1083:45: warning: passing arguments to 'otherfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | if (reset_changed && !newfile && !otherfile(ffname) && !(exiting && backup != NULL)) | ^ fileio.c:1084:14: warning: passing arguments to 'ml_preserve' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | ml_preserve(buf, FALSE); | ^ fileio.c:1195:21: warning: passing 'char *' to parameter of type 'char_u *' (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] 1195 | if (write_buf(fd, (char *)w, (size_t)2) == FAIL) | ^~~~~~~~~ fileio.c:39:44: note: passing argument to parameter here 39 | static int write_buf __ARGS((int, char_u *, int)); | ^ fileio.c:1212:19: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | ptr = ml_get_buf(buf, lnum, FALSE) - 1; | ^ fileio.c:1237:23: warning: passing 'char_u *' (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] 1237 | org = alloc(strlen(ptr + 1) + 1); | ^~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ fileio.c:1237:15: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1237 | org = alloc(strlen(ptr + 1) + 1); | ^ fileio.c:1238:11: warning: passing 'char_u *' (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] 1238 | strcpy(org, ptr + 1); | ^~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ fileio.c:1238:16: warning: passing 'char_u *' (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] 1238 | strcpy(org, ptr + 1); | ^~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ fileio.c:1412:17: warning: passing 'char *' to parameter of type 'char_u *' (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] 1412 | (void)setperm(fileconvsto(fname), perm); /* set permissions of new file same as old file */ | ^~~~~~~~~~~~~~~~~~ ./proto/unix.pro:27:30: note: passing argument to parameter here 27 | int setperm __ARGS((char_u *, int)); | ^ fileio.c:1440:14: warning: passing arguments to 'home_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | home_replace(fname, IObuff + 1, IOSIZE - 1); | ^ fileio.c:1454:22: warning: passing arguments to 'plural' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1454 | (long)lnum, plural((long)lnum), | ^ fileio.c:1456:18: warning: passing arguments to 'plural' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1456 | nchars, plural(nchars), toupper(*buf->b_p_jc)); | ^ fileio.c:1460:5: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1460 | msg(IObuff); | ^ fileio.c:1464:3: warning: passing arguments to 'unset_Changed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | UNCHANGED(buf); | ^ ./vim.h:341:37: note: expanded from macro 'UNCHANGED' 341 | #define UNCHANGED(buf) unset_Changed(buf) | ^ fileio.c:1465:14: warning: passing arguments to 'u_unchanged' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1465 | u_unchanged(buf); | ^ fileio.c:1473:16: warning: passing arguments to 'ml_timestamp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1473 | ml_timestamp(buf); | ^ fileio.c:1484:33: warning: passing arguments to 'modname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1484 | char *org = (char *)modname(fname, p_pm); | ^ fileio.c:1495:5: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1495 | EMSG("patchmode: can't save original file"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ fileio.c:1497:30: warning: passing 'char *' to parameter of type 'char_u *' (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] 1497 | else if (stat(fileconvsto(org), &st) < 0) | ^~~ ./proto/kanji.pro:25:38: note: passing argument to parameter here 25 | char *fileconvsto __ARGS((char_u *)); | ^ fileio.c:1503:48: warning: passing 'char *' to parameter of type 'char_u *' (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] 1503 | rename(fileconvsto(backup), fileconvsto(org)); | ^~~ ./proto/kanji.pro:25:38: note: passing argument to parameter here 25 | char *fileconvsto __ARGS((char_u *)); | ^ fileio.c:1520:46: warning: passing 'char *' to parameter of type 'char_u *' (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] 1520 | if (org == NULL || (fd = open(fileconvsto(org), O_CREAT, 0666)) < 0) | ^~~ ./proto/kanji.pro:25:38: note: passing argument to parameter here 25 | char *fileconvsto __ARGS((char_u *)); | ^ fileio.c:1524:6: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1524 | EMSG("patchmode: can't touch empty original file"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ fileio.c:1531:27: warning: passing 'char *' to parameter of type 'char_u *' (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] 1531 | setperm(fileconvsto(org), getperm(fileconvsto(fname)) & 0777); | ^~~ ./proto/kanji.pro:25:38: note: passing argument to parameter here 25 | char *fileconvsto __ARGS((char_u *)); | ^ fileio.c:1531:41: warning: passing 'char *' to parameter of type 'char_u *' (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] 1531 | setperm(fileconvsto(org), getperm(fileconvsto(fname)) & 0777); | ^~~~~~~~~~~~~~~~~~ ./proto/unix.pro:26:30: note: passing argument to parameter here 26 | long getperm __ARGS((char_u *)); | ^ fileio.c:1531:15: warning: passing 'char *' to parameter of type 'char_u *' (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] 1531 | setperm(fileconvsto(org), getperm(fileconvsto(fname)) & 0777); | ^~~~~~~~~~~~~~~~ ./proto/unix.pro:27:30: note: passing argument to parameter here 27 | int setperm __ARGS((char_u *, int)); | ^ fileio.c:1547:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1547 | EMSG("Can't delete backup file"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ fileio.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | buf_write(buf, fname, sfname, start, end, append, forceit, reset_changed) | ^ In file included from fileio.c:25: In file included from ./proto.h:54: ./proto/fileio.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | int buf_write __PARMS((struct buffer *buf, unsigned char *fname, unsigned char *sfname, long start, long end, int append, int forceit, int reset_changed)); | ^ fileio.c:1576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1576 | write_buf(fd, buf, len) | ^ fileio.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 | chk_mline(lnum) | ^ fileio.c:1672:17: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | for (s = ml_get(lnum); *s != NUL; ++s) | ^ fileio.c:1679:20: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1679 | s = cs = strsave(s); | ^ fileio.c:1696:17: warning: passing arguments to 'doset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1696 | (void)doset(s + 4); | ^ fileio.c:1699:14: warning: passing arguments to 'doset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1699 | if (doset(s) == FAIL) /* stop if error found */ | ^ fileio.c:1724:20: warning: passing arguments to 'buf_modname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1724 | return buf_modname(curbuf, fname, ext); | ^ fileio.c:1721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1721 | modname(fname, ext) | ^ In file included from fileio.c:25: In file included from ./proto.h:54: ./proto/fileio.pro:5:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | unsigned char *modname __PARMS((unsigned char *fname, unsigned char *ext)); | ^ fileio.c:1763:17: warning: passing arguments to 'ispathsep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1763 | if (!ispathsep(currentdir[fnamelen - 1])) | ^ fileio.c:1771:16: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1771 | retval = alloc((unsigned) (fnamelen + extlen + 1)); | ^ fileio.c:1794:17: warning: passing arguments to 'ispathsep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1794 | if (ispathsep(*ptr)) | ^ fileio.c:1728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1728 | buf_modname(buf, fname, ext) | ^ In file included from fileio.c:25: In file included from ./proto.h:54: ./proto/fileio.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | unsigned char *buf_modname __PARMS((struct buffer *buf, unsigned char *fname, unsigned char *ext)); | ^ fileio.c:1853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1853 | vim_fgets(buf, size, fp, lnum) | ^ In file included from fileio.c:25: In file included from ./proto.h:54: ./proto/fileio.pro:7:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | int vim_fgets __PARMS((unsigned char *buf, int size, FILE *fp, int *lnum)); | ^ fileio.c:1882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1882 | opt_delet(buf, readwrite, expand, entab, delete, replace, gaiji, ts) | ^ fileio.c:1919:16: warning: passing 'char_u *' (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] 1919 | if (strlen(&buf[col]) >= 6 && buf[col + 5] == '#') | ^~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ fileio.c:1943:20: warning: passing 'char_u *' (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] 1943 | strlen(&buf[col + 6]) + 1); | ^~~~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ fileio.c:1957:27: warning: passing 'char_u *' (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] 1957 | if ((p = alloc(strlen(buf) + 4 + 1)) == NULL) | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ fileio.c:1957:19: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1957 | if ((p = alloc(strlen(buf) + 4 + 1)) == NULL) | ^ fileio.c:1973:19: warning: passing 'char_u *' (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] 1973 | strlen(&buf[col + 2]) + 1); | ^~~~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ fileio.c:2002:26: warning: passing 'char_u *' (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] 2002 | if ((cp = alloc(strlen(buf) + add + 1)) == NULL) | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ fileio.c:2002:18: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2002 | if ((cp = alloc(strlen(buf) + add + 1)) == NULL) | ^ 94 warnings generated. --- track.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT track.c --- regsub.o --- In file included from regsub.c:51: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from regsub.c:51: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from regsub.c:51: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from regsub.c:51: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ regsub.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | do_Copy(d, c) | ^ regsub.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 | do_upper(d, c) | ^ regsub.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 | do_Upper(d, c) | ^ regsub.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | do_lower(d, c) | ^ regsub.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 | do_Lower(d, c) | ^ regsub.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 | strnfcpy(f, d, s, n) | ^ regsub.c:223:19: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | tmpsub = alloc((unsigned)(STRLEN(source) + prevlen)); | ^ regsub.c:261:25: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | reg_prev_sub = strsave(source); | ^ regsub.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 | regtilde(source, magic) | ^ In file included from regsub.c:51: In file included from ./proto.h:73: ./proto/regsub.pro:2:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2 | unsigned char *regtilde __PARMS((unsigned char *source, int magic)); | ^ regsub.c:289:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | emsg(e_null); | ^ regsub.c:294:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | emsg(e_re_corr); | ^ regsub.c:368:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | emsg(e_re_damg); | ^ regsub.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 | regsub(prog, source, dest, copy, magic) | ^ In file included from regsub.c:51: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ 19 warnings generated. --- u2s.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT u2s.c --- quickfix.o --- In file included from quickfix.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from quickfix.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from quickfix.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from quickfix.c:15: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ quickfix.c:77:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | emsg(e_errorf); | ^ quickfix.c:86:8: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | emsg2(e_openerrf, p_ef); | ^ quickfix.c:101:16: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | fmtstr = alloc(maxlen); | ^ quickfix.c:153:6: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | EMSG("invalid % in format string"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ quickfix.c:158:5: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | EMSG("too many % in format string"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ quickfix.c:165:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | EMSG("invalid format string"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ quickfix.c:175:46: warning: passing 'char[1024]' to parameter of type 'char_u *' (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] 175 | i = kanjiconvsfrom(IObuff, STRLEN(IObuff), tmp, CMDBUFFSIZE, NULL, JP_SYS, NULL); | ^~~ ./proto/kanji.pro:22:50: note: passing argument to parameter here 22 | int kanjiconvsfrom __ARGS((char_u*, int, char_u*, int, char*, char, int*)); | ^ quickfix.c:179:37: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | if ((qfp = (struct qf_line *)alloc((unsigned)sizeof(struct qf_line))) == NULL) | ^ quickfix.c:216:30: warning: passing arguments to 'buflist_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | qfp->qf_fnum = buflist_add(namebuf); | ^ quickfix.c:217:30: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | if ((qfp->qf_text = strsave(errmsg)) == NULL) | ^ quickfix.c:258:10: warning: passing arguments to 'qf_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | qf_jump(0, 0); /* display first error */ | ^ quickfix.c:261:6: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | emsg(e_readerrf); | ^ quickfix.c:286:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | emsg(e_quickfix); | ^ quickfix.c:334:45: warning: passing arguments to 'buflist_getfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | if (qf_ptr->qf_fnum == 0 || buflist_getfile(qf_ptr->qf_fnum, (linenr_t)1, TRUE) == OK) | ^ quickfix.c:349:7: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | smsg((char_u *)"(%d of %d) %s%s: %s", qf_index, qf_count, | ^ quickfix.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | qf_jump(dir, errornr) | ^ In file included from quickfix.c:15: In file included from ./proto.h:71: ./proto/quickfix.pro:3: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] 3 | void qf_jump __PARMS((int dir, int errornr)); | ^ quickfix.c:366:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | emsg(e_quickfix); | ^ quickfix.c:370:13: warning: passing arguments to 'gotocmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | gotocmdline(TRUE, NUL); | ^ quickfix.c:379:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | msg_outstr(IObuff); | ^ quickfix.c:380:14: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | msg_outchar('\n'); | ^ quickfix.c:385:13: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | wait_return(FALSE); | ^ quickfix.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | qf_mark_adjust(line1, line2, inc) | ^ In file included from quickfix.c:15: In file included from ./proto.h:71: ./proto/quickfix.pro:5: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] 5 | void qf_mark_adjust __PARMS((long line1, long line2, long inc)); | ^ quickfix.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 | qf_types(c, nr) | ^ 29 warnings generated. --- s2u.o --- --- misccmds.o --- In file included from misccmds.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from misccmds.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from misccmds.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from misccmds.c:15: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ misccmds.c:34:19: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | for (ptr = ml_get(curwin->w_cursor.lnum); *ptr; ++ptr) | ^ misccmds.c:63:17: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | (void)delchar(FALSE); | ^ misccmds.c:69:11: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | inschar(TAB, NUL); | ^ misccmds.c:78:10: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | inschar(' ', NUL); | ^ misccmds.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 | set_indent(size, delete) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:3: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] 3 | void set_indent __PARMS((int size, int delete)); | ^ misccmds.c:110:22: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | ptr = strsave(ml_get(curwin->w_cursor.lnum)); | ^ misccmds.c:110:15: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | ptr = strsave(ml_get(curwin->w_cursor.lnum)); | ^ misccmds.c:174:15: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | skipspace(&p); | ^ misccmds.c:177:19: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | if (!isidchar(*pp)) /* careful for vars starting with "if" */ | ^ misccmds.c:194:14: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | skipspace(&p); | ^ misccmds.c:207:13: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | skipspace(&p_extra); | ^ misccmds.c:217:15: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | if (ml_append(curwin->w_cursor.lnum, p_extra, (colnr_t)0, FALSE) == FAIL) | ^ misccmds.c:219:13: warning: passing arguments to 'mark_adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | mark_adjust(curwin->w_cursor.lnum + 1, MAXLNUM, 1L); | ^ misccmds.c:244:14: warning: passing arguments to 'ml_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | ml_replace(curwin->w_cursor.lnum, ptr, FALSE); | ^ misccmds.c:268:30: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | n = curwin->w_row + plines(curwin->w_cursor.lnum); | ^ misccmds.c:270:13: warning: passing arguments to 'scrollup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | scrollup(1L); | ^ misccmds.c:272:18: warning: passing arguments to 'win_ins_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | win_ins_lines(curwin, n, 1, TRUE, TRUE); | ^ misccmds.c:277:16: warning: passing arguments to 'win_ins_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | win_ins_lines(curwin, curwin->w_row, 1, TRUE, TRUE); | ^ misccmds.c:282:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | updateScreen(VALID_TO_CURSCHAR); | ^ misccmds.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | Opencmd(dir, redraw, delspaces) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | int Opencmd __PARMS((int dir, int redraw, int delspaces)); | ^ misccmds.c:300:19: warning: passing arguments to 'plines_win' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | return plines_win(curwin, p); | ^ misccmds.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | plines(p) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:5:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | int plines __PARMS((long p)); | ^ misccmds.c:315:16: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | s = ml_get_buf(wp->w_buffer, p, FALSE); | ^ misccmds.c:345:20: warning: passing arguments to 'chartabsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | j = chartabsize(*s, i); | ^ misccmds.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | plines_win(wp, p) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:6:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | int plines_win __PARMS((struct window *wp, long p)); | ^ misccmds.c:390:21: warning: passing arguments to 'plines_m_win' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | return plines_m_win(curwin, first, last); | ^ misccmds.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 | plines_m(first, last) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:7:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | int plines_m __PARMS((long first, long last)); | ^ misccmds.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | plines_m_win(wp, first, last) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:8:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | int plines_m_win __PARMS((struct window *wp, long first, long last)); | ^ misccmds.c:427:14: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | old = ml_get(lnum); | ^ misccmds.c:447:13: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | new = alloc((unsigned)(oldlen + extra)); | ^ misccmds.c:500:12: warning: passing arguments to 'ml_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | ml_replace(lnum, new, FALSE); | ^ misccmds.c:512:24: warning: passing arguments to 'showmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | if ((lpos = showmatch(NUL)) == NULL) /* no match, so beep */ | ^ misccmds.c:516:16: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | updateScreen(VALID_TO_CURSCHAR); /* show the new char first */ | ^ misccmds.c:520:13: warning: passing arguments to 'showruler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | showruler(0); | ^ misccmds.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | inschar(c, k) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:10: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] 10 | void inschar __PARMS((int c, int k)); | ^ misccmds.c:564:14: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | old = ml_get(lnum); | ^ misccmds.c:566:13: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | new = alloc((unsigned)(oldlen + newlen + 1)); | ^ misccmds.c:572:12: warning: passing arguments to 'ml_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | ml_replace(lnum, new, FALSE); | ^ misccmds.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | insstr(s) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:14: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] 14 | void insstr __PARMS((unsigned char *s)); | ^ misccmds.c:592:14: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | old = ml_get(lnum); | ^ misccmds.c:611:14: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | new = alloc((unsigned)oldlen); /* need to allocated a new line */ | ^ misccmds.c:618:13: warning: passing arguments to 'ml_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | ml_replace(lnum, new, FALSE); | ^ misccmds.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | delchar(fixpos) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:15:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | int delchar __PARMS((int fixpos)); | ^ misccmds.c:657:16: warning: passing arguments to 'win_del_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | win_del_lines(curwin, curwin->w_row, curwin->w_height, TRUE, TRUE); | ^ misccmds.c:659:24: warning: passing arguments to 'u_savedel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | if (undo && !u_savedel(curwin->w_cursor.lnum, nlines)) | ^ misccmds.c:662:13: warning: passing arguments to 'mark_adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | mark_adjust(curwin->w_cursor.lnum, curwin->w_cursor.lnum + nlines - 1, MAXLNUM); | ^ misccmds.c:663:13: warning: passing arguments to 'mark_adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | mark_adjust(curwin->w_cursor.lnum + nlines, MAXLNUM, -nlines); | ^ misccmds.c:677:12: warning: passing arguments to 'ml_delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | ml_delete(curwin->w_cursor.lnum); | ^ misccmds.c:693:16: warning: passing arguments to 'win_del_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | win_del_lines(curwin, curwin->w_row, num_plines, TRUE, TRUE); | ^ misccmds.c:640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | dellines(nlines, dowindow, undo) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:16: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] 16 | void dellines __PARMS((long nlines, int dowindow, int undo)); | ^ misccmds.c:700:27: warning: passing arguments to 'ml_get_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | return (int)(*(ml_get_pos(pos))); | ^ misccmds.c:697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | gchar(pos) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:17:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | int gchar __PARMS((struct fpos *pos)); | ^ misccmds.c:717:14: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | *(ml_get_buf(curbuf, curwin->w_cursor.lnum, TRUE) + curwin->w_cursor.col) = c; | ^ misccmds.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 | pchar_cursor(c) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:19: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] 19 | void pchar_cursor __PARMS((int c)); | ^ misccmds.c:729:28: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | for (col = 0, ptr = ml_get(curwin->w_cursor.lnum); iswhite(*ptr); ++col) | ^ misccmds.c:743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | skipspace(pp) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:21: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] 21 | void skipspace __PARMS((unsigned char **pp)); | ^ misccmds.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | skiptospace(pp) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:22: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] 22 | void skiptospace __PARMS((unsigned char **pp)); | ^ misccmds.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | skiptodigit(pp) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:23: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] 23 | void skiptodigit __PARMS((unsigned char **pp)); | ^ misccmds.c:813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | getdigits(pp) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:24: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] 24 | long getdigits __PARMS((unsigned char **pp)); | ^ misccmds.c:828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | plural(n) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:25:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | unsigned char *plural __PARMS((long n)); | ^ misccmds.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 | unset_Changed(buf) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:27: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] 27 | void unset_Changed __PARMS((struct buffer *buf)); | ^ misccmds.c:871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | check_status(buf) | ^ misccmds.c:900:3: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | MSG("Warning: Changing a readonly file"); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ misccmds.c:920:22: warning: passing arguments to 'set_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | (void)set_highlight('r'); /* same highlighting as for wait_return */ | ^ misccmds.c:922:7: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | smsg((char_u *)"%s (y/n)?", str); | ^ misccmds.c:926:14: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | msg_outchar(r); /* show what you typed */ | ^ misccmds.c:913:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | ask_yesno(str) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:29:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | int ask_yesno __PARMS((unsigned char *str)); | ^ misccmds.c:947:7: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | smsg((char_u *)"%ld %s line%s %s", pn, n > 0 ? "more" : "fewer", plural(pn), | ^ misccmds.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | msgmore(n) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:30: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] 30 | void msgmore __PARMS((long n)); | ^ misccmds.c:960:15: warning: passing arguments to 'flush_buffers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | flush_buffers(FALSE); /* flush internal buffers */ | ^ misccmds.c:964:13: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | outstr(T_VB); | ^ misccmds.c:967:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | MSG(" ^G"); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ misccmds.c:968:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | MSG(" ^G"); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ misccmds.c:969:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | MSG(" ^G "); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ misccmds.c:970:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | MSG(" ^G"); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ misccmds.c:971:10: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | MSG(" "); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ misccmds.c:976:13: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | outchar('\007'); | ^ misccmds.c:1005:39: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1005 | while (c-- > 0 && *tail && isidchar(*tail)) | ^ misccmds.c:985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | expand_env(src, dst, dstlen) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:32: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] 32 | void expand_env __PARMS((unsigned char *src, unsigned char *dst, int dstlen)); | ^ misccmds.c:1064:15: warning: passing 'char_u *' (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] 1064 | if (strlen(src) > len && src[len] != '\\' && src[len] != '/') | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ misccmds.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 | home_replace(src, dst, dstlen) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:33: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] 33 | void home_replace __PARMS((unsigned char *src, unsigned char *dst, int dstlen)); | ^ misccmds.c:1096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | fullpathcmp(s1, s2) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:34:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | int fullpathcmp __PARMS((unsigned char *s1, unsigned char *s2)); | ^ misccmds.c:1142:16: warning: passing arguments to 'ispathsep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | if (ispathsep(*p2)) | ^ misccmds.c:1135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | gettail(fname) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:35:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | unsigned char *gettail __PARMS((unsigned char *fname)); | ^ misccmds.c:1156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | ispathsep(c) | ^ In file included from misccmds.c:15: In file included from ./proto.h:67: ./proto/misccmds.pro:36:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | int ispathsep __PARMS((int c)); | ^ 114 warnings generated. --- s2u.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT s2u.c --- grep.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT -I. grep/grep.c --- memline.o --- In file included from memline.c:70: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from memline.c:70: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from memline.c:70: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from memline.c:70: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ memline.c:230:33: warning: passing arguments to 'mf_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | for ( ; i < 2 && (mfp = mf_open(fname, TRUE, i == 0)) == NULL; ++i) | ^ memline.c:241:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | if (EMSG("Unable to open swap file, recovery impossible")) | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ memline.c:243:15: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | msg_outchar('\n'); | ^ memline.c:244:15: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | wait_return(FALSE); | ^ memline.c:251:18: warning: passing arguments to 'mf_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | if ((hp = mf_new(mfp, FALSE, 1)) == NULL) | ^ memline.c:255:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | EMSG("didn't get block nr 0?"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ memline.c:276:8: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | mf_put(mfp, hp, TRUE, FALSE); | ^ memline.c:285:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | EMSG("didn't get block nr 1?"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ memline.c:288:8: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | mf_put(mfp, hp, TRUE, FALSE); | ^ memline.c:300:10: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | mf_put(mfp, hp, FALSE, FALSE); | ^ memline.c:301:11: warning: passing arguments to 'mf_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | mf_close(mfp, TRUE); /* will also free(fname) */ | ^ memline.c:344:32: warning: passing arguments to 'mf_open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | for ( ; i < 2 && mf_open_file(mfp, fname) == FAIL; ++i) | ^ memline.c:351:8: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | if (EMSG2("Unable to open swap file for \"%s\", recovery impossible", | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ memline.c:355:16: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | msg_outchar('\n'); | ^ memline.c:356:16: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | wait_return(FALSE); | ^ memline.c:371:10: warning: passing arguments to 'mf_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | mf_close(buf->b_ml.ml_mfp, TRUE); /* delete the .swp file */ | ^ memline.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 | ml_close(buf) | ^ In file included from memline.c:70: In file included from ./proto.h:65: ./proto/memline.pro:4: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] 4 | void ml_close __PARMS((struct buffer *buf)); | ^ memline.c:412:33: warning: passing arguments to 'mf_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | if (mfp == NULL || (hp = mf_get(mfp, (blocknr_t)0, 1)) == NULL) | ^ memline.c:417:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | EMSG("ml_timestamp: Didn't get block 0??"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ memline.c:429:8: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | mf_put(mfp, hp, TRUE, FALSE); | ^ memline.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 | ml_timestamp(buf) | ^ In file included from memline.c:70: In file included from ./proto.h:65: ./proto/memline.pro:6: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] 6 | void ml_timestamp __PARMS((struct buffer *buf)); | ^ memline.c:473:30: warning: passing arguments to 'vim_strnicmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | if (len >= 4 && vim_strnicmp(fname + len - 4, (char_u *)".sw", (size_t)3) == 0) | ^ memline.c:475:18: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | fname = strsave(fname); /* make a copy for mf_open */ | ^ memline.c:489:20: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | buf = (BUF *)alloc((unsigned)sizeof(BUF)); | ^ memline.c:514:33: warning: passing arguments to 'mf_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | for ( ; i < 2 && (mfp = mf_open(fname, FALSE, i == 0)) == NULL; i++) | ^ memline.c:522:3: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | EMSG2("Cannot open %s", fname); | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ memline.c:530:18: warning: passing arguments to 'mf_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | if ((hp = mf_get(mfp, (blocknr_t)0, 1)) == NULL) | ^ memline.c:533:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | msg_outstr((char_u *)"Unable to read block 0 from "); | ^ memline.c:534:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | msg_outstr(fname); | ^ memline.c:535:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | msg_outstr((char_u *)"\nMaybe no changes were made or Vim did not update the .swp file"); | ^ memline.c:542:3: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | EMSG2("%s is not a swap file", fname); | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ memline.c:562:26: warning: passing arguments to 'setfname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | if (directly && setfname(b0p->b0_fname, NULL, TRUE) == FAIL) | ^ memline.c:565:6: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | smsg((char_u *)"Using swap file \"%s\", original file \"%s\"", fname, | ^ memline.c:582:3: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | MSG("Warning: Original file may have been changed"); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ memline.c:584:8: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | mf_put(mfp, hp, FALSE, FALSE); /* release block 0 */ | ^ memline.c:612:10: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | mf_put(mfp, hp, FALSE, FALSE); /* release previous block */ | ^ memline.c:617:19: warning: passing arguments to 'mf_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | if ((hp = mf_get(mfp, (blocknr_t)bnum, page_count)) == NULL) | ^ memline.c:621:5: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | EMSG2("Unable to read block 1 from %s", fname); | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ memline.c:625:13: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | ml_append(lnum++, (char_u *)"???MANY LINES MISSING", (colnr_t)0, TRUE); | ^ memline.c:640:16: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | ml_append(lnum++, (char_u *)"???LINE COUNT WRONG", (colnr_t)0, TRUE); | ^ memline.c:646:15: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | ml_append(lnum++, (char_u *)"???EMPTY BLOCK", (colnr_t)0, TRUE); | ^ memline.c:661:20: warning: passing arguments to 'readfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | if (readfile(curbuf->b_filename, NULL, lnum, FALSE, | ^ memline.c:671:17: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | ml_append(lnum++, (char_u *)"???LINES MISSING", (colnr_t)0, TRUE); | ^ memline.c:702:7: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | EMSG2("Block 1 ID wrong (%s not a .swp file?)", fname); | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ memline.c:706:15: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | ml_append(lnum++, (char_u *)"???BLOCK MISSING", (colnr_t)0, TRUE); | ^ memline.c:721:16: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | ml_append(lnum++, (char_u *)"???until END lines may be messed up", (colnr_t)0, TRUE); | ^ memline.c:736:16: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | ml_append(lnum++, (char_u *)"???until END lines may have been inserted/deleted", (colnr_t)0, TRUE); | ^ memline.c:751:16: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | ml_append(lnum++, p, (colnr_t)0, TRUE); | ^ memline.c:754:16: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | ml_append(lnum++, (char_u *)"???END", (colnr_t)0, TRUE); | ^ memline.c:773:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | EMSG("Recovery Interrupted"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ memline.c:775:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | EMSG("Errors detected while recovering; look for lines starting with ???"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ memline.c:777:3: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | MSG("Recovery completed; If everything is OK: Save this file and delete the .swp file"); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ memline.c:783:10: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | mf_put(mfp, hp, FALSE, FALSE); | ^ memline.c:784:11: warning: passing arguments to 'mf_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | mf_close(mfp, FALSE); /* will also free(fname) */ | ^ memline.c:813:52: warning: passing arguments to 'mf_need_trans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | if (buf->b_changed && check_file && mf_need_trans(buf->b_ml.ml_mfp) && | ^ memline.c:827:16: warning: passing arguments to 'ml_preserve' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | ml_preserve(buf, FALSE); | ^ memline.c:831:11: warning: passing arguments to 'mf_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | mf_sync(buf->b_ml.ml_mfp, FALSE, TRUE); | ^ memline.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | ml_sync_all(check_file) | ^ In file included from memline.c:70: In file included from ./proto.h:65: ./proto/memline.pro:8: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] 8 | void ml_sync_all __PARMS((int check_file)); | ^ memline.c:861:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | EMSG("Cannot preserve, there is no swap file"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ memline.c:867:18: warning: passing arguments to 'mf_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | status = mf_sync(mfp, TRUE, FALSE); | ^ memline.c:881:19: warning: passing arguments to 'mf_need_trans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | if (mf_need_trans(mfp)) | ^ memline.c:884:23: warning: passing arguments to 'mf_need_trans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | while (mf_need_trans(mfp)) | ^ memline.c:896:14: warning: passing arguments to 'mf_sync' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | if (mf_sync(mfp, TRUE, FALSE) == FAIL) /* sync the updated pointer blocks */ | ^ memline.c:904:4: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | MSG("File preserved"); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ memline.c:906:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | EMSG("Preserve failed"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ memline.c:849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | ml_preserve(buf, message) | ^ In file included from memline.c:70: In file included from ./proto.h:65: ./proto/memline.pro:9: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] 9 | void ml_preserve __PARMS((struct buffer *buf, int message)); | ^ memline.c:920:19: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | return ml_get_buf(curbuf, lnum, FALSE); | ^ memline.c:917:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | ml_get(lnum) | ^ In file included from memline.c:70: In file included from ./proto.h:65: ./proto/memline.pro:10:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | unsigned char *ml_get __PARMS((long lnum)); | ^ memline.c:930:20: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | return (ml_get_buf(curbuf, pos->lnum, FALSE) + pos->col); | ^ memline.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | ml_get_pos(pos) | ^ In file included from memline.c:70: In file included from ./proto.h:65: ./proto/memline.pro:11:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | unsigned char *ml_get_pos __PARMS((struct fpos *pos)); | ^ memline.c:936:20: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | return (ml_get_buf(curbuf, curwin->w_cursor.lnum, FALSE) + curwin->w_cursor.col); | ^ memline.c:956:8: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | emsg2((char_u *)"ml_get: invalid lnum: %ld", (char_u *)lnum); | ^ memline.c:980:9: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 980 | emsg2((char_u *)"ml_get: cannot find line %ld", (char_u *)lnum); | ^ memline.c:945:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | ml_get_buf(buf, lnum, will_change) | ^ In file included from memline.c:70: In file included from ./proto.h:65: ./proto/memline.pro:13:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | unsigned char *ml_get_buf __PARMS((struct buffer *buf, long lnum, int will_change)); | ^ memline.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] 1016 | ml_append(lnum, line, len, newfile) | ^ In file included from memline.c:70: In file included from ./proto.h:65: ./proto/memline.pro:15:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | int ml_append __PARMS((long lnum, unsigned char *line, unsigned int len, int newfile)); | ^ memline.c:1028:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | ml_append_int(buf, lnum, line, len, newfile) | ^ memline.c:1101:20: warning: passing arguments to 'mf_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | if ((hp2 = mf_get(mfp, (blocknr_t)1, 1)) == NULL) | ^ memline.c:1103:11: warning: passing arguments to 'mf_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | mf_free(mfp, hp); | ^ memline.c:1109:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | EMSG("pointer block id wrong 5"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ memline.c:1110:11: warning: passing arguments to 'mf_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | mf_free(mfp, hp); | ^ memline.c:1111:10: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | mf_put(mfp, hp2, FALSE, FALSE); | ^ memline.c:1119:9: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1119 | mf_put(mfp, hp2, TRUE, FALSE); | ^ memline.c:1394:9: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1394 | mf_put(mfp, hp_new, TRUE, FALSE); | ^ memline.c:1412:20: warning: passing arguments to 'mf_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1412 | if ((hp = mf_get(mfp, ip->ip_bnum, 1)) == NULL) | ^ memline.c:1417:5: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1417 | EMSG("pointer block id wrong 3"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ memline.c:1418:11: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1418 | mf_put(mfp, hp, FALSE, FALSE); | ^ memline.c:1444:11: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1444 | mf_put(mfp, hp, TRUE, FALSE); | ^ memline.c:1489:12: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1489 | mf_put(mfp, hp, TRUE, FALSE); /* release block 1 */ | ^ memline.c:1544:11: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1544 | mf_put(mfp, hp, TRUE, FALSE); | ^ memline.c:1545:11: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1545 | mf_put(mfp, hp_new, TRUE, FALSE); | ^ memline.c:1548:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | EMSG("Updated too many blocks?"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ memline.c:1591:21: warning: passing arguments to 'ml_delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1591 | status = ml_delete(lnum); | ^ memline.c:1601:29: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1601 | if (copy && (line = strsave(line)) == NULL) /* allocate memory for the line */ | ^ memline.c:1563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | ml_replace(lnum, line, copy) | ^ In file included from memline.c:70: In file included from ./proto.h:65: ./proto/memline.pro:16:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | int ml_replace __PARMS((long lnum, unsigned char *line, int copy)); | ^ memline.c:1616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1616 | ml_delete(lnum) | ^ In file included from memline.c:70: In file included from ./proto.h:65: ./proto/memline.pro:17:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | int ml_delete __PARMS((long lnum)); | ^ memline.c:1624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1624 | ml_delete_int(buf, lnum) | ^ memline.c:1675:10: warning: passing arguments to 'mf_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1675 | mf_free(mfp, hp); /* free the data block */ | ^ memline.c:1691:10: warning: passing arguments to 'mf_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | mf_free(mfp, hp); /* free the data block */ | ^ memline.c:1699:20: warning: passing arguments to 'mf_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1699 | if ((hp = mf_get(mfp, ip->ip_bnum, 1)) == NULL) | ^ memline.c:1704:5: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | EMSG("pointer block id wrong 4"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ memline.c:1705:11: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1705 | mf_put(mfp, hp, FALSE, FALSE); | ^ memline.c:1710:12: warning: passing arguments to 'mf_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1710 | mf_free(mfp, hp); | ^ memline.c:1717:11: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1717 | mf_put(mfp, hp, TRUE, FALSE); | ^ memline.c:1772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1772 | ml_setmarked(lnum) | ^ In file included from memline.c:70: In file included from ./proto.h:65: ./proto/memline.pro:18: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] 18 | void ml_setmarked __PARMS((long lnum)); | ^ memline.c:1842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1842 | ml_has_mark(lnum) | ^ In file included from memline.c:70: In file included from ./proto.h:65: ./proto/memline.pro:20:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | int ml_has_mark __PARMS((long lnum)); | ^ memline.c:1898:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1898 | ml_flush_line(buf) | ^ memline.c:1924:4: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1924 | EMSG2("Cannot fine line %ld", (char_u *)lnum); | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ memline.c:1986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1986 | ml_new_data(mfp, negative, page_count) | ^ memline.c:1994:18: warning: passing arguments to 'mf_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1994 | if ((hp = mf_new(mfp, negative, page_count)) == NULL) | ^ memline.c:2010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2010 | ml_new_ptr(mfp) | ^ memline.c:2016:18: warning: passing arguments to 'mf_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2016 | if ((hp = mf_new(mfp, FALSE, 1)) == NULL) | ^ memline.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 | ml_find_line(buf, lnum, action) | ^ memline.c:2088:9: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2088 | mf_put(mfp, buf->b_ml.ml_locked, buf->b_ml.ml_flags & ML_LOCKED_DIRTY, | ^ memline.c:2133:19: warning: passing arguments to 'mf_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2133 | if ((hp = mf_get(mfp, bnum, page_count)) == NULL) | ^ memline.c:2158:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2158 | EMSG("pointer block id wrong"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ memline.c:2188:26: warning: passing arguments to 'mf_trans_del' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2188 | bnum2 = mf_trans_del(mfp, bnum); | ^ memline.c:2203:10: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2203 | emsg2((char_u *)"line number out of range: %ld past the end", (char_u *)(lnum - buf->b_ml.ml_line_count)); | ^ memline.c:2206:10: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2206 | emsg2((char_u *)"line count wrong in block %ld", (char_u *)(bnum)); | ^ memline.c:2219:9: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2219 | mf_put(mfp, hp, dirty, FALSE); | ^ memline.c:2223:8: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2223 | mf_put(mfp, hp, FALSE, FALSE); | ^ memline.c:2244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2244 | ml_add_stack(buf) | ^ memline.c:2257:27: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2257 | newstack = (IPTR *)alloc((unsigned)sizeof(IPTR) * (buf->b_ml.ml_stack_size + STACK_INCR)); | ^ memline.c:2281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2281 | ml_lineadd(buf, count) | ^ memline.c:2294:19: warning: passing arguments to 'mf_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2294 | if ((hp = mf_get(mfp, ip->ip_bnum, 1)) == NULL) | ^ memline.c:2299:10: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2299 | mf_put(mfp, hp, FALSE, FALSE); | ^ memline.c:2300:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2300 | EMSG("pointer block id wrong 2"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ memline.c:2305:9: warning: passing arguments to 'mf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2305 | mf_put(mfp, hp, TRUE, FALSE); | ^ memline.c:2313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2313 | makeswapname(buf, second_try) | ^ memline.c:2320:13: warning: passing arguments to 'modname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2320 | r = modname(curbuf->b_xfilename, (char_u *)".swp"); | ^ memline.c:2330:17: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2330 | fname = gettail(r); | ^ memline.c:2335:11: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2335 | s = alloc((unsigned)(STRLEN(pdir) + STRLEN(fname) + 2)); | ^ memline.c:2339:23: warning: passing arguments to 'ispathsep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2339 | if (*s && !ispathsep(*(s + STRLEN(s) - 1))) /* don't add '/' after ':' */ | ^ memline.c:2353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2353 | findswapname(buf, second_try) | ^ memline.c:2395:15: warning: passing 'char *' to parameter of type 'char_u *' (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] 2395 | if (getperm(fileconvsto(fname)) < 0) /* it does not exist */ | ^~~~~~~~~~~~~~~~~~ ./proto/unix.pro:26:30: note: passing argument to parameter here 26 | long getperm __ARGS((char_u *)); | ^ memline.c:2464:8: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2464 | if (EMSG2(".swp file exists: An edit of file \"%s\" may not have been finished", buf->b_xfilename)) | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ memline.c:2466:16: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2466 | msg_outchar('\n'); | ^ memline.c:2467:16: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2467 | wait_return(FALSE); /* do call wait_return now */ | ^ 153 warnings generated. --- mkcmdtab --- cc -o mkcmdtab mkcmdtab.o --- regexp.o --- In file included from regexp.c:55: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from regexp.c:55: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from regexp.c:55: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from regexp.c:55: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here --- param.o --- In file included from param.c:18: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from param.c:18: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); --- regexp.o --- 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ regexp.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | ismult(c) | ^ regexp.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 | skip_regexp(p, dirc) | ^ In file included from regexp.c:55: In file included from ./proto.h:72: ./proto/regexp.pro:2:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2 | unsigned char *skip_regexp __PARMS((unsigned char *p, int dirc)); | ^ --- param.o --- | ^ In file included from param.c:18: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from param.c:18: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here --- regexp.o --- regexp.c:357:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | EMSG_RETURN(e_null); | ^ regexp.c:179:30: note: expanded from macro 'EMSG_RETURN' 179 | #define EMSG_RETURN(m) { emsg(m); return NULL; } | ^ regexp.c:382:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | EMSG_RETURN(e_toolong); | ^ regexp.c:179:30: note: expanded from macro 'EMSG_RETURN' 179 | #define EMSG_RETURN(m) { emsg(m); return NULL; } | ^ regexp.c:386:22: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- param.o --- 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ param.c:411:5: warning: assigning to 'char_u *' (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] 411 | p = setlocale(LC_CTYPE, ""); | ^ ~~~~~~~~~~~~~~~~~~~~~~~ param.c:451:14: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | p = strsave(p); | ^ param.c:461:13: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | p = gettail(p_sh); | ^ --- regexp.o --- 386 | r = (regexp *) alloc((unsigned) (sizeof(regexp) + regsize)); | ^ regexp.c:388:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | EMSG_RETURN(e_outofmem); | ^ regexp.c:179:30: note: expanded from macro 'EMSG_RETURN' 179 | #define EMSG_RETURN(m) { emsg(m); return NULL; } | ^ regexp.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 | regcomp(exp) | ^ In file included from regexp.c:55: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- param.o --- param.c:497:27: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | curbuf->b_p_jc = strsave(buf); | ^ param.c:497:18: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 497 | curbuf->b_p_jc = strsave(buf); | ^ ~~~~~~~~~~~~ param.c:526:27: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | curbuf->b_p_trs = strsave("as"); | ^ param.c:666:16: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- regexp.o --- 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ regexp.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 | reg(paren, flagp) | ^ regexp.c:479:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | EMSG_RETURN(e_toombra); | ^ regexp.c:179:30: note: expanded from macro 'EMSG_RETURN' 179 | #define EMSG_RETURN(m) { emsg(m); return NULL; } | ^ regexp.c:520:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | EMSG_RETURN(e_toombra); | ^ regexp.c:179:30: note: expanded from macro 'EMSG_RETURN' --- param.o --- 666 | msg_outchar('\n'); /* cursor below last one */ | ^ param.c:669:16: warning: passing arguments to 'gotocmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | gotocmdline(TRUE, NUL); /* cursor at status line */ | ^ param.c:794:24: warning: passing arguments to 'mch_restore_title' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | mch_restore_title((int *)varp == &p_title ? 1 : 2); | ^ --- regexp.o --- 179 | #define EMSG_RETURN(m) { emsg(m); return NULL; } | ^ regexp.c:523:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | EMSG_RETURN(e_toomket); | ^ regexp.c:179:30: note: expanded from macro 'EMSG_RETURN' 179 | #define EMSG_RETURN(m) { emsg(m); return NULL; } | ^ regexp.c:525:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | EMSG_RETURN(e_trailing);/* "Can't happen". */ | ^ regexp.c:179:30: note: expanded from macro 'EMSG_RETURN' 179 | #define EMSG_RETURN(m) { emsg(m); return NULL; } | ^ --- param.o --- param.c:828:20: warning: passing 'char_u *' (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] 828 | val |= atol(++p); | ^~~ /usr/include/stdlib.h:89:24: note: passing argument to parameter here 89 | long atol(const char *); | ^ param.c:831:21: warning: passing 'char_u *' (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] 831 | val &= ~atol(++p); | ^~~ /usr/include/stdlib.h:89:24: note: passing argument to parameter here --- regexp.o --- regexp.c:543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | regbranch(flagp) | ^ regexp.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | regpiece(flagp) | ^ regexp.c:600:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | EMSG_RETURN((char_u *)"*+ operand could be empty"); | ^ regexp.c:179:30: note: expanded from macro 'EMSG_RETURN' 179 | #define EMSG_RETURN(m) { emsg(m); return NULL; } | ^ regexp.c:631:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- param.o --- 89 | long atol(const char *); | ^ param.c:834:19: warning: passing 'char_u *' (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] 834 | val = atol(p); | ^ /usr/include/stdlib.h:89:24: note: passing argument to parameter here 89 | long atol(const char *); | ^ param.c:853:17: warning: passing arguments to 'win_equal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | win_equal(curwin, FALSE); | ^ --- regexp.o --- 631 | EMSG_RETURN((char_u *)"Nested *=+"); | ^ regexp.c:179:30: note: expanded from macro 'EMSG_RETURN' 179 | #define EMSG_RETURN(m) { emsg(m); return NULL; } | ^ regexp.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | regatom(flagp) | ^ regexp.c:715:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | EMSG_RETURN(e_invrange); | ^ regexp.c:179:30: note: expanded from macro 'EMSG_RETURN' 179 | #define EMSG_RETURN(m) { emsg(m); return NULL; } | ^ --- param.o --- param.c:863:15: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | s = alloc((unsigned)(STRLEN(arg) + 1)); /* get a bit too much */ | ^ param.c:883:15: warning: passing arguments to 'set_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | set_term(term_strings.t_name); | ^ param.c:886:12: warning: passing arguments to 'ttest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | ttest(FALSE); | ^ --- regexp.o --- regexp.c:727:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | EMSG_RETURN(e_invrange); | ^ regexp.c:179:30: note: expanded from macro 'EMSG_RETURN' 179 | #define EMSG_RETURN(m) { emsg(m); return NULL; } | ^ regexp.c:736:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | EMSG_RETURN(e_invrange); | ^ regexp.c:179:30: note: expanded from macro 'EMSG_RETURN' 179 | #define EMSG_RETURN(m) { emsg(m); return NULL; } | ^ --- param.o --- param.c:889:14: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | outstr(T_TP); | ^ param.c:890:20: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | updateScreen(CLEAR); | ^ param.c:901:12: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | emsg("single letter"); | ^ --- regexp.o --- regexp.c:779:5: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | EMSG_RETURN(e_toomsbra); | ^ regexp.c:179:30: note: expanded from macro 'EMSG_RETURN' 179 | #define EMSG_RETURN(m) { emsg(m); return NULL; } | ^ regexp.c:793:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | EMSG_RETURN(e_internal); /* Supposed to be caught earlier. */ | ^ regexp.c:179:30: note: expanded from macro 'EMSG_RETURN' 179 | #define EMSG_RETURN(m) { emsg(m); return NULL; } | ^ --- param.o --- param.c:902:17: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | s = alloc(2); | ^ param.c:915:12: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | emsg(JP_FSTR); | ^ param.c:925:12: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | emsg("key, display, and system"); | ^ --- regexp.o --- regexp.c:798:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | EMSG_RETURN((char_u *)"=+* follows nothing"); | ^ regexp.c:179:30: note: expanded from macro 'EMSG_RETURN' 179 | #define EMSG_RETURN(m) { emsg(m); return NULL; } | ^ regexp.c:817:5: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | EMSG_RETURN(e_nopresub); | ^ regexp.c:179:30: note: expanded from macro 'EMSG_RETURN' 179 | #define EMSG_RETURN(m) { emsg(m); return NULL; } | ^ regexp.c:847:5: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- param.o --- param.c:926:17: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | s = alloc(STRLEN(JP_DEF) + 1); | ^ param.c:931:13: warning: assigning to 'char *' from 'char_u *' (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] 931 | p_jp = s; | ^ ~ param.c:933:15: warning: assigning to 'char_u *' (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] 933 | for (cp = p_jp; *cp; cp++) --- regexp.o --- 847 | EMSG_RETURN((char_u *)"Illegal back reference"); | ^ regexp.c:179:30: note: expanded from macro 'EMSG_RETURN' 179 | #define EMSG_RETURN(m) { emsg(m); return NULL; } | ^ regexp.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | regnode(op) | ^ regexp.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | regc(b) | ^ regexp.c:941:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | regjp(b, k) | ^ --- param.o --- | ^ ~~~~ param.c:941:13: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | emsg(JP_STR); | ^ param.c:1153:19: warning: passing arguments to 'win_comp_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | win_comp_scroll(curwin); | ^ param.c:1195:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | emsg(IObuff); | ^ --- regexp.o --- regexp.c:943:10: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 943 | char_u k; | ^ regexp.c:183:38: note: previous declaration is here 183 | static void regjp __ARGS((int, char_u)); | ^ regexp.c:980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 980 | reginsert(op, opnd) | ^ regexp.c:1008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | regtail(p, val) | ^ regexp.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 | regoptail(p, val) | ^ --- param.o --- param.c:1200:14: warning: passing arguments to 'skiptospace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | skiptospace(&arg); /* skip to next white space */ | ^ param.c:1201:12: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | skipspace(&arg); /* skip spaces */ | ^ param.c:1224:12: warning: passing arguments to 'win_equal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1224 | win_equal(curwin, FALSE); | ^ --- regexp.o --- regexp.c:1060:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | initchr(str) | ^ regexp.c:1211:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | emsg(e_null); | ^ regexp.c:1216:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | emsg(e_re_corr); | ^ regexp.c:1223:13: warning: assigning to 'char_u *' (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] 1223 | while ((s = strjpchr(s, prog->regmust[0], prog->regmust[1])) != NULL) --- param.o --- param.c:1227:14: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1227 | msg_outchar('\n'); | ^ param.c:1228:14: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1228 | wait_return(TRUE); | ^ param.c:1231:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | updateScreen(NOT_VALID); | ^ param.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 | doset(arg) | ^ In file included from param.c:18: In file included from ./proto.h:70: --- regexp.o --- | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regexp.c:1228:16: warning: passing arguments to 'cstrncmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1228 | if (cstrncmp(s, prog->regmust, prog->regmlen) == 0) | ^ regexp.c:1258:13: warning: assigning to 'char_u *' (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] 1258 | while ((s = strjpchr(s, prog->regstart, NUL)) != NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regexp.c:1202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1202 | regexec(prog, string, at_bol) | ^ In file included from regexp.c:55: --- param.o --- ./proto/param.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | int doset __PARMS((unsigned char *arg)); | ^ param.c:1239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1239 | param_expand(i, dofree) | ^ param.c:1249:13: warning: passing arguments to 'expand_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1249 | expand_env(*(char_u **)(params[i].var), IObuff, IOSIZE); | ^ param.c:1250:14: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1250 | p = strsave(IObuff); --- regexp.o --- In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ regexp.c:1291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | regtry(prog, string) | ^ regexp.c:1328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1328 | regmatch(prog) | ^ regexp.c:1459:28: warning: passing arguments to 'cstrncmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- param.o --- | ^ param.c:1264:13: warning: passing arguments to 'expand_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | expand_env(&(*(char_u **)(params[i].var))[1], &IObuff[1], IOSIZE - 1); | ^ param.c:1266:14: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | p = strsave(IObuff); | ^ param.c:1282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | findparam(arg) | ^ param.c:1312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1312 | paramchanged(arg) | ^ In file included from param.c:18: --- regexp.o --- 1459 | if (len > 1 && cstrncmp(opnd, reginput, len) != 0) | ^ regexp.c:1582:18: warning: passing arguments to 'cstrncmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1582 | if (cstrncmp(regstartp[no], reginput, len) != 0) | ^ regexp.c:1656:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1656 | emsg(e_re_corr); | ^ regexp.c:1668:6: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1668 | emsg(e_re_corr); | ^ --- param.o --- In file included from ./proto.h:70: ./proto/param.pro:4: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] 4 | void paramchanged __PARMS((unsigned char *arg)); | ^ param.c:1328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1328 | showparams(all) | ^ param.c:1345:13: warning: passing arguments to 'gotocmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1345 | gotocmdline(TRUE, NUL); | ^ param.c:1346:12: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | msg_outstr((char_u *)"--- Parameters ---\n"); --- regexp.o --- regexp.c:1676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1676 | regrepeat(p) | ^ regexp.c:1749:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1749 | emsg(e_re_corr); | ^ regexp.c:1762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1762 | regnext(p) | ^ regexp.c:1971:21: warning: passing arguments to 'vim_strnicmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1971 | return vim_strnicmp(s1, s2, (size_t)n); | ^ --- param.o --- | ^ param.c:1369:41: warning: passing arguments to 'strsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | len = STRLEN(p->fullname) + strsize(*(char_u **)(varp)); | ^ param.c:1394:12: warning: passing arguments to 'msg_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1394 | msg_pos(-1, col); /* make columns */ | ^ param.c:1398:15: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | msg_outchar('\n'); /* scroll screen one line up */ --- regexp.o --- regexp.c:1959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1959 | cstrncmp(s1, s2, n) | ^ In file included from regexp.c:55: In file included from ./proto.h:72: ./proto/regexp.pro:5:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | int cstrncmp __PARMS((unsigned char *s1, unsigned char *s2, int n)); | ^ regexp.c:1978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1978 | cstrchr(s, c) | ^ In file included from regexp.c:55: In file included from ./proto.h:72: --- param.o --- | ^ param.c:1404:13: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1404 | wait_return(FALSE); | ^ param.c:1412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1412 | showonep(p) | ^ param.c:1421:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | msg_outstr((char_u *)"no"); | ^ param.c:1423:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1423 | msg_outstr((char_u *)" "); | ^ --- regexp.o --- ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ regexp.c:2016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2016 | strjpchr(s, c, k) | ^ regexp.c:2018:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 2018 | char_u c, k; | ^ regexp.c:184:48: note: previous declaration is here 184 | static char * strjpchr __ARGS((char_u *, char_u, char_u)); | ^ --- param.o --- param.c:1424:12: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1424 | msg_outstr((char_u *)p->fullname); | ^ param.c:1427:14: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1427 | msg_outchar('='); | ^ param.c:1431:14: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1431 | msg_outstr(buf); | ^ param.c:1437:17: warning: passing arguments to 'home_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- regexp.o --- regexp.c:2018:14: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 2018 | char_u c, k; | ^ regexp.c:184:56: note: previous declaration is here 184 | static char * strjpchr __ARGS((char_u *, char_u, char_u)); | ^ regexp.c:2031:12: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2031 | return(s); | ^~~ --- param.o --- 1437 | home_replace(*(char_u **)(varp), NameBuff, MAXPATHL); | ^ param.c:1438:17: warning: passing arguments to 'msg_outtrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1438 | msg_outtrans(NameBuff, -1); | ^ param.c:1457:17: warning: passing arguments to 'msg_outtrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1457 | msg_outtrans(*(char_u **)(varp), -1); | ^ param.c:1488:31: warning: passing arguments to 'putescstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1488 | if (s != NULL && putescstr(fd, s, TRUE) == FAIL) --- regexp.o --- regexp.c:2033:12: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2033 | return(s); | ^~~ regexp.c:2039:12: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2039 | return(s); | ^~~ regexp.c:2041:12: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2041 | return(s); --- param.o --- | ^ param.c:1467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1467 | makeset(fd) | ^ In file included from param.c:18: In file included from ./proto.h:70: ./proto/param.pro:5:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | int makeset __PARMS((FILE *fd)); | ^ param.c:1529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1529 | istermparam(p) | ^ param.c:1574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1574 | get_varp(p) | ^ --- regexp.o --- | ^~~ regexp.c:2043:12: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2043 | return(s); | ^~~ regexp.c:2055:13: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2055 | return s; | ^ regexp.c:2061:13: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] --- param.o --- param.c:1626:13: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1626 | default: EMSG("get_varp ERROR"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ param.c:1637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | win_copy_options(wp_from, wp_to) | ^ In file included from param.c:18: In file included from ./proto.h:70: ./proto/param.pro:8: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] --- regexp.o --- 2061 | return s; | ^ regexp.c:2063:13: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2063 | return s; | ^ regexp.c:2072:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2072 | mstrjpchr(s, c, k) | ^ regexp.c:2074:11: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 2074 | char_u c, k; | ^ regexp.c:185:49: note: previous declaration is here --- param.o --- 8 | void win_copy_options __PARMS((struct window *wp_from, struct window *wp_to)); | ^ param.c:1675:25: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1675 | bp_to->b_p_jc = strsave(bp_from->b_p_jc); | ^ param.c:1675:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1675 | bp_to->b_p_jc = strsave(bp_from->b_p_jc); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ param.c:1687:26: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | bp_to->b_p_trs = strsave(bp_from->b_p_trs); | ^ --- regexp.o --- 185 | static char * mstrjpchr __ARGS((char_u *, char_u, char_u)); | ^ regexp.c:2074:14: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 2074 | char_u c, k; | ^ regexp.c:185:57: note: previous declaration is here 185 | static char * mstrjpchr __ARGS((char_u *, char_u, char_u)); | ^ regexp.c:2095:13: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2095 | return(s); | ^~~ --- param.o --- param.c:1658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1658 | buf_copy_options(bp_from, bp_to) | ^ In file included from param.c:18: In file included from ./proto.h:70: ./proto/param.pro:9: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] 9 | void buf_copy_options __PARMS((struct buffer *bp_from, struct buffer *bp_to)); | ^ param.c:1700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1700 | set_context_in_set_cmd(arg) | ^ In file included from param.c:18: In file included from ./proto.h:70: --- regexp.o --- regexp.c:2097:13: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2097 | return(s); | ^~~ regexp.c:2103:13: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2103 | return(s); | ^~~ regexp.c:2105:13: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] --- param.o --- ./proto/param.pro:10: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] 10 | void set_context_in_set_cmd __PARMS((unsigned char *arg)); | ^ param.c:1836:27: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1836 | *file = (char_u **) alloc((unsigned)(*num_file * sizeof(char_u *))); | ^ param.c:1846:30: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1846 | (*file)[count++] = strsave((char_u *)"all"); | ^ --- regexp.o --- 2105 | return(s); | ^~~ regexp.c:2107:13: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2107 | return(s); | ^~~ regexp.c:2116:13: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2116 | return(s); | ^~~ --- param.o --- param.c:1848:30: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1848 | (*file)[count++] = strsave((char_u *)"termcap"); | ^ param.c:1866:30: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1866 | (*file)[count++] = strsave(str); | ^ param.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 | ExpandSettings(prog, num_file, file) | ^ In file included from param.c:18: In file included from ./proto.h:70: --- regexp.o --- regexp.c:2125:14: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2125 | return(s); | ^~~ regexp.c:2137:14: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2137 | return(s); | ^~~ regexp.c:2139:14: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] --- param.o --- ./proto/param.pro:11:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | int ExpandSettings __PARMS((struct regexp *prog, int *num_file, unsigned char ***file)); | ^ 85 warnings generated. --- regexp.o --- 2139 | return(s); | ^~~ regexp.c:2141:14: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2141 | return(s); | ^~~ regexp.c:2157:14: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2157 | return s; | ^ regexp.c:2163:14: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2163 | return s; | ^ regexp.c:2165:14: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2165 | return s; | ^ regexp.c:2182:16: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2182 | return s; | ^ regexp.c:2195:15: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2195 | return s; | ^ regexp.c:2197:15: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2197 | return s; | ^ regexp.c:2210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2210 | regstrext(exp) | ^ regexp.c:2819:26: warning: passing 'char_u *' (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] 2819 | if ((w = alloc(strlen(exp) + 1 + size)) == NULL) | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ regexp.c:2819:18: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2819 | if ((w = alloc(strlen(exp) + 1 + size)) == NULL) | ^ 93 warnings generated. --- s2u.o --- s2u.c:11291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11291 | sjis2ucs(sjis, len, utf) | ^ 1 warning generated. --- ops.o --- In file included from ops.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from ops.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from ops.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from ops.c:16: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ ops.c:71:13: warning: passing arguments to 'u_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | if (!u_save((linenr_t)(curwin->w_cursor.lnum - 1), (linenr_t)(curwin->w_cursor.lnum + nlines))) | ^ ops.c:76:23: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | first_char = *ml_get(curwin->w_cursor.lnum); | ^ ops.c:87:15: warning: passing arguments to 'shift_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | shift_line(op == LSHIFT, p_sr, amount); | ^ ops.c:97:11: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | beginline(TRUE); | ^ ops.c:99:14: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | updateScreen(CURSUPD); | ^ ops.c:102:51: warning: passing arguments to 'plural' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | smsg((char_u *)"%ld line%s %ced", nlines, plural(nlines), | ^ ops.c:102:7: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | smsg((char_u *)"%ld line%s %ced", nlines, plural(nlines), | ^ ops.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 | doshift(op, curs_top, amount) | ^ In file included from ops.c:16: In file included from ./proto.h:69: ./proto/ops.pro:2: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] 2 | void doshift __PARMS((int op, int curs_top, int amount)); | ^ ops.c:149:12: warning: passing arguments to 'set_indent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | set_indent(count, TRUE); /* set new indent */ | ^ ops.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 | shift_line(left, round, amount) | ^ In file included from ops.c:16: In file included from ./proto.h:69: ./proto/ops.pro:3: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] 3 | void shift_line __PARMS((int left, int round, int amount)); | ^ ops.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 | is_yank_buffer(c, write) | ^ In file included from ops.c:16: In file included from ./proto.h:69: ./proto/ops.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | int is_yank_buffer __PARMS((int c, int write)); | ^ ops.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 | get_yank_buffer(writing) | ^ ops.c:242:3: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | MSG(""); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ ops.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 | dorecord(c) | ^ In file included from ops.c:16: In file included from ./proto.h:69: ./proto/ops.pro:5:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | int dorecord __PARMS((int c)); | ^ ops.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 | stuff_yank(bufname, p) | ^ ops.c:275:14: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | lp = lalloc((long_u)(STRLEN(*pp) + STRLEN(p) + 1), TRUE); | ^ ops.c:290:45: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | if ((y_current->y_array = (char_u **)alloc((unsigned)sizeof(char_u *))) == NULL) | ^ ops.c:324:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | EMSG(e_nolastcmd); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ ops.c:329:18: warning: passing arguments to 'ins_typestr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | if (ins_typestr((char_u *)"\n", FALSE) == FAIL) | ^ ops.c:331:18: warning: passing arguments to 'ins_typestr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | if (ins_typestr(last_cmdline, FALSE) == FAIL) | ^ ops.c:346:20: warning: passing arguments to 'ins_typestr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | if (ins_typestr((char_u *)"\n", FALSE) == FAIL) | ^ ops.c:349:19: warning: passing arguments to 'ins_typestr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | if (ins_typestr(y_current->y_array[i], FALSE) == FAIL) | ^ ops.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 | doexecbuf(c) | ^ In file included from ops.c:16: In file included from ./proto.h:69: ./proto/ops.pro:6:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | int doexecbuf __PARMS((int c)); | ^ ops.c:383:17: warning: passing arguments to 'stuff_inserted' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | stuff_inserted(NUL, 1L, TRUE); | ^ ops.c:391:16: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | stuffReadbuff(curbuf->b_xfilename); | ^ ops.c:399:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | EMSG(e_nolastcmd); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ ops.c:402:16: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | stuffReadbuff(last_cmdline); | ^ ops.c:413:16: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | stuffReadbuff(y_current->y_array[i]); | ^ ops.c:416:17: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | stuffReadbuff((char_u *)"\n"); | ^ ops.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | insertbuf(c) | ^ In file included from ops.c:16: In file included from ./proto.h:69: ./proto/ops.pro:7:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | int insertbuf __PARMS((int c)); | ^ ops.c:441:15: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | ptr = ml_get(curbuf->b_endop.lnum) + curbuf->b_endop.col + mincl; | ^ ops.c:442:12: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | skipspace(&ptr); | ^ ops.c:459:13: warning: passing arguments to 'doyank' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | if (doyank(TRUE) == OK) | ^ ops.c:487:31: warning: passing arguments to 'doyank' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | if (yankbuffer == 0 && doyank(TRUE) == OK) | ^ ops.c:492:16: warning: passing arguments to 'ask_yesno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | if (ask_yesno((char_u *)"cannot yank; delete anyway") != 'y') | ^ ops.c:494:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | emsg(e_abort); | ^ ops.c:504:14: warning: passing arguments to 'u_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | if (!u_save((linenr_t)(curbuf->b_startop.lnum - 1), (linenr_t)(curbuf->b_endop.lnum + 1))) | ^ ops.c:518:16: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | old = ml_get(curwin->w_cursor.lnum); | ^ ops.c:519:15: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | new = alloc((unsigned)STRLEN(old) + 1 - n); | ^ ops.c:525:15: warning: passing arguments to 'copy_spaces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | copy_spaces(new + textcol, (size_t)(startspaces + endspaces)); | ^ ops.c:531:14: warning: passing arguments to 'ml_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | ml_replace(curwin->w_cursor.lnum, new, FALSE); | ^ ops.c:535:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | updateScreen(VALID_TO_CURSCHAR); | ^ ops.c:542:12: warning: passing arguments to 'dellines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | dellines((long)(nlines - 1), TRUE, TRUE); | ^ ops.c:547:14: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | beginline(TRUE); /* put cursor on first non-white */ | ^ ops.c:550:18: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | while (delchar(FALSE) == OK) /* slow but simple */ | ^ ops.c:557:12: warning: passing arguments to 'dellines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | dellines(nlines, TRUE, TRUE); | ^ ops.c:563:12: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | beginline(TRUE); | ^ ops.c:571:15: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | if (delchar(TRUE) == FAIL) | ^ ops.c:580:15: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | if (delchar(TRUE) == FAIL) | ^ ops.c:585:11: warning: passing arguments to 'dellines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | dellines((long)(nlines - 2), TRUE, TRUE); /* includes save for undo */ | ^ ops.c:592:15: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | if (delchar(TRUE) == FAIL) | ^ ops.c:595:15: warning: passing arguments to 'dojoin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | (void)dojoin(FALSE, TRUE); | ^ ops.c:604:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | updateScreen(CURSUPD); | ^ ops.c:606:9: warning: passing arguments to 'msgmore' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | msgmore(curbuf->b_ml.ml_line_count - old_lcount); | ^ ops.c:623:13: warning: passing arguments to 'u_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | if (!u_save((linenr_t)(curbuf->b_startop.lnum - 1), (linenr_t)(curbuf->b_endop.lnum + 1))) | ^ ops.c:635:13: warning: passing arguments to 'swapchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | swapchar(&pos); | ^ ops.c:636:12: warning: passing arguments to 'inc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | if (inc(&pos) == -1) /* at end of file */ | ^ ops.c:646:40: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | curbuf->b_endop.col = STRLEN(ml_get(curbuf->b_endop.lnum)); | ^ ops.c:651:7: warning: passing arguments to 'dec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | dec(&(curbuf->b_endop)); | ^ ops.c:655:12: warning: passing arguments to 'swapchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | swapchar(&pos); | ^ ops.c:656:11: warning: passing arguments to 'inc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | if (inc(&pos) == -1) /* at end of file */ | ^ ops.c:667:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | updateScreen(CURSUPD); | ^ ops.c:670:51: warning: passing arguments to 'plural' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | smsg((char_u *)"%ld line%s ~ed", nlines, plural(nlines)); | ^ ops.c:670:8: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | smsg((char_u *)"%ld line%s ~ed", nlines, plural(nlines)); | ^ ops.c:684:11: warning: passing arguments to 'gchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | c = gchar(pos); | ^ ops.c:696:17: warning: passing arguments to 'gchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | c2 = k = gchar(&pos2); | ^ ops.c:701:4: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | pchar(*pos, c1); | ^ ./macros.h:16:35: note: expanded from macro 'pchar' 16 | #define pchar(lp, c) (*(ml_get_buf(curbuf, (lp).lnum, TRUE) + (lp).col) = (c)) | ^ ops.c:702:4: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | pchar(pos2, c2); | ^ ./macros.h:16:35: note: expanded from macro 'pchar' 16 | #define pchar(lp, c) (*(ml_get_buf(curbuf, (lp).lnum, TRUE) + (lp).col) = (c)) | ^ ops.c:712:3: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | pchar(*pos, toupper(c)); | ^ ./macros.h:16:35: note: expanded from macro 'pchar' 16 | #define pchar(lp, c) (*(ml_get_buf(curbuf, (lp).lnum, TRUE) + (lp).col) = (c)) | ^ ops.c:717:3: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | pchar(*pos, tolower(c)); | ^ ./macros.h:16:35: note: expanded from macro 'pchar' 16 | #define pchar(lp, c) (*(ml_get_buf(curbuf, (lp).lnum, TRUE) + (lp).col) = (c)) | ^ ops.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 | swapchar(pos) | ^ In file included from ops.c:16: In file included from ./proto.h:69: ./proto/ops.pro:10: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] 10 | void swapchar __PARMS((struct fpos *pos)); | ^ ops.c:735:37: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | if ((l > curwin->w_cursor.col) && !lineempty(curwin->w_cursor.lnum)) | ^ ./macros.h:32:30: note: expanded from macro 'lineempty' 32 | #define lineempty(p) (*ml_get(p) == NUL) | ^ ops.c:738:13: warning: passing arguments to 'startinsert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | startinsert(NUL, FALSE, (linenr_t)1); | ^ ops.c:761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | free_yank(n) | ^ ops.c:771:9: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | smsg((char_u *)"freeing %ld lines", i + 1); | ^ ops.c:777:4: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | MSG(""); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ ops.c:842:40: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | y_current->y_array = (char_u **)lalloc((long_u)(sizeof(char_u *) * yanklines), TRUE); | ^ ops.c:862:21: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | if ((pnew = alloc(startspaces + endspaces + textlen + 1)) == NULL) | ^ ops.c:865:15: warning: passing arguments to 'copy_spaces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | copy_spaces(pnew, (size_t)startspaces); | ^ ops.c:869:15: warning: passing arguments to 'copy_spaces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | copy_spaces(pnew, (size_t)endspaces); | ^ ops.c:891:50: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | if ((y_current->y_array[0] = strnsave(ml_get(lnum) + curbuf->b_startop.col, (int)j)) == NULL) | ^ ops.c:891:43: warning: passing arguments to 'strnsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | if ((y_current->y_array[0] = strnsave(ml_get(lnum) + curbuf->b_startop.col, (int)j)) == NULL) | ^ ops.c:900:47: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | if ((y_current->y_array[0] = strsave(ml_get(lnum++) + curbuf->b_startop.col)) == NULL) | ^ ops.c:900:40: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | if ((y_current->y_array[0] = strsave(ml_get(lnum++) + curbuf->b_startop.col)) == NULL) | ^ ops.c:907:47: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | if ((y_current->y_array[i] = strsave(ml_get(lnum++))) == NULL) | ^ ops.c:907:40: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | if ((y_current->y_array[i] = strsave(ml_get(lnum++))) == NULL) | ^ ops.c:913:48: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | if ((y_current->y_array[i] = strnsave(ml_get(yankendlnum), curbuf->b_endop.col + 1 - !mincl)) == NULL) | ^ ops.c:913:41: warning: passing arguments to 'strnsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | if ((y_current->y_array[i] = strnsave(ml_get(yankendlnum), curbuf->b_endop.col + 1 - !mincl)) == NULL) | ^ ops.c:925:30: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | new_ptr = (char_u **)lalloc((long_u)(sizeof(char_u *) * (curr->y_size + y_current->y_size)), TRUE); | ^ ops.c:938:18: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | pnew = lalloc((long_u)(STRLEN(curr->y_array[curr->y_size - 1]) + STRLEN(y_current->y_array[0]) + 1), TRUE); | ^ ops.c:966:57: warning: passing arguments to 'plural' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | smsg((char_u *)"%ld line%s yanked", yanklines, plural(yanklines)); | ^ ops.c:966:8: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | smsg((char_u *)"%ld line%s yanked", yanklines, plural(yanklines)); | ^ ops.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | doyank(deleting) | ^ In file included from ops.c:16: In file included from ./proto.h:69: ./proto/ops.pro:13:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | int doyank __PARMS((int deleting)); | ^ ops.c:1024:17: warning: passing arguments to 'stuff_inserted' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | stuff_inserted(commandchar, count, FALSE); | ^ ops.c:1031:21: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | stuffcharReadbuff(commandchar); | ^ ops.c:1032:17: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | stuffReadbuff(curbuf->b_xfilename); | ^ ops.c:1033:21: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | stuffcharReadbuff(ESC); | ^ ops.c:1040:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | EMSG(e_nolastcmd); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ ops.c:1043:21: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | stuffcharReadbuff(commandchar); | ^ ops.c:1044:17: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1044 | stuffReadbuff(last_cmdline); | ^ ops.c:1045:21: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | stuffcharReadbuff(ESC); | ^ ops.c:1066:3: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | EMSG2("Nothing in register %s", temp); | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ ops.c:1075:14: warning: passing arguments to 'u_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | if (!u_save(curwin->w_cursor.lnum - 1, lnum)) | ^ ops.c:1094:17: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | col = getvcol(curwin, &curwin->w_cursor, 3) + 1; | ^ ops.c:1098:17: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | col = getvcol(curwin, &curwin->w_cursor, 2); | ^ ops.c:1110:14: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | ml_append(curbuf->b_ml.ml_line_count, (char_u *)"", (colnr_t)1, FALSE); | ^ ops.c:1113:16: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | old = ml_get(curwin->w_cursor.lnum); | ^ ops.c:1127:23: warning: passing arguments to 'chartabsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | incr = chartabsize(*ptr, (long)vcol); | ^ ops.c:1161:15: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1161 | new = alloc((unsigned)totlen + oldlen + 1); | ^ ops.c:1169:15: warning: passing arguments to 'copy_spaces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | copy_spaces(ptr, (size_t)startspaces); | ^ ops.c:1178:15: warning: passing arguments to 'copy_spaces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | copy_spaces(ptr, (size_t)endspaces); | ^ ops.c:1183:14: warning: passing arguments to 'ml_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1183 | ml_replace(curwin->w_cursor.lnum, new, FALSE); | ^ ops.c:1193:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | updateScreen(VALID_TO_CURSCHAR); | ^ ops.c:1231:17: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | old = ml_get(lnum); | ^ ops.c:1232:16: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | new = alloc((unsigned)(STRLEN(old) + totlen + 1)); | ^ ops.c:1243:15: warning: passing arguments to 'ml_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1243 | ml_replace(lnum, new, FALSE); | ^ ops.c:1267:18: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1267 | ptr = ml_get(lnum) + col; | ^ ops.c:1269:17: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1269 | new = alloc((unsigned)(STRLEN(ptr) + totlen + 1)); | ^ ops.c:1274:15: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1274 | ml_append(lnum, new, (colnr_t)0, FALSE); /* insert second line */ | ^ ops.c:1278:18: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | old = ml_get(lnum); | ^ ops.c:1279:17: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | new = alloc((unsigned)(col + yanklen + 1)); | ^ ops.c:1287:16: warning: passing arguments to 'ml_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | ml_replace(lnum, new, FALSE); | ^ ops.c:1295:19: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1295 | if (ml_append(lnum++, y_array[i++], (colnr_t)0, FALSE) == FAIL) | ^ ops.c:1300:36: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1300 | if (curbuf->b_p_si && *ml_get(lnum) == '#') | ^ ops.c:1310:17: warning: passing arguments to 'set_indent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1310 | set_indent(indent, TRUE); | ^ ops.c:1325:18: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | updateScreen(NOT_VALID); /* recompute curwin->w_botline */ | ^ ops.c:1329:14: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1329 | beginline(TRUE); | ^ ops.c:1354:15: warning: passing arguments to 'mark_adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1354 | mark_adjust(curbuf->b_startop.lnum + (y_type == MCHAR), MAXLNUM, nlines); | ^ ops.c:1355:16: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1355 | updateScreen(CURSUPD); | ^ ops.c:1363:9: warning: passing arguments to 'msgmore' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | msgmore(nlines); | ^ ops.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 | doput(dir, count, fix_indent) | ^ In file included from ops.c:16: In file included from ./proto.h:69: ./proto/ops.pro:14: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] 14 | void doput __PARMS((int dir, long count, int fix_indent)); | ^ ops.c:1378:13: warning: passing arguments to 'gotocmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1378 | gotocmdline(TRUE, NUL); | ^ ops.c:1380:12: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1380 | msg_outstr((char_u *)"--- Registers ---"); | ^ ops.c:1405:15: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | msg_outchar('\n'); | ^ ops.c:1407:15: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1407 | msg_outstr((char_u *)"\"\""); | ^ ops.c:1410:16: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | msg_outchar('"'); | ^ ops.c:1412:17: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1412 | msg_outchar(i + '0'); | ^ ops.c:1418:17: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1418 | msg_outchar(i + 'a' - 10); | ^ ops.c:1420:14: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1420 | msg_outstr((char_u *)" "); | ^ ops.c:1427:16: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1427 | msg_outstr((char_u *)"^J"); | ^ ops.c:1433:23: warning: passing arguments to 'msg_outtrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | n -= msg_outtrans(p, -1); | ^ ops.c:1435:23: warning: passing arguments to 'msg_outtrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1435 | n -= msg_outtrans(p, n); | ^ ops.c:1450:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1450 | msg_outstr((char_u *)"\n\". "); | ^ ops.c:1451:10: warning: passing arguments to 'dis_msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1451 | dis_msg(p, TRUE); | ^ ops.c:1459:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1459 | msg_outstr((char_u *)"\n\": "); | ^ ops.c:1460:10: warning: passing arguments to 'dis_msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1460 | dis_msg(last_cmdline, FALSE); | ^ ops.c:1468:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1468 | msg_outstr((char_u *)"\n\"% "); | ^ ops.c:1469:10: warning: passing arguments to 'dis_msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | dis_msg(curbuf->b_xfilename, FALSE); | ^ ops.c:1489:39: warning: passing arguments to 'charsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1489 | (n -= ISkanji(*p) ? 2 : charsize(*p)) >= 0) | ^ ops.c:1492:16: warning: passing arguments to 'msg_outtrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | msg_outtrans(p, 2); | ^ ops.c:1496:16: warning: passing arguments to 'msg_outtrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1496 | msg_outtrans(p++, 1); | ^ ops.c:1480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1480 | dis_msg(p, skip_esc) | ^ In file included from ops.c:16: In file included from ./proto.h:69: ./proto/ops.pro:16: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] 16 | void dis_msg __PARMS((unsigned char *p, int skip_esc)); | ^ ops.c:1513:13: warning: passing arguments to 'u_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1513 | if (!u_save((linenr_t)(curwin->w_cursor.lnum - 1), (linenr_t)(curwin->w_cursor.lnum + count))) | ^ ops.c:1517:13: warning: passing arguments to 'dojoin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1517 | if (dojoin(insert_space, redraw) == FAIL) | ^ ops.c:1524:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1524 | updateScreen(VALID_TO_CURSCHAR); | ^ ops.c:1508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1508 | dodojoin(count, insert_space, redraw) | ^ In file included from ops.c:16: In file included from ./proto.h:69: ./proto/ops.pro:17: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] 17 | void dodojoin __PARMS((long count, int insert_space, int redraw)); | ^ ops.c:1550:24: warning: passing arguments to 'plines_m' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1550 | rows_to_del = plines_m(curwin->w_cursor.lnum, curwin->w_cursor.lnum + 1); | ^ ops.c:1552:15: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1552 | curr = ml_get(curwin->w_cursor.lnum); | ^ ops.c:1562:15: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | next = ml_get((linenr_t)(curwin->w_cursor.lnum + 1)); | ^ ops.c:1566:12: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1566 | skipspace(&next); | ^ ops.c:1593:13: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1593 | new = alloc((unsigned)(currsize + nextsize + spaces + 1)); | ^ ops.c:1604:15: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1604 | curr = ml_get(curwin->w_cursor.lnum); | ^ ops.c:1607:13: warning: passing arguments to 'copy_spaces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1607 | copy_spaces(new + currsize, (size_t)spaces); | ^ ops.c:1609:12: warning: passing arguments to 'ml_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1609 | ml_replace(curwin->w_cursor.lnum, new, FALSE); | ^ ops.c:1618:10: warning: passing arguments to 'dellines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1618 | dellines(1L, FALSE, FALSE); | ^ ops.c:1627:24: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | rows_to_del -= plines(curwin->w_cursor.lnum); | ^ ops.c:1629:17: warning: passing arguments to 'win_del_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1629 | win_del_lines(curwin, curwin->w_row, rows_to_del, TRUE, TRUE); | ^ ops.c:1533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1533 | dojoin(insert_space, redraw) | ^ In file included from ops.c:16: In file included from ./proto.h:69: ./proto/ops.pro:18:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | int dojoin __PARMS((int insert_space, int redraw)); | ^ ops.c:1661:12: warning: passing arguments to 'coladvance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1661 | coladvance(MAXCOL); | ^ ops.c:1664:14: warning: passing arguments to 'curs_columns' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1664 | curs_columns(FALSE); /* update curwin->w_virtcol */ | ^ ops.c:1669:12: warning: passing arguments to 'insertchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1669 | insertchar(NUL, NUL); | ^ ops.c:1674:14: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1674 | updateScreen(NOT_VALID); | ^ ops.c:1690:26: warning: passing arguments to 'AppendNumberToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1690 | AppendNumberToRedobuff(count); | ^ ops.c:1691:24: warning: passing arguments to 'AppendCharToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | AppendCharToRedobuff(initstr); | ^ ops.c:1710:6: warning: passing arguments to 'edit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1710 | edit(count); | ^ ops.c:1678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1678 | startinsert(initstr, startln, count) | ^ In file included from ops.c:16: In file included from ./proto.h:69: ./proto/ops.pro:20: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] 20 | void startinsert __PARMS((int initstr, int startln, long count)); | ^ ops.c:1737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1737 | block_prep(lnum, delete) | ^ ops.c:1750:20: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1750 | textstart = ml_get(lnum); | ^ ops.c:1766:21: warning: passing arguments to 'chartabsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1766 | incr = chartabsize(*textstart, (long)vcol); | ^ ops.c:1815:23: warning: passing arguments to 'chartabsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1815 | incr = chartabsize(*pend, (long)vcol); | ^ ops.c:1830:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1830 | else | ^ ops.c:1866:14: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1866 | ptr = ml_get(curwin->w_cursor.lnum); | ^ ops.c:1889:15: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1889 | ptr = ml_get(curwin->w_cursor.lnum); /* get it again, because of undo */ | ^ ops.c:1943:17: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1943 | (void)delchar(FALSE); | ^ ops.c:1956:9: warning: passing arguments to 'insstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1956 | insstr(buf); /* insert the new number */ | ^ ops.c:1853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1853 | doaddsub(command, Prenum1) | ^ In file included from ops.c:16: In file included from ./proto.h:69: ./proto/ops.pro:21:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | int doaddsub __PARMS((int command, long Prenum1)); | ^ 204 warnings generated. --- term.o --- In file included from term.c:21: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from term.c:21: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from term.c:21: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from term.c:21: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ term.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 | parse_builtin_tcap(tc, s) | ^ term.c:188:14: warning: passing arguments to 'tgetent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | i = tgetent(tbuf, term); | ^ term.c:191:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | EMSG("Cannot open termcap file"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ term.c:196:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | EMSG("terminal entry not found"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ term.c:203:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | T_EL = TGETSTR("ce", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:204:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | T_IL = TGETSTR("al", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:205:12: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | T_CIL = TGETSTR("AL", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:206:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | T_DL = TGETSTR("dl", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:207:12: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | T_CDL = TGETSTR("DL", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:208:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | T_CS = TGETSTR("cs", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:209:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | T_ED = TGETSTR("cl", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:213:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | T_CV = TGETSTR("ve", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:214:12: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | T_CVV = TGETSTR("vs", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:215:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | T_TP = TGETSTR("me", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:216:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | T_TI = TGETSTR("mr", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:217:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | T_TB = TGETSTR("md", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:218:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | T_SE = TGETSTR("se", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:219:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | T_SO = TGETSTR("so", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:220:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | T_CM = TGETSTR("cm", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:221:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | T_SR = TGETSTR("sr", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:222:12: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | T_CRI = TGETSTR("RI", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:223:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | T_VB = TGETSTR("vb", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:224:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | T_KS = TGETSTR("ks", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:225:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | T_KE = TGETSTR("ke", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:226:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | T_TS = TGETSTR("ti", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:227:11: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | T_TE = TGETSTR("te", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:236:24: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | term_strings.t_ku = TGETSTR("ku", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:237:24: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | term_strings.t_kd = TGETSTR("kd", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:238:24: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | term_strings.t_kl = TGETSTR("kl", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:242:24: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | term_strings.t_kr = TGETSTR("kr", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:256:26: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | term_strings.t_sku = TGETSTR("kP", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:257:26: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | term_strings.t_skd = TGETSTR("kN", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:261:26: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | term_strings.t_sku = TGETSTR("kR", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:262:26: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | term_strings.t_skd = TGETSTR("kF", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:265:25: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | term_strings.t_skl = TGETSTR("#4", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:266:25: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | term_strings.t_skr = TGETSTR("%i", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:267:24: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | term_strings.t_f1 = TGETSTR("k1", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:268:24: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | term_strings.t_f2 = TGETSTR("k2", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:269:24: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | term_strings.t_f3 = TGETSTR("k3", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:270:24: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | term_strings.t_f4 = TGETSTR("k4", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:271:24: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | term_strings.t_f5 = TGETSTR("k5", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:272:24: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | term_strings.t_f6 = TGETSTR("k6", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:273:24: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | term_strings.t_f7 = TGETSTR("k7", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:274:24: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | term_strings.t_f8 = TGETSTR("k8", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:275:24: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | term_strings.t_f9 = TGETSTR("k9", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:276:25: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | term_strings.t_f10 = TGETSTR("k;", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:277:25: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | term_strings.t_sf1 = TGETSTR("F1", &tp); /* really function keys 11-20 */ | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:278:25: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | term_strings.t_sf2 = TGETSTR("F2", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:279:25: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | term_strings.t_sf3 = TGETSTR("F3", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:280:25: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | term_strings.t_sf4 = TGETSTR("F4", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:281:25: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | term_strings.t_sf5 = TGETSTR("F5", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:282:25: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | term_strings.t_sf6 = TGETSTR("F6", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:283:25: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | term_strings.t_sf7 = TGETSTR("F7", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:284:25: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | term_strings.t_sf8 = TGETSTR("F8", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:285:25: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | term_strings.t_sf9 = TGETSTR("F9", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:286:26: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | term_strings.t_sf10 = TGETSTR("FA", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:287:26: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | term_strings.t_help = TGETSTR("%1", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:288:26: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | term_strings.t_undo = TGETSTR("&8", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:290:20: warning: passing arguments to 'tgetnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | height = tgetnum("li"); | ^ term.c:291:19: warning: passing arguments to 'tgetnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | width = tgetnum("co"); | ^ term.c:293:19: warning: passing arguments to 'tgetflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | T_MS = tgetflag("ms") ? (char_u *)"yes" : (char_u *)NULL; | ^ term.c:296: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] 296 | BC = (char *)TGETSTR("bc", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:297: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] 297 | UP = (char *)TGETSTR("up", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:298:8: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | p = TGETSTR("pc", &tp); | ^ term.c:140:41: note: expanded from macro 'TGETSTR' 140 | # define TGETSTR(s, p) (char_u *)tgetstr((s), (char *)(p)) | ^ term.c:331:33: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | term_strings.t_name = strsave(term = *p); | ^ term.c:358:7: warning: passing arguments to 'ttest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | ttest(TRUE); | ^ term.c:371:13: warning: passing arguments to 'set_winsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | set_winsize(width, height, FALSE); /* may change Rows */ | ^ term.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 | set_term(term) | ^ In file included from term.c:21: In file included from ./proto.h:77: ./proto/term.pro:2: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] 2 | void set_term __PARMS((unsigned char *term)); | ^ term.c:385:44: warning: passing arguments to 'tgetent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | if (term_strings.t_name != NULL && tgetent(tbuf, term_strings.t_name) > 0) | ^ term.c:388:21: warning: passing arguments to 'tgetnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | Columns = tgetnum("co"); | ^ term.c:390: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] 390 | Rows = tgetnum("li"); | ^ term.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | tltoa(i) | ^ term.c:395:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 395 | static char_u *tltoa __PARMS((unsigned long)); | ^ term.c:482:31: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | term_strings.t_name = strsave(term); | ^ term.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | termcapinit(term) | ^ In file included from term.c:21: In file included from ./proto.h:77: ./proto/term.pro:4: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] 4 | void termcapinit __PARMS((unsigned char *term)); | ^ term.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | outchar(c) | ^ In file included from term.c:21: In file included from ./proto.h:77: ./proto/term.pro:6: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] 6 | void outchar __PARMS((unsigned int c)); | ^ term.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | outchar2(c1, c2) | ^ In file included from term.c:21: In file included from ./proto.h:77: ./proto/term.pro:8: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] 8 | void outchar2 __PARMS((unsigned int c1, unsigned int c2)); | ^ term.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | outstrn(s) | ^ In file included from term.c:21: In file included from ./proto.h:77: ./proto/term.pro:10: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] 10 | void outstrn __PARMS((unsigned char *s)); | ^ term.c:591: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] 591 | tputs(s, 1, TPUTSFUNCAST outchar); | ^ term.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | outstr(s) | ^ In file included from term.c:21: In file included from ./proto.h:77: ./proto/term.pro:11: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] 11 | void outstr __PARMS((unsigned char *s)); | ^ term.c:610: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] 610 | OUTSTR(tgoto((char *)T_CM, col, row)); | ^ term.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | windgoto(row, col) | ^ In file included from term.c:21: In file included from ./proto.h:77: ./proto/term.pro:12: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] 12 | void windgoto __PARMS((int row, int col)); | ^ term.c:642:6: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | EMSG(buf); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ term.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | ttest(pairs) | ^ In file included from term.c:21: In file included from ./proto.h:77: ./proto/term.pro:14: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] 14 | void ttest __PARMS((int pairs)); | ^ term.c:808:6: warning: assigning to 'char *' from 'char_u *' (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] 808 | top = buf; | ^ ~~~ term.c:818:26: warning: passing 'char *' to parameter of type 'char_u *' (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] 818 | tmplen = kanjiconvsfrom(top, len, tmp, IOSIZE, round, JP_KEY, &kanji); | ^~~ ./proto/kanji.pro:22:36: note: passing argument to parameter here 22 | int kanjiconvsfrom __ARGS((char_u*, int, char_u*, int, char*, char, int*)); | ^ term.c:818:36: warning: passing 'char[1025]' to parameter of type 'char_u *' (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] 818 | tmplen = kanjiconvsfrom(top, len, tmp, IOSIZE, round, JP_KEY, &kanji); | ^~~ ./proto/kanji.pro:22:50: note: passing argument to parameter here 22 | int kanjiconvsfrom __ARGS((char_u*, int, char_u*, int, char*, char, int*)); | ^ term.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | inchar(buf, maxlen, time) | ^ In file included from term.c:21: In file included from ./proto.h:77: ./proto/term.pro:15:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | int inchar __PARMS((unsigned char *buf, int maxlen, int time)); | ^ term.c:877:17: warning: passing arguments to 'del_typestr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 877 | del_typestr(slen - 2); | ^ term.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 | check_termcode(buf) | ^ In file included from term.c:21: In file included from ./proto.h:77: ./proto/term.pro:16:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | int check_termcode __PARMS((unsigned char *buf)); | ^ term.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 | outnum(n) | ^ In file included from term.c:21: In file included from ./proto.h:77: ./proto/term.pro:17: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] 17 | void outnum __PARMS((long n)); | ^ term.c:960:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | updateScreen(CURSUPD); | ^ term.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | set_winsize(width, height, mustset) | ^ In file included from term.c:21: In file included from ./proto.h:77: ./proto/term.pro:19: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] 19 | void set_winsize __PARMS((int width, int height, int mustset)); | ^ term.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 | settmode(raw) | ^ In file included from term.c:21: In file included from ./proto.h:77: ./proto/term.pro:20: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] 20 | void settmode __PARMS((int raw)); | ^ term.c:1032: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] 1032 | OUTSTR(tgoto((char *)T_CS, wp->w_winpos + wp->w_height - 1, wp->w_winpos)); | ^ term.c:1029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | scroll_region_set(wp) | ^ In file included from term.c:21: In file included from ./proto.h:77: ./proto/term.pro:25: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] 25 | void scroll_region_set __PARMS((struct window *wp)); | ^ term.c:1041: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] 1041 | OUTSTR(tgoto((char *)T_CS, (int)Rows - 1, 0)); | ^ 115 warnings generated. --- track.o --- In file included from track.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from track.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from track.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from track.c:15: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ track.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 | tracktab_sw(tname) | ^ track.c:96:7: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | smsg("%s unknown track character set.", tname); | ^ track.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 | tracktab_next(tset) | ^ In file included from track.c:15: In file included from ./proto.h:34: ./proto/track.pro:2: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] 2 | char *tracktab_next __PARMS((char *tset)); | ^ track.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 | tracktab_prev(tset) | ^ In file included from track.c:15: In file included from ./proto.h:34: ./proto/track.pro:3: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] 3 | char *tracktab_prev __PARMS((char *tset)); | ^ track.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 | track_vcol(line, cvcol, mode) | ^ track.c:162:22: warning: passing arguments to 'chartabsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | vcol += chartabsize(* line++, vcol); | ^ track.c:170:10: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result 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 | return line; | ^~~~ track.c:172:10: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result 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 | return vcol == cvcol ? line: ctop; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ track.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | track_has_arc(ptr, tc, dir) | ^ track.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | track_code(move, vstart, vend) | ^ track.c:207:15: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | line = ml_get(curwin->w_cursor.lnum); | ^ track.c:213:30: warning: assigning to 'char_u *' (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] 213 | if (!(code & TK_L) && ((ptr = track_vcol(line, vstart, TV_PREV)) != NULL)) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ track.c:219:42: warning: passing 'char_u *' (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] 219 | if (ptr - line >= len && track_has_arc(ptr - len, tc, TK_R)) | ^~~~~~~~~ track.c:224:30: warning: assigning to 'char_u *' (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] 224 | if (!(code & TK_R) && ((ptr = track_vcol(line, vend, TV_NEXT)) != NULL)) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ track.c:230:21: warning: passing 'char_u *' (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 | if (track_has_arc(ptr, tc, TK_L)) | ^~~ track.c:238:27: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | ptr = track_vcol(ml_get(i), vstart, TV_JUST); | ^ track.c:238:8: warning: assigning to 'char_u *' (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] 238 | ptr = track_vcol(ml_get(i), vstart, TV_JUST); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ track.c:243:29: warning: passing 'char_u *' (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] 243 | if (ptr && track_has_arc(ptr, tc, TK_D)) | ^~~ track.c:253:27: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | ptr = track_vcol(ml_get(i), vstart, TV_JUST); | ^ track.c:253:8: warning: assigning to 'char_u *' (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] 253 | ptr = track_vcol(ml_get(i), vstart, TV_JUST); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ track.c:258:29: warning: passing 'char_u *' (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] 258 | if (ptr && track_has_arc(ptr, tc, TK_U)) | ^~~ track.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | track_ins(dir) | ^ track.c:286:13: warning: passing arguments to 'u_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | if (!u_save(curwin->w_cursor.lnum - 1, curwin->w_cursor.lnum + 1)) | ^ track.c:289:14: warning: passing 'char_u *' (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] 289 | tracktab_sw(curbuf->b_p_trs); | ^~~~~~~~~~~~~~~ track.c:308:15: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | line = ml_get(curwin->w_cursor.lnum); | ^ track.c:361:6: warning: assigning to 'char_u *' (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] 361 | ins = tracktab->ch[track_code(dir, vstart, vend)]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ track.c:363:8: warning: assigning to 'char_u *' (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] 363 | nextp = track_vcol(line, vend, TV_NEXT); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ track.c:364:8: warning: assigning to 'char_u *' (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] 364 | prevp = track_vcol(line, vstart, TV_PREV); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ track.c:389:10: warning: passing arguments to 'delchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | delchar(FALSE); | ^ track.c:394:10: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | inschar(' ', NUL); | ^ track.c:403:10: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | inschar(*ins, *(ins + 1)); | ^ track.c:411:10: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | inschar(' ', NUL); | ^ track.c:418:20: warning: passing arguments to 'ml_get_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | line = ml_get_pos(&curwin->w_cursor); | ^ track.c:421:11: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | inschar('X', NUL); | ^ track.c:462:13: warning: passing arguments to 'gotocmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | gotocmdline(TRUE, NUL); | ^ track.c:463:12: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | msg_outstr((char_u *)"-- TRACK["); | ^ track.c:464:12: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | msg_outstr(curbuf->b_p_trs); | ^ track.c:465:12: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | msg_outstr((char_u *)"] --"); | ^ track.c:466:11: warning: passing arguments to 'showruler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | showruler(FALSE); | ^ 45 warnings generated. --- normal.o --- In file included from normal.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from normal.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from normal.c:16: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from normal.c:16: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ normal.c:284:28: warning: passing arguments to 'dorecord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | if (!Exec_reg && dorecord(nchar) == FAIL) | ^ normal.c:292:17: warning: passing arguments to 'doexecbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | if (doexecbuf(nchar) == FAIL) | ^ normal.c:316:17: warning: passing arguments to 'comp_Botline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | comp_Botline(curwin); /* compute curwin->w_botline */ | ^ normal.c:317:18: warning: passing arguments to 'onedown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | (void)onedown(n); | ^ normal.c:324:15: warning: passing arguments to 'scrolldown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | scrolldown(n); | ^ normal.c:328:12: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | beginline(TRUE); | ^ normal.c:329:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | updateScreen(VALID); | ^ normal.c:339:16: warning: passing arguments to 'onepage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | (void)onepage(dir, Prenum1); | ^ normal.c:344:11: warning: passing arguments to 'scrollup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | scrollup(Prenum1); | ^ normal.c:346:13: warning: passing arguments to 'coladvance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | coladvance(curwin->w_curswant); | ^ normal.c:347:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | updateScreen(VALID); | ^ normal.c:352:13: warning: passing arguments to 'scrolldown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | scrolldown(Prenum1); | ^ normal.c:354:13: warning: passing arguments to 'coladvance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | coladvance(curwin->w_curswant); | ^ normal.c:355:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | updateScreen(VALID); | ^ normal.c:379:19: warning: passing arguments to 'win_setheight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | win_setheight((int)Prenum); | ^ normal.c:405:13: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | beginline(TRUE); | ^ normal.c:412:34: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | n = (curwin->w_height + plines(curwin->w_cursor.lnum)) / 2; | ^ normal.c:423:30: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | register long l = plines(lp); | ^ normal.c:430:17: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | l += plines(lp); | ^ normal.c:434:14: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | beginline(TRUE); | ^ normal.c:444:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | updateScreen(VALID); | ^ normal.c:459:17: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | stuffReadbuff((char_u *)"."); | ^ normal.c:462:18: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | stuffReadbuff((char_u *)",.+"); | ^ normal.c:463:21: warning: passing arguments to 'stuffnumReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | stuffnumReadbuff((long)Prenum - 1L); | ^ normal.c:466:12: warning: passing arguments to 'docmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | docmdline(NULL); | ^ normal.c:480:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | updateScreen(CLEAR); | ^ normal.c:485:11: warning: passing arguments to 'fileinfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | fileinfo(did_cd || Prenum); /* print full name if count given or :cd used */ | ^ normal.c:490:24: warning: passing arguments to 'buflist_getfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | (void)buflist_getfile((int)Prenum, (linenr_t)0, TRUE); | ^ normal.c:500:16: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | stuffReadbuff((char_u *)":x\n"); | ^ normal.c:516:16: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | ptr = ml_get(curwin->w_cursor.lnum); | ^ normal.c:525:29: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | && (i == 0 ? !isidchar(ptr[col]) : iswhite(ptr[col])) | ^ normal.c:550:28: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | && (i == 0 ? isidchar(ptr[col - 1]) : | ^ normal.c:551:45: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | (!iswhite(ptr[col - 1]) && !isidchar(ptr[col - 1])))) | ^ normal.c:563:17: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | if (isidchar(ptr[col]) || (c != '*' && c != '#')) | ^ normal.c:571:19: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | || (!isidchar(ptr[col]) && !ISkanji(ptr[col]) && i == 0)) | ^ normal.c:581:21: warning: passing arguments to 'stuffnumReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | stuffnumReadbuff(Prenum); | ^ normal.c:585:19: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | stuffReadbuff((char_u *)"/"); | ^ normal.c:589:19: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | stuffReadbuff((char_u *)"?"); | ^ normal.c:591:20: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | stuffReadbuff((char_u *)"\\<"); | ^ normal.c:595:19: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | stuffReadbuff((char_u *)":! "); | ^ normal.c:596:19: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | stuffReadbuff(p_kp); | ^ normal.c:597:19: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | stuffReadbuff((char_u *)" "); | ^ normal.c:600:19: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | stuffReadbuff((char_u *)":ta "); | ^ normal.c:613:23: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | stuffcharReadbuff(ptr[col++]); | ^ normal.c:614:23: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | stuffcharReadbuff(ptr[col++]); | ^ normal.c:623:24: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | stuffcharReadbuff('~'); | ^ normal.c:627:27: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | && (i == 0 ? isidchar(ptr[col]) : | ^ normal.c:630:23: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | stuffcharReadbuff(ptr[col]); | ^ normal.c:643:18: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | stuffReadbuff((char_u *)"\\>"); | ^ normal.c:644:17: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | stuffReadbuff((char_u *)"\n"); | ^ normal.c:650:11: warning: passing arguments to 'dotag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | dotag((char_u *)"", 2, (int)Prenum1); | ^ normal.c:663:12: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | beginline(TRUE); | ^ normal.c:675:22: warning: passing arguments to 'onedown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | while (n && onedown((long)1) == OK) | ^ normal.c:677:12: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | beginline(TRUE); | ^ normal.c:684:30: warning: passing arguments to 'oneup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | for (n = Prenum; n && oneup((long)1) == OK; n--) | ^ normal.c:686:12: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | beginline(TRUE); | ^ normal.c:720:10: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | if (lineempty(curwin->w_cursor.lnum)) | ^ ./macros.h:32:30: note: expanded from macro 'lineempty' 32 | #define lineempty(p) (*ml_get(p) == NUL) | ^ normal.c:759:16: warning: passing arguments to 'coladvance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | coladvance(MAXCOL); | ^ normal.c:784:12: warning: passing arguments to 'oneup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | if (oneup(Prenum1) == FAIL) | ^ normal.c:787:13: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | beginline(TRUE); | ^ normal.c:804:14: warning: passing arguments to 'onedown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | if (onedown(Prenum1) == FAIL) | ^ normal.c:807:13: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | beginline(TRUE); | ^ normal.c:821:14: warning: passing arguments to 'onedown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | if (onedown((long)(Prenum1 - 1)) == FAIL) | ^ normal.c:824:13: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | beginline(TRUE); | ^ normal.c:830:12: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | beginline(FALSE); | ^ normal.c:832:14: warning: passing arguments to 'coladvance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | coladvance((colnr_t)(Prenum - 1)); | ^ normal.c:852:15: warning: passing arguments to 'bck_word' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | if (bck_word(Prenum1, type)) | ^ normal.c:894:16: warning: passing arguments to 'fwd_word' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | n = fwd_word(Prenum1, type, operator != NOP); | ^ normal.c:896:16: warning: passing arguments to 'end_word' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | n = end_word(Prenum1, type, flag2); | ^ normal.c:922:14: warning: passing arguments to 'onedown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | if (onedown((long)(Prenum1 - 1)) == FAIL) | ^ normal.c:936:12: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | beginline(flag); | ^ normal.c:944:18: warning: passing arguments to 'getcmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | if (!getcmdline(c, searchbuff)) | ^ normal.c:953:15: warning: passing arguments to 'dosearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | n = dosearch(c, searchbuff, FALSE, Prenum1, TRUE, TRUE); | ^ normal.c:967:16: warning: passing arguments to 'dosearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | if (!dosearch(0, NULL, flag, Prenum1, TRUE, TRUE)) | ^ normal.c:995:15: warning: passing arguments to 'searchc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | if (!searchc(nchar, kchar, dir, type, Prenum1)) | ^ normal.c:1038:25: warning: passing arguments to 'showmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | if ((pos = showmatch(nchar)) == NULL) | ^ normal.c:1070:16: warning: passing arguments to 'findpar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1070 | if (!findpar(dir, Prenum1, flag, | ^ normal.c:1081:9: warning: passing arguments to 'doput' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | doput((c == ']') ? FORWARD : BACKWARD, Prenum1, TRUE); | ^ normal.c:1104:14: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1104 | beginline(TRUE); | ^ normal.c:1110:24: warning: passing arguments to 'showmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | if ((pos = showmatch(NUL)) == NULL) | ^ normal.c:1133:16: warning: passing arguments to 'findsent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | if (!findsent(dir, Prenum1)) | ^ normal.c:1145:15: warning: passing arguments to 'findpar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1145 | if (!findpar(dir, Prenum1, NUL, FALSE)) | ^ normal.c:1154:17: warning: passing arguments to 'start_redo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | if (start_redo(Prenum) == FAIL) | ^ normal.c:1164:9: warning: passing arguments to 'u_undo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | u_undo((int)Prenum1); | ^ normal.c:1171:11: warning: passing arguments to 'u_redo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | u_redo((int)Prenum1); | ^ normal.c:1211:20: warning: passing arguments to 'stuffnumReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | stuffnumReadbuff(Prenum1); | ^ normal.c:1212:21: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | stuffcharReadbuff('R'); | ^ normal.c:1213:21: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | stuffcharReadbuff(nchar); | ^ normal.c:1214:21: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | stuffcharReadbuff(ESC); | ^ normal.c:1222:23: warning: passing arguments to 'get_literal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | nchar = get_literal(&type, &kchar); | ^ normal.c:1227:22: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1227 | stuffcharReadbuff(type); | ^ normal.c:1242:19: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | ptr = ml_get_buf(curbuf, curwin->w_cursor.lnum, TRUE) + curwin->w_cursor.col; | ^ normal.c:1251:12: warning: passing arguments to 'inschar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1251 | inschar(nchar, kchar); | ^ normal.c:1292:11: warning: passing arguments to 'dodojoin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1292 | dodojoin(Prenum, TRUE, TRUE); | ^ normal.c:1307:8: warning: passing arguments to 'doput' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | doput(dir, Prenum1, FALSE); | ^ normal.c:1314:15: warning: passing arguments to 'doaddsub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1314 | if (doaddsub((int)c, Prenum1) == OK) | ^ normal.c:1337:9: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | if (!lineempty(curwin->w_cursor.lnum)) | ^ ./macros.h:32:30: note: expanded from macro 'lineempty' 32 | #define lineempty(p) (*ml_get(p) == NUL) | ^ normal.c:1339:15: warning: passing arguments to 'startinsert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | startinsert(c, FALSE, Prenum1); | ^ normal.c:1346:12: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | beginline(TRUE); | ^ normal.c:1353:15: warning: passing arguments to 'startinsert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1353 | startinsert(c, FALSE, Prenum1); | ^ normal.c:1375:13: warning: passing arguments to 'u_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | if (u_save(curwin->w_cursor.lnum, (linenr_t)(curwin->w_cursor.lnum + 1)) && | ^ normal.c:1376:15: warning: passing arguments to 'Opencmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | Opencmd(FORWARD, TRUE, TRUE)) | ^ normal.c:1378:15: warning: passing arguments to 'startinsert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1378 | startinsert('o', TRUE, Prenum1); | ^ normal.c:1386:13: warning: passing arguments to 'u_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1386 | if (u_save((linenr_t)(curwin->w_cursor.lnum - 1), curwin->w_cursor.lnum) && Opencmd(BACKWARD, TRUE, TRUE)) | ^ normal.c:1386:86: warning: passing arguments to 'Opencmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1386 | if (u_save((linenr_t)(curwin->w_cursor.lnum - 1), curwin->w_cursor.lnum) && Opencmd(BACKWARD, TRUE, TRUE)) | ^ normal.c:1388:15: warning: passing arguments to 'startinsert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | startinsert('O', TRUE, Prenum1); | ^ normal.c:1404:15: warning: passing arguments to 'startinsert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1404 | startinsert('R', FALSE, Prenum1); | ^ normal.c:1421:8: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | if (lineempty(curwin->w_cursor.lnum)) | ^ ./macros.h:32:30: note: expanded from macro 'lineempty' 32 | #define lineempty(p) (*ml_get(p) == NUL) | ^ normal.c:1439:13: warning: passing arguments to 'swapchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1439 | swapchar(&curwin->w_cursor); | ^ normal.c:1495:20: warning: passing arguments to 'stuffnumReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1495 | stuffnumReadbuff(Prenum); | ^ normal.c:1503:18: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | stuffReadbuff(ar[(int)(STRCHR(str, c) - str)]); | ^ normal.c:1513:14: warning: passing arguments to 'setmark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1513 | if (setmark(nchar) == FAIL) | ^ normal.c:1522:16: warning: passing arguments to 'getmark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1522 | pos = getmark(nchar, (operator == NOP)); | ^ normal.c:1526:14: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1526 | beginline(TRUE); | ^ normal.c:1540:14: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1540 | beginline(TRUE); | ^ normal.c:1557:17: warning: passing arguments to 'movemark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1557 | pos = movemark((int)Prenum1); | ^ normal.c:1570:37: warning: passing arguments to 'is_yank_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1570 | if (nchar != NUL && is_yank_buffer(nchar, FALSE)) | ^ normal.c:1592:16: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1592 | updateScreen(NOT_VALID); /* delete the inversion */ | ^ normal.c:1597:33: warning: passing arguments to 'set_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1597 | if (!didwarn && set_highlight('v') == FAIL)/* cannot highlight */ | ^ normal.c:1599:5: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1599 | EMSG("Warning: terminal cannot highlight"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ normal.c:1627:18: warning: passing arguments to 'coladvance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | coladvance(curwin->w_curswant); | ^ normal.c:1634:16: warning: passing arguments to 'coladvance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1634 | coladvance(MAXCOL); | ^ normal.c:1637:16: warning: passing arguments to 'coladvance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | coladvance((colnr_t)(curwin->w_virtcol + resel_Visual_col * Prenum - 1)); | ^ normal.c:1638:17: warning: passing arguments to 'curs_columns' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1638 | curs_columns(TRUE); /* recompute w_virtcol */ | ^ normal.c:1639:17: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | updateScreen(NOT_VALID); /* show the inversion */ | ^ normal.c:1660:16: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | stuffReadbuff((char_u *)":st\r"); /* with autowrite */ | ^ normal.c:1669:12: warning: passing arguments to 'do_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1669 | do_window(nchar, Prenum); /* everything is in window.c */ | ^ normal.c:1687:17: warning: passing arguments to 'autowrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | autowrite(curbuf); | ^ normal.c:1691:21: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | stuffReadbuff((char_u *) ":e "); | ^ normal.c:1692:21: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1692 | stuffReadbuff(ptr); | ^ normal.c:1693:21: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1693 | stuffReadbuff((char_u *) "\n"); | ^ normal.c:1716:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1716 | MSG(""); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ normal.c:1730:39: warning: passing arguments to 'tracktab_prev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1730 | curbuf->b_p_trs = tracktab_prev(curbuf->b_p_trs); | ^ normal.c:1730:24: warning: assigning to 'char_u *' (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] 1730 | curbuf->b_p_trs = tracktab_prev(curbuf->b_p_trs); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ normal.c:1737:39: warning: passing arguments to 'tracktab_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1737 | curbuf->b_p_trs = tracktab_next(curbuf->b_p_trs); | ^ normal.c:1737:24: warning: assigning to 'char_u *' (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] 1737 | curbuf->b_p_trs = tracktab_next(curbuf->b_p_trs); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ normal.c:1777:27: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1777 | ptr = name = ml_get(curwin->w_cursor.lnum); | ^ normal.c:1834:45: warning: passing 'char_u[256]' (aka 'unsigned char[256]') 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] 1834 | if (getperm(filebuf) == (-1) || atol(linebuf) == 0) | ^~~~~~~ /usr/include/stdlib.h:89:24: note: passing argument to parameter here 89 | long atol(const char *); | ^ normal.c:1853:35: warning: passing 'char_u *' (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] 1853 | if (wp == swin && strcmp(wp->w_buffer->b_sfilename, sname) == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ normal.c:1853:62: warning: passing 'char_u *' (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] 1853 | if (wp == swin && strcmp(wp->w_buffer->b_sfilename, sname) == 0) | ^~~~~ /usr/include/string.h:90:39: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ normal.c:1857:34: warning: passing 'char_u *' (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] 1857 | if (wp != NULL && strcmp(wp->w_buffer->b_sfilename, filebuf) == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ normal.c:1857:61: warning: passing 'char_u[1024]' (aka 'unsigned char[1024]') 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] 1857 | if (wp != NULL && strcmp(wp->w_buffer->b_sfilename, filebuf) == 0) | ^~~~~~~ /usr/include/string.h:90:39: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ normal.c:1859:19: warning: passing arguments to 'win_enter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1859 | win_enter(wp, TRUE); | ^ normal.c:1860:39: warning: passing 'char_u[256]' (aka 'unsigned char[256]') 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] 1860 | curwin->w_cursor.lnum = atol(linebuf); | ^~~~~~~ /usr/include/stdlib.h:89:24: note: passing argument to parameter here 89 | long atol(const char *); | ^ normal.c:1861:19: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1861 | beginline(TRUE); | ^ normal.c:1863:22: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1863 | updateScreen(CURSUPD); | ^ normal.c:1868:20: warning: passing arguments to 'autowrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1868 | autowrite(wp->w_buffer); | ^ normal.c:1869:19: warning: passing arguments to 'win_enter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1869 | win_enter(wp, TRUE); | ^ normal.c:1872:11: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1872 | EMSG("No write since last change)"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ normal.c:1875:56: warning: passing 'char_u[256]' (aka 'unsigned char[256]') 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] 1875 | (void)doecmd(filebuf, NULL, NULL, FALSE, atol(linebuf)); | ^~~~~~~ /usr/include/stdlib.h:89:24: note: passing argument to parameter here 89 | long atol(const char *); | ^ normal.c:1875:22: warning: passing arguments to 'doecmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1875 | (void)doecmd(filebuf, NULL, NULL, FALSE, atol(linebuf)); | ^ normal.c:1879:23: warning: passing arguments to 'win_split' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1879 | if (win_split(0L, FALSE) == FAIL) | ^ normal.c:1881:56: warning: passing 'char_u[256]' (aka 'unsigned char[256]') 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] 1881 | (void)doecmd(filebuf, NULL, NULL, FALSE, atol(linebuf)); | ^~~~~~~ /usr/include/stdlib.h:89:24: note: passing argument to parameter here 89 | long atol(const char *); | ^ normal.c:1881:22: warning: passing arguments to 'doecmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1881 | (void)doecmd(filebuf, NULL, NULL, FALSE, atol(linebuf)); | ^ normal.c:1886:24: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1886 | sname = strsave(filebuf); | ^ normal.c:1963:33: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1963 | count += strlen(ml_get(line)) + (curbuf->b_p_tx ? 2 : 1); | ^ normal.c:1963:27: warning: passing '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] 1963 | count += strlen(ml_get(line)) + (curbuf->b_p_tx ? 2 : 1); | ^~~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ normal.c:1965:33: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1965 | count += strlen(ml_get(line)) - curbuf->b_startop.col + (curbuf->b_p_tx ? 2 : 1); | ^ normal.c:1965:27: warning: passing '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] 1965 | count += strlen(ml_get(line)) - curbuf->b_startop.col + (curbuf->b_p_tx ? 2 : 1); | ^~~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ normal.c:1969:33: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1969 | count += strlen(ml_get(line)) + (curbuf->b_p_tx ? 2 : 1); | ^ normal.c:1969:27: warning: passing '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] 1969 | count += strlen(ml_get(line)) + (curbuf->b_p_tx ? 2 : 1); | ^~~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ normal.c:1973:20: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1973 | updateScreen(NOT_VALID); | ^ normal.c:1975:20: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1975 | updateScreen(CURSUPD); | ^ normal.c:1976:56: warning: passing arguments to 'plural' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1976 | smsg((char_u *)"%ld character%s.", count, plural(count)); | ^ normal.c:1976:12: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1976 | smsg((char_u *)"%ld character%s.", count, plural(count)); | ^ normal.c:1986:29: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1986 | int vcol = getvcol(curwin, &curwin->w_cursor, 99); | ^ normal.c:1995:36: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1995 | cursor.col = strlen(ml_get(curwin->w_cursor.lnum)); | ^ normal.c:1995:30: warning: passing '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] 1995 | cursor.col = strlen(ml_get(curwin->w_cursor.lnum)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ normal.c:1996:23: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1996 | tcol = getvcol(curwin, &cursor, 99); | ^ normal.c:2023:20: warning: passing arguments to 'curs_columns' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2023 | curs_columns(TRUE); | ^ normal.c:2026:15: warning: passing arguments to 'onedown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2026 | onedown(Prenum1); | ^ normal.c:2035:29: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2035 | int vcol = getvcol(curwin, &curwin->w_cursor, 99); | ^ normal.c:2045:46: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2045 | curwin->w_cursor.col = strlen(ml_get(curwin->w_cursor.lnum)); | ^ normal.c:2045:40: warning: passing '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] 2045 | curwin->w_cursor.col = strlen(ml_get(curwin->w_cursor.lnum)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ normal.c:2047:24: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2047 | vcol = getvcol(curwin, &cursor, 99); | ^ normal.c:2059:20: warning: passing arguments to 'curs_columns' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2059 | curs_columns(TRUE); | ^ normal.c:2062:13: warning: passing arguments to 'oneup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2062 | oneup(Prenum1); | ^ normal.c:2070:29: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2070 | int vcol = getvcol(curwin, &curwin->w_cursor, 99); | ^ normal.c:2075:20: warning: passing arguments to 'curs_columns' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2075 | curs_columns(TRUE); | ^ normal.c:2081:17: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2081 | beginline(FALSE); | ^ normal.c:2090:29: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2090 | int vcol = getvcol(curwin, &curwin->w_cursor, 99); | ^ normal.c:2096:18: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2096 | p = ml_get(curwin->w_cursor.lnum); | ^ normal.c:2109:20: warning: passing arguments to 'curs_columns' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2109 | curs_columns(TRUE); | ^ normal.c:2115:17: warning: passing arguments to 'beginline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2115 | beginline(TRUE); | ^ normal.c:2124:29: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2124 | int vcol = getvcol(curwin, &curwin->w_cursor, 99); | ^ normal.c:2129:22: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2129 | vcol = getvcol(curwin, &curwin->w_cursor, 99); | ^ normal.c:2130:20: warning: passing arguments to 'curs_columns' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2130 | curs_columns(TRUE); | ^ normal.c:2137:15: warning: passing arguments to 'onedown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2137 | onedown((long)(Prenum1 - 1)); | ^ normal.c:2155:4: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2155 | MSG(""); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ normal.c:2162:16: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2162 | updateScreen(NOT_VALID); | ^ normal.c:2201:21: warning: passing arguments to 'AppendToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2201 | AppendToRedobuff(searchbuff); | ^ normal.c:2202:21: warning: passing arguments to 'AppendToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2202 | AppendToRedobuff(NL_STR); | ^ normal.c:2229:15: warning: passing arguments to 'coladvance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2229 | coladvance(MAXCOL); | ^ normal.c:2260:24: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2260 | startvcol = getvcol(curwin, &(curbuf->b_startop), 2); | ^ normal.c:2261:16: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2261 | n = getvcol(curwin, &(curbuf->b_endop), 2); | ^ normal.c:2271:23: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2271 | if ((n = getvcol(curwin, &curwin->w_cursor, 3)) > endvcol) | ^ normal.c:2279:23: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2279 | endvcol = getvcol(curwin, &(curbuf->b_startop), 3); | ^ normal.c:2280:17: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2280 | n = getvcol(curwin, &(curbuf->b_endop), 3); | ^ normal.c:2284:15: warning: passing arguments to 'coladvance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2284 | coladvance(startvcol); | ^ normal.c:2330:20: warning: passing arguments to 'ml_get_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2330 | if (*ml_get_pos(&(curbuf->b_endop)) == NUL) | ^ normal.c:2343:17: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2343 | updateScreen(NOT_VALID); | ^ normal.c:2354:27: warning: passing arguments to 'gchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2354 | && ISkanji(gchar(&curbuf->b_endop))) | ^ normal.c:2375:40: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2375 | curbuf->b_endop.col = STRLEN(ml_get(curbuf->b_endop.lnum)); | ^ normal.c:2387:11: warning: passing arguments to 'doshift' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2387 | doshift(operator, TRUE, (int)Prenum1); | ^ normal.c:2401:17: warning: passing arguments to 'doyank' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2401 | (void)doyank(FALSE); | ^ normal.c:2417:17: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2417 | stuffReadbuff(IObuff); | ^ normal.c:2419:18: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2419 | stuffReadbuff((char_u *)"!"); | ^ normal.c:2422:18: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2422 | stuffReadbuff(p_ep); | ^ normal.c:2423:18: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2423 | stuffReadbuff((char_u *)"\n"); | ^ normal.c:2427:18: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2427 | stuffReadbuff(p_fp); | ^ normal.c:2428:18: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2428 | stuffReadbuff((char_u *)"\n"); | ^ normal.c:2463:14: warning: passing arguments to 'startinsert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2463 | startinsert(restart_edit, FALSE, 1L); | ^ normal.c:2494:15: warning: passing arguments to 'win_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2494 | win_update(wp); | ^ normal.c:2501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2501 | prep_redo(num, cmd, c, nchar, kchar) | ^ normal.c:2516:23: warning: passing arguments to 'AppendCharToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2516 | AppendCharToRedobuff('\"'); | ^ normal.c:2517:23: warning: passing arguments to 'AppendCharToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2517 | AppendCharToRedobuff(yankbuffer); | ^ normal.c:2520:25: warning: passing arguments to 'AppendNumberToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2520 | AppendNumberToRedobuff(num); | ^ normal.c:2521:22: warning: passing arguments to 'AppendCharToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2521 | AppendCharToRedobuff(cmd); | ^ normal.c:2523:23: warning: passing arguments to 'AppendCharToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2523 | AppendCharToRedobuff(c); | ^ normal.c:2527:23: warning: passing arguments to 'AppendCharToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2527 | AppendCharToRedobuff(nchar); | ^ normal.c:2529:24: warning: passing arguments to 'AppendCharToRedobuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2529 | AppendCharToRedobuff(kchar); | ^ normal.c:2576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2576 | premsg(c1, c2) | ^ normal.c:2586:9: warning: passing arguments to 'msg_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2586 | msg_pos((int)Rows - 1, sc_col); | ^ normal.c:2588:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2588 | msg_outstr((char_u *)" "); /* look in comp_col() for the number of spaces */ | ^ normal.c:2619:23: warning: passing arguments to 'transchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2619 | STRCPY(p, transchar(c1)); | ^ normal.c:2625:23: warning: passing arguments to 'transchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2625 | STRCAT(p, transchar(c2)); | ^ normal.c:2627:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2627 | msg_outstr(buf); | ^ 231 warnings generated. --- u2s.o --- u2s.c:65543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65543 | ucs2sjis(ucs, sjis) | ^ 1 warning generated. --- window.o --- In file included from window.c:11: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from window.c:11: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from window.c:11: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from window.c:11: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ window.c:45:14: warning: passing arguments to 'win_split' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | win_split(Prenum, TRUE); | ^ window.c:51:22: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | stuffcharReadbuff(':'); | ^ window.c:53:22: warning: passing arguments to 'stuffnumReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | stuffnumReadbuff(Prenum); /* window height */ | ^ window.c:54:18: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | stuffReadbuff((char_u *)"new\n"); /* it is cmdline.c */ | ^ window.c:60:18: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | stuffReadbuff((char_u *)":quit\n"); /* it is cmdline.c */ | ^ window.c:66:18: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | stuffReadbuff((char_u *)":close\n"); /* it is cmdline.c */ | ^ window.c:72:18: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | stuffReadbuff((char_u *)":only\n"); /* it is cmdline.c */ | ^ window.c:83:14: warning: passing arguments to 'win_enter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | win_enter(wp, TRUE); | ^ window.c:111:15: warning: passing arguments to 'win_enter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | win_enter(wp, TRUE); | ^ window.c:124:14: warning: passing arguments to 'win_enter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | win_enter(wp, TRUE); | ^ window.c:136:15: warning: passing arguments to 'win_enter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | win_enter(prevwin, TRUE); | ^ window.c:159:21: warning: passing arguments to 'win_equal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | case '=': win_equal(NULL, TRUE); | ^ window.c:163:25: warning: passing arguments to 'win_setheight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | case '+': win_setheight(curwin->w_height + (int)Prenum1); | ^ window.c:167:25: warning: passing arguments to 'win_setheight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | case '-': win_setheight(curwin->w_height - (int)Prenum1); | ^ window.c:172:25: warning: passing arguments to 'win_setheight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | case '_': win_setheight(Prenum ? (int)Prenum : 9999); | ^ window.c:180:22: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | stuffcharReadbuff(Ctrl(']')); | ^ window.c:192:19: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | stuffReadbuff((char_u *) ":split "); | ^ window.c:193:19: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | stuffReadbuff(ptr); | ^ window.c:194:19: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | stuffReadbuff((char_u *) "\n"); | ^ window.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | do_window(nchar, Prenum) | ^ In file included from window.c:11: In file included from ./proto.h:79: ./proto/window.pro:2: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] 2 | void do_window __PARMS((int nchar, long Prenum)); | ^ window.c:261:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | EMSG(e_noroom); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ window.c:285:17: warning: passing arguments to 'win_alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | wp = win_alloc(curwin); | ^ window.c:287:17: warning: passing arguments to 'win_alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | wp = win_alloc(curwin->w_prev); | ^ window.c:294:17: warning: passing arguments to 'win_comp_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | win_comp_scroll(wp); | ^ window.c:296:17: warning: passing arguments to 'win_comp_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | win_comp_scroll(curwin); | ^ window.c:332:38: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | wp->w_tagstack[i].tagname = strsave(curwin->w_tagstack[i].tagname); | ^ window.c:336:18: warning: passing arguments to 'win_copy_options' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | win_copy_options(curwin, wp); | ^ window.c:354:14: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | h -= plines(lnum); | ^ window.c:364:12: warning: passing arguments to 'win_equal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | win_equal(wp, FALSE); | ^ window.c:365:12: warning: passing arguments to 'win_enter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | win_enter(wp, FALSE); | ^ window.c:367:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | updateScreen(NOT_VALID); | ^ window.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 | win_split(new_height, redraw) | ^ In file included from window.c:11: In file included from ./proto.h:79: ./proto/window.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | int win_split __PARMS((long new_height, int redraw)); | ^ window.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 | make_windows(count) | ^ In file included from window.c:11: In file included from ./proto.h:79: ./proto/window.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | int make_windows __PARMS((int count)); | ^ window.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | win_exchange(Prenum) | ^ window.c:473:11: warning: passing arguments to 'win_enter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | win_enter(wp, TRUE); | ^ window.c:475:14: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | updateScreen(CLEAR); | ^ window.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 | win_rotate(upwards, count) | ^ window.c:521:14: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | updateScreen(CLEAR); | ^ window.c:592:18: warning: passing arguments to 'win_comp_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | win_comp_scroll(wp); | ^ window.c:600:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | updateScreen(CLEAR); | ^ window.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | win_equal(next_curwin, redraw) | ^ In file included from window.c:11: In file included from ./proto.h:79: ./proto/window.pro:5: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] 5 | void win_equal __PARMS((struct window *next_curwin, int redraw)); | ^ window.c:618:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | EMSG("Cannot close last window"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ window.c:625:14: warning: passing arguments to 'close_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | close_buffer(curbuf, free_buf, FALSE); | ^ window.c:639:10: warning: passing arguments to 'win_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | win_free(curwin); | ^ window.c:643:11: warning: passing arguments to 'win_enter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | win_enter(wp, FALSE); | ^ window.c:653:18: warning: passing arguments to 'win_comp_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | win_comp_scroll(lastwin); | ^ window.c:655:17: warning: passing arguments to 'win_comp_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | win_comp_scroll(curwin); | ^ window.c:656:14: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | updateScreen(NOT_VALID); | ^ window.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 | close_window(free_buf) | ^ In file included from window.c:11: In file included from ./proto.h:79: ./proto/window.pro:6: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] 6 | void close_window __PARMS((int free_buf)); | ^ window.c:675:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | EMSG("Already only one window"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ window.c:687:15: warning: passing arguments to 'close_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | close_buffer(wp->w_buffer, FALSE, FALSE); | ^ window.c:694:11: warning: passing arguments to 'win_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | win_free(wp); | ^ window.c:706:17: warning: passing arguments to 'win_comp_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | win_comp_scroll(curwin); | ^ window.c:708:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | updateScreen(NOT_VALID); | ^ window.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | close_others(message) | ^ In file included from window.c:11: In file included from ./proto.h:79: ./proto/window.pro:7: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] 7 | void close_others __PARMS((int message)); | ^ window.c:717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | win_init(wp) | ^ In file included from window.c:11: In file included from ./proto.h:79: ./proto/window.pro:8: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] 8 | void win_init __PARMS((struct window *wp)); | ^ window.c:752:16: warning: passing arguments to 'win_setheight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | win_setheight((int)p_wh); | ^ window.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | win_enter(wp, undo_sync) | ^ In file included from window.c:11: In file included from ./proto.h:79: ./proto/window.pro:9: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] 9 | void win_enter __PARMS((struct window *wp, int undo_sync)); | ^ window.c:767:20: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | new = (WIN *)alloc((unsigned)sizeof(WIN)); | ^ window.c:779:18: warning: passing arguments to 'win_alloc_lsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | win_alloc_lsize(new); | ^ window.c:759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | win_alloc(after) | ^ In file included from window.c:11: In file included from ./proto.h:79: ./proto/window.pro:10:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | struct window *win_alloc __PARMS((struct window *after)); | ^ window.c:797:16: warning: passing arguments to 'win_free_lsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | win_free_lsize(wp); | ^ window.c:792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | win_free(wp) | ^ In file included from window.c:11: In file included from ./proto.h:79: ./proto/window.pro:11: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] 11 | void win_free __PARMS((struct window *wp)); | ^ window.c:803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | win_append(after, wp) | ^ window.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | win_remove(wp) | ^ window.c:855:17: warning: passing arguments to 'win_free_lsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | win_free_lsize(wp); /* one of the two may have worked */ | ^ window.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | win_alloc_lsize(wp) | ^ In file included from window.c:11: In file included from ./proto.h:79: ./proto/window.pro:12:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | int win_alloc_lsize __PARMS((struct window *wp)); | ^ window.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 | win_free_lsize(wp) | ^ In file included from window.c:11: In file included from ./proto.h:79: ./proto/window.pro:13: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] 13 | void win_free_lsize __PARMS((struct window *wp)); | ^ window.c:899:20: warning: passing arguments to 'win_comp_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | win_comp_scroll(wp); | ^ window.c:904:20: warning: passing arguments to 'win_comp_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | win_comp_scroll(wp); | ^ window.c:913:18: warning: passing arguments to 'win_comp_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | win_comp_scroll(lastwin); | ^ window.c:990:17: warning: passing arguments to 'win_comp_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | win_comp_scroll(curwin); | ^ window.c:1006:18: warning: passing arguments to 'win_comp_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | win_comp_scroll(wp); /* recompute p_scroll */ | ^ window.c:1025:18: warning: passing arguments to 'win_comp_scroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | win_comp_scroll(wp); /* recompute p_scroll */ | ^ window.c:1037:14: warning: passing arguments to 'screen_fill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | screen_fill(row, cmdline_row, 0, (int)Columns, ' ', ' '); | ^ window.c:1040:14: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | updateScreen(NOT_VALID); | ^ window.c:947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | win_setheight(height) | ^ In file included from window.c:11: In file included from ./proto.h:79: ./proto/window.pro:15: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] 15 | void win_setheight __PARMS((int height)); | ^ window.c:1044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1044 | win_comp_scroll(wp) | ^ In file included from window.c:11: In file included from ./proto.h:79: ./proto/window.pro:16: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] 16 | void win_comp_scroll __PARMS((struct window *wp)); | ^ window.c:1067:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | emsg(e_noroom); | ^ window.c:1072:14: warning: passing arguments to 'screen_fill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1072 | screen_fill((int)(Rows - p_ch), (int)Rows, 0, (int)Columns, ' ', ' '); | ^ window.c:1101:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | emsg(e_noroom); | ^ window.c:1142:14: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | ptr = ml_get(curwin->w_cursor.lnum); | ^ window.c:1166:12: warning: passing arguments to 'expand_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1166 | expand_env(ptr, NameBuff, MAXPATHL); | ^ window.c:1171:27: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | if ((file_name = strsave(NameBuff)) == NULL) | ^ window.c:1174:15: warning: passing 'char *' to parameter of type 'char_u *' (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] 1174 | if (getperm(fileconvsto(file_name)) >= 0) | ^~~~~~~~~~~~~~~~~~~~~~ ./proto/unix.pro:26:30: note: passing argument to parameter here 26 | long getperm __ARGS((char_u *)); | ^ window.c:1182:25: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | if ((file_name = alloc((int)(STRLEN(p_path) + STRLEN(NameBuff) + 2))) == NULL) | ^ window.c:1187:13: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | skipspace(&dir); | ^ window.c:1204:16: warning: passing 'char *' to parameter of type 'char_u *' (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] 1204 | if (getperm(fileconvsto(file_name)) >= 0) | ^~~~~~~~~~~~~~~~~~~~~~ ./proto/unix.pro:26:30: note: passing argument to parameter here 26 | long getperm __ARGS((char_u *)); | ^ 106 warnings generated. --- tag.o --- In file included from tag.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from tag.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from tag.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from tag.c:15: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ tag.c:68:42: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | tagstack[tagstackidx].tagname = strsave(tag); | ^ tag.c:72:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | EMSG("tag stack empty"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ tag.c:79:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | emsg(bottommsg); | ^ tag.c:93:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | emsg(topmsg); | ^ tag.c:98:23: warning: passing arguments to 'buflist_getfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | if (buflist_getfile(tagstack[tagstackidx].fmark.fnum, tagstack[tagstackidx].fmark.mark.lnum, TRUE) == FAIL) | ^ tag.c:115:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | emsg(topmsg); | ^ tag.c:119:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | emsg(bottommsg); | ^ tag.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 | dotag(tag, type, count) | ^ In file included from tag.c:15: In file included from ./proto.h:76: ./proto/tag.pro:2: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] 2 | void dotag __PARMS((unsigned char *tag, int type, int count)); | ^ tag.c:160:13: warning: passing arguments to 'gotocmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | gotocmdline(TRUE, NUL); | ^ tag.c:161:12: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | msg_outstr((char_u *)"\n # TO tag FROM line in file\n"); | ^ tag.c:166:21: warning: passing arguments to 'fm_getname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | name = fm_getname(&(tagstack[i].fmark)); | ^ tag.c:176:14: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | msg_outstr(IObuff); | ^ tag.c:181:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | msg_outstr((char_u *)">\n"); | ^ tag.c:182:13: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | wait_return(FALSE); | ^ tag.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 | findtag(tag) | ^ tag.c:246:15: warning: passing 'char_u[512]' (aka 'unsigned char[512]') 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] 246 | if (strlen(lbuf) == (LSIZE - 1) && lbuf[strlen(lbuf) - 1] != '\n') | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ tag.c:246:51: warning: passing 'char_u[512]' (aka 'unsigned char[512]') 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] 246 | if (strlen(lbuf) == (LSIZE - 1) && lbuf[strlen(lbuf) - 1] != '\n') | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ tag.c:265:46: warning: passing 'char[512]' to parameter of type 'char_u *' (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] 265 | len = kanjiconvsfrom(lbuf, STRLEN(lbuf), tmp, LSIZE, NULL, JP_SYS, NULL); | ^~~ ./proto/kanji.pro:22:50: note: passing argument to parameter here 22 | int kanjiconvsfrom __ARGS((char_u*, int, char_u*, int, char*, char, int*)); | ^ tag.c:275:15: warning: passing arguments to 'skiptospace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | skiptospace(&fname); /* skip tag */ | ^ tag.c:280:16: warning: passing arguments to 'cstrncmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | if (cstrncmp(lbuf, tag, cmplen) == 0) /* Tag found */ | ^ tag.c:285:14: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | skipspace(&fname); | ^ tag.c:289:16: warning: passing arguments to 'skiptospace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | skiptospace(&str); | ^ tag.c:293:14: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | skipspace(&str); | ^ tag.c:382:23: warning: passing arguments to 'ExpandOne' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | if ((p = ExpandOne((char_u *)fname, 1, -1)) != NULL) | ^ tag.c:387:52: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | if (p_tr && !isFullName(fname) && (p2 = gettail(sbuf)) != sbuf) | ^ tag.c:396:17: warning: passing 'char *' to parameter of type 'char_u *' (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] 396 | if (getperm(fileconvsto(fname)) < 0) | ^~~~~~~~~~~~~~~~~~ ./proto/unix.pro:26:30: note: passing argument to parameter here 26 | long getperm __ARGS((char_u *)); | ^ tag.c:414:15: warning: passing arguments to 'win_split' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | win_split(0L, FALSE); | ^ tag.c:415:16: warning: passing arguments to 'getfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | i = getfile(fname, NULL, TRUE, (linenr_t)0); | ^ tag.c:441:20: warning: passing arguments to 'dosearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | if (!dosearch(pbuf[0], pbuf + 1, FALSE, (long)1, FALSE, FALSE)) | ^ tag.c:449:21: warning: passing arguments to 'dosearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | if (!dosearch('/', pbuf, FALSE, (long)1, FALSE, FALSE)) | ^ tag.c:453:22: warning: passing arguments to 'dosearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | if (!dosearch('/', pbuf, FALSE, (long)1, FALSE, FALSE)) | ^ tag.c:457:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | EMSG("Can't find tag pattern"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ tag.c:460:9: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | MSG("Couldn't find tag, just guessing!"); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ tag.c:469:16: warning: passing arguments to 'docmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | docmdline(pbuf); | ^ tag.c:475:18: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | wait_return(TRUE); | ^ tag.c:480:20: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | stuffReadbuff((char_u *)"\033\007i"); /* ESC CTRL-G i */ | ^ tag.c:482:24: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | stuffcharReadbuff('\007'); /* CTRL-G */ | ^ tag.c:488:18: warning: passing arguments to 'close_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | close_window(FALSE); | ^ tag.c:499:9: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | emsg2(m, marg); | ^ tag.c:502:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | EMSG("tag not found"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ tag.c:504:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | emsg(m); | ^ tag.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | findtagex(tag) | ^ tag.c:587:15: warning: passing 'char_u[512]' (aka 'unsigned char[512]') 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] 587 | if (strlen(lbuf) == (LSIZE - 1) && lbuf[strlen(lbuf) - 1] != '\n') | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ tag.c:587:51: warning: passing 'char_u[512]' (aka 'unsigned char[512]') 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] 587 | if (strlen(lbuf) == (LSIZE - 1) && lbuf[strlen(lbuf) - 1] != '\n') | ^~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ tag.c:603:46: warning: passing 'char[512]' to parameter of type 'char_u *' (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] 603 | len = kanjiconvsfrom(lbuf, STRLEN(lbuf), tmp, LSIZE, NULL, JP_SYS, NULL); | ^~~ ./proto/kanji.pro:22:50: note: passing argument to parameter here 22 | int kanjiconvsfrom __ARGS((char_u*, int, char_u*, int, char*, char, int*)); | ^ tag.c:615:15: warning: passing arguments to 'skiptospace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | skiptospace(&fname); /* skip tag */ | ^ tag.c:620:16: warning: passing arguments to 'cstrncmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | if (cstrncmp(lbuf, tag, cmplen) == 0) /* Tag found */ | ^ tag.c:625:14: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | skipspace(&fname); | ^ tag.c:629:16: warning: passing arguments to 'skiptospace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | skiptospace(&str); | ^ tag.c:633:14: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | skipspace(&str); | ^ tag.c:722:23: warning: passing arguments to 'ExpandOne' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | if ((p = ExpandOne((char_u *)fname, 1, -1)) != NULL) | ^ tag.c:730:52: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | if (p_tr && !isFullName(fname) && (p2 = gettail(sbuf)) != sbuf) | ^ tag.c:739:17: warning: passing 'char *' to parameter of type 'char_u *' (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] 739 | if (getperm(fileconvsto(fname)) < 0) | ^~~~~~~~~~~~~~~~~~ ./proto/unix.pro:26:30: note: passing argument to parameter here 26 | long getperm __ARGS((char_u *)); | ^ tag.c:788:29: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | now->filename = strsave(fname); | ^ tag.c:789:28: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | now->pattern = strsave(pbuf); | ^ tag.c:790:28: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | now->display = strsave(p2); | ^ tag.c:803:9: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | emsg2(m, marg); | ^ tag.c:808:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | EMSG("tag not found"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ tag.c:810:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | emsg(m); | ^ tag.c:817:14: warning: passing arguments to 'gotocmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | gotocmdline(TRUE, NUL); | ^ tag.c:819:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | msg_outstr((char_u *)"\n # file type\n"); | ^ tag.c:825:18: warning: assigning to 'char_u *' (aka 'unsigned char *') from 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 825 | case 'c': np = "classes"; break; | ^ ~~~~~~~~~ tag.c:826:18: warning: assigning to 'char_u *' (aka 'unsigned char *') from 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 826 | case 'd': np = "macro"; break; | ^ ~~~~~~~ tag.c:827:18: warning: assigning to 'char_u *' (aka 'unsigned char *') from 'char[12]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 827 | case 'e': np = "enumerators"; break; | ^ ~~~~~~~~~~~~~ tag.c:828:18: warning: assigning to 'char_u *' (aka 'unsigned char *') from 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 828 | case 'f': np = "function"; break; | ^ ~~~~~~~~~~ tag.c:829:18: warning: assigning to 'char_u *' (aka 'unsigned char *') from 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 829 | case 'g': np = "enum"; break; | ^ ~~~~~~ tag.c:830:18: warning: assigning to 'char_u *' (aka 'unsigned char *') from 'char[7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 830 | case 'm': np = "member"; break; | ^ ~~~~~~~~ tag.c:831:18: warning: assigning to 'char_u *' (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] 831 | case 'n': np = "namespaces"; break; | ^ ~~~~~~~~~~~~ tag.c:832:18: warning: assigning to 'char_u *' (aka 'unsigned char *') from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 832 | case 'p': np = "prototype"; break; | ^ ~~~~~~~~~~~ tag.c:833:18: warning: assigning to 'char_u *' (aka 'unsigned char *') from 'char[10]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 833 | case 's': np = "structure"; break; | ^ ~~~~~~~~~~~ tag.c:834:18: warning: assigning to 'char_u *' (aka 'unsigned char *') from 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 834 | case 't': np = "typedef"; break; | ^ ~~~~~~~~~ tag.c:835:18: warning: assigning to 'char_u *' (aka 'unsigned char *') from 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 835 | case 'u': np = "union"; break; | ^ ~~~~~~~ tag.c:836:18: warning: assigning to 'char_u *' (aka 'unsigned char *') from 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 836 | case 'v': np = "variable"; break; | ^ ~~~~~~~~~~ tag.c:837:18: warning: assigning to 'char_u *' (aka 'unsigned char *') from 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 837 | case 'x': np = "external"; break; | ^ ~~~~~~~~~~ tag.c:838:17: warning: assigning to 'char_u *' (aka 'unsigned char *') from 'char[8]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 838 | default: np = "unknown"; break; | ^ ~~~~~~~~~ tag.c:841:14: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | skipspace(&p2); | ^ tag.c:843:25: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | i + 1, gettail(now->filename), np, p2); | ^ tag.c:848:23: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | i + 1, gettail(now->filename), now->display); | ^ tag.c:850:14: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | msg_outstr(IObuff); | ^ tag.c:851:15: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | msg_outchar('\n'); | ^ tag.c:855:13: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | msg_outstr("Input Number:"); | ^ tag.c:869:16: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | msg_outchar(c); | ^ tag.c:880:12: warning: passing arguments to 'msg_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | msg_pos(Rows - 1, 0); | ^ tag.c:882:15: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | msg_outstr("Input Number:"); | ^ tag.c:907:14: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | msg_outchar('\n'); | ^ tag.c:908:20: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | stuffcharReadbuff(c); | ^ tag.c:909:14: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | wait_return(FALSE); | ^ tag.c:916:11: warning: passing 'char_u[512]' (aka 'unsigned char[512]') 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] 916 | strcpy(lbuf, now->filename); | ^~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ tag.c:916:17: warning: passing 'char_u *' (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] 916 | strcpy(lbuf, now->filename); | ^~~~~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ tag.c:917:11: warning: passing 'char_u[512]' (aka 'unsigned char[512]') 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] 917 | strcpy(pbuf, now->pattern); | ^~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ tag.c:917:17: warning: passing 'char_u *' (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] 917 | strcpy(pbuf, now->pattern); | ^~~~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ tag.c:934:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | updateScreen(CURSUPD); /* redraw now */ | ^ tag.c:935:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | EMSG("tag jump cancel"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ tag.c:944:12: warning: passing arguments to 'win_split' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | win_split(0L, FALSE); | ^ tag.c:945:13: warning: passing arguments to 'getfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | i = getfile(fname, NULL, TRUE, (linenr_t)0); | ^ tag.c:969:17: warning: passing arguments to 'dosearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | if (!dosearch(pbuf[0], pbuf + 1, FALSE, (long)1, FALSE, FALSE)) | ^ tag.c:977:18: warning: passing arguments to 'dosearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | if (!dosearch('/', pbuf, FALSE, (long)1, FALSE, FALSE)) | ^ tag.c:981:19: warning: passing arguments to 'dosearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 981 | if (!dosearch('/', pbuf, FALSE, (long)1, FALSE, FALSE)) | ^ tag.c:985:6: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | EMSG("Can't find tag pattern"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ tag.c:988:6: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | MSG("Couldn't find tag, just guessing!"); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ tag.c:997:13: warning: passing arguments to 'docmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | docmdline(pbuf); | ^ tag.c:1003:15: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | wait_return(TRUE); | ^ tag.c:1008:17: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | stuffReadbuff((char_u *)"\033\007i"); /* ESC CTRL-G i */ | ^ tag.c:1010:21: warning: passing arguments to 'stuffcharReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | stuffcharReadbuff('\007'); /* CTRL-G */ | ^ tag.c:1016:15: warning: passing arguments to 'close_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | close_window(FALSE); | ^ tag.c:1041:29: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | matches = (char_u **) alloc((unsigned)(limit * sizeof(char_u *))); | ^ tag.c:1050:12: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | skipspace(&np); | ^ tag.c:1058:20: warning: passing arguments to 'vim_fgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | while (!vim_fgets(line, LSIZE, fp, &lnum)) | ^ tag.c:1063:16: warning: passing arguments to 'skiptospace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1063 | skiptospace(&p); | ^ tag.c:1068:37: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | new_matches = (char_u **) alloc((unsigned)(limit * sizeof(char_u *))); | ^ tag.c:1082:31: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | matches[index++] = strsave(line); | ^ tag.c:1089:42: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | new_matches = *file = (char_u **) alloc((unsigned)(index * sizeof(char_u *))); | ^ tag.c:1025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | ExpandTags(prog, num_file, file) | ^ In file included from tag.c:15: In file included from ./proto.h:76: ./proto/tag.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | int ExpandTags __PARMS((struct regexp *prog, int *num_file, unsigned char ***file)); | ^ 119 warnings generated. --- undo.o --- In file included from undo.c:49: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from undo.c:49: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from undo.c:49: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from undo.c:49: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ undo.c:72:16: warning: passing arguments to 'u_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | return (u_save((linenr_t)(curwin->w_cursor.lnum - 1), (linenr_t)(curwin->w_cursor.lnum + 1))); | ^ undo.c:88:13: warning: passing arguments to 'u_saveline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | u_saveline((linenr_t)(top + 1)); | ^ undo.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 | u_save(top, bot) | ^ In file included from undo.c:49: In file included from ./proto.h:78: ./proto/undo.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | int u_save __PARMS((long top, long bot)); | ^ undo.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | u_savesub(lnum) | ^ In file included from undo.c:49: In file included from ./proto.h:78: ./proto/undo.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | int u_savesub __PARMS((long lnum)); | ^ undo.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 | u_inssub(lnum) | ^ In file included from undo.c:49: In file included from ./proto.h:78: ./proto/undo.pro:5:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | int u_inssub __PARMS((long lnum)); | ^ undo.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 | u_savedel(lnum, nlines) | ^ In file included from undo.c:49: In file included from ./proto.h:78: ./proto/undo.pro:6:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | int u_savedel __PARMS((long lnum, long nlines)); | ^ undo.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 | u_savecommon(top, bot, newbot) | ^ undo.c:235:15: warning: passing arguments to 'ask_yesno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | if (ask_yesno((char_u *)"no undo possible; continue anyway") == 'y') | ^ undo.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 | u_undo(count) | ^ In file included from undo.c:49: In file included from ./proto.h:78: ./proto/undo.pro:7: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] 7 | void u_undo __PARMS((int count)); | ^ undo.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 | u_redo(count) | ^ In file included from undo.c:49: In file included from ./proto.h:78: ./proto/undo.pro:8: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] 8 | void u_redo __PARMS((int count)); | ^ undo.c:323:3: warning: passing arguments to 'unset_Changed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | UNCHANGED(curbuf); | ^ ./vim.h:341:37: note: expanded from macro 'UNCHANGED' 341 | #define UNCHANGED(buf) unset_Changed(buf) | ^ undo.c:337:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | EMSG("u_undo: line numbers wrong"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ undo.c:372:14: warning: passing arguments to 'ml_delete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | ml_delete(lnum); | ^ undo.c:381:14: warning: passing arguments to 'ml_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | ml_append(lnum, uep->ue_array[i], (colnr_t)0, FALSE); | ^ undo.c:390:15: warning: passing arguments to 'mark_adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | mark_adjust(top, top + oldsize - 1, MAXLNUM); | ^ undo.c:391:15: warning: passing arguments to 'mark_adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | mark_adjust(top + oldsize, MAXLNUM, (long)newsize - (long)oldsize); | ^ undo.c:436:10: warning: passing arguments to 'msgmore' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | msgmore(-u_oldcount); | ^ undo.c:438:52: warning: passing arguments to 'plural' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | smsg((char_u *)"%ld change%s", u_newcount, plural(u_newcount)); | ^ undo.c:438:7: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | smsg((char_u *)"%ld change%s", u_newcount, plural(u_newcount)); | ^ undo.c:440:14: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | updateScreen(CURSUPD); | ^ undo.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | u_unchanged(buf) | ^ In file included from undo.c:49: In file included from ./proto.h:78: ./proto/undo.pro:10: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] 10 | void u_unchanged __PARMS((struct buffer *buf)); | ^ undo.c:481:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | EMSG("undo list corrupt"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ undo.c:495:4: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | EMSG("undo line missing"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ undo.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | u_freelist(uhp) | ^ undo.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 | u_freeentry(uep, n) | ^ undo.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | u_clearall(buf) | ^ In file included from undo.c:49: In file included from ./proto.h:78: ./proto/undo.pro:11: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] 11 | void u_clearall __PARMS((struct buffer *buf)); | ^ undo.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 | u_saveline(lnum) | ^ In file included from undo.c:49: In file included from ./proto.h:78: ./proto/undo.pro:12: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] 12 | void u_saveline __PARMS((long lnum)); | ^ undo.c:621:12: warning: passing arguments to 'ml_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | ml_replace(curbuf->b_u_line_lnum, curbuf->b_u_line_ptr, TRUE); | ^ undo.c:631:14: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | updateScreen(VALID_TO_CURSCHAR); | ^ undo.c:705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | u_blockalloc(size) | ^ undo.c:711:30: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | p = (struct m_block *)lalloc(size + sizeof(struct m_block), TRUE); | ^ undo.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | u_blockfree(buf) | ^ In file included from undo.c:49: In file included from ./proto.h:78: ./proto/undo.pro:15: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] 15 | void u_blockfree __PARMS((struct buffer *buf)); | ^ undo.c:753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | u_free_line(ptr) | ^ undo.c:855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | u_alloc_line(size) | ^ undo.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 | u_save_line(lnum) | ^ undo.c:958:14: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | src = ml_get(lnum); | ^ 50 warnings generated. --- cmdtab.h --- ./mkcmdtab cmdtab.tab cmdtab.h --- cmdline.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT cmdline.c --- kanji.o --- In file included from kanji.c:17: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from kanji.c:17: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from kanji.c:17: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from kanji.c:17: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ kanji.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 | ISkanji(code) | ^ kanji.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 | ISkana(code) | ^ kanji.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] 496 | ISdisp(code) | ^ kanji.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | ISkanjiPosition(ptr, pos) | ^ kanji.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | ISkanjiPointer(ptr, p) | ^ kanji.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | ISkanjiCol(lnum, col) | ^ kanji.c:544:35: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | return(ISkanjiPosition(ml_get_buf(curbuf, lnum, FALSE), col + 1)); | ^ kanji.c:551:35: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | return(ISkanjiPosition(ml_get_buf(curbuf, curwin->w_cursor.lnum, FALSE), | ^ kanji.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 | ISkanjiFpos(po) | ^ kanji.c:559:35: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | return(ISkanjiPosition(ml_get_buf(curbuf, po->lnum, FALSE), po->col + 1)); | ^ kanji.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 | vcol2col(wp, lnum, maxcol, wantcol, num, colum) | ^ kanji.c:576:25: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | ptr = line = ml_get_buf(wp->w_buffer, lnum, FALSE); | ^ kanji.c:605:23: warning: passing arguments to 'chartabsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | vcol += chartabsize(c, vcol); | ^ kanji.c:609:22: warning: passing arguments to 'chartabsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | vcol += chartabsize(c, vcol); | ^ kanji.c:630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | sjistojis(high, low) | ^ kanji.c:631:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 631 | char_u high; | ^ ./proto/kanji.pro:11:32: note: previous declaration is here 11 | int_u sjistojis __ARGS((char_u, char_u)); | ^ kanji.c:632:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 632 | char_u low; | ^ ./proto/kanji.pro:11:40: note: previous declaration is here 11 | int_u sjistojis __ARGS((char_u, char_u)); | ^ kanji.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | sjistoeuc(high, low, ss3) | ^ kanji.c:678:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 678 | char_u high; | ^ kanji.c:29:39: note: previous declaration is here 29 | static int_u sjistoeuc __ARGS((char_u, char_u, char_u *)); | ^ kanji.c:679:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 679 | char_u low; | ^ kanji.c:29:47: note: previous declaration is here 29 | static int_u sjistoeuc __ARGS((char_u, char_u, char_u *)); | ^ kanji.c:689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | sjistoeuc3(high, low, ss3) | ^ kanji.c:690:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 690 | char_u high; | ^ kanji.c:30:40: note: previous declaration is here 30 | static int_u sjistoeuc3 __ARGS((char_u, char_u, char_u *)); | ^ kanji.c:691:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 691 | char_u low; | ^ kanji.c:30:48: note: previous declaration is here 30 | static int_u sjistoeuc3 __ARGS((char_u, char_u, char_u *)); | ^ kanji.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | jistosjis(high, low) | ^ kanji.c:755:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 755 | char_u high; | ^ ./proto/kanji.pro:12:32: note: previous declaration is here 12 | int_u jistosjis __ARGS((char_u, char_u)); | ^ kanji.c:756:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 756 | char_u low; | ^ ./proto/kanji.pro:12:40: note: previous declaration is here 12 | int_u jistosjis __ARGS((char_u, char_u)); | ^ kanji.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | euctosjis(high, low) | ^ kanji.c:772:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 772 | char_u high; | ^ kanji.c:27:39: note: previous declaration is here 27 | static int_u euctosjis __ARGS((char_u, char_u)); | ^ kanji.c:773:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 773 | char_u low; | ^ kanji.c:27:47: note: previous declaration is here 27 | static int_u euctosjis __ARGS((char_u, char_u)); | ^ kanji.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 | euctosjis3(high, low) | ^ kanji.c:780:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 780 | char_u high; | ^ kanji.c:28:40: note: previous declaration is here 28 | static int_u euctosjis3 __ARGS((char_u, char_u)); | ^ kanji.c:781:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 781 | char_u low; | ^ kanji.c:28:48: note: previous declaration is here 28 | static int_u euctosjis3 __ARGS((char_u, char_u)); | ^ kanji.c:839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | kanjiin(code) | ^ kanji.c:843:23: warning: returning 'char[4]' from a function with result type 'char_u *' (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] 843 | case JP_JIS: return "\033$B"; | ^~~~~~~~ kanji.c:844:20: warning: returning 'char[1]' from a function with result type 'char_u *' (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] 844 | default: return ""; | ^~ kanji.c:852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | asciiin(code) | ^ kanji.c:856:23: warning: returning 'char[4]' from a function with result type 'char_u *' (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] 856 | case JP_JIS: return "\033(B"; | ^~~~~~~~ kanji.c:857:20: warning: returning 'char[1]' from a function with result type 'char_u *' (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] 857 | default: return ""; | ^~ kanji.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | kanain(code) | ^ kanji.c:869:23: warning: returning 'char[4]' from a function with result type 'char_u *' (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] 869 | case JP_JIS: return "\033(I"; | ^~~~~~~~ kanji.c:870:20: warning: returning 'char[1]' from a function with result type 'char_u *' (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] 870 | default: return ""; | ^~ kanji.c:875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | JPdisp(now, mode, code) | ^ kanji.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 | kanjito(k1, k2, code) | ^ kanji.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 | kanato(k1, k2, code) | ^ kanji.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | jpcls(c, k) | ^ kanji.c:1004:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 1004 | char_u c; | ^ ./proto/kanji.pro:15:28: note: previous declaration is here 15 | int jpcls __ARGS((char_u, char_u)); | ^ kanji.c:1005:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 1005 | char_u k; | ^ ./proto/kanji.pro:15:36: note: previous declaration is here 15 | int jpcls __ARGS((char_u, char_u)); | ^ kanji.c:1024:14: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | if (isidchar(c)) | ^ kanji.c:1034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | isjppunc(c, k, type) | ^ kanji.c:1035:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 1035 | char_u c; | ^ ./proto/kanji.pro:16:30: note: previous declaration is here 16 | int isjppunc __ARGS((char_u, char_u, int)); | ^ kanji.c:1036:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 1036 | char_u k; | ^ ./proto/kanji.pro:16:38: note: previous declaration is here 16 | int isjppunc __ARGS((char_u, char_u, int)); | ^ kanji.c:1061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | isaspunc(c, type) | ^ kanji.c:1062:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 1062 | char_u c; | ^ ./proto/kanji.pro:17:30: note: previous declaration is here 17 | int isaspunc __ARGS((char_u, int)); | ^ kanji.c:1073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | isjsend(cp) | ^ kanji.c:1090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | jptocase(cp, kp, tocase) | ^ kanji.c:1133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | isjpspace(c, k) | ^ kanji.c:1134:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 1134 | char_u c; | ^ ./proto/kanji.pro:20:31: note: previous declaration is here 20 | int isjpspace __ARGS((char_u, char_u)); | ^ kanji.c:1135:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 1135 | char_u k; | ^ ./proto/kanji.pro:20:39: note: previous declaration is here 20 | int isjpspace __ARGS((char_u, char_u)); | ^ kanji.c:1157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | judge_sjis_euc(ptr) | ^ kanji.c:1175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1175 | judge_ucs(ptr) | ^ kanji.c:1198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1198 | judge_jcode(origcode, ubig, ptr, size) | ^ kanji.c:1627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | kanjiconvsfrom(ptr, ptrlen, dst, dstlen, tail, code, charsetp) | ^ kanji.c:1633:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] 1633 | char code; | ^ ./proto/kanji.pro:22:68: note: previous declaration is here 22 | int kanjiconvsfrom __ARGS((char_u*, int, char_u*, int, char*, char, int*)); | ^ kanji.c:2065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2065 | kanjiconvsto(ptr, code, ubig) | ^ kanji.c:2085:14: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2085 | top = alloc(nshift); | ^ kanji.c:2102:21: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2102 | top = ptr2 = alloc(STRLEN(top) + nshift + 1); | ^ kanji.c:2138:21: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2138 | top = ptr2 = alloc(STRLEN(top) + nshift + 2); | ^ kanji.c:2176:21: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2176 | top = ptr2 = alloc(STRLEN(top) + nshift + 1); | ^ kanji.c:2226:21: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2226 | top = ptr2 = alloc(STRLEN(top) + (nshift * 3 * 2/*safe*/) + 1); | ^ kanji.c:2266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2266 | fileconvsfrom(org) | ^ kanji.c:2283:35: warning: passing 'char_u *' (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] 2283 | fname[kanjiconvsfrom(org, strlen(org), | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ kanji.c:2320:8: warning: returning 'char_u *' (aka 'unsigned char *') from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2320 | return(fname); | ^~~~~~~ kanji.c:2324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2324 | fileconvsto(org) | ^ kanji.c:2368:16: warning: passing 'char_u *' (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] 2368 | strcpy(fname, p); | ^ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ kanji.c:2374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2374 | binaryconvsfrom(lnum, code, tail, ptr, len, dst) | ^ kanji.c:2376:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] 2376 | char code; | ^ ./proto/kanji.pro:26:44: note: previous declaration is here 26 | void binaryconvsfrom __ARGS((linenr_t, char, int *, char_u *, int, char_u *)); | ^ kanji.c:2386:10: warning: passing 'char_u *' (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] 2386 | sprintf(dst, "%08lx: ", lnum * 16); | ^~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ kanji.c:2398:12: warning: passing 'char_u *' (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] 2398 | sprintf(dst, "%02x", *wk); | ^~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ kanji.c:2505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2505 | binaryconvsto(code, ptr, len, ubig) | ^ kanji.c:2506:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] 2506 | char code; | ^ ./proto/kanji.pro:27:35: note: previous declaration is here 27 | char_u *binaryconvsto __ARGS((char, char_u *, int *, int)); | ^ kanji.c:2517:14: warning: passing 'char_u *' (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] 2517 | if ((strchr(ptr, ':') > strchr(ptr, '"')) && strchr(ptr, '"') != NULL) | ^~~ /usr/include/string.h:85:26: note: passing argument to parameter here 85 | char *strchr(const char *, int) __pure; | ^ kanji.c:2517:33: warning: passing 'char_u *' (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] 2517 | if ((strchr(ptr, ':') > strchr(ptr, '"')) && strchr(ptr, '"') != NULL) | ^~~ /usr/include/string.h:85:26: note: passing argument to parameter here 85 | char *strchr(const char *, int) __pure; | ^ kanji.c:2517:54: warning: passing 'char_u *' (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] 2517 | if ((strchr(ptr, ':') > strchr(ptr, '"')) && strchr(ptr, '"') != NULL) | ^~~ /usr/include/string.h:85:26: note: passing argument to parameter here 85 | char *strchr(const char *, int) __pure; | ^ kanji.c:2519:25: warning: passing 'char_u *' (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] 2519 | else if ((top = strchr(ptr, ':')) != NULL) | ^~~ /usr/include/string.h:85:26: note: passing argument to parameter here 85 | char *strchr(const char *, int) __pure; | ^ kanji.c:2519:16: warning: assigning to 'char_u *' (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] 2519 | else if ((top = strchr(ptr, ':')) != NULL) | ^ ~~~~~~~~~~~~~~~~ kanji.c:2521:13: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2521 | top = alloc(STRLEN(ptr) + 1); | ^ kanji.c:2651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2651 | jisx0201rto0208(src0, src1, dst0, dst1) | ^ kanji.c:2652:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 2652 | char_u src0, src1, *dst0, *dst1; | ^ kanji.c:35:43: note: previous declaration is here 35 | static int jisx0201rto0208 __ARGS((char_u, char_u, char_u *, char_u *)); | ^ kanji.c:2652:15: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char_u' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] 2652 | char_u src0, src1, *dst0, *dst1; | ^ kanji.c:35:51: note: previous declaration is here 35 | static int jisx0201rto0208 __ARGS((char_u, char_u, char_u *, char_u *)); | ^ kanji.c:2701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2701 | jp_strnicmp(s1, s2, len) | ^ kanji.c:2803:8: warning: assigning to 'char *' from 'char_u *' (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] 2803 | c = *cnv; | ^ ~~~~ kanji.c:2833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2833 | wide2multi(ptr, size, ubig, first) | ^ kanji.c:2871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2871 | multi2wide(k1, k2, len, ubig) | ^ 97 warnings generated. --- search.o --- In file included from search.c:14: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from search.c:14: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from search.c:14: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from search.c:14: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ search.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 | skip_grepregexp(orgstr, dirc) | ^ search.c:111:22: warning: passing arguments to 'skip_regexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | firstp = skip_regexp(orgstr, dirc); | ^ search.c:112:9: warning: passing 'char_u[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] 112 | strcpy(pattern, orgstr); | ^~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ search.c:112:18: warning: passing 'char_u *' (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] 112 | strcpy(pattern, orgstr); | ^~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ search.c:119:18: warning: passing arguments to 'skip_regexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | p = skip_regexp(str, dirc); | ^ search.c:154:16: warning: passing 'char_u *' (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] 154 | if (strncmp(p, "&&", 2) == 0 && p[2] == dirc) | ^ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ search.c:159:21: warning: passing 'char_u *' (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] 159 | else if (strncmp(p, "&&~", 3) == 0 && p[3] == dirc) | ^ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ search.c:165:21: warning: passing 'char_u *' (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] 165 | else if (strncmp(p, "||", 2) == 0 && p[2] == dirc) | ^ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ search.c:167:21: warning: passing 'char_u *' (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] 167 | else if (strncmp(p, "||~", 3) == 0 && p[3] == dirc) | ^ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ search.c:191:31: warning: passing 'char_u *' (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] 191 | if ((w = malloc(strlen(gpattern[i].str) + 5)) == NULL) | ^~~~~~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ search.c:193:15: warning: passing 'char_u *' (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 | strcpy(w, "\\<"); | ^ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ search.c:194:15: warning: passing 'char_u *' (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] 194 | strcat(w, gpattern[i].str); | ^ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | char *(strcat)(char * __restrict, const char * __restrict); | ^ search.c:194:18: warning: passing 'char_u *' (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] 194 | strcat(w, gpattern[i].str); | ^~~~~~~~~~~~~~~ /usr/include/string.h:84:58: note: passing argument to parameter here 84 | char *(strcat)(char * __restrict, const char * __restrict); | ^ search.c:195:15: warning: passing 'char_u *' (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] 195 | strcat(w, "\\>"); | ^ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | char *(strcat)(char * __restrict, const char * __restrict); | ^ search.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 | grepsub(gp, string, at_bol, lnum, look, match, matchend) | ^ search.c:290:40: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | n += strlen(i == 0 ? string : ml_get(lnum + i)); | ^ search.c:290:16: warning: passing '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] 290 | n += strlen(i == 0 ? string : ml_get(lnum + i)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ search.c:299:35: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | cp = (i == 0) ? string : ml_get(lnum + i); | ^ search.c:319:13: warning: passing 'char_u *' (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] 319 | strcat(p, " "); | ^ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | char *(strcat)(char * __restrict, const char * __restrict); | ^ search.c:321:20: warning: passing 'char_u *' (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] 321 | ep = p + strlen(p); | ^ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ search.c:322:11: warning: passing 'char_u *' (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 | strcat(p, cp); | ^ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | char *(strcat)(char * __restrict, const char * __restrict); | ^ search.c:322:14: warning: passing 'char_u *' (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 | strcat(p, cp); | ^~ /usr/include/string.h:84:58: note: passing argument to parameter here 84 | char *(strcat)(char * __restrict, const char * __restrict); | ^ search.c:356:42: warning: passing 'char_u *' (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] 356 | if (gp->prog->startp[0] < (p + strlen(string))) | ^~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ search.c:363:43: warning: passing 'char_u *' (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] 363 | if ((gp->prog->endp[0] - p) > strlen(string)) | ^~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ search.c:364:35: warning: passing 'char_u *' (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] 364 | *matchend = string + strlen(string); | ^~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ search.c:379:50: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | if (regexec(gp->prog, i == 0 ? string : ml_get(lnum + i), at_bol)) | ^ search.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 | grepexec(prog, string, at_bol, lnum) | ^ search.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | do_wrapnext(dir) | ^ search.c:446:30: warning: passing arguments to 'fix_fname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | other = otherfile(fix_fname(arg_files[i])); | ^ search.c:446:20: warning: passing arguments to 'otherfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | other = otherfile(fix_fname(arg_files[i])); | ^ search.c:449:24: warning: passing arguments to 'autowrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | && (autowrite(curbuf) == FAIL))) | ^ search.c:454:14: warning: passing arguments to 'doecmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | (void)doecmd(arg_files[curwin->w_arg_idx], NULL, NULL, p_hid, (linenr_t)1); | ^ search.c:490:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | emsg(e_noprevre); | ^ search.c:499:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | emsg(e_nopresub); | ^ search.c:508:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | emsg(e_noprevre); | ^ search.c:526:29: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | search_pattern = strsave(pat); | ^ search.c:536:28: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | subst_pattern = strsave(pat); | ^ search.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | myregcomp(pat, sub_cmd, which_pat) | ^ In file included from search.c:14: In file included from ./proto.h:75: ./proto/search.pro:2:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2 | struct regexp *myregcomp __PARMS((unsigned char *pat, int sub_cmd, int which_pat)); | ^ search.c:596:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | emsg(e_invstring); | ^ search.c:640:21: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | s = ptr = ml_get(lnum); | ^ search.c:728:9: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | msg(top_bot_msg); | ^ search.c:737:9: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | msg(bot_top_msg); | ^ search.c:752:17: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | updateScreen(must_redraw); | ^ search.c:758:30: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | pos->col = strlen(ml_get(pos->lnum)); | ^ search.c:758:24: warning: passing '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] 758 | pos->col = strlen(ml_get(pos->lnum)); | ^~~~~~~~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ search.c:776:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | emsg(e_interr); | ^ search.c:780:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | emsg(e_patnotf); | ^ search.c:782:5: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | EMSG("search hit TOP without match"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ search.c:784:5: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | EMSG("search hit BOTTOM without match"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ search.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | searchit(pos, dir, str, count, end, message) | ^ In file included from search.c:14: In file included from ./proto.h:75: ./proto/search.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | int searchit __PARMS((struct fpos *pos, int dir, unsigned char *str, long count, int end, int message)); | ^ search.c:853:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | emsg(e_noprevre); | ^ search.c:910:14: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | msg_outchar(dirc); | ^ search.c:911:15: warning: passing arguments to 'msg_outtrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | msg_outtrans(*searchstr == NUL ? search_pattern : searchstr, -1); | ^ search.c:914:15: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | msg_outchar(dirc); | ^ search.c:916:16: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | msg_outchar('e'); | ^ search.c:918:16: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | msg_outchar('s'); | ^ search.c:921:16: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | msg_outchar('-'); | ^ search.c:922:15: warning: passing arguments to 'msg_outnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | msg_outnum((long)-lastoff); | ^ search.c:926:16: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | msg_outchar('+'); | ^ search.c:927:15: warning: passing arguments to 'msg_outnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | msg_outnum((long)lastoff); | ^ search.c:933:14: warning: passing arguments to 'gotocmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | gotocmdline(FALSE, NUL); | ^ search.c:954:18: warning: passing arguments to 'ml_get_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | p = ml_get_pos(&pos) + 1; | ^ search.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | dosearch(dirc, str, reverse, count, echo, message) | ^ In file included from search.c:14: In file included from ./proto.h:75: ./proto/search.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | int dosearch __PARMS((int dirc, unsigned char *str, int reverse, long count, int echo, int message)); | ^ search.c:1056:12: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1056 | p = ml_get(curwin->w_cursor.lnum); | ^ search.c:1019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | searchc(c, k, dir, type, count) | ^ In file included from search.c:14: In file included from ./proto.h:75: ./proto/search.pro:8:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | int searchc __PARMS((int c, int k, int dir, int type, long count)); | ^ search.c:1145:16: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1145 | linep = ml_get(pos.lnum); | ^ search.c:1208:18: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1208 | linep = ml_get(pos.lnum); | ^ search.c:1263:19: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | linep = ml_get(pos.lnum); | ^ search.c:1320:19: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | linep = ml_get(pos.lnum); | ^ search.c:1344:17: warning: passing 'char_u *' (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] 1344 | s = strrchr(linep, '"'); | ^~~~~ /usr/include/string.h:128:27: note: passing argument to parameter here 128 | char *strrchr(const char *, int) __pure; | ^ search.c:1344:7: warning: assigning to 'char_u *' (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] 1344 | s = strrchr(linep, '"'); | ^ ~~~~~~~~~~~~~~~~~~~ search.c:1345:17: warning: passing 'char_u *' (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] 1345 | c = strrchr(linep, '/'); | ^~~~~ /usr/include/string.h:128:27: note: passing argument to parameter here 128 | char *strrchr(const char *, int) __pure; | ^ search.c:1345:7: warning: assigning to 'char_u *' (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] 1345 | c = strrchr(linep, '/'); | ^ ~~~~~~~~~~~~~~~~~~~ search.c:1372:19: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | linep = ml_get(pos.lnum); | ^ search.c:1445:18: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1445 | ptr = ml_get(pos.lnum - 1); | ^ search.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | showmatch(initc) | ^ In file included from search.c:14: In file included from ./proto.h:75: ./proto/search.pro:10:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | struct fpos *showmatch __PARMS((int initc)); | ^ search.c:1555:14: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1555 | if (*ml_get(curr) == what) | ^ search.c:1533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1533 | findfunc(dir, what, count) | ^ In file included from search.c:14: In file included from ./proto.h:75: ./proto/search.pro:11:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 11 | int findfunc __PARMS((int dir, int what, long count)); | ^ search.c:1595:12: warning: passing arguments to 'gchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1595 | if (gchar(&pos) == NUL) | ^ search.c:1598: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] 1598 | if ((*func)(&pos) == -1) | ^ search.c:1600:16: warning: passing arguments to 'gchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1600 | while (gchar(&pos) == NUL); | ^ search.c:1606:53: warning: passing arguments to 'startPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1606 | else if (dir == FORWARD && pos.col == 0 && startPS(pos.lnum, NUL, FALSE)) | ^ search.c:1614:8: warning: passing arguments to 'decl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | decl(&pos); | ^ search.c:1617:20: warning: passing arguments to 'gchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | while ((c = gchar(&pos)) == ' ' || c == '\t' || | ^ search.c:1620:58: warning: passing arguments to 'ml_get_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | (STRCHR(".!?)]\"'", c) != NULL || isjsend(ml_get_pos(&pos))) | ^ search.c:1625:12: warning: passing arguments to 'decl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1625 | if (decl(&pos) == -1) | ^ search.c:1633:18: warning: passing arguments to 'gchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1633 | if ((c = gchar(&pos)) == NUL || | ^ search.c:1634:32: warning: passing arguments to 'startPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1634 | (pos.col == 0 && startPS(pos.lnum, NUL, FALSE))) | ^ search.c:1641:62: warning: passing arguments to 'ml_get_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1641 | if (c == '.' || c == '!' || c == '?' || isjsend(ml_get_pos(&pos))) | ^ search.c:1648:18: warning: passing arguments to 'inc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1648 | if ((c = inc(&tpos)) == -1) | ^ search.c:1650:37: warning: passing arguments to 'gchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1650 | while (strchr(")}\"'", c = gchar(&tpos)) != NULL && c != NUL); | ^ search.c:1658:15: warning: passing arguments to 'gchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1658 | if (gchar(&pos) == NUL) /* skip NUL at EOL */ | ^ search.c:1659:10: warning: passing arguments to 'inc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1659 | inc(&pos); | ^ search.c:1663: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] 1663 | if ((*func)(&pos) == -1) | ^ search.c:1673:32: warning: passing arguments to 'gchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1673 | while (!noskip && ((c = gchar(&pos)) == ' ' || c == '\t')) | ^ search.c:1674:12: warning: passing arguments to 'incl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1674 | if (incl(&pos) == -1) | ^ search.c:1576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1576 | findsent(dir, count) | ^ In file included from search.c:14: In file included from ./proto.h:75: ./proto/search.pro:12:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | int findsent __PARMS((int dir, long count)); | ^ search.c:1709:16: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1709 | if (*ml_get(curr) != NUL) | ^ search.c:1712:38: warning: passing arguments to 'startPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1712 | if (!first && did_skip && startPS(curr, what, both)) | ^ search.c:1725:21: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1725 | if (both && *ml_get(curr) == '}') /* include line with '}' */ | ^ search.c:1730:44: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1730 | if ((curwin->w_cursor.col = STRLEN(ml_get(curr))) != 0) | ^ search.c:1691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | findpar(dir, count, what, both) | ^ In file included from search.c:14: In file included from ./proto.h:75: ./proto/search.pro:13:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | int findpar __PARMS((int dir, long count, int what, int both)); | ^ search.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 | inmacro(opt, s) | ^ search.c:1774:12: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1774 | s = ml_get(lnum); | ^ search.c:1767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1767 | startPS(lnum, para, both) | ^ In file included from search.c:14: In file included from ./proto.h:75: ./proto/search.pro:14:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | int startPS __PARMS((long lnum, int para, int both)); | ^ search.c:1842:14: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1842 | if (isidchar(c)) | ^ search.c:1897:44: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1897 | if (curwin->w_cursor.col == 0 && *ml_get(curwin->w_cursor.lnum) == NUL) | ^ search.c:1859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1859 | fwd_word(count, type, eol) | ^ In file included from search.c:14: In file included from ./proto.h:75: ./proto/search.pro:15:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | int fwd_word __PARMS((long count, int type, int eol)); | ^ search.c:1939:45: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1939 | if (curwin->w_cursor.col == 0 && *ml_get(curwin->w_cursor.lnum) == NUL) | ^ search.c:1951:17: warning: passing arguments to 'skip_chars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1951 | if (skip_chars(sclass, BACKWARD)) | ^ search.c:1914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1914 | bck_word(count, type) | ^ In file included from search.c:14: In file included from ./proto.h:75: ./proto/search.pro:16:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | int bck_word __PARMS((long count, int type)); | ^ search.c:1998:18: warning: passing arguments to 'skip_chars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1998 | if (skip_chars(sclass, FORWARD)) | ^ search.c:2007:18: warning: passing arguments to 'skip_chars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2007 | if (skip_chars(0, FORWARD)) /* skip any white space */ | ^ search.c:2013:18: warning: passing arguments to 'skip_chars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2013 | if (skip_chars(cls(), FORWARD)) | ^ search.c:1976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1976 | end_word(count, type, stop) | ^ In file included from search.c:14: In file included from ./proto.h:75: ./proto/search.pro:17:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | int end_word __PARMS((long count, int type, int stop)); | ^ search.c:2023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2023 | skip_chars(class, dir) | ^ In file included from search.c:14: In file included from ./proto.h:75: ./proto/search.pro:18:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | int skip_chars __PARMS((int class, int dir)); | ^ 133 warnings generated. --- screen.o --- In file included from screen.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from screen.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from screen.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from screen.c:15: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ screen.c:76:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | updateScreen(must_redraw); | ^ screen.c:88:21: warning: passing arguments to 'set_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | (void)set_highlight('v'); | ^ screen.c:92:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | updateScreen(VALID_TO_CURSCHAR); | ^ screen.c:99:18: warning: passing arguments to 'win_del_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | win_del_lines(curwin, row, Cline_height - n, FALSE, TRUE); | ^ screen.c:101:18: warning: passing arguments to 'win_ins_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | win_ins_lines(curwin, Cline_row + Cline_height, n - Cline_height, FALSE, TRUE); | ^ screen.c:102:16: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | updateScreen(VALID_TO_CURSCHAR); | ^ screen.c:158:20: warning: passing arguments to 'win_rest_invalid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | win_rest_invalid(firstwin); /* should do only first/last few */ | ^ screen.c:175:14: warning: passing arguments to 'gotocmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | gotocmdline(TRUE, NUL); /* first clear cmdline */ | ^ screen.c:192:14: warning: passing arguments to 'win_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | win_update(wp); | ^ screen.c:194:19: warning: passing arguments to 'win_redr_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | win_redr_status(wp); | ^ screen.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 | updateScreen(type) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:3: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] 3 | void updateScreen __PARMS((int type)); | ^ screen.c:248:21: warning: passing arguments to 'plines_m_win' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | i = plines_m_win(wp, wp->w_topline, lastline); | ^ screen.c:256:23: warning: passing arguments to 'win_ins_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | if (win_ins_lines(wp, 0, i, FALSE, wp == firstwin) == OK && | ^ screen.c:301:35: warning: passing arguments to 'win_del_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | if ((row == 0 || win_del_lines(wp, 0, row, FALSE, wp == firstwin) == OK) && wp->w_lsize_valid) | ^ screen.c:393:21: warning: passing arguments to 'set_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | (void)set_highlight('v'); | ^ screen.c:410:33: warning: passing arguments to 'plines_win' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | wp->w_lsize[idx] = plines_win(wp, lnum); /* we may need the size of that */ | ^ screen.c:469:15: warning: passing arguments to 'screen_fill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | screen_fill(wp->w_winpos + wp->w_height - 1, wp->w_winpos + wp->w_height, 0, (int)Columns, '@', '@'); | ^ screen.c:477:15: warning: passing arguments to 'screen_fill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | screen_fill(wp->w_winpos + srow, wp->w_winpos + wp->w_height, 0, (int)Columns, '@', ' '); | ^ screen.c:486:14: warning: passing arguments to 'screen_fill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | screen_fill(wp->w_winpos + row, wp->w_winpos + wp->w_height, 0, (int)Columns, '~', ' '); | ^ screen.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 | win_update(wp) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:4: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] 4 | void win_update __PARMS((struct window *wp)); | ^ screen.c:528:20: warning: passing arguments to 'set_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | if (set_highlight('s') == OK) /* can highlight */ | ^ screen.c:544:16: warning: passing arguments to 'home_replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | home_replace(p, NameBuff, MAXPATHL); | ^ screen.c:552:18: warning: passing arguments to 'screen_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | screen_outchar('<', row, 0); | ^ screen.c:557:13: warning: passing arguments to 'screen_msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | screen_msg(p, row, col); | ^ screen.c:559:14: warning: passing arguments to 'screen_msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | screen_msg((char_u *)" [+]", row, len - 4); | ^ screen.c:560:14: warning: passing arguments to 'screen_fill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | screen_fill(row, row + 1, len, ru_col, fillchar, fillchar); | ^ screen.c:563:17: warning: passing arguments to 'win_redr_ruler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | win_redr_ruler(wp, TRUE); | ^ screen.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | win_redr_status(wp) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:6: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] 6 | void win_redr_status __PARMS((struct window *wp)); | ^ screen.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 | win_line(wp, lnum, startrow, endrow) | ^ screen.c:626:22: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | fromcol = getvcol(wp, top, 2); | ^ screen.c:627:19: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | temp = getvcol(wp, bot, 2); | ^ screen.c:636:21: warning: passing arguments to 'ml_get_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | if (*ml_get_pos(&w) != '\t') | ^ screen.c:637:24: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | fromcol = getvcol(wp, &w, 2); | ^ screen.c:643:21: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | tocol = getvcol(wp, top, 3); | ^ screen.c:644:20: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | temp = getvcol(wp, bot, 3); | ^ screen.c:653:22: warning: passing arguments to 'ml_get_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | if (*ml_get_pos(&w) != '\t') | ^ screen.c:654:23: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | tocol = getvcol(wp, &w, 3); | ^ screen.c:666:22: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | fromcol = getvcol(wp, top, 2); | ^ screen.c:668:20: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | tocol = getvcol(wp, bot, 3) + 1; | ^ screen.c:695:18: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | ptr = ml_get_buf(wp->w_buffer, lnum, FALSE); | ^ screen.c:712:23: warning: passing arguments to 'chartabsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | vcol += chartabsize(*ptr++, vcol); | ^ screen.c:741:35: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | && ISkanjiPointer(ml_get_buf(wp->w_buffer, lnum, FALSE), ptr - 1) == 2 | ^ screen.c:747:24: warning: passing arguments to 'set_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | (void)set_highlight('v'); | ^ screen.c:853:25: warning: passing arguments to 'transchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | p_extra = transchar(c); | ^ screen.c:854:24: warning: passing arguments to 'charsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | n_extra = charsize(c) - 1; | ^ screen.c:899:16: warning: passing arguments to 'screen_fill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | screen_fill(screen_row, screen_row + 1, col, (int)Columns, ' ', ' '); | ^ screen.c:1024:12: warning: passing arguments to 'screen_msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | screen_msg(buf, row, col); | ^ screen.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] 1016 | screen_outchar(c, row, col) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:7: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] 7 | void screen_outchar __PARMS((int c, int row, int col)); | ^ screen.c:1035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | screen_msg(msg, row, col) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:8: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] 8 | void screen_msg __PARMS((unsigned char *msg, int row, int col)); | ^ screen.c:1105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1105 | set_highlight(context) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:10:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | int set_highlight __PARMS((int context)); | ^ screen.c:1157:9: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | outstr(highlight); | ^ screen.c:1171:9: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | outstr(unhighlight); | ^ screen.c:1180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | screen_char(p, row, col) | ^ screen.c:1225:15: warning: passing arguments to 'outchar2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1225 | outchar2(*ptr, *(ptr + 1)); | ^ screen.c:1229:14: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | outchar(*ptr++); | ^ screen.c:1245:18: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | OUTSTR(tgoto((char *)T_CRI, 0, i)); | ^ screen.c:1245:6: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | OUTSTR(tgoto((char *)T_CRI, 0, i)); | ^ ./vim.h:358:27: note: expanded from macro 'OUTSTR' 358 | #define OUTSTR(s) outstr((char_u *)(s)) | ^ screen.c:1247:14: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1247 | windgoto(row, col); | ^ screen.c:1258:12: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | windgoto(oldrow = row, oldcol = col); | ^ screen.c:1270:10: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1270 | outstr(highlight); | ^ screen.c:1272:10: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1272 | outstr(unhighlight); | ^ screen.c:1277:11: warning: passing arguments to 'outchar2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1277 | outchar2(*p, *(p + 1)); | ^ screen.c:1282:10: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | outchar(*p); | ^ screen.c:1342:13: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | windgoto(row, col); | ^ screen.c:1343:11: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | outstr(T_EL); | ^ screen.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 | screen_fill(start_row, end_row, start_col, end_col, c1, c2) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:13: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] 13 | void screen_fill __PARMS((int start_row, int end_row, int start_col, int end_col, int c1, int c2)); | ^ screen.c:1394:15: warning: passing arguments to 'comp_Botline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1394 | comp_Botline(wp); | ^ screen.c:1409:26: warning: passing arguments to 'plines_win' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1409 | if ((done += plines_win(wp, lnum)) > wp->w_height) | ^ screen.c:1401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1401 | comp_Botline(wp) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:15: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] 15 | void comp_Botline __PARMS((struct window *wp)); | ^ screen.c:1416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | screenalloc(clear) | ^ screen.c:1442:17: warning: passing arguments to 'win_free_lsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1442 | win_free_lsize(wp); | ^ screen.c:1455:22: warning: passing arguments to 'win_alloc_lsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | if (win_alloc_lsize(wp) == FAIL) | ^ screen.c:1464:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | emsg(e_outofmem); | ^ screen.c:1507:8: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1507 | outstr(T_ED); /* clear the display */ | ^ screen.c:1523:18: warning: passing arguments to 'win_rest_invalid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1523 | win_rest_invalid(firstwin); | ^ screen.c:1579:14: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1579 | i = plines(p); | ^ screen.c:1583:16: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1583 | i += plines(--p); | ^ screen.c:1590:62: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | for (i = 0; i < p_sj && curwin->w_topline > 1; i += plines(--curwin->w_topline)) | ^ screen.c:1611:19: warning: passing arguments to 'plines_m' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1611 | temp = plines_m(curwin->w_botline, curwin->w_cursor.lnum) - curwin->w_empty_rows; | ^ screen.c:1622:17: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1622 | i += plines(p); | ^ screen.c:1641:16: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1641 | i += plines(p); | ^ screen.c:1646:12: warning: passing arguments to 'scrollup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | scrollup(nlines); | ^ screen.c:1654:27: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1654 | curwin->w_row += plines(p); | ^ screen.c:1666:28: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1666 | Cline_height = plines(curwin->w_cursor.lnum); | ^ screen.c:1670:15: warning: passing arguments to 'curs_columns' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1670 | curs_columns(!RedrawingDisabled); /* compute curwin->w_virtcol and curwin->w_col */ | ^ screen.c:1691:29: warning: passing arguments to 'getvcol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | curwin->w_virtcol = getvcol(curwin, &curwin->w_cursor, 1); | ^ screen.c:1700:26: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1700 | char_u * p = ml_get_buf(curbuf, curwin->w_cursor.lnum, FALSE); | ^ screen.c:1723:24: warning: passing arguments to 'chartabsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1723 | col += chartabsize(*p, col); | ^ screen.c:1686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1686 | curs_columns(scroll) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:19: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] 19 | void curs_columns __PARMS((int scroll)); | ^ screen.c:1816:18: warning: passing arguments to 'ml_get_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1816 | ptr = ml_get_buf(wp->w_buffer, pos->lnum, FALSE); | ^ screen.c:1838:21: warning: passing arguments to 'chartabsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1838 | incr = chartabsize(c, (long)vcol); | ^ screen.c:1800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1800 | getvcol(wp, pos, type) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:20:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | int getvcol __PARMS((struct window *wp, struct fpos *pos, int type)); | ^ screen.c:1876:17: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1876 | done += plines(--curwin->w_topline); | ^ screen.c:1884:26: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1884 | curwin->w_row += plines(curwin->w_cursor.lnum) - 1 - curwin->w_virtcol / Columns; | ^ screen.c:1886:26: warning: passing arguments to 'plines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1886 | curwin->w_row -= plines(curwin->w_cursor.lnum--); | ^ screen.c:1866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1866 | scrolldown(nlines) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:21: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] 21 | void scrolldown __PARMS((long nlines)); | ^ screen.c:1890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1890 | scrollup(nlines) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:22: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] 22 | void scrollup __PARMS((long nlines)); | ^ screen.c:1963:20: warning: passing arguments to 'scroll_region_set' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1963 | scroll_region_set(wp); | ^ screen.c:1981:23: warning: passing arguments to 'screen_del_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1981 | if (screen_del_lines(0, wp->w_winpos + wp->w_height - nlines, nlines, (int)Rows) == OK) | ^ screen.c:2006:20: warning: passing arguments to 'win_rest_invalid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2006 | win_rest_invalid(wp->w_next); | ^ screen.c:1922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1922 | win_ins_lines(wp, row, nlines, invalid, mayclear) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:23:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | int win_ins_lines __PARMS((struct window *wp, int row, int nlines, int invalid, int mayclear)); | ^ screen.c:2059:20: warning: passing arguments to 'scroll_region_set' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2059 | scroll_region_set(wp); | ^ screen.c:2060:28: warning: passing arguments to 'screen_del_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2060 | retval = screen_del_lines(wp->w_winpos, row, nlines, wp->w_height); | ^ screen.c:2068:22: warning: passing arguments to 'screen_del_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2068 | if (screen_del_lines(0, wp->w_winpos + row, nlines, (int)Rows) == FAIL) | ^ screen.c:2080:20: warning: passing arguments to 'win_rest_invalid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2080 | win_rest_invalid(wp->w_next); | ^ screen.c:2021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2021 | win_del_lines(wp, row, nlines, invalid, mayclear) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:24:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | int win_del_lines __PARMS((struct window *wp, int row, int nlines, int invalid, int mayclear)); | ^ screen.c:2096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2096 | win_rest_invalid(wp) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:25: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] 25 | void win_rest_invalid __PARMS((struct window *wp)); | ^ screen.c:2128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2128 | screen_ins_lines(off, row, nlines, end) | ^ screen.c:2158:17: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2158 | windgoto(cursor_row, 0); | ^ screen.c:2160:10: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2160 | outstr(T_IL); | ^ screen.c:2162: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] 2162 | OUTSTR(tgoto((char *)T_CIL, 0, nlines)); | ^ screen.c:2162:4: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2162 | OUTSTR(tgoto((char *)T_CIL, 0, nlines)); | ^ ./vim.h:358:27: note: expanded from macro 'OUTSTR' 358 | #define OUTSTR(s) outstr((char_u *)(s)) | ^ screen.c:2169:13: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2169 | windgoto(cursor_row, 0); | ^ screen.c:2171:11: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2171 | outstr(T_IL); | ^ screen.c:2173:11: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2173 | outstr(T_SR); | ^ screen.c:2241:11: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2241 | windgoto(cursor_row, 0); | ^ screen.c:2243:10: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2243 | outstr(T_DL); | ^ screen.c:2245: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] 2245 | OUTSTR(tgoto((char *)T_CDL, 0, nlines)); | ^ screen.c:2245:4: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2245 | OUTSTR(tgoto((char *)T_CDL, 0, nlines)); | ^ ./vim.h:358:27: note: expanded from macro 'OUTSTR' 358 | #define OUTSTR(s) outstr((char_u *)(s)) | ^ screen.c:2251:12: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2251 | windgoto(cursor_end - 1, 0); | ^ screen.c:2253:12: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2253 | outchar('\n'); | ^ screen.c:2259:13: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2259 | windgoto(cursor_row, 0); | ^ screen.c:2260:11: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2260 | outstr(T_DL); /* delete a line */ | ^ screen.c:2206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2206 | screen_del_lines(off, row, nlines, end) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:26:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | int screen_del_lines __PARMS((int off, int row, int nlines, int end)); | ^ screen.c:2301:14: warning: passing arguments to 'gotocmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2301 | gotocmdline(clear_cmdline, NUL); | ^ screen.c:2306:15: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2306 | msg_outstr((char_u *)"-- "); | ^ screen.c:2308:16: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2308 | msg_outstr((char_u *)"REVERSE "); | ^ screen.c:2310:16: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2310 | msg_outstr((char_u *)"INSERT --"); | ^ screen.c:2312:16: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2312 | msg_outstr((char_u *)"REPLACE --"); | ^ screen.c:2318:14: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2318 | msg_outstr((char_u *)"recording"); | ^ screen.c:2324:16: warning: passing arguments to 'win_redr_ruler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2324 | win_redr_ruler(lastwin, TRUE); | ^ screen.c:2335:3: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2335 | MSG("recording"); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ screen.c:2337:3: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2337 | MSG(""); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ screen.c:2348:16: warning: passing arguments to 'win_redr_ruler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2348 | win_redr_ruler(curwin, always); | ^ screen.c:2345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2345 | showruler(always) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:29: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] 29 | void showruler __PARMS((int always)); | ^ screen.c:2352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2352 | win_redr_ruler(wp, always) | ^ In file included from screen.c:15: In file included from ./proto.h:74: ./proto/screen.pro:30: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] 30 | void win_redr_ruler __PARMS((struct window *wp, int always)); | ^ 158 warnings generated. --- grep.o --- In file included from grep/grep.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from grep/grep.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from grep/grep.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from grep/grep.c:15: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ grep/grep.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 | emsg(msg) | ^ In file included from grep/grep.c:15: In file included from ./proto.h:66: ./proto/message.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | int emsg __PARMS((unsigned char *s)); | ^ grep/grep.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | ml_get_buf(buf, lnum, will_change) | ^ In file included from grep/grep.c:15: In file included from ./proto.h:65: ./proto/memline.pro:13:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | unsigned char *ml_get_buf __PARMS((struct buffer *buf, long lnum, int will_change)); | ^ grep/grep.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 | mch_avail_mem(spec) | ^ grep/grep.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 | fileopen(fname) | ^ grep/grep.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 | fileread(fd, lp) | ^ grep/grep.c:295:11: warning: initializing 'char *' with an expression of type '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 | char * p = lp->lp; | ^ ~~~~~~ grep/grep.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | compile(str, no, and) | ^ grep/grep.c:377:13: warning: passing 'char_u *' (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] 377 | n = strlen(str) * 2 + ((o_word || o_line) ? 7 : 1); | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ grep/grep.c:384:33: warning: passing 'char_u *' (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] 384 | n = kanjiconvsfrom(str, strlen(str), buf, n, NULL, JP_SYS, NULL); | ^~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ grep/grep.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 | grepsub(gp, look) | ^ grep/grep.c:444:16: warning: passing '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] 444 | n += strlen(line[i + o_before]->lp); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ grep/grep.c:473:13: warning: passing 'char_u *' (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] 473 | strcat(p, " "); | ^ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | char *(strcat)(char * __restrict, const char * __restrict); | ^ grep/grep.c:475:20: warning: passing 'char_u *' (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] 475 | ep = p + strlen(p); | ^ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ grep/grep.c:476:11: warning: passing 'char_u *' (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] 476 | strcat(p, cp); | ^ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | char *(strcat)(char * __restrict, const char * __restrict); | ^ grep/grep.c:476:14: warning: passing 'char_u *' (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] 476 | strcat(p, cp); | ^~ /usr/include/string.h:84:58: note: passing argument to parameter here 84 | char *(strcat)(char * __restrict, const char * __restrict); | ^ grep/grep.c:510:42: warning: passing '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] 510 | if (gp->prog->startp[0] < (p + strlen(line[o_before]->lp))) | ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ grep/grep.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 | do_grep(fname) | ^ grep/grep.c:591:20: warning: passing 'char *' to parameter of type 'char_u *' (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] 591 | if (regexec(pg1, fname, TRUE) || regexec(pg2, fname, TRUE)) | ^~~~~ grep/grep.c:591:49: warning: passing 'char *' to parameter of type 'char_u *' (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] 591 | if (regexec(pg1, fname, TRUE) || regexec(pg2, fname, TRUE)) | ^~~~~ grep/grep.c:836:18: warning: passing '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] 836 | if (strlen(f_opt.lp) != 0) | ^~~~~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ grep/grep.c:852:14: warning: passing 'char *' to parameter of type 'char_u *' (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] 852 | compile(optarg, no, *cp == 'E' ? TRUE : FALSE); | ^~~~~~ grep/grep.c:864:9: warning: assigning to 'char_u *' (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] 864 | q = optarg; | ^ ~~~~~~ grep/grep.c:865:21: warning: assigning to 'char_u *' (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] 865 | for (i = 0, p = optarg; i < 3 && *p; i++, p++) | ^ ~~~~~~ grep/grep.c:933:11: warning: passing 'char *' to parameter of type 'char_u *' (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] 933 | compile(argv[0], no, TRUE); | ^~~~~~~ grep/grep.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | getarg(argc, argv) | ^ grep/grep.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | do_search(argc, argv) | ^ grep/grep.c:1119:6: warning: assigning to 'char *' from 'char_u *' (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] 1119 | p = vimgetenv((char_u *)"LC_CTYPE"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grep/grep.c:1122:6: warning: assigning to 'char *' from 'char_u *' (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] 1122 | p = vimgetenv((char_u *)"LANG"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ grep/grep.c:1096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | main(argc, argv) | ^ In file included from grep/grep.c:15: In file included from ./proto.h:58: ./proto/main.pro:2:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2 | int main __PARMS((int argc, char **argv)); | ^ 36 warnings generated. --- grep.bin --- cc -o grep.bin grep.o alloc.o charset.o kanji.o regexp.o regsub.o u2s.o s2u.o -ltermlib -L/usr/local/lib -lX11 -L/usr/local/lib --- cmdline.o --- In file included from cmdline.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:3:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | struct regexp *regcomp __PARMS((unsigned char *exp)); | ^ ./regexp.h:39:9: note: conflicting prototype is here 39 | regexp *regcomp __ARGS((char_u *)); | ^ In file included from cmdline.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:4:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 4 | int regexec __PARMS((struct regexp *prog, unsigned char *string, int at_bol)); | ^ ./regexp.h:40:5: note: conflicting prototype is here 40 | int regexec __ARGS((regexp *, char_u *, int)); | ^ In file included from cmdline.c:15: In file included from ./proto.h:72: ./proto/regexp.pro:6:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 6 | unsigned char *cstrchr __PARMS((unsigned char *s, int c)); | ^ ./regexp.h:42:9: note: conflicting prototype is here 42 | char_u *cstrchr __ARGS((char_u *, int)); | ^ In file included from cmdline.c:15: In file included from ./proto.h:73: ./proto/regsub.pro:3:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 3 | int regsub __PARMS((struct regexp *prog, unsigned char *source, unsigned char *dest, int copy, int magic)); | ^ ./regexp.h:45:5: note: conflicting prototype is here 45 | int regsub __ARGS((regexp *, char_u *, char_u *, int, int)); | ^ cmdline.c:119:13: warning: passing arguments to 'gotocmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | gotocmdline(TRUE, firstc); | ^ cmdline.c:128:28: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | temp = (char_u **)lalloc((long_u)(newlen * sizeof(char_u *)), TRUE); | ^ cmdline.c:167:11: warning: passing arguments to 'dodigraph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | dodigraph(-1); /* init digraph typahead */ | ^ cmdline.c:201:19: warning: passing arguments to 'ExpandOne' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | (void)ExpandOne(NULL, FALSE, -2); /* may free expanded file names */ | ^ cmdline.c:204:16: warning: passing arguments to 'dodigraph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | c = dodigraph(c); | ^ cmdline.c:223:11: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | outchar('\r'); /* show that we got the return */ | ^ cmdline.c:272:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 272 | else | ^ cmdline.c:282:19: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | i = isidchar(buff[cmdpos - 1]); | ^ cmdline.c:292:62: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | while (cmdpos && !isspace(buff[cmdpos - 1]) && isidchar(buff[cmdpos - 1]) == i) | ^ cmdline.c:310:13: warning: passing arguments to 'msg_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | msg_pos(-1, 0); | ^ cmdline.c:311:17: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | msg_outchar(' '); /* delete ':' */ | ^ cmdline.c:329:5: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | MSG(""); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ cmdline.c:364:26: warning: passing arguments to 'charsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | cmdspos += charsize(buff[cmdpos]); | ^ cmdline.c:385:26: warning: passing arguments to 'charsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | cmdspos -= charsize(buff[cmdpos]); | ^ cmdline.c:398:22: warning: passing arguments to 'strsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | cmdspos = strsize(buff) + 1; | ^ cmdline.c:445:47: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | if (lookfor == NULL && (lookfor = strsave(buff)) == NULL) | ^ cmdline.c:504:20: warning: passing arguments to 'get_literal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | c = get_literal(&nextc, &k); | ^ cmdline.c:517:17: warning: passing arguments to 'charsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | if (charsize(c) == 1) | ^ cmdline.c:522:19: warning: passing arguments to 'getdigraph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | c = getdigraph(c, cc, TRUE); | ^ cmdline.c:529:27: warning: passing arguments to 'isidchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | if (do_abbr && !isidchar(c) && ccheck_abbr(c)) | ^ cmdline.c:546:18: warning: passing arguments to 'msg_outtrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | msg_outtrans(buff + cmdpos, cmdlen - cmdpos); | ^ cmdline.c:555:17: warning: passing arguments to 'msg_outtrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | msg_outtrans(buff + cmdpos, cmdlen - cmdpos); | ^ cmdline.c:563:17: warning: passing arguments to 'charsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | i = charsize(c); | ^ cmdline.c:587:17: warning: passing 'char_u *' (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] 587 | if (strcmp(history[i], buff) == 0) | ^~~~~~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ cmdline.c:587:29: warning: passing 'char_u *' (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] 587 | if (strcmp(history[i], buff) == 0) | ^~~~ /usr/include/string.h:90:39: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ cmdline.c:596:32: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | history[hisidx] = strsave(buff); | ^ cmdline.c:605:31: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | history[hisidx] = strsave(buff); | ^ cmdline.c:616:29: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | history[hisidx] = strsave(buff); | ^ cmdline.c:621:30: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | new_last_cmdline = strsave(buff); | ^ cmdline.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 | getcmdline(firstc, buff) | ^ In file included from cmdline.c:15: In file included from ./proto.h:50: ./proto/cmdline.pro:2:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 2 | int getcmdline __PARMS((int firstc, unsigned char *buff)); | ^ cmdline.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | putcmdline(c, buff) | ^ cmdline.c:652:14: warning: passing arguments to 'msg_outtrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | msg_outtrans(buf, 1); | ^ cmdline.c:653:14: warning: passing arguments to 'msg_outtrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | msg_outtrans(buff + cmdpos, cmdlen - cmdpos); | ^ cmdline.c:684:13: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | msg_outchar(cmdfirstc); | ^ cmdline.c:685:14: warning: passing arguments to 'msg_outtrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | msg_outtrans(cmdbuff, cmdlen); | ^ cmdline.c:698:22: warning: passing arguments to 'charsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | cmdspos += charsize(cmdbuff[i]); | ^ cmdline.c:729:19: warning: passing arguments to 'charsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | col += charsize(cmdbuff[i]); | ^ cmdline.c:737:9: warning: passing arguments to 'msg_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | msg_pos(cmdline_row + row, col); | ^ cmdline.c:741:10: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | windgoto(msg_row, msg_col); | ^ cmdline.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | ccheck_abbr(c) | ^ cmdline.c:757:19: warning: passing arguments to 'check_abbr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | return check_abbr(c, cmdbuff, cmdpos, 0); | ^ cmdline.c:789:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | emsg(e_toolong); | ^ cmdline.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | docmdline(cmdline) | ^ In file included from cmdline.c:15: In file included from ./proto.h:50: ./proto/cmdline.pro:6:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | int docmdline __PARMS((unsigned char *cmdline)); | ^ cmdline.c:832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | DoOneCmd(buff) | ^ cmdline.c:893:12: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | skipspace(&cmd); | ^ cmdline.c:931:11: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | skipspace(&cmd); | ^ cmdline.c:995:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | emsg(e_invcmd); | ^ cmdline.c:1015:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | emsg(e_norange); | ^ cmdline.c:1026:16: warning: passing arguments to 'ask_yesno' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | if (ask_yesno((char_u *)"Backwards range given, OK to swap") != 'y') | ^ cmdline.c:1039:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | emsg(e_invrange); | ^ cmdline.c:1062:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | emsg(e_toolong); | ^ cmdline.c:1073:11: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | skipspace(&arg); | ^ cmdline.c:1077:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | emsg(e_argreq); | ^ cmdline.c:1087:5: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | EMSG("Use w or w>>"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ cmdline.c:1091:13: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | skipspace(&arg); | ^ cmdline.c:1119:12: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1119 | skipspace(&arg); | ^ cmdline.c:1156:14: warning: passing arguments to 'del_spaces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | del_spaces(arg); | ^ cmdline.c:1167:54: warning: passing arguments to 'is_yank_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | if ((argt & REGSTR) && *arg != NUL && is_yank_buffer(*arg, FALSE) && !((argt & COUNT) && isdigit(*arg))) | ^ cmdline.c:1171:12: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | skipspace(&arg); | ^ cmdline.c:1176:16: warning: passing arguments to 'getdigits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1176 | n = getdigits(&arg); | ^ cmdline.c:1177:12: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | skipspace(&arg); | ^ cmdline.c:1180:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | emsg(e_zerocount); | ^ cmdline.c:1199:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | emsg(e_trailing); | ^ cmdline.c:1245:16: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | q = gettail(curbuf->b_filename); | ^ cmdline.c:1255:16: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1255 | q = gettail(buf); | ^ cmdline.c:1258:24: warning: passing arguments to 'ispathsep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | if (*q && ispathsep(*(q + STRLEN(q) - 1))) | ^ cmdline.c:1279:23: warning: passing arguments to 'getdigits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | i = (int)getdigits(&q); | ^ cmdline.c:1282:24: warning: passing arguments to 'buflist_name_nr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | if (buflist_name_nr(i, &q, &doecmdlnum) == FAIL) | ^ cmdline.c:1284:10: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1284 | emsg(e_noalt); | ^ cmdline.c:1293:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | emsg(e_toolong); | ^ cmdline.c:1307:23: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | arg >= gettail(q)) | ^ cmdline.c:1331:23: warning: passing arguments to 'ExpandOne' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1331 | if ((p = ExpandOne(arg, TRUE, -1)) == NULL) | ^ cmdline.c:1336:10: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1336 | emsg(e_toolong); | ^ cmdline.c:1376:14: warning: passing arguments to 'settmode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | settmode(1); | ^ cmdline.c:1380:12: warning: passing arguments to 'getout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1380 | getout(0); | ^ cmdline.c:1381:17: warning: passing arguments to 'close_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1381 | close_window(TRUE); /* may free buffer */ | ^ cmdline.c:1390:12: warning: passing arguments to 'getout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1390 | getout(0); | ^ cmdline.c:1392:13: warning: passing arguments to 'settmode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1392 | settmode(1); | ^ cmdline.c:1399:17: warning: passing arguments to 'close_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1399 | close_window(FALSE); /* don't free buffer */ | ^ cmdline.c:1406:17: warning: passing arguments to 'close_others' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1406 | close_others(TRUE); | ^ cmdline.c:1416:22: warning: passing arguments to 'mch_restore_title' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | mch_restore_title(3); /* restore window titles */ | ^ cmdline.c:1423:12: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1423 | outstr(T_CVV); | ^ cmdline.c:1424:12: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1424 | outstr(T_CV); | ^ cmdline.c:1442:14: warning: passing arguments to 'settmode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1442 | settmode(1); | ^ cmdline.c:1446:12: warning: passing arguments to 'getout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | getout(0); | ^ cmdline.c:1447:17: warning: passing arguments to 'close_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1447 | close_window(TRUE); /* quit current window, may free buffer */ | ^ cmdline.c:1466:13: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1466 | emsg(e_noname); | ^ cmdline.c:1471:9: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1471 | EMSG2("\"%s\" is readonly, use ! to write anyway", buf->b_xfilename); | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ cmdline.c:1481:14: warning: passing arguments to 'getout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | getout(0); /* exit Vim */ | ^ cmdline.c:1483:15: warning: passing arguments to 'settmode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1483 | settmode(1); | ^ cmdline.c:1489:16: warning: passing arguments to 'ml_preserve' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1489 | ml_preserve(curbuf, TRUE); | ^ cmdline.c:1503:11: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | smsg((char_u *)"[%s]", curbuf->b_filename); | ^ cmdline.c:1506:16: warning: passing arguments to 'gotocmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1506 | gotocmdline(TRUE, NUL); | ^ cmdline.c:1510:18: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | msg_outchar('['); | ^ cmdline.c:1511:16: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1511 | msg_outstr(arg_files[i]); | ^ cmdline.c:1513:18: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1513 | msg_outchar(']'); | ^ cmdline.c:1514:17: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1514 | msg_outchar(' '); | ^ cmdline.c:1518:17: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1518 | msg_outchar('\n'); | ^ cmdline.c:1519:17: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | wait_return(FALSE); | ^ cmdline.c:1561:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1561 | EMSG("There is only one file to edit"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ cmdline.c:1563:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | EMSG("Cannot go before first file"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ cmdline.c:1565:7: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1565 | EMSG2("No more than %ld files to edit", (char_u *)(long)arg_count); | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ cmdline.c:1570:19: warning: passing arguments to 'win_split' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1570 | if (win_split(0L, FALSE) == FAIL) | ^ cmdline.c:1583:34: warning: passing arguments to 'fix_fname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1583 | other = otherfile(fix_fname(arg_files[i])); | ^ cmdline.c:1583:24: warning: passing arguments to 'otherfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1583 | other = otherfile(fix_fname(arg_files[i])); | ^ cmdline.c:1588:17: warning: passing arguments to 'doecmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1588 | (void)doecmd(arg_files[curwin->w_arg_idx], NULL, editcmd, p_hid, (linenr_t)0); | ^ cmdline.c:1627:21: warning: passing arguments to 'do_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | (void)do_buffer(*cmd == 's', 0, FORWARD, 0, 0); | ^ cmdline.c:1629:21: warning: passing arguments to 'do_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1629 | (void)do_buffer(*cmd == 's', 1, FORWARD, (int)line2, 0); | ^ cmdline.c:1634:20: warning: passing arguments to 'do_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1634 | (void)do_buffer(*cmd == 's', 3, FORWARD, (int)line2, 0); | ^ cmdline.c:1639:20: warning: passing arguments to 'do_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | (void)do_buffer(*cmd == 's', 0, FORWARD, (int)line2, 0); | ^ cmdline.c:1646:20: warning: passing arguments to 'do_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | (void)do_buffer(*cmd == 's', 0, BACKWARD, (int)line2, 0); | ^ cmdline.c:1651:20: warning: passing arguments to 'do_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1651 | (void)do_buffer(*cmd == 's', 1, FORWARD, 0, 0); | ^ cmdline.c:1656:20: warning: passing arguments to 'do_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1656 | (void)do_buffer(*cmd == 's', 2, FORWARD, 0, 0); | ^ cmdline.c:1671:21: warning: passing arguments to 'do_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1671 | (void)do_buffer(i, 0, FORWARD, 0, forceit); | ^ cmdline.c:1691:23: warning: passing arguments to 'do_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | (void)do_buffer(i, 1, FORWARD, (int)n, forceit); | ^ cmdline.c:1699:17: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1699 | skipspace(&arg); | ^ cmdline.c:1704:13: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | emsg(e_trailing); | ^ cmdline.c:1707:21: warning: passing arguments to 'getdigits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1707 | n = getdigits(&arg); | ^ cmdline.c:1711:22: warning: passing arguments to 'do_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1711 | (void)do_buffer(i, 1, FORWARD, (int)curbuf->b_fnum, forceit); | ^ cmdline.c:1717:24: warning: passing arguments to 'do_buffer_all' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1717 | (void)do_buffer_all(FALSE); /* open a window for loaded buffers */ | ^ cmdline.c:1722:24: warning: passing arguments to 'do_buffer_all' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | (void)do_buffer_all(TRUE); /* open a window for every buffer */ | ^ cmdline.c:1732:14: warning: passing arguments to 'dofilter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | dofilter(line1, line2, arg, TRUE, FALSE); | ^ cmdline.c:1743:17: warning: passing arguments to 'set_winsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1743 | set_winsize(0, 0, FALSE); | ^ cmdline.c:1752:19: warning: passing arguments to 'win_setheight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1752 | win_setheight(curwin->w_height + (int)n); | ^ cmdline.c:1757:19: warning: passing arguments to 'win_setheight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1757 | win_setheight((int)n); | ^ cmdline.c:1767:18: warning: passing arguments to 'win_split' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1767 | if (win_split(addr_count ? line2 : 0L, FALSE) == FAIL) | ^ cmdline.c:1777:18: warning: passing arguments to 'doecmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1777 | (void)doecmd(NULL, NULL, editcmd, TRUE, (linenr_t)1); | ^ cmdline.c:1779:18: warning: passing arguments to 'doecmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1779 | (void)doecmd(arg, NULL, editcmd, p_hid, doecmdlnum); | ^ cmdline.c:1781:18: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1781 | updateScreen(NOT_VALID); | ^ cmdline.c:1787:18: warning: passing arguments to 'setfname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1787 | if (setfname(arg, NULL, TRUE) == FAIL) | ^ cmdline.c:1792:13: warning: passing arguments to 'fileinfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1792 | fileinfo(did_cd); /* print full filename if :cd used */ | ^ cmdline.c:1798:6: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1798 | MSG("No swap file"); | ^ ./vim.h:355:22: note: expanded from macro 'MSG' 355 | #define MSG(s) msg((char_u *)(s)) | ^ cmdline.c:1800:9: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1800 | msg(p); | ^ cmdline.c:1810:14: warning: passing arguments to 'dofilter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1810 | dofilter(line1, line2, arg, FALSE, TRUE); /* :r!cmd */ | ^ cmdline.c:1813:16: warning: passing arguments to 'u_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1813 | if (!u_save(line2, (linenr_t)(line2 + 1))) | ^ cmdline.c:1823:18: warning: passing arguments to 'readfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1823 | i = readfile(curbuf->b_filename, curbuf->b_sfilename, line2, FALSE, (linenr_t)0, MAXLNUM); | ^ cmdline.c:1826:18: warning: passing arguments to 'readfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1826 | i = readfile(arg, NULL, line2, FALSE, (linenr_t)0, MAXLNUM); | ^ cmdline.c:1833:11: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1833 | emsg2(e_notopen, arg); | ^ cmdline.c:1836:17: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1836 | updateScreen(NOT_VALID); | ^ cmdline.c:1847:16: warning: passing arguments to 'expand_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1847 | expand_env("$HOME", cmdbuf, CMDBUFFSIZE); | ^ cmdline.c:1862:19: warning: passing arguments to 'mf_fullname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1862 | mf_fullname(buf->b_ml.ml_mfp); | ^ cmdline.c:1868:11: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1868 | emsg(e_failed); | ^ cmdline.c:1881:9: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1881 | msg(NameBuff); | ^ cmdline.c:1883:10: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1883 | emsg(e_unknown); | ^ cmdline.c:1891:9: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1891 | smsg((char_u *)"line %ld", (long)line2); | ^ cmdline.c:1900:16: warning: passing arguments to 'gotocmdline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1900 | gotocmdline(TRUE, NUL); | ^ cmdline.c:1907:17: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1907 | msg_outstr(IObuff); | ^ cmdline.c:1909:25: warning: passing arguments to 'ml_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1909 | msg_prt_line(ml_get(line1)); | ^ cmdline.c:1909:18: warning: passing arguments to 'msg_prt_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1909 | msg_prt_line(ml_get(line1)); | ^ cmdline.c:1912:17: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1912 | msg_outchar('\n'); | ^ cmdline.c:1927:17: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1927 | msg_outchar('\n'); | ^ cmdline.c:1928:17: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1928 | wait_return(FALSE); | ^ cmdline.c:1933:12: warning: passing arguments to 'doshell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1933 | doshell(NULL); | ^ cmdline.c:1941:10: warning: passing arguments to 'dotag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1941 | dotag(arg, 0, addr_count ? (int)line2 : 1); | ^ cmdline.c:1945:10: warning: passing arguments to 'dotag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1945 | dotag((char_u *)"", 1, addr_count ? (int)line2 : 1); | ^ cmdline.c:1963:16: warning: passing arguments to 'putdigraph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1963 | putdigraph(arg); | ^ cmdline.c:1972:16: warning: passing arguments to 'doset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1972 | (void)doset(arg); | ^ cmdline.c:2000:18: warning: passing arguments to 'msg_outtrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | msg_outtrans(cmd, -1); | ^ cmdline.c:2001:17: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2001 | msg_outchar('\n'); | ^ cmdline.c:2022:18: warning: passing arguments to 'domap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2022 | switch (domap((*cmd == 'n') ? 2 : (*cmd == 'u'), arg, i)) | ^ cmdline.c:2024:18: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2024 | case 1: emsg(e_invarg); | ^ cmdline.c:2026:18: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2026 | case 2: emsg(e_nomap); | ^ cmdline.c:2028:18: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2028 | case 3: emsg(e_ambmap); | ^ cmdline.c:2067:9: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2067 | msg(buf); | ^ cmdline.c:2073:22: warning: passing arguments to 'getdigits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2073 | line1 = getdigits(&arg); | ^ cmdline.c:2074:14: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2074 | skipspace(&arg); | ^ cmdline.c:2075:22: warning: passing arguments to 'getdigits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2075 | line2 = getdigits(&arg); | ^ cmdline.c:2076:16: warning: passing arguments to 'set_winsize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2076 | set_winsize((int)line1, (int)line2, TRUE); | ^ cmdline.c:2109:18: warning: passing arguments to 'doyank' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2109 | (void)doyank(FALSE); | ^ cmdline.c:2113:13: warning: passing arguments to 'doshift' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2113 | doshift(RSHIFT, FALSE, amount); | ^ cmdline.c:2116:13: warning: passing arguments to 'doshift' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2116 | doshift(LSHIFT, FALSE, amount); | ^ cmdline.c:2124:10: warning: passing arguments to 'doput' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2124 | doput(forceit ? BACKWARD : FORWARD, -1L, FALSE); | ^ cmdline.c:2136:10: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2136 | emsg(e_invaddr); | ^ cmdline.c:2142:17: warning: passing arguments to 'do_move' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2142 | if (do_move(line1, line2, n) == FAIL) | ^ cmdline.c:2146:13: warning: passing arguments to 'do_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2146 | do_copy(line1, line2, n); | ^ cmdline.c:2149:17: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2149 | updateScreen(NOT_VALID); | ^ cmdline.c:2155:10: warning: passing arguments to 'dosub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2155 | dosub(line1, line2, arg, &nextcomm, | ^ cmdline.c:2173:13: warning: passing arguments to 'dodojoin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2173 | dodojoin(line2 - line1 + 1, !forceit, TRUE); | ^ cmdline.c:2180:11: warning: passing arguments to 'doglob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2180 | doglob(*cmd, line1, line2, arg); | ^ cmdline.c:2185:18: warning: passing arguments to 'doexecbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2185 | if (doexecbuf(*arg) == FAIL) /* put the register in mapbuf */ | ^ cmdline.c:2192:11: warning: passing arguments to 'dobang' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2192 | dobang(addr_count, line1, line2, forceit, arg); | ^ cmdline.c:2196:11: warning: passing arguments to 'u_undo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2196 | u_undo(1); | ^ cmdline.c:2200:11: warning: passing arguments to 'u_redo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2200 | u_redo(1); | ^ cmdline.c:2205:22: warning: passing arguments to 'openscript' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2205 | (void)openscript(arg); | ^ cmdline.c:2209:18: warning: passing arguments to 'dosource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2209 | if (dosource(arg) == FAIL) /* :so read ex commands */ | ^ cmdline.c:2210:12: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2210 | emsg2(e_notopen, arg); | ^ cmdline.c:2213:18: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2213 | wait_return(FALSE); | ^ cmdline.c:2231:16: warning: passing 'char *' to parameter of type 'char_u *' (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] 2231 | if (isdir(fileconvsto(arg)) == TRUE) | ^~~~~~~~~~~~~~~~ ./proto/unix.pro:28:28: note: passing argument to parameter here 28 | int isdir __ARGS((char_u *)); | ^ cmdline.c:2236:7: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2236 | EMSG2("\"%s\" is a directory", arg); | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ cmdline.c:2247:7: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2247 | EMSG2("\"%s\" exists (use ! to override)", arg); | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ cmdline.c:2257:7: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2257 | EMSG2("Cannot open \"%s\" for writing", arg); | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ cmdline.c:2260:17: warning: passing arguments to 'makemap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2260 | if (makemap(fd) == FAIL || makeset(fd) == FAIL || fclose(fd)) | ^ cmdline.c:2260:40: warning: passing arguments to 'makeset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2260 | if (makemap(fd) == FAIL || makeset(fd) == FAIL || fclose(fd)) | ^ cmdline.c:2261:11: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2261 | emsg(e_write); | ^ cmdline.c:2266:13: warning: passing arguments to 'qf_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2266 | qf_jump(0, atoi((char *)arg)); | ^ cmdline.c:2280:18: warning: passing arguments to 'doset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2280 | (void)doset(arg); | ^ cmdline.c:2290:13: warning: passing arguments to 'qf_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2290 | qf_jump(FORWARD, *arg == NUL ? 1 : atoi((char *)arg)); | ^ cmdline.c:2294:13: warning: passing arguments to 'qf_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2294 | qf_jump(BACKWARD, *arg == NUL ? 1 : atoi((char *)arg)); | ^ cmdline.c:2298:12: warning: passing arguments to 'getout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2298 | getout(1); /* this does not always work. why? */ | ^ cmdline.c:2305:19: warning: passing arguments to 'setmark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2305 | (void)setmark(*arg); /* set mark */ | ^ cmdline.c:2318:14: warning: passing arguments to 'do_align' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2318 | do_align(line1, line2, atoi((char *)arg), | ^ cmdline.c:2327:10: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2327 | emsg(e_invcmd); | ^ cmdline.c:2344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2344 | autowrite(buf) | ^ In file included from cmdline.c:15: In file included from ./proto.h:50: ./proto/cmdline.pro:7:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | int autowrite __PARMS((struct buffer *buf)); | ^ cmdline.c:2373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2373 | buf_write_all(buf) | ^ cmdline.c:2376:19: warning: passing arguments to 'buf_write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2376 | return (buf_write(buf, buf->b_filename, buf->b_sfilename, (linenr_t)1, buf->b_ml.ml_line_count, 0, 0, TRUE)); | ^ cmdline.c:2389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2389 | dowrite(fname, append) | ^ cmdline.c:2402:20: warning: passing arguments to 'fix_fname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2402 | fname = fix_fname(fname); | ^ cmdline.c:2403:20: warning: passing arguments to 'otherfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2403 | other = otherfile(fname); | ^ cmdline.c:2410:14: warning: passing arguments to 'setaltfname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2410 | setaltfname(fname, sfname, (linenr_t)1); | ^ cmdline.c:2438:13: warning: passing 'char *' to parameter of type 'char_u *' (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] 2438 | if (isdir(fileconvsto(fname)) == TRUE) | ^~~~~~~~~~~~~~~~~~ ./proto/unix.pro:28:28: note: passing argument to parameter here 28 | int isdir __ARGS((char_u *)); | ^ cmdline.c:2442:4: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2442 | EMSG2("\"%s\" is a directory", fname); | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ cmdline.c:2445:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2445 | emsg(e_exists); | ^ cmdline.c:2448:19: warning: passing arguments to 'buf_write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2448 | return (buf_write(curbuf, fname, sfname, line1, line2, append, forceit, TRUE)); | ^ cmdline.c:2494:20: warning: passing arguments to 'fix_fname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2494 | fname = fix_fname(fname); /* may expand to full path name */ | ^ cmdline.c:2495:25: warning: passing arguments to 'otherfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2495 | other_file = otherfile(fname); | ^ cmdline.c:2506:15: warning: passing arguments to 'setaltfname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2506 | setaltfname(fname, sfname, (linenr_t)1); | ^ cmdline.c:2518:20: warning: passing arguments to 'buflist_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2518 | buf = buflist_new(fname, sfname, 1L, TRUE); | ^ cmdline.c:2539:16: warning: passing arguments to 'close_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2539 | close_buffer(curbuf, !hide, FALSE); | ^ cmdline.c:2567:14: warning: passing arguments to 'buf_freeall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2567 | buf_freeall(curbuf); /* free all things for buffer */ | ^ cmdline.c:2568:12: warning: passing arguments to 'buf_clear' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2568 | buf_clear(curbuf); | ^ cmdline.c:2595:10: warning: passing arguments to 'win_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2595 | win_init(curwin); | ^ cmdline.c:2610:11: warning: passing arguments to 'fileinfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2610 | fileinfo(did_cd); | ^ cmdline.c:2620:15: warning: passing arguments to 'updateScreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2620 | updateScreen(CURSUPD); /* redraw now */ | ^ cmdline.c:2623:16: warning: passing arguments to 'stuffReadbuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2623 | stuffReadbuff((char_u *)"i"); /* start editing in insert mode */ | ^ cmdline.c:2468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2468 | doecmd(fname, sfname, command, hide, newlnum) | ^ In file included from cmdline.c:15: In file included from ./proto.h:50: ./proto/cmdline.pro:9:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | int doecmd __PARMS((unsigned char *fname, unsigned char *sfname, unsigned char *command, int hide, long newlnum)); | ^ cmdline.c:2631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2631 | getargcmd(argp) | ^ cmdline.c:2648:15: warning: passing arguments to 'skiptospace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2648 | skiptospace(&arg); | ^ cmdline.c:2653:12: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2653 | skipspace(&arg); /* skip over spaces */ | ^ cmdline.c:2663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2663 | checknextcomm(arg) | ^ cmdline.c:2682:14: warning: passing arguments to 'del_spaces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2682 | del_spaces(arg); /* delete spaces in front of '|' or '\n' */ | ^ cmdline.c:2690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2690 | domake(arg) | ^ cmdline.c:2695:3: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2695 | EMSG("errorfile option not set"); | ^ ./vim.h:356:24: note: expanded from macro 'EMSG' 356 | #define EMSG(s) emsg((char_u *)(s)) | ^ cmdline.c:2705:9: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2705 | outchar(':'); | ^ cmdline.c:2706:8: warning: passing arguments to 'outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2706 | outstr(arg); /* show what we are doing */ | ^ cmdline.c:2711:9: warning: passing arguments to 'doshell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2711 | doshell(IObuff); | ^ cmdline.c:2733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2733 | doarglist(str) | ^ cmdline.c:2750:24: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2750 | t = (char_u **)lalloc((long_u)(sizeof(char_u *) * (new_count + 1)), TRUE); | ^ cmdline.c:2794:12: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2794 | skipspace(&str); | ^ cmdline.c:2805:10: warning: assigning to 'char_u *' (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] 2805 | fname = fileconvsfrom(new_files[j]); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdline.c:2806:26: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2806 | new_files[j] = strsave(fname); | ^ cmdline.c:2813:10: warning: assigning to 'char_u *' (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] 2813 | fname = fileconvsfrom(exp_files[j]); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdline.c:2815:26: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2815 | exp_files[j] = strsave(fname); | ^ cmdline.c:2826:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2826 | emsg(e_nomatch); | ^ cmdline.c:2840:20: warning: passing arguments to 'buflist_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2840 | (void)buflist_add(arg_files[i]); | ^ cmdline.c:2853:10: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2853 | windgoto(cmdline_row, 0); | ^ cmdline.c:2855:14: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2855 | msg_outchar(firstc); | ^ cmdline.c:2846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2846 | gotocmdline(clr, firstc) | ^ In file included from cmdline.c:15: In file included from ./proto.h:50: ./proto/cmdline.pro:10: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] 10 | void gotocmdline __PARMS((int clr, int firstc)); | ^ cmdline.c:2861:10: warning: passing arguments to 'windgoto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2861 | windgoto((int)Rows - 1, 0); | ^ cmdline.c:2862:9: warning: passing arguments to 'outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2862 | outchar('\n'); | ^ cmdline.c:2870:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2870 | emsg(e_readonly); | ^ cmdline.c:2880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2880 | check_changed(buf, checkaw, mult_win) | ^ cmdline.c:2889:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2889 | emsg(e_nowrtmsg); | ^ cmdline.c:2899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2899 | check_changed_any(checkaw) | ^ cmdline.c:2910:5: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2910 | EMSG2("No write since last change for buffer \"%s\"", | ^ ./vim.h:357:28: note: expanded from macro 'EMSG2' 357 | #define EMSG2(s, p) emsg2((char_u *)(s), (char_u *)(p)) | ^ cmdline.c:2928:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2928 | emsg(e_noname); | ^ cmdline.c:2943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2943 | check_more(message) | ^ cmdline.c:2951:9: warning: passing arguments to 'emsg2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2951 | emsg2((char_u *)"%ld more files to edit", (char_u *)(long)(arg_count - curwin->w_arg_idx - 1)); | ^ cmdline.c:2974:14: warning: passing arguments to 'fname_expand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2974 | fname_expand(&fname, &sfname); /* make fname full path and set sfname */ | ^ cmdline.c:2975:19: warning: passing arguments to 'otherfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2975 | other = otherfile(fname); | ^ cmdline.c:2980:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2980 | emsg(e_nowrtmsg); | ^ cmdline.c:2966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2966 | getfile(fname, sfname, setpm, lnum) | ^ In file included from cmdline.c:15: In file included from ./proto.h:50: ./proto/cmdline.pro:13:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | int getfile __PARMS((unsigned char *fname, unsigned char *sfname, int setpm, long lnum)); | ^ cmdline.c:3010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3010 | vim_strncpy(to, from, len) | ^ cmdline.c:3049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3049 | nextwild(buff, type) | ^ cmdline.c:3075:12: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3075 | msg_outstr((char_u *)"..."); /* show that we are busy */ | ^ cmdline.c:3089:22: warning: passing arguments to 'ExpandOne' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3089 | if ((p2 = ExpandOne(p1, FALSE, type)) != NULL) | ^ cmdline.c:3092:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3092 | emsg(e_toolong); | ^ cmdline.c:3115:18: warning: passing arguments to 'ExpandOne' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3115 | (void)ExpandOne(NULL, FALSE, -2); /* free expanded "file" names */ | ^ cmdline.c:3172:18: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3172 | return strsave(cmd_files[findex]); | ^ cmdline.c:3198:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3198 | emsg(e_nomatch); | ^ cmdline.c:3270:10: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3270 | emsg(e_toomany); | ^ cmdline.c:3279:17: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3279 | ss = strsave(cmd_files[found]); | ^ cmdline.c:3299:13: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3299 | ss = alloc((unsigned)len + 1); | ^ cmdline.c:3314:14: warning: passing arguments to 'lalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3314 | ss = lalloc(len, TRUE); | ^ cmdline.c:3138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3138 | ExpandOne(str, list_notfound, mode) | ^ In file included from cmdline.c:15: In file included from ./proto.h:50: ./proto/cmdline.pro:14:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | unsigned char *ExpandOne __PARMS((unsigned char *str, int list_notfound, int mode)); | ^ cmdline.c:3344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3344 | showmatches(buff) | ^ cmdline.c:3388:13: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3388 | msg_outchar('\n'); | ^ cmdline.c:3435:21: warning: passing arguments to 'set_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3435 | (void)set_highlight('d'); /* find out highlight mode for directories */ | ^ cmdline.c:3444:17: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3444 | msg_outchar(' '); | ^ cmdline.c:3448:15: warning: passing 'char *' to parameter of type 'char_u *' (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] 3448 | j = isdir(fileconvsto(files_found[k])); /* highlight directories */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./proto/unix.pro:28:28: note: passing argument to parameter here 28 | int isdir __ARGS((char_u *)); | ^ cmdline.c:3466:14: warning: passing arguments to 'msg_outstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3466 | msg_outstr(files_found[k]); | ^ cmdline.c:3470:14: warning: passing arguments to 'msg_outchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3470 | msg_outchar('\n'); | ^ cmdline.c:3492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3492 | addstar(fname, len) | ^ cmdline.c:3513:17: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3513 | retval = alloc(new_len); | ^ cmdline.c:3532:17: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3532 | retval = alloc(len + 4); | ^ cmdline.c:3541:15: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3541 | if (gettail(fname)[0] != '~') | ^ cmdline.c:3616:12: warning: passing arguments to 'expand_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3616 | expand_env(fname, NameBuff, MAXPATHL); /* use NameBuff for expanded name */ | ^ cmdline.c:3618:18: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3618 | if ((p = gettail(NameBuff)) != NULL | ^ cmdline.c:3623:32: warning: passing 'char_u *' (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] 3623 | memmove(p + 2, p + 1, strlen(p)); | ^ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ cmdline.c:3636:14: warning: passing arguments to 'expand_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3636 | expand_env(fname, NameBuff, MAXPATHL); | ^ cmdline.c:3651:23: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3651 | else if ((p = gettail(NameBuff)) != NULL | ^ cmdline.c:3654:28: warning: passing 'char_u *' (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] 3654 | memmove(p + 1, p, strlen(p) + 1); | ^ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ cmdline.c:3658:14: warning: passing arguments to 'expand_env' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3658 | expand_env(fname, NameBuff, MAXPATHL); | ^ cmdline.c:3722:38: warning: passing 'char[1025]' to parameter of type 'char_u *' (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] 3722 | len = kanjiconvsfrom(IObuff, len, tmp, IOSIZE, NULL, JP_SYS, NULL); | ^~~ ./proto/kanji.pro:22:50: note: passing argument to parameter here 22 | int kanjiconvsfrom __ARGS((char_u*, int, char_u*, int, char*, char, int*)); | ^ cmdline.c:3732:13: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3732 | skipspace(&p); | ^ cmdline.c:3735:22: warning: passing 'char_u *' (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] 3735 | && ((q = strstr(IObuff, "begin")) != NULL) | ^~~~~~ /usr/include/string.h:136:26: note: passing argument to parameter here 136 | char *strstr(const char *, const char *) __pure; | ^ cmdline.c:3735:13: warning: assigning to 'char_u *' (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] 3735 | && ((q = strstr(IObuff, "begin")) != NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~~~ cmdline.c:3736:22: warning: passing 'char_u *' (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] 3736 | && ((q = strstr(q, "suffixes")) != NULL)) | ^ /usr/include/string.h:136:26: note: passing argument to parameter here 136 | char *strstr(const char *, const char *) __pure; | ^ cmdline.c:3736:13: warning: assigning to 'char_u *' (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] 3736 | && ((q = strstr(q, "suffixes")) != NULL)) | ^ ~~~~~~~~~~~~~~~~~~~~~ cmdline.c:3759:22: warning: passing 'char_u *' (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] 3759 | && ((q = strstr(IObuff, "end")) != NULL) | ^~~~~~ /usr/include/string.h:136:26: note: passing argument to parameter here 136 | char *strstr(const char *, const char *) __pure; | ^ cmdline.c:3759:13: warning: assigning to 'char_u *' (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] 3759 | && ((q = strstr(IObuff, "end")) != NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~ cmdline.c:3760:22: warning: passing 'char_u *' (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] 3760 | && ((q = strstr(q, "suffixes")) != NULL)) | ^ /usr/include/string.h:136:26: note: passing argument to parameter here 136 | char *strstr(const char *, const char *) __pure; | ^ cmdline.c:3760:13: warning: assigning to 'char_u *' (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] 3760 | && ((q = strstr(q, "suffixes")) != NULL)) | ^ ~~~~~~~~~~~~~~~~~~~~~ cmdline.c:3765:22: warning: passing 'char_u *' (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] 3765 | && ((q = strstr(IObuff, "begin")) != NULL) | ^~~~~~ /usr/include/string.h:136:26: note: passing argument to parameter here 136 | char *strstr(const char *, const char *) __pure; | ^ cmdline.c:3765:13: warning: assigning to 'char_u *' (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] 3765 | && ((q = strstr(IObuff, "begin")) != NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~~~ cmdline.c:3766:22: warning: passing 'char_u *' (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] 3766 | && ((q = strstr(q, "files")) != NULL)) | ^ /usr/include/string.h:136:26: note: passing argument to parameter here 136 | char *strstr(const char *, const char *) __pure; | ^ cmdline.c:3766:13: warning: assigning to 'char_u *' (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] 3766 | && ((q = strstr(q, "files")) != NULL)) | ^ ~~~~~~~~~~~~~~~~~~ cmdline.c:3774:26: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3774 | c = q[STRLEN(gettail(NameBuff))]; | ^ cmdline.c:3780:29: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3780 | && STRNCMP(gettail(NameBuff), q, STRLEN(gettail(NameBuff))) == 0) | ^ cmdline.c:3780:58: warning: passing arguments to 'gettail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3780 | && STRNCMP(gettail(NameBuff), q, STRLEN(gettail(NameBuff))) == 0) | ^ cmdline.c:3791:22: warning: passing 'char_u *' (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] 3791 | && ((q = strstr(IObuff, "end")) != NULL) | ^~~~~~ /usr/include/string.h:136:26: note: passing argument to parameter here 136 | char *strstr(const char *, const char *) __pure; | ^ cmdline.c:3791:13: warning: assigning to 'char_u *' (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] 3791 | && ((q = strstr(IObuff, "end")) != NULL) | ^ ~~~~~~~~~~~~~~~~~~~~~ cmdline.c:3792:22: warning: passing 'char_u *' (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] 3792 | && ((q = strstr(q, "files")) != NULL)) | ^ /usr/include/string.h:136:26: note: passing argument to parameter here 136 | char *strstr(const char *, const char *) __pure; | ^ cmdline.c:3792:13: warning: assigning to 'char_u *' (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] 3792 | && ((q = strstr(q, "files")) != NULL)) | ^ ~~~~~~~~~~~~~~~~~~ cmdline.c:3803:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3803 | emsg(e_interr); | ^ cmdline.c:3599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3599 | dosource(fname) | ^ In file included from cmdline.c:15: In file included from ./proto.h:50: ./proto/cmdline.pro:15:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | int dosource __PARMS((unsigned char *fname)); | ^ cmdline.c:3812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3812 | get_address(ptr) | ^ cmdline.c:3825:11: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3825 | skipspace(&cmd); | ^ cmdline.c:3842:41: warning: passing arguments to 'getmark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3842 | if (*++cmd == NUL || (fp = getmark(*cmd++, FALSE)) == NULL) | ^ cmdline.c:3844:12: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3844 | emsg(e_umark); | ^ cmdline.c:3863:19: warning: passing arguments to 'dosearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3863 | if (dosearch(c, cmd, FALSE, (long)1, FALSE, TRUE)) | ^ cmdline.c:3872:24: warning: passing arguments to 'getdigits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3872 | lnum = getdigits(&cmd); | ^ cmdline.c:3883:18: warning: passing arguments to 'getdigits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3883 | n = getdigits(&cmd); | ^ cmdline.c:3923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3923 | set_expand_context(firstc, buff) | ^ cmdline.c:3946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3946 | set_one_cmd_context(firstc, buff) | ^ cmdline.c:3990:12: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3990 | skipspace(&cmd); | ^ cmdline.c:4034:11: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4034 | skipspace(&cmd); | ^ cmdline.c:4108:11: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4108 | skipspace(&arg); | ^ cmdline.c:4116:13: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4116 | skipspace(&arg); | ^ cmdline.c:4139:12: warning: passing arguments to 'skipspace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4139 | skipspace(&arg); | ^ cmdline.c:4305:26: warning: passing arguments to 'set_context_in_set_cmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4305 | set_context_in_set_cmd(arg); | ^ cmdline.c:4322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4322 | ExpandFromContext(pat, num_file, file, files_only, list_notfound) | ^ cmdline.c:4338:12: warning: initializing 'char_u *' (aka 'unsigned char *') with an expression 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] 4338 | char_u * fname = fileconvsto(pat); | ^ ~~~~~~~~~~~~~~~~ cmdline.c:4345:11: warning: assigning to 'char_u *' (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] 4345 | fname = fileconvsfrom((*file)[i]); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ cmdline.c:4347:25: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4347 | (*file)[i] = strsave(fname); | ^ cmdline.c:4358:12: warning: initializing 'char_u *' (aka 'unsigned char *') with an expression 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] 4358 | char_u * fname = fileconvsto(pat); | ^ ~~~~~~~~~~~~~~~~ cmdline.c:4365:10: warning: assigning to 'char_u *' (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] 4365 | fname = fileconvsfrom((*file)[i]); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ cmdline.c:4367:24: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4367 | (*file)[i] = strsave(fname); | ^ cmdline.c:4377:14: warning: passing 'char *' to parameter of type 'char_u *' (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] 4377 | if (isdir(fileconvsto((*file)[i]))) | ^~~~~~~~~~~~~~~~~~~~~~~ ./proto/unix.pro:28:28: note: passing argument to parameter here 28 | int isdir __ARGS((char_u *)); | ^ cmdline.c:4410:34: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4410 | || (*file = (char_u **) alloc((int)(count * sizeof(char_u *)))) == NULL) | ^ cmdline.c:4418:32: warning: passing arguments to 'strsave' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4418 | (*file)[count++] = strsave(cmdnames[cmdidx].cmd_name); | ^ cmdline.c:4423:23: warning: passing arguments to 'ExpandSettings' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4423 | ret = ExpandSettings(prog, num_file, file); | ^ cmdline.c:4425:19: warning: passing arguments to 'ExpandTags' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4425 | ret = ExpandTags(prog, num_file, file); | ^ 354 warnings generated. --- jvim3 --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DBSD_UNIX -DUSE_LOCALE -DUSE_X11 -I/usr/local/include -DDIGRAPHS -DTERMCAP -DSOME_BUILTIN_TCAPS -DNO_FREE_NULL -DVIM_ISSPACE -DWEBB_COMPLETE -DWEBB_KEYWORD_COMPL -DVIM_HLP=\"/usr/local/lib/jvim3.hlp\" -DDEFVIMRC_FILE=\"/usr/local/etc/jvim3rc\" -DKANJI -DUCODE -DTRACK -DCRMARK -DFEXRC -DUSE_GREP -DUSE_TAGEX -DUSE_OPT version.c cc -o jvim3 alloc.o unix.o buffer.o charset.o cmdcmds.o cmdline.o csearch.o digraph.o edit.o fileio.o getchar.o help.o linefunc.o main.o mark.o memfile.o memline.o message.o misccmds.o normal.o ops.o param.o quickfix.o regexp.o regsub.o screen.o search.o tag.o term.o undo.o window.o kanji.o track.o u2s.o s2u.o version.o -ltermlib -L/usr/local/lib -lX11 -L/usr/local/lib install -m 0644 /wrkdirs/usr/ports/japanese/jvim3/work/vim/doc.j/tutor/tutor.j /wrkdirs/usr/ports/japanese/jvim3/work/vim/doc.j echo "" > /wrkdirs/usr/ports/japanese/jvim3/work/vim/jvim3rc.dist =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ja-jvim-3.0.j2.1b_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ja-jvim-3.0.j2.1b_3 ===> Generating temporary packing list mkdir -p /wrkdirs/usr/ports/japanese/jvim3/work/stage/usr/local/bin install -s -m 555 jvim3 /wrkdirs/usr/ports/japanese/jvim3/work/stage/usr/local/bin mkdir -p /wrkdirs/usr/ports/japanese/jvim3/work/stage/usr/local/share/man/man1 install -m 444 ../doc/vim.1 /wrkdirs/usr/ports/japanese/jvim3/work/stage/usr/local/share/man/man1/jvim3.1 mkdir -p /wrkdirs/usr/ports/japanese/jvim3/work/stage/usr/local/lib install -m 0644 ../doc.j/vim.hlp /wrkdirs/usr/ports/japanese/jvim3/work/stage/usr/local/lib/jvim3.hlp /bin/ln -sf jvim3 /wrkdirs/usr/ports/japanese/jvim3/work/stage/usr/local/bin/jvim install -s -m 555 /wrkdirs/usr/ports/japanese/jvim3/work/vim/src/grep.bin /wrkdirs/usr/ports/japanese/jvim3/work/stage/usr/local/bin/jgrep install -m 0644 /wrkdirs/usr/ports/japanese/jvim3/work/vim/jvim3rc.dist /wrkdirs/usr/ports/japanese/jvim3/work/stage/usr/local/etc/ /bin/mkdir -p /wrkdirs/usr/ports/japanese/jvim3/work/stage/usr/local/share/doc/jvim cd /wrkdirs/usr/ports/japanese/jvim3/work/vim/doc.j && install -m 0644 cygwin.txt differen.doc fepctrl.doc readme.doc termcap.dos uganda.jp vim-jp.htm vim32.ini tutor.j /wrkdirs/usr/ports/japanese/jvim3/work/stage/usr/local/share/doc/jvim ====> 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-04T00:59:08+0000' 'PKG_NOTE_ports_top_git_hash=a936fb9b16ba' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=f27598a6a985' '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 ja-jvim-3.0.j2.1b_3 ===> Building ja-jvim-3.0.j2.1b_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ja-jvim-3.0.j2.1b_3 build of japanese/jvim3 | ja-jvim-3.0.j2.1b_3 ended at Fri Oct 3 21:00:09 EDT 2025 build time: 00:01:04