=>> Building editors/nvi-m17n build started at Thu Apr 4 00:28:00 BST 2024 port directory: /usr/ports/editors/nvi-m17n package name: nvi-m17n-1.79.20040608_6,1 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 4274 Feb 25 10:26 /usr/ports/editors/nvi-m17n/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: f6751d65c3 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 08 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/08/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for nvi-m17n-1.79.20040608_6,1: CANNA=off: Enable canna support ====> Multibyte character encoding support: you can only select none or one of them EUC_JP=off: Set euc-jp as default multibyte encoding EUC_CN=off: Set euc-cn as default multibyte encoding EUC_KR=off: Set euc-kr as default multibyte encoding ISO_8859_1=off: Set iso-8859-1 as default multibyte encoding ISO_8859_2=off: Set iso-8859-2 as default multibyte encoding ISO_8859_3=off: Set iso-8859-3 as default multibyte encoding ISO_8859_4=off: Set iso-8859-4 as default multibyte encoding ISO_8859_7=off: Set iso-8859-7 as default multibyte encoding ISO_8859_8=off: Set iso-8859-8 as default multibyte encoding ISO_8859_9=off: Set iso-8859-9 as default multibyte encoding ISO_2022_CN=off: Set iso-2022-cn as default multibyte encoding ISO_2022_JP=off: Set iso-2022-jp as default multibyte encoding ISO_2022_JP_3=off: Set iso-2022-jp-3 as default multibyte encoding ISO_2022_KR=off: Set iso-2022-kr as default multibyte encoding CTEXT=off: Set X11 compound as default multibyte encoding SJIS=off: Set sjis as default multibyte encoding BIG5=off: Set big5 as default multibyte encoding EUC_TW=off: Set euc-tw as default multibyte encoding ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --program-prefix=n --enable-multibyte --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- OPTFLAG='-D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\"' vi_cv_path_perl=/usr/local/bin/perl ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/editors/nvi-m17n/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/nvi-m17n/work XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/nvi-m17n/work/.cache HOME=/wrkdirs/usr/ports/editors/nvi-m17n/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/editors/nvi-m17n/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/nvi-m17n/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/editors/nvi-m17n/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/nvi-m17n/work XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/nvi-m17n/work/.cache HOME=/wrkdirs/usr/ports/editors/nvi-m17n/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/editors/nvi-m17n/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/nvi-m17n/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.36.3 PERL_VER=5.36 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.36 DOCSDIR="share/doc/nvi" EXAMPLESDIR="share/examples/nvi" DATADIR="share/nvi" WWWDIR="www/nvi" ETCDIR="etc/nvi" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/nvi DOCSDIR=/usr/local/share/doc/nvi EXAMPLESDIR=/usr/local/share/examples/nvi WWWDIR=/usr/local/www/nvi ETCDIR=/usr/local/etc/nvi --End SUB_LIST-- ---Begin make.conf--- 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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---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 --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The nvi port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nvi-m17n-1.79.20040608_6,1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> nvi-m17n-1.79.20040608_6,1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of nvi-m17n-1.79.20040608_6,1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The nvi port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by nvi-m17n-1.79.20040608_6,1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The nvi port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by nvi-m17n-1.79.20040608_6,1 for building => SHA256 Checksum OK for nvi-1.79.tar.gz. => SHA256 Checksum OK for nvi-m17n-1.79-20040608.diff.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The nvi port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by nvi-m17n-1.79.20040608_6,1 for building ===> Extracting for nvi-m17n-1.79.20040608_6,1 => SHA256 Checksum OK for nvi-1.79.tar.gz. => SHA256 Checksum OK for nvi-m17n-1.79-20040608.diff.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for nvi-m17n-1.79.20040608_6,1 ===> Applying distribution patches for nvi-m17n-1.79.20040608_6,1 ===> Applying FreeBSD patches for nvi-m17n-1.79.20040608_6,1 from /usr/ports/editors/nvi-m17n/files /bin/ln -s /usr/include/sys/queue.h /wrkdirs/usr/ports/editors/nvi-m17n/work/nvi-1.79/build/../include/sys/queue_dist.h =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for nvi-m17n-1.79.20040608_6,1 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking host system type... amd64-portbld-freebsd13.2 checking if --enable-debug option specified... no checking if --enable-multibyte option specified... yes checking whether the compiler (cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong ) actually works... yes checking for sh... /bin/sh checking for sendmail... /usr/sbin/sendmail checking for perl5... /usr/local/bin/perl checking for preserve directory... /var/tmp/vi.recover checking for chmod... /bin/chmod checking for cp... /bin/cp checking for ln... /bin/ln checking for mkdir... /bin/mkdir checking for rm... /bin/rm checking for strip... /usr/bin/strip checking how to run the C preprocessor... cpp checking for X... no checking if --enable-canna option specified... no checking if --enable-perlinterp option specified... no checking if --enable-tknvi option specified... no checking if --enable-tclinterp option specified... no checking for tgetent in -ltermlib... yes checking for sys/mman.h... yes checking for sys/select.h... yes checking for ANSI C header files... (cached) yes checking for ssize_t... (cached) yes checking whether byte ordering is bigendian... no checking for working const... yes checking for st_blksize in struct stat... yes checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking for bsearch... (cached) yes checking for gethostname... (cached) yes checking for getopt... (cached) yes checking for memchr... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for memset... (cached) yes checking for bsearch... (cached) yes checking for gethostname... (cached) yes checking for getopt... (cached) yes checking for memchr... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for memset... (cached) yes checking for mkstemp... (cached) yes checking for mmap... (cached) yes checking for snprintf... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strpbrk... (cached) yes checking for strtol... (cached) yes checking for mkstemp... (cached) yes checking for mmap... (cached) yes checking for snprintf... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strpbrk... (cached) yes checking for strtol... (cached) yes checking for strtoul... (cached) yes checking for vsnprintf... (cached) yes checking for strtoul... (cached) yes checking for vsnprintf... (cached) yes checking for select... (cached) yes checking for setenv... (cached) yes checking for strsep... (cached) yes checking for unsetenv... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for vfork.h... (cached) no checking for working vfork... yes checking for fcntl/flock... flock checking for ftruncate/chsize... ftruncate checking for tigetstr/tigetnum... yes checking for setupterm... yes checking for broken gettimeofday system call... okay checking for System V pty calls... yes checking for revoke system call... yes checking for int type sprintf return value... yes checking if --disable-db option specified... bundled DB checking if --disable-re option specified... bundled RE checking for u_char... yes checking for u_short... yes checking for u_int... yes checking for u_long... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for int16_t... yes checking for u_int32_t... yes checking for int32_t... yes updating cache ./config.cache creating ./config.status creating Makefile creating port.h creating pathnames.h creating recover creating regular creating qregular creating config.h =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for nvi-m17n-1.79.20040608_6,1 cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../cl/cl_bsd.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../cl/cl_funcs.c ./../cl/cl_funcs.c:95:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (addnstr(p, strlen(p)) == ERR) ^ ./../curses/curses.h:186:45: note: expanded from macro 'addnstr' #define addnstr(s, n) waddnstr(stdscr, s, n) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 1 warning generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../cl/cl_main.c In file included from ./../cl/cl_main.c:30: In file included from ./../cl/../common/common.h:82: In file included from ./../cl/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../cl/cl_main.c:30: In file included from ./../cl/../common/common.h:82: In file included from ./../cl/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../cl/cl_main.c:279:2: warning: implicit declaration of function 'setupterm' is invalid in C99 [-Wimplicit-function-declaration] setupterm(ttype, STDOUT_FILENO, &err); ^ ./../cl/cl_main.c:440:17: warning: incompatible function pointer types assigning to 'int (*)(SCR *, const char *, size_t)' (aka 'int (*)(struct _scr *, const char *, unsigned long)') from 'int (SCR *, const CHAR_T *, size_t)' (aka 'int (struct _scr *, const unsigned char *, unsigned long)') [-Wincompatible-function-pointer-types] gp->scr_addstr = cl_addstr; ^ ~~~~~~~~~ 4 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../cl/cl_read.c In file included from ./../cl/cl_read.c:34: In file included from ./../cl/../common/common.h:82: In file included from ./../cl/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../cl/cl_read.c:34: In file included from ./../cl/../common/common.h:82: In file included from ./../cl/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../cl/cl_read.c:421:7: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] a.bp = b1; ^ ~~ 3 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../cl/cl_screen.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../cl/cl_term.c ./../cl/cl_term.c:96:19: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t), ^~~~~~~~~ ./../include/com_extern.h:312:33: note: passing argument to parameter here int seq_set __P((SCR *, CHAR_T *, ^ ./../cl/cl_term.c:96:49: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t), ^ ./../include/com_extern.h:313:20: note: passing argument to parameter here size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); ^ ./../cl/cl_term.c:97:7: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tkp->output, strlen(tkp->output), SEQ_COMMAND, ^~~~~~~~~~~ ./../include/com_extern.h:313:38: note: passing argument to parameter here size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); ^ ./../cl/cl_term.c:111:19: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t), ^~~~~~~~~ ./../include/com_extern.h:312:33: note: passing argument to parameter here int seq_set __P((SCR *, CHAR_T *, ^ ./../cl/cl_term.c:111:49: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t), ^ ./../include/com_extern.h:313:20: note: passing argument to parameter here size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); ^ ./../cl/cl_term.c:130:20: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (seq_set(sp, tkp->name, strlen(tkp->name), ^~~~~~~~~ ./../include/com_extern.h:312:33: note: passing argument to parameter here int seq_set __P((SCR *, CHAR_T *, ^ ./../cl/cl_term.c:131:8: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t, strlen(t), NULL, 0, ^ ./../include/com_extern.h:313:20: note: passing argument to parameter here size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); ^ ./../cl/cl_term.c:135:20: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (seq_set(sp, tkp->name, strlen(tkp->name), ^~~~~~~~~ ./../include/com_extern.h:312:33: note: passing argument to parameter here int seq_set __P((SCR *, CHAR_T *, ^ ./../cl/cl_term.c:136:8: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t, strlen(t), tkp->output, strlen(tkp->output), ^ ./../include/com_extern.h:313:20: note: passing argument to parameter here size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); ^ ./../cl/cl_term.c:136:22: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t, strlen(t), tkp->output, strlen(tkp->output), ^~~~~~~~~~~ ./../include/com_extern.h:313:38: note: passing argument to parameter here size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); ^ ./../cl/cl_term.c:209:56: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)snprintf(keyname, sizeof(keyname), "kf%d", atoi(from + 1)); ^~~~~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ ./../cl/cl_term.c:214:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] msgq_str(sp, M_ERR, from, "233|This terminal has no %s key"); ^~~~ ./../include/com_extern.h:138:42: note: passing argument to parameter here void msgq_str __P((SCR *, mtype_t, char *, char *)); ^ ./../cl/cl_term.c:219:47: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sizeof(keyname), "function key %d", atoi(from + 1)); ^~~~~~~~ /usr/include/stdlib.h:94:23: note: passing argument to parameter here int atoi(const char *); ^ ./../cl/cl_term.c:220:22: warning: passing 'char[64]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return (seq_set(sp, keyname, nlen, ^~~~~~~ ./../include/com_extern.h:312:33: note: passing argument to parameter here int seq_set __P((SCR *, CHAR_T *, ^ ./../cl/cl_term.c:221:6: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p, strlen(p), to, tlen, stype, SEQ_NOOVERWRITE | SEQ_SCREEN)); ^ ./../include/com_extern.h:313:20: note: passing argument to parameter here size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); ^ ./../cl/cl_term.c:412:16: warning: implicit declaration of function 'tigetnum' is invalid in C99 [-Wimplicit-function-declaration] if ((rval = tigetnum("lines")) < 0) ^ ./../cl/cl_term.c:414:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ./../cl/cl_term.c:419:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 18 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/cut.c In file included from ./../common/cut.c:28: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../common/cut.c:28: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../common/cut.c:151:38: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, fm->lno, DBG_FATAL, &p, NULL)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ 3 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/delete.c ./../common/delete.c:71:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, lno, DBG_FATAL, &p, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../common/delete.c:85:39: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, fm->lno, DBG_FATAL, &p, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../common/delete.c:87:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] GET_SPACE_RET(sp, bp, blen, fm->cno); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../common/delete.c:89:28: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_set(sp, fm->lno, bp, fm->cno)) ^~ ./../include/com_extern.h:118:39: note: passing argument to parameter here int db_set __P((SCR *, recno_t, char *, size_t)); ^ ./../common/delete.c:100:38: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, fm->lno, DBG_FATAL, &p, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../common/delete.c:102:3: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] GET_SPACE_RET(sp, bp, blen, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../common/delete.c:115:7: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bp, len - ((tm->cno - fm->cno) + tmchlen))) ^~ ./../include/com_extern.h:118:39: note: passing argument to parameter here int db_set __P((SCR *, recno_t, char *, size_t)); ^ ./../common/delete.c:127:38: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, fm->lno, DBG_FATAL, &p, NULL)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../common/delete.c:129:3: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] GET_SPACE_RET(sp, bp, blen, tlen + 256); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../common/delete.c:134:37: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, tm->lno, DBG_FATAL, &p, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../common/delete.c:162:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] GET_SPACE_RET(sp, bp, blen, nlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../common/delete.c:164:4: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] ADD_SPACE_RET(sp, bp, blen, nlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:89:26: note: expanded from macro 'ADD_SPACE_RET' if (L__gp == NULL || bp == L__gp->tmp_bp) { \ ~~ ^ ~~~~~~~~~~~~~ ./../common/delete.c:164:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ADD_SPACE_RET(sp, bp, blen, nlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:92:6: note: expanded from macro 'ADD_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../common/delete.c:177:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_set(sp, fm->lno, bp, tlen)) ^~ ./../include/com_extern.h:118:39: note: passing argument to parameter here int db_set __P((SCR *, recno_t, char *, size_t)); ^ ./../common/delete.c:193:3: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] FREE_SPACE(sp, bp, blen); ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' if (L__gp != NULL && bp == L__gp->tmp_bp) \ ~~ ^ ~~~~~~~~~~~~~ 15 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex.c In file included from ./../ex/ex.c:31: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../ex/ex.c:31: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../ex/ex.c:125:17: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char[2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] gp->excmd.cp = " "; /* __TK__ why not |? */ ^ ~~~ ./../ex/ex.c:427:10: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *const' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t = cmds[C_DELETE].name; *s == *t; ++s, ++t); ^ ~~~~~~~~~~~~~~~~~~~ ./../ex/ex.c:463:34: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ecp->cmd = ex_comm_search(p, namelen)) == NULL) ^ ./../ex/ex.c:38:29: note: passing argument to parameter here ex_comm_search __P((char *, size_t)); ^ ./../ex/ex.c:490:20: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ex_unknown(sp, p, namelen); ^ ./../ex/ex.c:42:42: note: passing argument to parameter here static void ex_unknown __P((SCR *, char *, size_t)); ^ ./../ex/ex.c:537:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp0(sp, ecp, p, ecp->cp - p)) ^ ./../include/ex_extern.h:19:42: note: passing argument to parameter here int argv_exp0 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex.c:969:9: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *const' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = ecp->cmd->syntax; *p != '\0'; ++p) { ^ ~~~~~~~~~~~~~~~~ ./../ex/ex.c:1066:15: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strchr(p, '1') != NULL) ^ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ ./../ex/ex.c:1093:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] nget_slong(<mp, ecp->cp, &t, 10)) != NUM_OK) { ^~~~~~~ ./../include/com_extern.h:327:50: note: passing argument to parameter here enum nresult nget_slong __P((long *, const char *, char **, int)); ^ ./../ex/ex.c:1093:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] nget_slong(<mp, ecp->cp, &t, 10)) != NUM_OK) { ^~ ./../include/com_extern.h:327:59: note: passing argument to parameter here enum nresult nget_slong __P((long *, const char *, char **, int)); ^ ./../ex/ex.c:1121:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp2(sp, ecp, ecp->cp, ecp->clen)) ^~~~~~~ ./../include/ex_extern.h:21:42: note: passing argument to parameter here int argv_exp2 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex.c:1140:25: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] msgq_str(sp, M_ERR, ecp->cp, ^~~~~~~ ./../include/com_extern.h:138:42: note: passing argument to parameter here void msgq_str __P((SCR *, mtype_t, char *, char *)); ^ ./../ex/ex.c:1156:28: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp1(sp, ecp, ecp->cp, ^~~~~~~ ./../include/ex_extern.h:20:42: note: passing argument to parameter here int argv_exp1 __P((SCR *, EXCMD *, char *, size_t, int)); ^ ./../ex/ex.c:1163:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp0(sp, ecp, ecp->cp, ecp->clen)) ^~~~~~~ ./../include/ex_extern.h:19:42: note: passing argument to parameter here int argv_exp0 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex.c:1190:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp0(sp, ecp, t, p - t)) ^ ./../include/ex_extern.h:19:42: note: passing argument to parameter here int argv_exp0 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex.c:1214:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp0(sp, ecp, t, p - t)) ^ ./../include/ex_extern.h:19:42: note: passing argument to parameter here int argv_exp0 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex.c:1218:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp3(sp, ecp, ecp->cp, ecp->clen)) ^~~~~~~ ./../include/ex_extern.h:22:42: note: passing argument to parameter here int argv_exp3 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex.c:1250:32: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ecp->clen != 0 || strpbrk(p, "lr")) { ^ /usr/include/string.h:115:27: note: passing argument to parameter here char *strpbrk(const char *, const char *) __pure; ^ ./../ex/ex.c:1287:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ ./../ex/ex.c:1892:32: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((nret = nget_slong(&val, ecp->cp, &endp, 10)) != NUM_OK) { ^~~~~~~ ./../include/com_extern.h:327:50: note: passing argument to parameter here enum nresult nget_slong __P((long *, const char *, char **, int)); ^ ./../ex/ex.c:1892:41: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if ((nret = nget_slong(&val, ecp->cp, &endp, 10)) != NUM_OK) { ^~~~~ ./../include/com_extern.h:327:59: note: passing argument to parameter here enum nresult nget_slong __P((long *, const char *, char **, int)); ^ ./../ex/ex.c:1948:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (sf(sp, mp, mp, ecp->cp, ecp->clen, &endp, ^~~~~~~ ./../ex/ex.c:1948:42: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (sf(sp, mp, mp, ecp->cp, ecp->clen, &endp, ^~~~~ ./../ex/ex.c:2057:9: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ecp->cp, &endp, 10)) != NUM_OK || ^~~~~~~ ./../include/com_extern.h:327:50: note: passing argument to parameter here enum nresult nget_slong __P((long *, const char *, char **, int)); ^ ./../ex/ex.c:2057:18: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] ecp->cp, &endp, 10)) != NUM_OK || ^~~~~ ./../include/com_extern.h:327:59: note: passing argument to parameter here enum nresult nget_slong __P((long *, const char *, char **, int)); ^ ./../ex/ex.c:2159:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ 27 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_abbrev.c ./../ex/ex_abbrev.c:112:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] msgq_str(sp, M_ERR, ap->bp, ^~~~~~ ./../include/com_extern.h:138:42: note: passing argument to parameter here void msgq_str __P((SCR *, mtype_t, char *, char *)); ^ 1 warning generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_append.c ./../ex/ex_append.c:172:33: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_append(sp, 1, lno++, p, t - p)) ^ ./../include/com_extern.h:116:47: note: passing argument to parameter here int db_append __P((SCR *, int, recno_t, char *, size_t)); ^ ./../ex/ex_append.c:265:31: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_append(sp, 1, lno++, tp->lb, tp->len)) ^~~~~~ ./../include/com_extern.h:116:47: note: passing argument to parameter here int db_append __P((SCR *, int, recno_t, char *, size_t)); ^ 2 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_args.c ./../ex/ex_args.c:92:13: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((*ap = ^ ./../ex/ex_args.c:99:27: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((frp = file_add(sp, *sp->cargv)) == NULL) ^~~~~~~~~~ ./../include/com_extern.h:91:36: note: passing argument to parameter here FREF *file_add __P((SCR *, CHAR_T *)); ^ ./../ex/ex_args.c:106:27: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((frp = file_add(sp, sp->cargv[1])) == NULL) ^~~~~~~~~~~~ ./../include/com_extern.h:91:36: note: passing argument to parameter here FREF *file_add __P((SCR *, CHAR_T *)); ^ ./../ex/ex_args.c:193:26: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((frp = file_add(sp, sp->cargv[-1])) == NULL) ^~~~~~~~~~~~~ ./../include/com_extern.h:91:36: note: passing argument to parameter here FREF *file_add __P((SCR *, CHAR_T *)); ^ ./../ex/ex_args.c:240:26: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((frp = file_add(sp, *sp->cargv)) == NULL) ^~~~~~~~~~ ./../include/com_extern.h:91:36: note: passing argument to parameter here FREF *file_add __P((SCR *, CHAR_T *)); ^ ./../ex/ex_args.c:317:27: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((*ap = v_strdup(sp, name, strlen(name))) == NULL) ^~~~ ./../include/com_extern.h:325:44: note: passing argument to parameter here CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t)); ^ ./../ex/ex_args.c:317:12: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((*ap = v_strdup(sp, name, strlen(name))) == NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_args.c:322:13: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((*ap = ^ 8 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_argv.c ./../ex/ex_argv.c:121:10: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = bp, t = bp + len; p < t; ++p) ^ ~~ ./../ex/ex_argv.c:121:32: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] for (p = bp, t = bp + len; p < t; ++p) ~ ^ ~ ./../ex/ex_argv.c:124:9: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] if (p == t) ~ ^ ~ ./../ex/ex_argv.c:163:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = bp + SHELLOFFSET; ^ ~~~~~~~~~~~~~~~~ ./../ex/ex_argv.c:170:39: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_fexp(sp, excp, cmd, cmdlen, p, &len, &bp, &blen, 0)) { ^ ./../ex/ex_argv.c:34:24: note: passing argument to parameter here char *, size_t, char *, size_t *, char **, size_t *, int)); ^ ./../ex/ex_argv.c:196:10: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = mp = O_STR(sp, O_SHELLMETA); *p != '\0'; ++p) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_argv.c:199:5: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = bp + SHELLOFFSET; ^ ~~~~~~~~~~~~~~~~ ./../ex/ex_argv.c:227:5: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = bp + SHELLOFFSET; ^ ~~~~~~~~~~~~~~~~ ./../ex/ex_argv.c:229:30: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rval = argv_exp3(sp, excp, p, len); ^ ./../include/ex_extern.h:22:42: note: passing argument to parameter here int argv_exp3 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex_argv.c:243:5: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = bp; ^ ~~ ./../ex/ex_argv.c:244:30: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rval = argv_exp3(sp, excp, p, len); ^ ./../include/ex_extern.h:22:42: note: passing argument to parameter here int argv_exp3 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex_argv.c:357:25: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len += tlen = strlen(exp->lastbcomm); ^~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ./../ex/ex_argv.c:584:5: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = exp->args[exp->argsoff]->bp; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_argv.c:729:9: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = bp, len = 0, ch = EOF; ^ ~~ ./../ex/ex_argv.c:733:6: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = bp + len; ^ ~~~~~~~~ ./../ex/ex_argv.c:738:8: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] if (p > bp && (p[-1] == '\n' || p[-1] == '\r')) { ~ ^ ~~ ./../ex/ex_argv.c:766:9: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = bp; len; ++p, --len) ^ ~~ 17 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_at.c ./../ex/ex_at.c:67:15: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ex_emsg(sp, KEY_NAME(sp, name), EXM_EMPTYBUF); ^~~~~~~~~~~~~~~~~~ ./../ex/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:117:32: note: passing argument to parameter here void ex_emsg __P((SCR *, char *, exm_t)); ^ ./../ex/ex_at.c:111:2: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MALLOC_RET(sp, ecp->cp, char *, len * 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:148:9: note: expanded from macro 'MALLOC_RET' if ((p = (cast)malloc(size)) == NULL) { \ ^ ~~~~~~~~~~~~~~~~~~ ./../ex/ex_at.c:117:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = ecp->cp + len, tp = cbp->textq.cqh_last; ^ ~~~~~~~~~~~~~ 3 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_bang.c ./../ex/ex_bang.c:72:31: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((exp->lastbcomm = strdup(ap->bp)) == NULL) { ^~~~~~ /usr/include/string.h:91:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ ./../ex/ex_bang.c:72:22: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((exp->lastbcomm = strdup(ap->bp)) == NULL) { ^ ~~~~~~~~~~~~~~ ./../ex/ex_bang.c:89:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vs_update(sp, "!", ap->bp); ^~~~~~ ./../include/vi_extern.h:126:54: note: passing argument to parameter here void vs_update __P((SCR *, const char *, const char *)); ^ ./../ex/ex_bang.c:108:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (O_ISSET(sp, O_WARN) && ^ ./../ex/ex_bang.c:116:13: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cmdp, ap->bp, msg, !F_ISSET(sp, SC_EX | SC_SCR_EXWROTE)); ^~~~~~ ./../include/ex_extern.h:79:45: note: passing argument to parameter here int ex_exec_proc __P((SCR *, EXCMD *, char *, const char *, int)); ^ ./../ex/ex_bang.c:155:40: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] &cmdp->addr1, &cmdp->addr2, &rm, ap->bp, ftype); ^~~~~~ ./../include/ex_extern.h:36:43: note: passing argument to parameter here EXCMD *, MARK *, MARK *, MARK *, char *, enum filtertype)); ^ 6 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_cd.c ./../ex/ex_cd.c:74:7: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dir = cmdp->argv[0]->bp; ^ ~~~~~~~~~~~~~~~~~ 1 warning generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_cmd.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_cscope.c In file included from ./../ex/ex_cscope.c:35: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../ex/ex_cscope.c:35: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../ex/ex_cscope.c:127:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = cmdp->argv[0]->bp, i = cmdp->argv[0]->len; i > 0; --i, ++p) ^ ~~~~~~~~~~~~~~~~~ ./../ex/ex_cscope.c:221:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dname = cmdp->argv[cur_argc]->bp; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_cscope.c:499:39: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] (void)fprintf(csc->to_fp, "%d%s\n", search, tqp->tag + 2); ~~ ^~~~~~ %zu ./../ex/ex_cscope.c:628:5: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = cbp->textq.cqh_first->lb; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_cscope.c:833:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 7 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_delete.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_display.c ./../ex/ex_display.c:113:15: warning: passing 'char[15]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] db(sp, cbp, "default buffer"); ^~~~~~~~~~~~~~~~ ./../ex/ex_display.c:29:42: note: passing argument to parameter here static void db __P((SCR *, CB *, CHAR_T *)); ^ ./../ex/ex_display.c:139:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)ex_puts(sp, KEY_NAME(sp, *p)); ^~~~~~~~~~~~~~~~ ./../ex/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here int ex_puts __P((SCR *, const char *)); ^ 2 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_edit.c ./../ex/ex_edit.c:79:20: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] set_alt_name(sp, cmdp->argv[0]->bp); ^~~~~~~~~~~~~~~~~ ./../include/com_extern.h:99:37: note: passing argument to parameter here void set_alt_name __P((SCR *, char *)); ^ 1 warning generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_equal.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_file.c ./../ex/ex_file.c:61:13: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] frp->name = p; ^ ~ 1 warning generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_filter.c In file included from ./../ex/ex_filter.c:28: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../ex/ex_filter.c:28: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../ex/ex_filter.c:185:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 3 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_global.c ./../ex/ex_global.c:129:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (p[1] == '\\') ^ ./../ex/ex_global.c:153:7: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->re, sp->re_len, NULL, NULL, &sp->re_c, RE_C_SEARCH)) ^~~~~~ ./../include/ex_extern.h:89:11: note: passing argument to parameter here char *, size_t, char **, size_t *, regex_t *, u_int)); ^ ./../ex/ex_global.c:157:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (re_compile(sp, ptrn, t - ptrn, ^~~~ ./../include/ex_extern.h:89:11: note: passing argument to parameter here char *, size_t, char **, size_t *, regex_t *, u_int)); ^ ./../ex/ex_global.c:158:7: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] &sp->re, &sp->re_len, &sp->re_c, RE_C_SEARCH)) ^~~~~~~ ./../include/ex_extern.h:89:28: note: passing argument to parameter here char *, size_t, char **, size_t *, regex_t *, u_int)); ^ ./../ex/ex_global.c:187:5: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = "pp"; ^ ~~~~ ./../ex/ex_global.c:191:2: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MALLOC_RET(sp, ecp->cp, char *, len * 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:148:9: note: expanded from macro 'MALLOC_RET' if ((p = (cast)malloc(size)) == NULL) { \ ^ ~~~~~~~~~~~~~~~~~~ 6 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_init.c In file included from ./../ex/ex_init.c:29: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../ex/ex_init.c:29: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../ex/ex_init.c:64:33: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (nexp->lastbcomm = strdup(oexp->lastbcomm)) == NULL) { ^~~~~~~~~~~~~~~ /usr/include/string.h:91:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ ./../ex/ex_init.c:64:24: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (nexp->lastbcomm = strdup(oexp->lastbcomm)) == NULL) { ^ ~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_init.c:293:11: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ecp->cp = str; ^ ~~~ ./../ex/ex_init.c:295:31: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ecp->cp = v_strdup(sp, str, len)) == NULL) ^~~ ./../include/com_extern.h:325:44: note: passing argument to parameter here CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t)); ^ ./../ex/ex_init.c:302:36: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ecp->if_name = v_strdup(sp, name, strlen(name))) == NULL) ^~~~ ./../include/com_extern.h:325:44: note: passing argument to parameter here CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t)); ^ ./../ex/ex_init.c:302:21: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ecp->if_name = v_strdup(sp, name, strlen(name))) == NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_join.c ./../ex/ex_join.c:85:27: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, from, 0, &p, &len)) { ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../ex/ex_join.c:194:30: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->cno -= multi_back(sp, bp, &bp[sp->cno]); ^~ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_join.c:194:34: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->cno -= multi_back(sp, bp, &bp[sp->cno]); ^~~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_join.c:196:31: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->cno -= multi_back(sp, bp, &bp[sp->cno]); ^~ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_join.c:196:35: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->cno -= multi_back(sp, bp, &bp[sp->cno]); ^~~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_join.c:204:30: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->cno -= multi_back(sp, bp, &bp[sp->cno]); ^~ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_join.c:204:34: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->cno -= multi_back(sp, bp, &bp[sp->cno]); ^~~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_join.c:206:31: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->cno -= multi_back(sp, bp, &bp[sp->cno]); ^~ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_join.c:206:35: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->cno -= multi_back(sp, bp, &bp[sp->cno]); ^~~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ 9 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_map.c ./../ex/ex_map.c:117:7: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cmdp->argv[0]->bp, "135|\"%s\" isn't currently mapped"); ^~~~~~~~~~~~~~~~~ ./../include/com_extern.h:138:42: note: passing argument to parameter here void msgq_str __P((SCR *, mtype_t, char *, char *)); ^ 1 warning generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_mark.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_mkexrc.c In file included from ./../ex/ex_mkexrc.c:29: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../ex/ex_mkexrc.c:29: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../ex/ex_mkexrc.c:54:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fname = cmdp->argv[0]->bp; ^ ~~~~~~~~~~~~~~~~~ 3 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_move.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_open.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_perl.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_preserve.c ./../ex/ex_preserve.c:80:19: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] set_alt_name(sp, ap->bp); ^~~~~~ ./../include/com_extern.h:99:37: note: passing argument to parameter here void set_alt_name __P((SCR *, char *)); ^ 1 warning generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_print.c ./../ex/ex_print.c:129:42: warning: format specifies type 'long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat] snprintf(buf, sizeof(buf), "%6ld ", from); ~~~~ ^~~~ %6u ./../ex/ex_print.c:133:23: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ex_prchars(sp, p, &col, 8, 0, 0)) ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); ^ ./../ex/ex_print.c:169:32: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (len > 0 && ex_prchars(sp, p, &col, len, LF_ISSET(E_C_LIST), 0)) ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); ^ ./../ex/ex_print.c:173:22: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ex_prchars(sp, p, &col, 1, LF_ISSET(E_C_LIST), 0)) ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); ^ ./../ex/ex_print.c:198:22: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ex_prchars(sp, p, &col, 8, 0, 0)) ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); ^ ./../ex/ex_print.c:205:21: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ex_prchars(sp, p, &col, fp->cno, 0, ' ')) ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); ^ ./../ex/ex_print.c:209:6: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p, &col, tp->cno == fp->cno ? 1 : tp->cno - fp->cno, 0, '^')) ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); ^ ./../ex/ex_print.c:214:21: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ex_prchars(sp, p, &col, 5, 0, 0)) ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); ^ ./../ex/ex_print.c:264:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)ex_puts(sp, kp); ^~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here int ex_puts __P((SCR *, const char *)); ^ ./../ex/ex_print.c:271:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)ex_puts(sp, kp); ^~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here int ex_puts __P((SCR *, const char *)); ^ ./../ex/ex_print.c:283:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)ex_puts(sp, kp); ^~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here int ex_puts __P((SCR *, const char *)); ^ 11 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_put.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_quit.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_read.c ./../ex/ex_read.c:106:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp1(sp, cmdp, arg, arglen, 1)) ^~~ ./../include/ex_extern.h:20:42: note: passing argument to parameter here int argv_exp1 __P((SCR *, EXCMD *, char *, size_t, int)); ^ ./../ex/ex_read.c:119:14: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strdup(cmdp->argv[argc]->bp)) == NULL) { ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:91:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ ./../ex/ex_read.c:118:23: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((exp->lastbcomm = ^ ./../ex/ex_read.c:131:30: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)vs_update(sp, "!", cmdp->argv[argc]->bp); ^~~~~~~~~~~~~~~~~~~~ ./../include/vi_extern.h:126:54: note: passing argument to parameter here void vs_update __P((SCR *, const char *, const char *)); ^ ./../ex/ex_read.c:173:18: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] NULL, &rm, cmdp->argv[argc]->bp, FILTER_READ)) ^~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:36:43: note: passing argument to parameter here EXCMD *, MARK *, MARK *, MARK *, char *, enum filtertype)); ^ ./../ex/ex_read.c:190:8: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name = sp->frp->name; ^ ~~~~~~~~~~~~~ ./../ex/ex_read.c:193:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp2(sp, cmdp, arg, arglen)) ^~~ ./../include/ex_extern.h:21:42: note: passing argument to parameter here int argv_exp2 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex_read.c:219:12: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((p = v_strdup(sp, cmdp->argv[1]->bp, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_read.c:234:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] set_alt_name(sp, name); ^~~~ ./../include/com_extern.h:99:37: note: passing argument to parameter here void set_alt_name __P((SCR *, char *)); ^ ./../ex/ex_read.c:237:16: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ex_emsg(sp, cmdp->argv[0]->bp, EXM_FILECOUNT); ^~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:117:32: note: passing argument to parameter here void ex_emsg __P((SCR *, char *, exm_t)); ^ ./../ex/ex_read.c:252:18: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((fp = fopen(name, "r")) == NULL || fstat(fileno(fp), &sb)) { ^~~~ /usr/include/stdio.h:259:36: note: passing argument to parameter here FILE *fopen(const char * __restrict, const char * __restrict); ^ ./../ex/ex_read.c:253:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] msgq_str(sp, M_SYSERR, name, "%s"); ^~~~ ./../include/com_extern.h:138:42: note: passing argument to parameter here void msgq_str __P((SCR *, mtype_t, char *, char *)); ^ ./../ex/ex_read.c:267:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rval = ex_readfp(sp, name, fp, &cmdp->addr1, &nlines, 0); ^~~~ ./../include/ex_extern.h:68:33: note: passing argument to parameter here int ex_readfp __P((SCR *, char *, FILE *, MARK *, recno_t *, int)); ^ 13 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_screen.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_script.c In file included from ./../ex/ex_script.c:43: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../ex/ex_script.c:43: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../ex/ex_script.c:257:32: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] db_append(sp, 0, lline, t, p - t)) ^ ./../include/com_extern.h:116:47: note: passing argument to parameter here int db_append __P((SCR *, int, recno_t, char *, size_t)); ^ ./../ex/ex_script.c:287:53: warning: passing 'CHAR_T[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_last(sp, &lline) || db_append(sp, 0, lline, buf, llen)) { ^~~ ./../include/com_extern.h:116:47: note: passing argument to parameter here int db_append __P((SCR *, int, recno_t, char *, size_t)); ^ ./../ex/ex_script.c:292:29: warning: passing 'CHAR_T[1024]' (aka 'unsigned char[1024]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return (sscr_setprompt(sp, buf, llen)); ^~~ ./../ex/ex_script.c:54:45: note: passing argument to parameter here static int sscr_setprompt __P((SCR *, char *, size_t)); ^ ./../ex/ex_script.c:358:30: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ilen = multi_int2extlen(sp, p, len, &mbflg, cnvstate); ^ ./../include/com_extern.h:234:42: note: passing argument to parameter here int multi_int2extlen __P((SCR *, CHAR_T *, size_t, int *, void *)); ^ ./../ex/ex_script.c:368:3: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] GET_SPACE_RET(sp, tp, tlen, ilen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../ex/ex_script.c:371:4: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] FREE_SPACE(sp, tp, tlen); ^~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' if (L__gp != NULL && bp == L__gp->tmp_bp) \ ~~ ^ ~~~~~~~~~~~~~ ./../ex/ex_script.c:376:4: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] FREE_SPACE(sp, tp, tlen); ^~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' if (L__gp != NULL && bp == L__gp->tmp_bp) \ ~~ ^ ~~~~~~~~~~~~~ ./../ex/ex_script.c:381:3: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] FREE_SPACE(sp, tp, tlen); ^~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' if (L__gp != NULL && bp == L__gp->tmp_bp) \ ~~ ^ ~~~~~~~~~~~~~ ./../ex/ex_script.c:484:7: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] endp = bp; ^ ~~ ./../ex/ex_script.c:503:13: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = t = bp; p < endp; ++p) { ^ ~~ ./../ex/ex_script.c:507:32: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_append(sp, 1, lno++, t, len)) ^ ./../include/com_extern.h:116:47: note: passing argument to parameter here int db_append __P((SCR *, int, recno_t, char *, size_t)); ^ ./../ex/ex_script.c:521:29: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!sscr_matchprompt(sp, t, len, &tlen) || tlen != 0) { ^ ./../ex/ex_script.c:52:47: note: passing argument to parameter here static int sscr_matchprompt __P((SCR *, char *, size_t, size_t *)); ^ ./../ex/ex_script.c:529:10: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] endp = bp + len; ^ ~~~~~~~~ ./../ex/ex_script.c:533:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (sscr_setprompt(sp, t, len)) ^ ./../ex/ex_script.c:54:45: note: passing argument to parameter here static int sscr_setprompt __P((SCR *, char *, size_t)); ^ ./../ex/ex_script.c:535:31: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_append(sp, 1, lno++, t, len)) ^ ./../include/com_extern.h:116:47: note: passing argument to parameter here int db_append __P((SCR *, int, recno_t, char *, size_t)); ^ ./../ex/ex_script.c:559:34: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, lno, DBG_FATAL, &p, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ 18 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_set.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_shell.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_shift.c ./../ex/ex_shift.c:93:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = cmdp->argv[0]->bp, sw = 0; *p == '>' || *p == '<'; ++p) ^ ~~~~~~~~~~~~~~~~~ 1 warning generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_source.c In file included from ./../ex/ex_source.c:29: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../ex/ex_source.c:29: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../ex/ex_source.c:46:7: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name = cmdp->argv[0]->bp; ^ ~~~~~~~~~~~~~~~~~ 3 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_stop.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_subst.c ./../ex/ex_subst.c:99:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return (s(sp, cmdp, p, &sp->subre_c, SUB_MUSTSETR)); ^ ./../ex/ex_subst.c:49:41: note: passing argument to parameter here static int s __P((SCR *, EXCMD *, char *, regex_t *, u_int)); ^ ./../ex/ex_subst.c:127:16: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (ptrn = t = p;;) { ^ ~ ./../ex/ex_subst.c:142:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (p[1] == '\\') ^ ./../ex/ex_subst.c:169:7: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->re, sp->re_len, NULL, NULL, &sp->re_c, RE_C_SEARCH)) ^~~~~~ ./../include/ex_extern.h:89:11: note: passing argument to parameter here char *, size_t, char **, size_t *, regex_t *, u_int)); ^ ./../ex/ex_subst.c:181:7: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] &sp->re, &sp->re_len, &sp->re_c, RE_C_SEARCH)) ^~~~~~~ ./../include/ex_extern.h:89:28: note: passing argument to parameter here char *, size_t, char **, size_t *, regex_t *, u_int)); ^ ./../ex/ex_subst.c:184:7: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] &sp->subre, &sp->subre_len, &sp->subre_c, RE_C_SUBST)) ^~~~~~~~~~ ./../include/ex_extern.h:89:28: note: passing argument to parameter here char *, size_t, char **, size_t *, regex_t *, u_int)); ^ ./../ex/ex_subst.c:230:12: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (rep = p, len = 0; ^ ~ ./../ex/ex_subst.c:237:27: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (t = bp, len = 0, p = rep;;) { ^ ~~~ ./../ex/ex_subst.c:287:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return (s(sp, cmdp, p, re, flags)); ^ ./../ex/ex_subst.c:49:41: note: passing argument to parameter here static int s __P((SCR *, EXCMD *, char *, regex_t *, u_int)); ^ ./../ex/ex_subst.c:308:6: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->subre, sp->subre_len, NULL, NULL, &sp->subre_c, RE_C_SUBST)) ^~~~~~~~~ ./../include/ex_extern.h:89:11: note: passing argument to parameter here char *, size_t, char **, size_t *, regex_t *, u_int)); ^ ./../ex/ex_subst.c:311:12: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cmdp, cmdp->argc ? cmdp->argv[0]->bp : NULL, &sp->subre_c, 0)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_subst.c:49:41: note: passing argument to parameter here static int s __P((SCR *, EXCMD *, char *, regex_t *, u_int)); ^ ./../ex/ex_subst.c:332:6: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->re, sp->re_len, NULL, NULL, &sp->re_c, RE_C_SEARCH)) ^~~~~~ ./../include/ex_extern.h:89:11: note: passing argument to parameter here char *, size_t, char **, size_t *, regex_t *, u_int)); ^ ./../ex/ex_subst.c:335:12: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cmdp, cmdp->argc ? cmdp->argv[0]->bp : NULL, &sp->re_c, 0)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_subst.c:49:41: note: passing argument to parameter here static int s __P((SCR *, EXCMD *, char *, regex_t *, u_int)); ^ ./../ex/ex_subst.c:680:37: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] to.cno = llen - multi_back(sp, s, ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_subst.c:681:9: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] &s[llen]); ^~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_subst.c:684:39: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] from.cno = llen - multi_back(sp, s, ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_subst.c:685:9: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] &s[llen]); ^~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_subst.c:463:13: warning: result of comparison of constant 9223372036854775807 with expression of type 'recno_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] if (lno == LONG_MAX) ~~~ ^ ~~~~~~~~ ./../ex/ex_subst.c:465:18: warning: result of comparison of constant -9223372036854775808 with expression of type 'recno_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] else if (lno == LONG_MIN) ~~~ ^ ~~~~~~~~ ./../ex/ex_subst.c:990:27: warning: incompatible pointer types passing 'char **' to parameter of type 'CHAR_T **' (aka 'unsigned char **') [-Wincompatible-pointer-types] if (re_cscope_conv(sp, &ptrn, &plen, &replaced)) ^~~~~ ./../ex/ex_subst.c:40:48: note: passing argument to parameter here static int re_cscope_conv __P((SCR *, CHAR_T **, size_t *, int *)); ^ ./../ex/ex_subst.c:1000:24: warning: incompatible pointer types passing 'char **' to parameter of type 'CHAR_T **' (aka 'unsigned char **') [-Wincompatible-pointer-types] if (re_tag_conv(sp, &ptrn, &plen, &replaced)) ^~~~~ ./../ex/ex_subst.c:47:45: note: passing argument to parameter here static int re_tag_conv __P((SCR *, CHAR_T **, size_t *, int *)); ^ ./../ex/ex_subst.c:1003:20: warning: incompatible pointer types passing 'char **' to parameter of type 'CHAR_T **' (aka 'unsigned char **') [-Wincompatible-pointer-types] if (re_conv(sp, &ptrn, &plen, &replaced)) ^~~~~ ./../ex/ex_subst.c:39:41: note: passing argument to parameter here static int re_conv __P((SCR *, CHAR_T **, size_t *, int *)); ^ ./../ex/ex_subst.c:1174:2: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] GET_SPACE_RET(sp, bp, blen, needlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../ex/ex_subst.c:1281:2: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] GET_SPACE_RET(sp, bp, blen, len * 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../ex/ex_subst.c:1391:2: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] GET_SPACE_RET(sp, bp, blen, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../ex/ex_subst.c:1539:44: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (rp = sp->repl, rpl = sp->repl_len, p = lb + lbclen; rpl--;) { ^ ~~~~~~~~~~~ ./../ex/ex_subst.c:1567:6: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] OUTCH(*t, 0); ^~~~~~~~~~~~ ./../ex/ex_subst.c:1534:2: note: expanded from macro 'OUTCH' NEEDSP(sp, 1, p); \ ^~~~~~~~~~~~~~~~ ./../ex/ex_subst.c:384:7: note: expanded from macro 'NEEDSP' pnt = lb + lbclen; \ ^ ~~~~~~~~~~~ ./../ex/ex_subst.c:1609:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] NEEDSP(sp, advance, p); ^~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_subst.c:384:7: note: expanded from macro 'NEEDSP' pnt = lb + lbclen; \ ^ ~~~~~~~~~~~ ./../ex/ex_subst.c:1621:3: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] OUTCH(ch, 1); ^~~~~~~~~~~~ ./../ex/ex_subst.c:1534:2: note: expanded from macro 'OUTCH' NEEDSP(sp, 1, p); \ ^~~~~~~~~~~~~~~~ ./../ex/ex_subst.c:384:7: note: expanded from macro 'NEEDSP' pnt = lb + lbclen; \ ^ ~~~~~~~~~~~ 29 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_tag.c In file included from ./../ex/ex_tag.c:41: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../ex/ex_tag.c:41: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../ex/ex_tag.c:120:31: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((exp->tag_last = strdup(cmdp->argv[0]->bp)) == NULL) { ^~~~~~~~~~~~~~~~~ /usr/include/string.h:91:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ ./../ex/ex_tag.c:314:49: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (tp->frp == NULL && (tp->frp = file_add(sp, tp->fname)) == NULL) ^~~~~~~~~ ./../include/com_extern.h:91:36: note: passing argument to parameter here FREF *file_add __P((SCR *, CHAR_T *)); ^ ./../ex/ex_tag.c:353:49: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (tp->frp == NULL && (tp->frp = file_add(sp, tp->fname)) == NULL) ^~~~~~~~~ ./../include/com_extern.h:91:36: note: passing argument to parameter here FREF *file_add __P((SCR *, CHAR_T *)); ^ ./../ex/ex_tag.c:425:7: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] arg = cmdp->argv[0]->bp; ^ ~~~~~~~~~~~~~~~~~ ./../ex/ex_tag.c:949:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 7 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_tcl.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_txt.c ./../ex/ex_txt.c:109:8: warning: implicit declaration of function 'v_txt_auto' is invalid in C99 [-Wimplicit-function-declaration] if (v_txt_auto(sp, sp->lno, NULL, 0, tp)) ^ ./../ex/ex_txt.c:223:10: warning: implicit declaration of function 'v_txt_auto' is invalid in C99 [-Wimplicit-function-declaration] if (v_txt_auto(sp, ^ ./../ex/ex_txt.c:228:10: warning: implicit declaration of function 'v_txt_auto' is invalid in C99 [-Wimplicit-function-declaration] if (v_txt_auto(sp, ^ ./../ex/ex_txt.c:420:10: warning: unsequenced modification and access to 'scno' [-Wunsequenced] scno -= --scno % sw; ~~ ^ 4 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_undo.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_usage.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_util.c ./../ex/ex_util.c:71:9: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ap->bp = arg; ^ ~~~ 1 warning generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_version.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_visual.c ./../ex/ex_visual.c:84:21: warning: format specifies type 'unsigned long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat] "%luz%c%lu", sp->lno, pos, cmdp->count); ~~~ ^~~~~~~ %u ./../ex/ex_visual.c:86:46: warning: format specifies type 'unsigned long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat] len = snprintf(buf, sizeof(buf), "%luz%c", sp->lno, pos); ~~~ ^~~~~~~ %u ./../ex/ex_visual.c:87:31: warning: passing 'char[256]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)v_event_push(sp, NULL, buf, len, CH_NOMAP | CH_QUOTED); ^~~ ./../include/com_extern.h:109:47: note: passing argument to parameter here int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); ^ 3 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_write.c In file included from ./../ex/ex_write.c:30: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../ex/ex_write.c:30: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../ex/ex_write.c:173:37: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp1(sp, cmdp, p, strlen(p), 1)) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ./../ex/ex_write.c:173:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp1(sp, cmdp, p, strlen(p), 1)) ^ ./../include/ex_extern.h:20:42: note: passing argument to parameter here int argv_exp1 __P((SCR *, EXCMD *, char *, size_t, int)); ^ ./../ex/ex_write.c:190:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] &cmdp->addr2, &rm, cmdp->argv[1]->bp, FILTER_WRITE)) ^~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:36:43: note: passing argument to parameter here EXCMD *, MARK *, MARK *, MARK *, char *, enum filtertype)); ^ ./../ex/ex_write.c:218:36: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp2(sp, cmdp, p, strlen(p))) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ./../ex/ex_write.c:218:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp2(sp, cmdp, p, strlen(p))) ^ ./../include/ex_extern.h:21:42: note: passing argument to parameter here int argv_exp2 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex_write.c:236:8: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name = cmdp->argv[1]->bp; ^ ~~~~~~~~~~~~~~~~~ ./../ex/ex_write.c:249:19: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->frp->name = p; ^ ~ ./../ex/ex_write.c:269:15: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ex_emsg(sp, p, EXM_FILECOUNT); ^ ./../include/ex_extern.h:117:32: note: passing argument to parameter here void ex_emsg __P((SCR *, char *, exm_t)); ^ ./../ex/ex_write.c:333:3: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] GET_SPACE_RET(sp, cnvtmp, cnvtmplen, 256); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../ex/ex_write.c:355:5: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] FREE_SPACE(sp, cnvtmp, cnvtmplen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' if (L__gp != NULL && bp == L__gp->tmp_bp) \ ~~ ^ ~~~~~~~~~~~~~ ./../ex/ex_write.c:363:32: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ilen = multi_int2extlen(sp, p, len, &mbflg, cnvstate); ^ ./../include/com_extern.h:234:42: note: passing argument to parameter here int multi_int2extlen __P((SCR *, CHAR_T *, size_t, int *, void *)); ^ ./../ex/ex_write.c:366:6: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] FREE_SPACE(sp, cnvtmp, cnvtmplen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' if (L__gp != NULL && bp == L__gp->tmp_bp) \ ~~ ^ ~~~~~~~~~~~~~ ./../ex/ex_write.c:374:5: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] ADD_SPACE_RET(sp, cnvtmp, cnvtmplen, ilen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:89:26: note: expanded from macro 'ADD_SPACE_RET' if (L__gp == NULL || bp == L__gp->tmp_bp) { \ ~~ ^ ~~~~~~~~~~~~~ ./../ex/ex_write.c:374:5: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ADD_SPACE_RET(sp, cnvtmp, cnvtmplen, ilen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:92:6: note: expanded from macro 'ADD_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../ex/ex_write.c:379:5: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] FREE_SPACE(sp, cnvtmp, cnvtmplen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' if (L__gp != NULL && bp == L__gp->tmp_bp) \ ~~ ^ ~~~~~~~~~~~~~ ./../ex/ex_write.c:384:5: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] FREE_SPACE(sp, cnvtmp, cnvtmplen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' if (L__gp != NULL && bp == L__gp->tmp_bp) \ ~~ ^ ~~~~~~~~~~~~~ ./../ex/ex_write.c:397:3: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] FREE_SPACE(sp, cnvtmp, cnvtmplen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' if (L__gp != NULL && bp == L__gp->tmp_bp) \ ~~ ^ ~~~~~~~~~~~~~ 19 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_yank.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../ex/ex_z.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/exf.c In file included from ./../common/exf.c:38: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../common/exf.c:38: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../common/exf.c:90:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(frp->name, name)) ^~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ ./../common/exf.c:104:29: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (name != NULL && strcmp(name, TEMPORARY_FILE_STRING) && ^~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ ./../common/exf.c:105:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (frp->name = strdup(name)) == NULL) { ^~~~ /usr/include/string.h:91:26: note: passing argument to parameter here char *strdup(const char *) __malloc_like; ^ ./../common/exf.c:929:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ ./../common/exf.c:967:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ./../common/exf.c:1100:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = cmd.argv[0]->bp; p[0] != '\0'; *t++ = *p++) ^ ~~~~~~~~~~~~~~~ ./../common/exf.c:1121:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] estr = cmd.argv[0]->bp; ^ ~~~~~~~~~~~~~~~ ./../common/exf.c:1135:10: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] wfname = cmd.argv[0]->bp; ^ ~~~~~~~~~~~~~~~ ./../common/exf.c:1275:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (ep->refcnt <= 1 && !force) { ^ 11 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/getc.c ./../vi/getc.c:52:31: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, csp->cs_lno, &csp->cs_bp, &csp->cs_len, &isempty)) { ^~~~~~~~~~~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/getc.c:92:15: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] csp->cs_bp = p; ^ ~ ./../vi/getc.c:145:15: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] csp->cs_bp = p; ^ ~ ./../vi/getc.c:257:33: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] --csp->cs_lno, DBG_FATAL, &csp->cs_bp, &csp->cs_len)) { ^~~~~~~~~~~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../vi/getc.c:315:33: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] --csp->cs_lno, DBG_FATAL, &csp->cs_bp, &csp->cs_len)) { ^~~~~~~~~~~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ 5 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/key.c ./../common/key.c:291:11: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((chp = O_STR(sp, O_PRINT)) != NULL) ^ ~~~~~~~~~~~~~~~~~~ ./../common/key.c:295:11: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((chp = O_STR(sp, O_NOPRINT)) != NULL) ^ ~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/line.c ./../common/line.c:127:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *pp = tp->lb; ^ ~~~~~~ 1 warning generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/log.c In file included from ./../common/log.c:28: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../common/log.c:28: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../common/log.c:417:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_insert(sp, lno, p + sizeof(u_char) + ^~~~~~~~~~~~~~~~~~~~ ./../include/com_extern.h:117:42: note: passing argument to parameter here int db_insert __P((SCR *, recno_t, char *, size_t)); ^ ./../common/log.c:428:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_set(sp, lno, p + sizeof(u_char) + ^~~~~~~~~~~~~~~~~~~~ ./../include/com_extern.h:118:39: note: passing argument to parameter here int db_set __P((SCR *, recno_t, char *, size_t)); ^ ./../common/log.c:523:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] db_set(sp, lno, p + sizeof(u_char) + ^~~~~~~~~~~~~~~~~~~~ ./../include/com_extern.h:118:39: note: passing argument to parameter here int db_set __P((SCR *, recno_t, char *, size_t)); ^ ./../common/log.c:604:27: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_insert(sp, lno, p + sizeof(u_char) + ^~~~~~~~~~~~~~~~~~~~ ./../include/com_extern.h:117:42: note: passing argument to parameter here int db_insert __P((SCR *, recno_t, char *, size_t)); ^ ./../common/log.c:622:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_set(sp, lno, p + sizeof(u_char) + ^~~~~~~~~~~~~~~~~~~~ ./../include/com_extern.h:118:39: note: passing argument to parameter here int db_set __P((SCR *, recno_t, char *, size_t)); ^ 7 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/main.c In file included from ./../common/main.c:38: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../common/main.c:38: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../common/main.c:74:15: warning: incompatible function pointer types assigning to 'void (*)(SCR *, mtype_t, char *, size_t)' (aka 'void (*)(struct _scr *, mtype_t, char *, unsigned long)') from 'void (SCR *, mtype_t, CHAR_T *, size_t)' (aka 'void (struct _scr *, mtype_t, unsigned char *, unsigned long)') [-Wincompatible-function-pointer-types] gp->scr_msg = vs_msg; ^ ~~~~~~ ./../common/main.c:571:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ 4 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/mark.c ./../common/mark.c:243:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ 1 warning generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/msg.c In file included from ./../common/msg.c:38: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../common/msg.c:38: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../common/msg.c:475:38: warning: format specifies type 'unsigned long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat] len = snprintf(p, MAXNUM, "%lu ", sp->rptlines[cnt]); ~~~ ^~~~~~~~~~~~~~~~~ %u ./../common/msg.c:904:10: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (t = KEY_NAME(sp, *cp); *t != '\0' && p < ep; *p++ = *t++); ^ ~~~~~~~~~~~~~~~~~ 4 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/options.c ./../common/options.c:370:7: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] a.bp = b1; ^ ~~ ./../common/options.c:432:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] OI(O_ESCAPETIME, "escapetime=1"); ^ ~~~~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:433:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] OI(O_KEYTIME, "keytime=6"); ^ ~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:434:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] OI(O_MATCHTIME, "matchtime=7"); ^ ~~~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:437:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] OI(O_REPORT, "report=5"); ^ ~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:438:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] OI(O_PARAGRAPHS, "paragraphs=IPLPPPQPP LIpplpipbp"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:443:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] OI(O_SECTIONS, "sections=NHSHH HUnhsh"); ^ ~~~~~~~~~~~~~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:447:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] OI(O_SHELLMETA, "shellmeta=~{[*?$`'\"\\"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:448:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] OI(O_SHIFTWIDTH, "shiftwidth=8"); ^ ~~~~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:449:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] OI(O_SIDESCROLL, "sidescroll=16"); ^ ~~~~~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:450:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] OI(O_TABSTOP, "tabstop=8"); ^ ~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:454:2: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] OI(O_FEPKEY, "fepkey=/?aioAIO"); ^ ~~~~~~~~~~~~~~~~~ ./../common/options.c:378:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:572:15: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp(argv[0]->bp, "all")) { ^~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ ./../common/options.c:579:16: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = name = argv[0]->bp; (ch = *p) != '\0'; ++p) ^ ~~~~~~~~~~~ ./../common/options.c:587:9: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sep = p; ^ ~ ./../common/options.c:669:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ ./../common/options.c:707:28: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] nget_uslong(&value, sep, &endp, 10)) != NUM_OK) { ^~~ ./../include/com_extern.h:326:53: note: passing argument to parameter here enum nresult nget_uslong __P((u_long *, const char *, char **, int)); ^ ./../common/options.c:707:33: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] nget_uslong(&value, sep, &endp, 10)) != NUM_OK) { ^~~~~ ./../include/com_extern.h:326:62: note: passing argument to parameter here enum nresult nget_uslong __P((u_long *, const char *, char **, int)); ^ ./../common/options.c:709:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t = msg_print(sp, sep, &nf2); ^~~ ./../include/com_extern.h:145:41: note: passing argument to parameter here char *msg_print __P((SCR *, const char *, int *)); ^ ./../common/options.c:732:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t = msg_print(sp, sep, &nf2); ^~~ ./../include/com_extern.h:145:41: note: passing argument to parameter here char *msg_print __P((SCR *, const char *, int *)); ^ ./../common/options.c:761:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] op->func(sp, spo, sep, &value) || ^~~ ./../common/options.c:762:33: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ex_optchange(sp, offset, sep, &value) || ^~~ ./../include/ex_extern.h:42:41: note: passing argument to parameter here int ex_optchange __P((SCR *, int, char *, u_long *)); ^ ./../common/options.c:763:32: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] v_optchange(sp, offset, sep, &value) || ^~~ ./../include/vi_extern.h:37:40: note: passing argument to parameter here int v_optchange __P((SCR *, int, char *, u_long *)); ^ ./../common/options.c:764:42: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->gp->scr_optchange(sp, offset, sep, &value)) { ^~~ ./../common/options.c:793:35: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !strcmp(O_STR(sp, offset), sep)) ^~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ ./../common/options.c:798:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] op->func(sp, spo, sep, NULL) || ^~~ ./../common/options.c:799:33: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ex_optchange(sp, offset, sep, NULL) || ^~~ ./../include/ex_extern.h:42:41: note: passing argument to parameter here int ex_optchange __P((SCR *, int, char *, u_long *)); ^ ./../common/options.c:800:32: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] v_optchange(sp, offset, sep, NULL) || ^~~ ./../include/vi_extern.h:37:40: note: passing argument to parameter here int v_optchange __P((SCR *, int, char *, u_long *)); ^ ./../common/options.c:801:42: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->gp->scr_optchange(sp, offset, sep, NULL)) { ^~~ ./../common/options.c:807:37: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (o_set(sp, offset, OS_STRDUP, sep, 0)) ^~~ ./../include/com_extern.h:259:41: note: passing argument to parameter here int o_set __P((SCR *, int, u_int, char *, u_long)); ^ 30 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/options_f.c ./../common/options_f.c:449:3: warning: implicit declaration of function 'multi_keyinput_resetstate' is invalid in C99 [-Wimplicit-function-declaration] multi_keyinput_resetstate(sp); ^ 1 warning generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/put.c ./../common/put.c:60:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ ./../common/put.c:92:31: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_append(sp, 1, lno, tp->lb, tp->len)) ^~~~~~ ./../include/com_extern.h:116:47: note: passing argument to parameter here int db_append __P((SCR *, int, recno_t, char *, size_t)); ^ ./../common/put.c:106:30: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_append(sp, 1, lno, tp->lb, tp->len)) ^~~~~~ ./../include/com_extern.h:116:47: note: passing argument to parameter here int db_append __P((SCR *, int, recno_t, char *, size_t)); ^ ./../common/put.c:126:5: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p0 = p; ^ ~ ./../common/put.c:236:30: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_append(sp, 1, lno, tp->lb, tp->len)) ^~~~~~ ./../include/com_extern.h:116:47: note: passing argument to parameter here int db_append __P((SCR *, int, recno_t, char *, size_t)); ^ 5 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/recover.c In file included from ./../common/recover.c:40: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../common/recover.c:40: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ 2 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/screen.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/search.c ./../common/search.c:94:8: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->re, sp->re_len, NULL, NULL, &sp->re_c, ^~~~~~ ./../include/ex_extern.h:89:11: note: passing argument to parameter here char *, size_t, char **, size_t *, regex_t *, u_int)); ^ ./../common/search.c:112:25: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (delim = *ptrn, p = t = ++ptrn;; *t++ = *p++) { ^ ~~~~~~~~~~ ./../common/search.c:137:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *epp = p; ^ ~ ./../common/search.c:143:33: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (re_compile(sp, ptrn, plen, &sp->re, &sp->re_len, &sp->re_c, ^~~~~~~ ./../include/ex_extern.h:89:28: note: passing argument to parameter here char *, size_t, char **, size_t *, regex_t *, u_int)); ^ ./../common/search.c:190:38: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, fm->lno, DBG_FATAL, &l, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../common/search.c:212:27: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, lno, 0, &l, &len)) { ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../common/search.c:240:54: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (wrapped && lno > fm->lno || db_get(sp, lno, 0, &l, &len)) { ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../common/search.c:269:29: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] eval = regexec(&sp->re_c, l, 1, match, ^ ./../regex/regex.h:104:18: note: passing argument to parameter here const char *, size_t, regmatch_t [], int)); ^ ./../common/search.c:474:29: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ? len - multi_back(sp, l, &l[len]) : 0; ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../common/search.c:474:32: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ? len - multi_back(sp, l, &l[len]) : 0; ^~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ 10 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/seq.c ./../common/seq.c:306:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len += ex_puts(sp, KEY_NAME(sp, *p)); ^~~~~~~~~~~~~~~~ ./../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here int ex_puts __P((SCR *, const char *)); ^ ./../common/seq.c:313:24: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len += ex_puts(sp, KEY_NAME(sp, *p)); ^~~~~~~~~~~~~~~~ ./../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here int ex_puts __P((SCR *, const char *)); ^ ./../common/seq.c:322:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)ex_puts(sp, KEY_NAME(sp, *p)); ^~~~~~~~~~~~~~~~ ./../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here int ex_puts __P((SCR *, const char *)); ^ 3 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/util.c ./../common/util.c:94:23: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, lno, &p, &len, &isempty)) ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ 1 warning generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_at.c ./../vi/v_at.c:67:15: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ex_emsg(sp, KEY_NAME(sp, name), EXM_EMPTYBUF); ^~~~~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:117:32: note: passing argument to parameter here void ex_emsg __P((SCR *, char *, exm_t)); ^ ./../vi/v_at.c:94:30: warning: passing 'char[2]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] v_event_push(sp, NULL, "\n", 1, 0) || ^~~~ ./../include/com_extern.h:109:47: note: passing argument to parameter here int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); ^ ./../vi/v_at.c:105:30: warning: passing 'char[20]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (v_event_push(sp, NULL, nbuf, len, 0)) ^~~~ ./../include/com_extern.h:109:47: note: passing argument to parameter here int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); ^ 3 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_ch.c ./../vi/v_ch.c:49:2: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(vp->characters, VIP(sp)->lastckeys, sizeof(vp->characters)); ^ ./../vi/v_ch.c:49:2: note: include the header or explicitly provide a declaration for 'memcpy' ./../vi/v_ch.c:135:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, vp->m_start.lno, &p, NULL, NULL)) ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/v_ch.c:202:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/v_ch.c:221:41: warning: implicitly declaring library function 'memcmp' with type 'int (const void *, const void *, unsigned long)' [-Wimplicit-function-declaration] } while (p < endp && (*p != key[0] || memcmp(p, key, blen))); ^ ./../vi/v_ch.c:221:41: note: include the header or explicitly provide a declaration for 'memcmp' ./../vi/v_ch.c:260:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, vp->m_start.lno, &p, NULL, NULL)) ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/v_ch.c:322:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/v_ch.c:397:40: warning: cast to smaller integer type 'unsigned char' from 'CHAR_T *' (aka 'unsigned char *') [-Wpointer-to-int-cast] msgq(sp, M_BERR, "179|%s not found", KEY_NAME(sp, p)); ^~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:3: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY \ ^~~~~~~~~~~~~~~~~~~ ./../vi/v_ch.c:397:40: warning: cast to smaller integer type 'unsigned char' from 'CHAR_T *' (aka 'unsigned char *') [-Wpointer-to-int-cast] msgq(sp, M_BERR, "179|%s not found", KEY_NAME(sp, p)); ^~~~~~~~~~~~~~~ ./../vi/../common/gs.h:150:22: note: expanded from macro 'KEY_NAME' ? sp->gp->cname[(unsigned char)ch].name \ ^~~~~~~~~~~~~~~~~ ./../vi/v_ch.c:397:40: warning: cast to smaller integer type 'unsigned char' from 'CHAR_T *' (aka 'unsigned char *') [-Wpointer-to-int-cast] msgq(sp, M_BERR, "179|%s not found", KEY_NAME(sp, p)); ^~~~~~~~~~~~~~~ ./../vi/../common/gs.h:151:24: note: expanded from macro 'KEY_NAME' : v_key_name1(sp, (unsigned char)ch)) ^~~~~~~~~~~~~~~~~ 9 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_cmd.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_delete.c ./../vi/v_delete.c:100:39: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, vp->m_final.lno, 0, &p, NULL)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ 1 warning generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_ex.c ./../vi/v_ex.c:230:42: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ex_cadd(&cmd, &a, VIP(sp)->keyw, strlen(VIP(sp)->keyw)); ^~~~~~~~~~~~~ ./../vi/vi.h:338:17: note: expanded from macro 'VIP' #define VIP(sp) ((VI_PRIVATE *)((sp)->vi_private)) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ./../vi/v_ex.c:230:20: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ex_cadd(&cmd, &a, VIP(sp)->keyw, strlen(VIP(sp)->keyw)); ^~~~~~~~~~~~~ ./../vi/vi.h:338:17: note: expanded from macro 'VIP' #define VIP(sp) ((VI_PRIVATE *)((sp)->vi_private)) ^ ./../include/ex_extern.h:113:42: note: passing argument to parameter here void ex_cadd __P((EXCMD *, ARGS *, char *, size_t)); ^ ./../vi/v_ex.c:322:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp1(sp, &cmd, tp->lb + 1, tp->len - 1, 1)) ^~~~~~~~~~ ./../include/ex_extern.h:20:42: note: passing argument to parameter here int argv_exp1 __P((SCR *, EXCMD *, char *, size_t, int)); ^ ./../vi/v_ex.c:431:29: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ex_run_str(sp, NULL, tp->lb, tp->len, 0, 1)) ^~~~~~ ./../include/ex_extern.h:44:42: note: passing argument to parameter here int ex_run_str __P((SCR *, char *, char *, size_t, int, int)); ^ ./../vi/v_ex.c:530:27: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, sp->lno, &p, &len, NULL)) ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/v_ex.c:672:31: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rval = db_append(sp, 0, lno, tp->lb, tp->len); ^~~~~~ ./../include/com_extern.h:116:47: note: passing argument to parameter here int db_append __P((SCR *, int, recno_t, char *, size_t)); ^ 6 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_increment.c ./../vi/v_increment.c:88:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/v_increment.c:189:5: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t = &p[beg]; ^ ~~~~~~~ 2 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_init.c ./../vi/v_init.c:63:20: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] v_strdup(sp, ovip->ps, strlen(ovip->ps))) == NULL) ^~~~~~~~ ./../include/com_extern.h:325:44: note: passing argument to parameter here CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t)); ^ ./../vi/v_init.c:62:37: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ovip->ps != NULL && (nvip->ps = ^ 2 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_itxt.c ./../vi/v_itxt.c:82:38: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (!db_get(sp, vp->m_start.lno, 0, &p, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../vi/v_itxt.c:117:27: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, sp->lno, &p, &len, &isempty)) { ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/v_itxt.c:141:30: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return (v_txt(sp, vp, NULL, p, len, ^ ./../include/vi_extern.h:92:16: note: passing argument to parameter here const char *, size_t, ARG_CHAR_T, recno_t, u_long, u_int32_t)); ^ ./../vi/v_itxt.c:450:46: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vp->m_stop.cno = len ? len - multi_back(sp, p, &p[len]) : 0; ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../vi/v_itxt.c:450:49: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vp->m_stop.cno = len ? len - multi_back(sp, p, &p[len]) : 0; ^~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../vi/v_itxt.c:480:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/v_itxt.c:518:37: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return (v_txt(sp, vp, &vp->m_stop, p, len, 0, OOBLNO, 1, flags)); ^ ./../include/vi_extern.h:92:16: note: passing argument to parameter here const char *, size_t, ARG_CHAR_T, recno_t, u_long, u_int32_t)); ^ 7 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_left.c ./../vi/v_left.c:54:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, vp->m_start.lno, &p, NULL, NULL)) ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/v_left.c:202:36: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, vp->m_start.lno, &p, NULL, NULL)) ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/v_left.c:287:36: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, vp->m_start.lno, &p, NULL, NULL)) ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/v_left.c:360:36: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, vp->m_start.lno, &p, NULL, NULL)) ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ 4 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_mark.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_match.c ./../vi/v_match.c:63:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) { ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/v_match.c:185:37: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, mp->lno, DBG_FATAL, &p, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ 2 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_paragraph.c ./../vi/v_paragraph.c:94:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ ./../vi/v_paragraph.c:114:28: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (len == 0 || v_isempty(p, len)) ^ ./../include/vi_extern.h:106:28: note: passing argument to parameter here int v_isempty __P((CHAR_T *, size_t)); ^ ./../vi/v_paragraph.c:128:4: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] INTEXT_CHECK; ^~~~~~~~~~~~ ./../vi/v_paragraph.c:31:28: note: expanded from macro 'INTEXT_CHECK' if (len == 0 || v_isempty(p, len)) { \ ^ ./../include/vi_extern.h:106:28: note: passing argument to parameter here int v_isempty __P((CHAR_T *, size_t)); ^ ./../vi/v_paragraph.c:131:30: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (len == 0 || v_isempty(p, len)) ^ ./../include/vi_extern.h:106:28: note: passing argument to parameter here int v_isempty __P((CHAR_T *, size_t)); ^ ./../vi/v_paragraph.c:151:57: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vp->m_stop.cno = lastlen ? lastlen - multi_back(sp, p, &p[lastlen]) : 0; ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../vi/v_paragraph.c:151:60: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vp->m_stop.cno = lastlen ? lastlen - multi_back(sp, p, &p[lastlen]) : 0; ^~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../vi/v_paragraph.c:183:54: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (vp->m_start.cno == (len ? len - multi_back(sp, p, &p[len]) : 0)) ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../vi/v_paragraph.c:183:57: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (vp->m_start.cno == (len ? len - multi_back(sp, p, &p[len]) : 0)) ^~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../vi/v_paragraph.c:206:46: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vp->m_stop.cno = len ? len - multi_back(sp, p, &p[len]) : 0; ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../vi/v_paragraph.c:206:49: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vp->m_stop.cno = len ? len - multi_back(sp, p, &p[len]) : 0; ^~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../vi/v_paragraph.c:262:37: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, vp->m_start.lno, &p, NULL, NULL)) { ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/v_paragraph.c:256:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ ./../vi/v_paragraph.c:282:28: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (len == 0 || v_isempty(p, len)) ^ ./../include/vi_extern.h:106:28: note: passing argument to parameter here int v_isempty __P((CHAR_T *, size_t)); ^ ./../vi/v_paragraph.c:302:4: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] INTEXT_CHECK; ^~~~~~~~~~~~ ./../vi/v_paragraph.c:31:28: note: expanded from macro 'INTEXT_CHECK' if (len == 0 || v_isempty(p, len)) { \ ^ ./../include/vi_extern.h:106:28: note: passing argument to parameter here int v_isempty __P((CHAR_T *, size_t)); ^ ./../vi/v_paragraph.c:305:31: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (len != 0 && !v_isempty(p, len)) { ^ ./../include/vi_extern.h:106:28: note: passing argument to parameter here int v_isempty __P((CHAR_T *, size_t)); ^ 15 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_put.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_redraw.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_replace.c ./../vi/v_replace.c:78:45: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, vp->m_start.lno, DBG_FATAL, &p, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../vi/v_replace.c:180:2: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] GET_SPACE_RET(sp, bp, blen, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../vi/v_replace.c:206:35: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_set(sp, vp->m_start.lno, p, vp->m_start.cno)) ^ ./../include/com_extern.h:118:39: note: passing argument to parameter here int db_set __P((SCR *, recno_t, char *, size_t)); ^ ./../vi/v_replace.c:221:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((tp = text_init(sp, p, len, len)) == NULL) ^ ./../include/com_extern.h:87:41: note: passing argument to parameter here TEXT *text_init __P((SCR *, const char *, size_t, size_t)); ^ ./../vi/v_replace.c:232:41: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_append(sp, 1, vp->m_start.lno, tp->lb, tp->len)) ^~~~~~ ./../include/com_extern.h:116:47: note: passing argument to parameter here int db_append __P((SCR *, int, recno_t, char *, size_t)); ^ ./../vi/v_replace.c:262:3: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] ADD_SPACE_RET(sp, bp, blen, nlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/../common/mem.h:89:26: note: expanded from macro 'ADD_SPACE_RET' if (L__gp == NULL || bp == L__gp->tmp_bp) { \ ~~ ^ ~~~~~~~~~~~~~ ./../vi/v_replace.c:262:3: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ADD_SPACE_RET(sp, bp, blen, nlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/../common/mem.h:92:6: note: expanded from macro 'ADD_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../vi/v_replace.c:276:38: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rval = db_set(sp, vp->m_start.lno, bp, nlen); ^~ ./../include/com_extern.h:118:39: note: passing argument to parameter here int db_set __P((SCR *, recno_t, char *, size_t)); ^ ./../vi/v_replace.c:281:2: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] FREE_SPACE(sp, bp, blen); ^~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' if (L__gp != NULL && bp == L__gp->tmp_bp) \ ~~ ^ ~~~~~~~~~~~~~ 9 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_right.c ./../vi/v_right.c:48:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/v_right.c:194:46: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vp->m_stop.cno = len ? len - multi_back(sp, p, &p[len]) : 0; ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../vi/v_right.c:194:49: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vp->m_stop.cno = len ? len - multi_back(sp, p, &p[len]) : 0; ^~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ 3 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_screen.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_scroll.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_search.c ./../vi/v_search.c:191:6: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cmd = cmdp->cp; ^ ~~~~~~~~ ./../vi/v_search.c:235:10: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (t = cmd + 1, tlen = len - 1; tlen > 0; ++t, --tlen) ^ ~~~~~~~ ./../vi/v_search.c:253:30: warning: passing 'char[2]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] v_event_push(sp, NULL, "+", 1, CH_NOMAP | CH_QUOTED)) ^~~ ./../include/com_extern.h:109:47: note: passing argument to parameter here int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); ^ ./../vi/v_search.c:257:30: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (v_event_push(sp, NULL, cmd, len, CH_NOMAP | CH_QUOTED)) ^~~ ./../include/com_extern.h:109:47: note: passing argument to parameter here int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); ^ ./../vi/v_search.c:263:30: warning: passing 'char[20]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (v_event_push(sp, NULL, buf, tlen, CH_NOMAP | CH_QUOTED)) ^~~ ./../include/com_extern.h:109:47: note: passing argument to parameter here int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); ^ ./../vi/v_search.c:516:47: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, --vp->m_stop.lno, DBG_FATAL, &p, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../vi/v_search.c:529:45: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, vp->m_stop.lno, DBG_FATAL, &p, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ 7 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_section.c ./../vi/v_section.c:88:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ ./../vi/v_section.c:262:37: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vp->m_start.cno -= multi_back(sp, p, &p[vp->m_start.cno]); ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../vi/v_section.c:262:40: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vp->m_start.cno -= multi_back(sp, p, &p[vp->m_start.cno]); ^~~~~~~~~~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ 3 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_sentence.c ./../vi/v_sentence.c:395:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ 1 warning generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_status.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_txt.c ./../vi/v_txt.c:707:34: warning: passing 'char[2]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)v_event_push(sp, NULL, "\r", 1, CH_NOMAP); ^~~~ ./../include/com_extern.h:109:47: note: passing argument to parameter here int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); ^ ./../vi/v_txt.c:802:28: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ntp = text_init(sp, p, ^ ./../include/com_extern.h:87:41: note: passing argument to parameter here TEXT *text_init __P((SCR *, const char *, size_t, size_t)); ^ ./../vi/v_txt.c:823:5: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] FREE_SPACE(sp, ait.lb, ait.lb_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' if (L__gp != NULL && bp == L__gp->tmp_bp) \ ~~ ^ ~~~~~~~~~~~~~ ./../vi/v_txt.c:1785:21: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ex_is_abbrev(p, len)) { ^ ./../include/ex_extern.h:4:29: note: passing argument to parameter here int ex_is_abbrev __P((char *, size_t)); ^ ./../vi/v_txt.c:1790:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ./../vi/v_txt.c:1894:58: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((off == tp->ai || off == tp->offset) && ex_is_unmap(p, len)) ^ ./../include/ex_extern.h:5:28: note: passing argument to parameter here int ex_is_unmap __P((char *, size_t)); ^ ./../vi/v_txt.c:2022:34: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, lno, DBG_FATAL, &t, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../vi/v_txt.c:2173:13: warning: unsequenced modification and access to 'target' [-Wunsequenced] target -= --target % sw; ~~ ^ ./../vi/v_txt.c:2295:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp2(sp, &cmd, p, len + 1)) { ^ ./../include/ex_extern.h:21:42: note: passing argument to parameter here int argv_exp2 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../vi/v_txt.c:2311:17: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] nlen = strlen(cmd.argv[0]->bp); ^~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ./../vi/v_txt.c:2317:13: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !stat(cmd.argv[0]->bp, &sb) && S_ISDIR(sb.st_mode)) { ^~~~~~~~~~~~~~~ /usr/include/sys/stat.h:395:33: note: passing argument to parameter here int stat(const char * __restrict, struct stat * __restrict); ^ ./../vi/v_txt.c:2373:25: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argc == 1 && !stat(cmd.argv[0]->bp, &sb) && S_ISDIR(sb.st_mode)) { ^~~~~~~~~~~~~~~ /usr/include/sys/stat.h:395:33: note: passing argument to parameter here int stat(const char * __restrict, struct stat * __restrict); ^ ./../vi/v_txt.c:2412:19: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((p = strrchr(argv[0]->bp, '/')) == NULL) ^~~~~~~~~~~ /usr/include/string.h:116:27: note: passing argument to parameter here char *strrchr(const char *, int) __pure; ^ ./../vi/v_txt.c:2412:9: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((p = strrchr(argv[0]->bp, '/')) == NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/v_txt.c:2455:21: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = msg_print(sp, av[0]->bp + prefix, &nf); ^~~~~~~~~~~~~~~~~~ ./../include/com_extern.h:145:41: note: passing argument to parameter here char *msg_print __P((SCR *, const char *, int *)); ^ ./../vi/v_txt.c:2455:5: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = msg_print(sp, av[0]->bp + prefix, &nf); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/v_txt.c:2462:4: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] FREE_SPACE(sp, p, 0); ^~~~~~~~~~~~~~~~~~~~ ./../vi/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' if (L__gp != NULL && bp == L__gp->tmp_bp) \ ~~ ^ ~~~~~~~~~~~~~ ./../vi/v_txt.c:2477:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = msg_print(sp, argv[base]->bp + prefix, &nf); ^~~~~~~~~~~~~~~~~~~~~~~ ./../include/com_extern.h:145:41: note: passing argument to parameter here char *msg_print __P((SCR *, const char *, int *)); ^ ./../vi/v_txt.c:2477:7: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = msg_print(sp, argv[base]->bp + prefix, &nf); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/v_txt.c:2480:6: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] FREE_SPACE(sp, p, 0); ^~~~~~~~~~~~~~~~~~~~ ./../vi/../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' if (L__gp != NULL && bp == L__gp->tmp_bp) \ ~~ ^ ~~~~~~~~~~~~~ ./../vi/v_txt.c:2566:24: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)vs_columns(sp, tp->lb, tp->lno, &cno, &olen); ^~~~~~ ./../include/vi_extern.h:141:37: note: passing argument to parameter here size_t vs_columns __P((SCR *, char *, recno_t, size_t *, size_t *)); ^ ./../vi/v_txt.c:2659:28: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (off = tp->cno - 1, p = tp->lb + off, len = 0;; --p, --off, ++len) { ^ ~~~~~~~~~~~~ ./../vi/v_txt.c:2932:25: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)vs_columns(sp, tp->lb, tp->lno, &cno, &nlen); ^~~~~~ ./../include/vi_extern.h:141:37: note: passing argument to parameter here size_t vs_columns __P((SCR *, char *, recno_t, size_t *, size_t *)); ^ ./../vi/v_txt.c:2950:9: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tp->lb, tp->lno, &cno, &olen); ^~~~~~ ./../include/vi_extern.h:141:37: note: passing argument to parameter here size_t vs_columns __P((SCR *, char *, recno_t, size_t *, size_t *)); ^ ./../vi/v_txt.c:2993:7: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = tp->lb + cno; ^ ~~~~~~~~~~~~ ./../vi/v_txt.c:2997:7: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = tp->lb + cno; ^ ~~~~~~~~~~~~ ./../vi/v_txt.c:3128:28: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] &start, &vp->m_final, tp->lb + 1, tp->cno - 1, NULL, sf) : ^~~~~~~~~~ ./../include/com_extern.h:308:26: note: passing argument to parameter here MARK *, MARK *, char *, size_t, char **, u_int)); ^ ./../vi/v_txt.c:3130:28: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] &start, &vp->m_final, tp->lb + 1, tp->cno - 1, NULL, sf)) { ^~~~~~~~~~ ./../include/com_extern.h:310:26: note: passing argument to parameter here MARK *, MARK *, char *, size_t, char **, u_int)); ^ ./../vi/v_txt.c:3194:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_set(sp, tp->lno, tp->lb, tp->len) || ^~~~~~ ./../include/com_extern.h:118:39: note: passing argument to parameter here int db_set __P((SCR *, recno_t, char *, size_t)); ^ ./../vi/v_txt.c:3203:29: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_append(sp, 0, lno, tp->lb, tp->len) || ^~~~~~ ./../include/com_extern.h:116:47: note: passing argument to parameter here int db_append __P((SCR *, int, recno_t, char *, size_t)); ^ ./../vi/v_txt.c:3540:53: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] tiqh->cqh_first->lno, DBG_FATAL | DBG_NOCACHE, &p, &olen)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ 31 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_ulcase.c ./../vi/v_ulcase.c:71:26: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, lno, 0, &p, &len)) { ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../vi/v_ulcase.c:149:34: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, lno, DBG_FATAL, &p, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../vi/v_ulcase.c:193:9: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = bp + scno, t = bp + ecno + 1; p < t; ++p) { ^ ~~~~~~~~~ ./../vi/v_ulcase.c:193:24: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = bp + scno, t = bp + ecno + 1; p < t; ++p) { ^ ~~~~~~~~~~~~~ 4 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_undo.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_util.c ./../vi/v_util.c:84:39: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (mp->cno == len - multi_back(sp, p, &p[len])) ^ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../vi/v_util.c:84:42: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (mp->cno == len - multi_back(sp, p, &p[len])) ^~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ 2 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_word.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_xchar.c ./../vi/v_xchar.c:48:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/v_xchar.c:128:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, vp->m_start.lno, &p, NULL, NULL)) ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ 2 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_yank.c ./../vi/v_yank.c:83:47: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, vp->m_final.lno, DBG_FATAL, &p, NULL)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ 1 warning generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_z.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/v_zexit.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/vi.c ./../vi/vi.c:178:16: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ex_emsg(sp, KEY_NAME(sp, vp->key), EXM_SECURE); ^~~~~~~~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:117:32: note: passing argument to parameter here void ex_emsg __P((SCR *, char *, exm_t)); ^ ./../vi/vi.c:595:14: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] v_emsg(sp, KEY_NAME(sp, key), VIM_NOCOM); ^~~~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/vi_extern.h:108:31: note: passing argument to parameter here void v_emsg __P((SCR *, char *, vim_t)); ^ ./../vi/vi.c:629:15: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] v_emsg(sp, KEY_NAME(sp, key), ^~~~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/vi_extern.h:108:31: note: passing argument to parameter here void v_emsg __P((SCR *, char *, vim_t)); ^ ./../vi/vi.c:872:37: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, vp->m_stop.lno, 0, &p0, &len)) ^~~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../vi/vi.c:1161:37: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, sp->lno, DBG_FATAL, &p, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ 5 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/vs_line.c ./../vi/vs_line.c:103:5: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p0 = p; ^ ~ ./../vi/vs_line.c:152:37: warning: format specifies type 'unsigned long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat] sizeof(cbuf), O_NUMBER_FMT, smp->lno); ~~~~~~~~~~~~ ^~~~~~~~ ./../vi/vs_line.c:197:10: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] KEY_NAME(sp, ch), KEY_LEN(sp, ch)); ^~~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/vs_line.c:193:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ ./../vi/vs_line.c:404:41: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] offset_in_line -= multi_back(sp, p0, p); ^ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../vi/vs_line.c:405:28: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p -= multi_back(sp, p0, p); ^ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../vi/vs_line.c:455:7: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pch = p; ^ ~ ./../vi/vs_line.c:584:9: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] kp = " "; /*enough?*/ ^ ~~~~~~~~~~~~ ./../vi/vs_line.c:699:52: warning: format specifies type 'unsigned long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat] len = snprintf(nbuf, sizeof(nbuf), O_NUMBER_FMT, smp->lno); ~~~~~~~~~~~~ ^~~~~~~~ 9 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/vs_msg.c ./../vi/vs_msg.c:267:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ ./../vi/vs_msg.c:298:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ ./../vi/vs_msg.c:328:33: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)printf("%.*s", strlen(p), p); ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ./../vi/vs_msg.c:328:21: warning: field precision should have type 'int', but argument has type 'unsigned long' [-Wformat] (void)printf("%.*s", strlen(p), p); ~~^~ ~~~~~~~~~ ./../vi/vs_msg.c:349:31: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)vs_msgsave(sp, mtype, line, len); ^~~~ ./../vi/vs_msg.c:41:51: note: passing argument to parameter here static void vs_msgsave __P((SCR *, mtype_t, char *, size_t)); ^ ./../vi/vs_msg.c:395:30: warning: passing 'char[3]' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vs_output(sp, vip->mtype, ".\n", 2); ^~~~~ ./../vi/vs_msg.c:45:58: note: passing argument to parameter here static void vs_output __P((SCR *, mtype_t, const CHAR_T *, int)); ^ ./../vi/vs_msg.c:397:30: warning: passing 'char[2]' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vs_output(sp, vip->mtype, ";", 1); ^~~ ./../vi/vs_msg.c:45:58: note: passing argument to parameter here static void vs_output __P((SCR *, mtype_t, const CHAR_T *, int)); ^ ./../vi/vs_msg.c:398:26: warning: passing 'char[2]' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vs_output(sp, M_NONE, " ", 1); ^~~ ./../vi/vs_msg.c:45:58: note: passing argument to parameter here static void vs_output __P((SCR *, mtype_t, const CHAR_T *, int)); ^ ./../vi/vs_msg.c:396:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ ./../vi/vs_msg.c:401:9: warning: assigning to 'const char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (s = line;; s = t) { ^ ~~~~ ./../vi/vs_msg.c:422:24: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vs_output(sp, mtype, s, e - s); ^ ./../vi/vs_msg.c:45:58: note: passing argument to parameter here static void vs_output __P((SCR *, mtype_t, const CHAR_T *, int)); ^ ./../vi/vs_msg.c:425:26: warning: passing 'char[2]' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vs_output(sp, M_NONE, "\n", 1); ^~~~ ./../vi/vs_msg.c:45:58: note: passing argument to parameter here static void vs_output __P((SCR *, mtype_t, const CHAR_T *, int)); ^ ./../vi/vs_msg.c:669:29: warning: passing 'char[2]' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vs_output(sp, vip->mtype, ".", 1); ^~~ 13 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/vs_refresh.c ./../vi/vs_refresh.c:190:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = p0 = NULL; ^ ~~~~~~~~~ ./../vi/vs_refresh.c:278:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (LNO > TMAP->lno) { ^ ./../vi/vs_refresh.c:419:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ ./../vi/vs_refresh.c:428:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ ./../vi/vs_refresh.c:480:23: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, LNO, &p, &len, &isempty)) { ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/vs_refresh.c:486:5: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p0 = p; ^ ~ ./../vi/vs_refresh.c:602:26: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tlen = multi_back(sp, p0, &p0[CNO + cnt]); ^~ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../vi/vs_refresh.c:602:30: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tlen = multi_back(sp, p0, &p0[CNO + cnt]); ^~~~~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../vi/vs_refresh.c:774:25: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_eget(sp, LNO, &p, &len, &isempty)) { ^~ ./../include/com_extern.h:113:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/vs_refresh.c:778:7: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p0 = p; ^ ~ ./../vi/vs_refresh.c:1037:9: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] KEY_NAME(sp, '.'), KEY_LEN(sp, '.')); ^~~~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/vs_refresh.c:1039:8: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] KEY_NAME(sp, ' '), KEY_LEN(sp, ' ')); ^~~~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/vs_refresh.c:1043:8: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] KEY_NAME(sp, *p), KEY_LEN(sp, *p)); ^~~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/vs_refresh.c:1064:45: warning: format specifies type 'unsigned long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat] snprintf(buf, sizeof(buf), "%lu,%lu", sp->lno, curcol + 1); ~~~ ^~~~~~~ %u ./../vi/vs_refresh.c:1096:9: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] KEY_NAME(sp, '*'), KEY_LEN(sp, '*')); ^~~~~~~~~~~~~~~~~ ./../vi/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/vs_relative.c ./../vi/vs_relative.c:132:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = lp; ^ ~~ ./../vi/vs_relative.c:188:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] TAB_RESET; ^ ./../vi/vs_relative.c:163:5: note: expanded from macro 'TAB_RESET' } else \ ^ ./../vi/vs_relative.c:244:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] TAB_RESET; ^ ./../vi/vs_relative.c:163:5: note: expanded from macro 'TAB_RESET' } else \ ^ ./../vi/vs_relative.c:321:26: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, lno, 0, &p, &len) || len == 0) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../vi/vs_relative.c:365:27: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] (void)db_get(sp, lno, 0, &lp, &llen); ^~~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../vi/vs_relative.c:508:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] TAB_RESET; ^ ./../vi/vs_relative.c:163:5: note: expanded from macro 'TAB_RESET' } else \ ^ 6 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/vs_smap.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../vi/vs_split.c ./../vi/vs_split.c:299:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] nsp = vs_getbg(sp, name); ^~~~ ./../vi/vs_split.c:30:40: note: passing argument to parameter here static SCR *vs_getbg __P((SCR *, char *)); ^ ./../vi/vs_split.c:302:25: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (vs_swap(sp, &nsp, name)) ^~~~ ./../include/vi_extern.h:158:39: note: passing argument to parameter here int vs_swap __P((SCR *, SCR **, char *)); ^ ./../vi/vs_split.c:306:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] msgq_str(sp, M_ERR, name, ^~~~ ./../include/com_extern.h:138:42: note: passing argument to parameter here void msgq_str __P((SCR *, mtype_t, char *, char *)); ^ 3 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multibyte.c In file included from ./../common/multibyte.c:43: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../common/multibyte.c:43: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../common/multibyte.c:492:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mf = multi_fix(sp, p0, p)) ~~~^~~~~~~~~~~~~~~~~~~~~~ ./../common/multibyte.c:492:10: note: place parentheses around the assignment to silence this warning if (mf = multi_fix(sp, p0, p)) ^ ( ) ./../common/multibyte.c:492:10: note: use '==' to turn this assignment into an equality comparison if (mf = multi_fix(sp, p0, p)) ^ == ./../common/multibyte.c:494:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if (mf = multi_fix(sp, p0, p - 1)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/multibyte.c:494:15: note: place parentheses around the assignment to silence this warning else if (mf = multi_fix(sp, p0, p - 1)) ^ ( ) ./../common/multibyte.c:494:15: note: use '==' to turn this assignment into an equality comparison else if (mf = multi_fix(sp, p0, p - 1)) ^ == ./../common/multibyte.c:1716:2: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] GET_SPACE_RET(sp, np, nlen, 256); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1723:4: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] ADD_SPACE_RET(sp, np, nlen, ilen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:89:26: note: expanded from macro 'ADD_SPACE_RET' if (L__gp == NULL || bp == L__gp->tmp_bp) { \ ~~ ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1723:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ADD_SPACE_RET(sp, np, nlen, ilen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:92:6: note: expanded from macro 'ADD_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1731:2: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] FREE_SPACE(sp, np, nlen); ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' if (L__gp != NULL && bp == L__gp->tmp_bp) \ ~~ ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1784:34: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] return db_get(sp, l, DBG_FATAL, pp, plen); ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../common/multibyte.c:1824:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return db_set(sp, l, p, len); ^ ./../include/com_extern.h:118:39: note: passing argument to parameter here int db_set __P((SCR *, recno_t, char *, size_t)); ^ ./../common/multibyte.c:1938:2: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] GET_SPACE_RET(sp, np, nlen, 256); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1953:4: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] ADD_SPACE_RET(sp, np, nlen, ilen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:89:26: note: expanded from macro 'ADD_SPACE_RET' if (L__gp == NULL || bp == L__gp->tmp_bp) { \ ~~ ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1953:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ADD_SPACE_RET(sp, np, nlen, ilen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:92:6: note: expanded from macro 'ADD_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1967:4: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] ADD_SPACE_RET(sp, np, nlen, olen + ilen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:89:26: note: expanded from macro 'ADD_SPACE_RET' if (L__gp == NULL || bp == L__gp->tmp_bp) { \ ~~ ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1967:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ADD_SPACE_RET(sp, np, nlen, olen + ilen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:92:6: note: expanded from macro 'ADD_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1984:2: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] FREE_SPACE(sp, np, nlen); ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' if (L__gp != NULL && bp == L__gp->tmp_bp) \ ~~ ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:1997:8: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] a.bp = buf; ^ ~~~ ./../common/multibyte.c:2173:2: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] GET_SPACE_RET(sp, t0, tlen, ilen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../common/multibyte.c:2178:2: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] FREE_SPACE(sp, t0, tlen); ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' if (L__gp != NULL && bp == L__gp->tmp_bp) \ ~~ ^ ~~~~~~~~~~~~~ 19 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_chclass.c In file included from ./../common/multi_chclass.c:39: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../common/multi_chclass.c:39: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ 2 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_big5.c In file included from ./../common/multi_big5.c:39: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../common/multi_big5.c:39: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ 2 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_euc.c In file included from ./../common/multi_euc.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../common/multi_euc.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ 2 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_eucjp.c In file included from ./../common/multi_eucjp.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../common/multi_eucjp.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ 2 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_hz.c In file included from ./../common/multi_hz.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../common/multi_hz.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ 2 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_iso2022.c In file included from ./../common/multi_iso2022.c:36: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../common/multi_iso2022.c:36: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../common/multi_iso2022.c:463:9: warning: passing 'CHAR_T[30]' (aka 'unsigned char[30]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(sequence, *ht); ^~~~~~~~ /usr/include/string.h:88:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ ./../common/multi_iso2022.c:463:19: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(sequence, *ht); ^~~ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ ./../common/multi_iso2022.c:465:13: warning: passing 'CHAR_T[30]' (aka 'unsigned char[30]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i = strlen(sequence); ^~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ./../common/multi_iso2022.c:961:4: warning: expression result unused [-Wunused-value] *q++; ^~~~ ./../common/multi_iso2022.c:1067:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (slen == 4 && strncmp(src, "\033$)C", 4) == 0) { ^~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ ./../common/multi_iso2022.c:1141:20: warning: unsequenced modification and access to 'p' [-Wunsequenced] dst[p - t] = *p++; ~ ^ 8 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_none.c In file included from ./../common/multi_none.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../common/multi_none.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ 2 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_sjis.c In file included from ./../common/multi_sjis.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../common/multi_sjis.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../common/multi_sjis.c:55:15: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] high = (high - 0x21 >> 1) + 0x81; ~~~~~^~~~~~ ~~ ./../common/multi_sjis.c:55:15: note: place parentheses around the '-' expression to silence this warning high = (high - 0x21 >> 1) + 0x81; ^ ( ) 3 warnings generated. cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_canna.c cc -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../common/multi_euctw.c In file included from ./../common/multi_euctw.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /usr/include/fcntl.h:120:9: note: previous definition is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ In file included from ./../common/multi_euctw.c:33: In file included from ./../common/../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:48:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 47 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ 2 warnings generated. cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/addbytes.c ./../curses/addbytes.c:199:29: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration] } else if (2 <= count && strchr("(,", bytes[0]) ^ ./../curses/addbytes.c:199:29: note: include the header or explicitly provide a declaration for 'strchr' ./../curses/addbytes.c:258:4: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(&newch, &lp->line[x], __LDATASIZE); ^ ./../curses/addbytes.c:258:4: note: include the header or explicitly provide a declaration for 'memcpy' ./../curses/addbytes.c:344:9: warning: implicitly declaring library function 'memcmp' with type 'int (const void *, const void *, unsigned long)' [-Wimplicit-function-declaration] && (memcmp(&newch0, &lp->line[x - 1], __LDATASIZE) ^ ./../curses/addbytes.c:344:9: note: include the header or explicitly provide a declaration for 'memcmp' 3 warnings generated. cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/addch.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/box.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/clear.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/clrtobot.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/clrtoeol.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/cr_put.c ./../curses/cr_put.c:106:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/ctrace.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/cur_hash.c ./../curses/cur_hash.c:55:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (g = h & 0xf0000000) { ~~^~~~~~~~~~~~~~~~ ./../curses/cur_hash.c:55:23: note: place parentheses around the assignment to silence this warning if (g = h & 0xf0000000) { ^ ( ) ./../curses/cur_hash.c:55:23: note: use '==' to turn this assignment into an equality comparison if (g = h & 0xf0000000) { ^ == 1 warning generated. cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/curses.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/delch.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/deleteln.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/delwin.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/erase.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/fullname.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/getch.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/getstr.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/id_subwins.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/idlok.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/initscr.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/insch.c ./../curses/insch.c:96:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ 1 warning generated. cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/insertln.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/longname.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/move.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/mvwin.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/newwin.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/overlay.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/overwrite.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/putchar.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/refresh.c ./../curses/refresh.c:951:4: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Wimplicit-function-declaration] abort(); ^ ./../curses/refresh.c:951:4: note: include the header or explicitly provide a declaration for 'abort' 1 warning generated. cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/scroll.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/setterm.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/standout.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/toucholap.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/touchwin.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/tscroll.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/tstp.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/tty.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/unctrl.c cc -D_CURSES_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../curses/waddnstr.c cc -D__REGEX_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../regex/regcomp.c ./../regex/regcomp.c:818:11: warning: implicit declaration of function 'multi_byte_c' is invalid in C99 [-Wimplicit-function-declaration] if (1 < multi_byte_c(NULL, PEEK())) { ^ 1 warning generated. cc -D__REGEX_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../regex/regerror.c cc -D__REGEX_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../regex/regexec.c In file included from ./../regex/regexec.c:89: ./../regex/engine.c:273:29: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] endp - multi_back(NULL, m->coldp, endp), ^~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:273:39: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] endp - multi_back(NULL, m->coldp, endp), ^~~~ ./../regex/engine.c:97:54: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:596:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = mbchin(cs, sp); ^~ ./../regex/engine.c:114:40: note: passing argument to parameter here static int mbchin __P((cset *, u_char *)); ^ ./../regex/engine.c:608:29: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && 1 < multi_back(NULL, m->beginp, sp)) ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:608:40: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && 1 < multi_back(NULL, m->beginp, sp)) ^~ ./../regex/engine.c:97:54: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:630:30: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && (1 < multi_back(NULL, m->beginp, sp) ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:630:41: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && (1 < multi_back(NULL, m->beginp, sp) ^~ ./../regex/engine.c:97:54: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:648:30: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && (1 < multi_back(NULL, m->beginp, sp) ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:648:41: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && (1 < multi_back(NULL, m->beginp, sp) ^~ ./../regex/engine.c:97:54: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:778:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./../regex/engine.c:802:34: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] : *(start - multi_back(NULL, m->beginp, start)); ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:802:45: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] : *(start - multi_back(NULL, m->beginp, start)); ^~~~~ ./../regex/engine.c:97:54: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:918:34: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] : *(start - multi_back(NULL, m->beginp, start)); ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:918:45: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] : *(start - multi_back(NULL, m->beginp, start)); ^~~~~ ./../regex/engine.c:97:54: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:1211:36: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!NONCHAR(ch) && mbchin(cs, p)) ^ ./../regex/engine.c:114:40: note: passing argument to parameter here static int mbchin __P((cset *, u_char *)); ^ ./../regex/engine.c:1294:9: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = cs->multis; ^ ~~~~~~~~~~ In file included from ./../regex/regexec.c:138: ./../regex/engine.c:273:29: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] endp - multi_back(NULL, m->coldp, endp), ^~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:273:39: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] endp - multi_back(NULL, m->coldp, endp), ^~~~ ./../regex/engine.c:97:54: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:596:22: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = mbchin(cs, sp); ^~ ./../regex/engine.c:114:40: note: passing argument to parameter here static int mbchin __P((cset *, u_char *)); ^ ./../regex/engine.c:608:29: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && 1 < multi_back(NULL, m->beginp, sp)) ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:608:40: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && 1 < multi_back(NULL, m->beginp, sp)) ^~ ./../regex/engine.c:97:54: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:630:30: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && (1 < multi_back(NULL, m->beginp, sp) ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:630:41: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && (1 < multi_back(NULL, m->beginp, sp) ^~ ./../regex/engine.c:97:54: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:648:30: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && (1 < multi_back(NULL, m->beginp, sp) ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:648:41: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && (1 < multi_back(NULL, m->beginp, sp) ^~ ./../regex/engine.c:97:54: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:778:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ./../regex/engine.c:802:34: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] : *(start - multi_back(NULL, m->beginp, start)); ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:802:45: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] : *(start - multi_back(NULL, m->beginp, start)); ^~~~~ ./../regex/engine.c:97:54: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:918:34: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] : *(start - multi_back(NULL, m->beginp, start)); ^~~~~~~~~ ./../regex/engine.c:97:44: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:918:45: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] : *(start - multi_back(NULL, m->beginp, start)); ^~~~~ ./../regex/engine.c:97:54: note: passing argument to parameter here extern int multi_back __P((void *, u_char *, u_char *)); ^ ./../regex/engine.c:1211:36: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!NONCHAR(ch) && mbchin(cs, p)) ^ ./../regex/engine.c:114:40: note: passing argument to parameter here static int mbchin __P((cset *, u_char *)); ^ ./../regex/engine.c:1294:9: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = cs->multis; ^ ~~~~~~~~~~ 32 warnings generated. cc -D__REGEX_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../regex/regfree.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses ./../db/db/db.c ./../db/db/db.c:66:4: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Wimplicit-function-declaration] abort(); ^ ./../db/db/db.c:66:4: note: include the header or explicitly provide a declaration for 'abort' 1 warning generated. cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/mpool ./../db/mpool/mpool.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_close.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_conv.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_debug.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_delete.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_get.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_open.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_overflow.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_page.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_put.c ./../db/btree/bt_put.c:233:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (h->prevpg == P_INVALID) { ^ 1 warning generated. cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_search.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_seq.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_split.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/btree ./../db/btree/bt_utils.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/recno ./../db/recno/rec_close.c ./../db/recno/rec_close.c:90:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ 1 warning generated. cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/recno ./../db/recno/rec_delete.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/recno ./../db/recno/rec_get.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/recno ./../db/recno/rec_open.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/recno ./../db/recno/rec_put.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/recno ./../db/recno/rec_search.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/recno ./../db/recno/rec_seq.c cc -D__DBINTERFACE_PRIVATE -c -D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I./../include -I./../regex -I./../db/include -I./../curses -I./../db/recno ./../db/recno/rec_utils.c cc -fstack-protector-strong -o nvi cl_bsd.o cl_funcs.o cl_main.o cl_read.o cl_screen.o cl_term.o cut.o delete.o ex.o ex_abbrev.o ex_append.o ex_args.o ex_argv.o ex_at.o ex_bang.o ex_cd.o ex_cmd.o ex_cscope.o ex_delete.o ex_display.o ex_edit.o ex_equal.o ex_file.o ex_filter.o ex_global.o ex_init.o ex_join.o ex_map.o ex_mark.o ex_mkexrc.o ex_move.o ex_open.o ex_perl.o ex_preserve.o ex_print.o ex_put.o ex_quit.o ex_read.o ex_screen.o ex_script.o ex_set.o ex_shell.o ex_shift.o ex_source.o ex_stop.o ex_subst.o ex_tag.o ex_tcl.o ex_txt.o ex_undo.o ex_usage.o ex_util.o ex_version.o ex_visual.o ex_write.o ex_yank.o ex_z.o exf.o getc.o key.o line.o log.o main.o mark.o msg.o options.o options_f.o put.o recover.o screen.o search.o seq.o util.o v_at.o v_ch.o v_cmd.o v_delete.o v_ex.o v_increment.o v_init.o v_itxt.o v_left.o v_mark.o v_match.o v_paragraph.o v_put.o v_redraw.o v_replace.o v_right.o v_screen.o v_scroll.o v_search.o v_section.o v_sentence.o v_status.o v_txt.o v_ulcase.o v_undo.o v_util.o v_word.o v_xchar.o v_yank.o v_z.o v_zexit.o vi.o vs_line.o vs_msg.o vs_refresh.o vs_relative.o vs_smap.o vs_split.o multibyte.o multi_chclass.o multi_big5.o multi_euc.o multi_eucjp.o multi_hz.o multi_iso2022.o multi_none.o multi_sjis.o multi_canna.o multi_euctw.o addbytes.o addch.o box.o clear.o clrtobot.o clrtoeol.o cr_put.o ctrace.o cur_hash.o curses.o delch.o deleteln.o delwin.o erase.o fullname.o getch.o getstr.o id_subwins.o idlok.o initscr.o insch.o insertln.o longname.o move.o mvwin.o newwin.o overlay.o overwrite.o putchar.o refresh.o scroll.o setterm.o standout.o toucholap.o touchwin.o tscroll.o tstp.o tty.o unctrl.o waddnstr.o regcomp.o regerror.o regexec.o regfree.o db.o mpool.o bt_close.o bt_conv.o bt_debug.o bt_delete.o bt_get.o bt_open.o bt_overflow.o bt_page.o bt_put.o bt_search.o bt_seq.o bt_split.o bt_utils.o rec_close.o rec_delete.o rec_get.o rec_open.o rec_put.o rec_search.o rec_seq.o rec_utils.o -ltermlib rm -f nex ln nvi nex =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> nvi-m17n-1.79.20040608_6,1 depends on package: perl5>=5.36<5.37 - not found ===> Installing existing package /packages/All/perl5-5.36.3_1.pkg [pkg-builder.dan.net.uk] Installing perl5-5.36.3_1... [pkg-builder.dan.net.uk] Extracting perl5-5.36.3_1: .......... done ===> nvi-m17n-1.79.20040608_6,1 depends on package: perl5>=5.36<5.37 - found ===> Returning to build of nvi-m17n-1.79.20040608_6,1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for nvi-m17n-1.79.20040608_6,1 ===> Generating temporary packing list /bin/rm -rf /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi /bin/mkdir -p /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi && /bin/chmod 755 /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi Installing message catalogs: /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/catalog ... /bin/mkdir -p /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/catalog && /bin/chmod 755 /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/catalog (cd ./../catalog && /bin/cp dutch english french german ru_SU.KOI8-R spanish swedish /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/catalog && cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/catalog && /bin/chmod 444 *) Installing Perl scripts: /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/perl ... /bin/mkdir -p /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/perl && /bin/chmod 755 /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/perl [ ! -f VI.pm ] || (/bin/cp VI.pm /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/perl && cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/perl && /bin/chmod 444 VI.pm) (cd ./../perl_scripts && /bin/cp *.pl /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/perl && cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/perl && /bin/chmod 444 *.pl) Installing Tcl scripts: /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/tcl ... /bin/mkdir -p /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/tcl && /bin/chmod 755 /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/tcl (cd ./../tcl_scripts && /bin/cp *.tcl /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/tcl && cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/tcl && /bin/chmod 444 *.tcl) Installing recover script: /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/recover ... (/bin/cp recover /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/recover && /bin/chmod 555 /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/recover) Installing vi, ex, view: /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin ... cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && /bin/rm -f `echo vi | sed 's,^,n,;'` /bin/cp nvi /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin/`echo vi | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && [ -f /usr/bin/strip ] && /usr/bin/strip `echo vi | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && /bin/chmod 555 `echo vi | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && /bin/rm -f `echo ex | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && /bin/rm -f `echo view | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && /bin/ln -s `echo vi | sed 's,^,n,;'` `echo ex | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && /bin/ln -s `echo vi | sed 's,^,n,;'` `echo view | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && /bin/rm -f regular qregular /bin/cp regular /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin/regular /bin/cp qregular /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin/qregular cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/bin && /bin/chmod 555 regular qregular Installing man pages: /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/man ... cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/man/man1 && /bin/rm -f `echo vi.1 | sed 's,^,n,;'` /bin/cp ./../docs/USD.doc/vi.man/vi.1 /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/man/man1/`echo vi.1 | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/man/man1 && /bin/chmod 444 `echo vi.1 | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/man/man1 && /bin/rm -f `echo ex.1 | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/man/man1 && /bin/rm -f `echo view.1 | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/man/man1 && /bin/ln -s `echo vi.1 | sed 's,^,n,;'` `echo ex.1 | sed 's,^,n,;'` cd /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/man/man1 && /bin/ln -s `echo vi.1 | sed 's,^,n,;'` `echo view.1 | sed 's,^,n,;'` install -m 0644 /wrkdirs/usr/ports/editors/nvi-m17n/work/nvi-1.79/build/../docs.m17n/README.english /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/ install -m 0644 /wrkdirs/usr/ports/editors/nvi-m17n/work/nvi-1.79/build/../docs.m17n/README.japanese /wrkdirs/usr/ports/editors/nvi-m17n/work/stage/usr/local/share/vi/ ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-03T23:28:00+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=f6751d65c3' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for nvi-m17n-1.79.20040608_6,1 ===> Building nvi-m17n-1.79.20040608_6,1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for nvi-m17n-1.79.20040608_6,1 build of editors/nvi-m17n | nvi-m17n-1.79.20040608_6,1 ended at Thu Apr 4 00:47:27 BST 2024 build time: 00:19:28