=>> Building editors/vigor build started at Sat Apr 6 16:33:40 BST 2024 port directory: /usr/ports/editors/vigor package name: vigor-0.016_4 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 705 Nov 3 10:21 /usr/ports/editors/vigor/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 05f0f44a55 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 20 ---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/20/.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--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --exec-prefix=/wrkdirs/usr/ports/editors/vigor/work/stage/usr/local --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/editors/vigor/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/vigor/work XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/vigor/work/.cache HOME=/wrkdirs/usr/ports/editors/vigor/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/editors/vigor/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/vigor/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-- XDG_DATA_HOME=/wrkdirs/usr/ports/editors/vigor/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/vigor/work XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/vigor/work/.cache HOME=/wrkdirs/usr/ports/editors/vigor/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/editors/vigor/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/vigor/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="-I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6" LDFLAGS=" -L/usr/local/lib -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 DOCSDIR="share/doc/vigor" EXAMPLESDIR="share/examples/vigor" DATADIR="share/vigor" WWWDIR="www/vigor" ETCDIR="etc/vigor" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/vigor DOCSDIR=/usr/local/share/doc/vigor EXAMPLESDIR=/usr/local/share/examples/vigor WWWDIR=/usr/local/www/vigor ETCDIR=/usr/local/etc/vigor --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 vigor 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 ===> vigor-0.016_4 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 ===> vigor-0.016_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of vigor-0.016_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The vigor 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 vigor-0.016_4 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The vigor 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 vigor-0.016_4 for building => SHA256 Checksum OK for vigor-0.016.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The vigor 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 vigor-0.016_4 for building ===> Extracting for vigor-0.016_4 => SHA256 Checksum OK for vigor-0.016.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for vigor-0.016_4 ===> Applying FreeBSD patches for vigor-0.016_4 from /usr/ports/editors/vigor/files /usr/bin/sed -i.bak -e 's|tcl80|tcl86|; s|-lcurses|-lncurses|; s|tk80|tk86|; s|^grantpt|XXXgrantpt|;' /wrkdirs/usr/ports/editors/vigor/work/vigor-0.016/build/configure =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> vigor-0.016_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.7_1,1.pkg [pkg-builder.dan.net.uk] Installing libX11-1.8.7_1,1... [pkg-builder.dan.net.uk] `-- Installing libxcb-1.16.1... [pkg-builder.dan.net.uk] | `-- Installing libXau-1.0.9_1... [pkg-builder.dan.net.uk] | `-- Extracting libXau-1.0.9_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | `-- Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] | | `-- Extracting xorgproto-2023.2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] `-- Extracting libxcb-1.16.1: .......... done [pkg-builder.dan.net.uk] Extracting libX11-1.8.7_1,1: .......... done ===> vigor-0.016_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of vigor-0.016_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> vigor-0.016_4 depends on shared library: libtk86.so - not found ===> Installing existing package /packages/All/tk86-8.6.14_1.pkg [pkg-builder.dan.net.uk] Installing tk86-8.6.14_1... [pkg-builder.dan.net.uk] `-- Installing fontconfig-2.15.0_2,1... [pkg-builder.dan.net.uk] | `-- Installing expat-2.6.1... [pkg-builder.dan.net.uk] | `-- Extracting expat-2.6.1: .......... done [pkg-builder.dan.net.uk] | `-- Installing freetype2-2.13.2... [pkg-builder.dan.net.uk] | `-- Extracting freetype2-2.13.2: .......... done [pkg-builder.dan.net.uk] `-- Extracting fontconfig-2.15.0_2,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXScrnSaver-1.2.4_1... [pkg-builder.dan.net.uk] | `-- Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] | `-- Extracting libXext-1.3.6,1: .......... done [pkg-builder.dan.net.uk] `-- Extracting libXScrnSaver-1.2.4_1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXft-2.3.7_1... [pkg-builder.dan.net.uk] | `-- Installing libXrender-0.9.10_2... [pkg-builder.dan.net.uk] | `-- Extracting libXrender-0.9.10_2: ....... done [pkg-builder.dan.net.uk] `-- Extracting libXft-2.3.7_1: .......... done [pkg-builder.dan.net.uk] `-- Installing tcl86-8.6.14_1... [pkg-builder.dan.net.uk] `-- Extracting tcl86-8.6.14_1: .......... done [pkg-builder.dan.net.uk] Extracting tk86-8.6.14_1: .......... done ==> Running trigger: fontconfig.ucl Running fc-cache to build fontconfig cache... ===== Message from freetype2-2.13.2: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). ===> vigor-0.016_4 depends on shared library: libtk86.so - found (/usr/local/lib/libtk86.so) ===> Returning to build of vigor-0.016_4 ===> vigor-0.016_4 depends on shared library: libtcl86.so - found (/usr/local/lib/libtcl86.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for vigor-0.016_4 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 whether the compiler (cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -L/usr/local/lib -fstack-protector-strong ) actually works... yes checking for sh... /bin/sh checking for sendmail... /usr/sbin/sendmail checking for perl5... no checking for perl... no 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... libraries /usr/local/lib, headers /usr/local/include checking if --enable-perlinterp option specified... no checking for dlopen in -ldl... yes checking for library containing Tcl_Init... -ltcl86 checking for library containing Tk_Init... -ltk86 checking for tgetent in -ltermlib... yes checking if --enable-curses option specified... other curses 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 addnstr... yes checking for beep... yes checking for flash... yes checking for idlok... yes checking for keypad... yes checking for newterm... yes checking for setupterm... yes checking for broken gettimeofday system call... okay checking for System V pty calls... no checking for revoke system call... yes checking for int type sprintf return value... yes checking if --enable-db option specified... other DB checking if --enable-re option specified... other 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 config.h =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for vigor-0.016_4 cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../cl/cl_bsd.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../cl/cl_funcs.c ./../cl/cl_funcs.c:125:11: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] (void)tputs(clp->smcup, 1, cl_putchar); ^ ./../cl/cl_funcs.c:133:11: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] (void)tputs(clp->rmcup, 1, cl_putchar); ^ ./../cl/cl_funcs.c:143:11: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] (void)tputs(clp->smso, 1, cl_putchar); ^ ./../cl/cl_funcs.c:348:10: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] (void)tputs(clp->cuu1, 1, cl_putchar); ^ ./../cl/cl_funcs.c:350:16: warning: implicit declaration of function 'tgoto' is invalid in C99 [-Wimplicit-function-declaration] (void)tputs(tgoto(clp->cup, ^ 5 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:11:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 10 ^ /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:39:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 38 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../cl/cl_main.c:274:2: warning: implicit declaration of function 'setupterm' is invalid in C99 [-Wimplicit-function-declaration] setupterm(ttype, STDOUT_FILENO, &err); ^ 3 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:11:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 10 ^ /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:39:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 38 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../cl/cl_read.c:137:2: warning: implicit declaration of function 'mega_select' is invalid in C99 [-Wimplicit-function-declaration] mega_select(fd+1, &fds, NULL, NULL, NULL); ^ ./../cl/cl_read.c:195:11: warning: implicit declaration of function 'mega_select' is invalid in C99 [-Wimplicit-function-declaration] switch (mega_select(STDIN_FILENO + 1, ^ ./../cl/cl_read.c:247:11: warning: implicit declaration of function 'mega_select' is invalid in C99 [-Wimplicit-function-declaration] switch (mega_select(maxfd + 1, &rdfd, NULL, NULL, NULL)) { ^ ./../cl/cl_read.c:332: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; ^ ~~ 6 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../cl/cl_screen.c ./../cl/cl_screen.c:112:4: warning: implicit declaration of function 'tputs' is invalid in C99 [-Wimplicit-function-declaration] tputs(tgoto(clp->cup, ^ ./../cl/cl_screen.c:112:10: warning: implicit declaration of function 'tgoto' is invalid in C99 [-Wimplicit-function-declaration] tputs(tgoto(clp->cup, ^ 2 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:183: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:184: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:184: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:183: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:184: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:183: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:184: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:183: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:184: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:184: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:135: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:183: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:184:20: note: passing argument to parameter here size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); ^ ./../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 ^ 17 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:11:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 10 ^ /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:39:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 38 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../common/cut.c:325:3: 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] MALLOC(sp, tp->lb, CHAR_T *, tp->lb_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:137:9: note: expanded from macro 'MALLOC' if ((p = (cast)malloc(size)) == NULL) \ ^ ~~~~~~~~~~~~~~~~~~ 3 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../common/delete.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:11:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 10 ^ /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:39:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 38 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../ex/ex.c:1256:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ ./../ex/ex.c:2124:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ 4 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:135:42: note: passing argument to parameter here void msgq_str __P((SCR *, mtype_t, char *, char *)); ^ 1 warning generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_append.c ./../ex/ex_append.c:161: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 = cmdp->save_cmd, ^ ~~~~~~~~~~~~~~ ./../ex/ex_append.c:172:33: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_append(sp, 1, lno++, p, t - p)) ^ ./../include/com_extern.h:113:47: note: passing argument to parameter here int db_append __P((SCR *, int, recno_t, char *, size_t)); ^ ./../ex/ex_append.c:194: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] cmdp->save_cmd = t; ^ ~ 3 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:196: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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_argv.c ./../ex/ex_argv.c:299: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 (p = exp->args[off]->bp; len > 0; --len, *p++ = *ap++) ^ ~~~~~~~~~~~~~~~~~~ ./../ex/ex_argv.c:342: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:569: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; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:122: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)); ^ 1 warning generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:116: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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_cmd.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:11:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 10 ^ /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:39:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 38 ^ /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:833:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 6 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_delete.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:138: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 (len = tp->len, p = tp->lb; len--; ++p) { ^ ~~~~~~ ./../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:122: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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_equal.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:11:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 10 ^ /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:39:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 38 ^ /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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:147: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:177: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"; ^ ~~~~ 3 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:11:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 10 ^ /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:39:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 38 ^ /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: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:196:44: note: passing argument to parameter here CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t)); ^ ./../ex/ex_init.c:295: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] if ((ecp->cp = v_strdup(sp, str, len)) == NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~ ./../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:196: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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_join.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:135:42: note: passing argument to parameter here void msgq_str __P((SCR *, mtype_t, char *, char *)); ^ 1 warning generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_mark.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:11:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 10 ^ /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:39:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 38 ^ /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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_move.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_open.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_perl.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_print.c ./../ex/ex_print.c:125: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:249: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 *)); ^ 2 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_put.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_quit.c ./../ex/ex_quit.c:44:2: warning: implicit declaration of function 'vigor_confirm' is invalid in C99 [-Wimplicit-function-declaration] vigor_confirm("\"Don't go! The text needs you! It depends on you!\"", sp->gp); ^ 1 warning generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:116: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:135: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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_screen.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:11:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 10 ^ /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:39:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 38 ^ /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:113: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:113: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:441: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:460: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:464: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:113:47: note: passing argument to parameter here int db_append __P((SCR *, int, recno_t, char *, size_t)); ^ ./../ex/ex_script.c:478: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:486: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:490: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:492: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:113:47: note: passing argument to parameter here int db_append __P((SCR *, int, recno_t, char *, size_t)); ^ 12 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_set.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_shell.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:11:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 10 ^ /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:39:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 38 ^ /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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_stop.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_subst.c ./../ex/ex_subst.c:74: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, ^ ~~~~~~~~~~~~~~~~~ ./../ex/ex_subst.c:127:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (p[1] == '\\') ^ ./../ex/ex_subst.c:269: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:40:41: note: passing argument to parameter here static int s __P((SCR *, EXCMD *, char *, regex_t *, u_int)); ^ ./../ex/ex_subst.c:293: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:40:41: note: passing argument to parameter here static int s __P((SCR *, EXCMD *, char *, regex_t *, u_int)); ^ ./../ex/ex_subst.c:421: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:423: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) ~~~ ^ ~~~~~~~~ 6 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:11:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 10 ^ /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:39:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 38 ^ /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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_tcl.c ./../ex/ex_tcl.c:53:32: warning: implicit declaration of function 'tcl_init' is invalid in C99 [-Wimplicit-function-declaration] if (gp->tcl_interp == NULL && tcl_init(gp)) ^ ./../ex/ex_tcl.c:69:14: warning: format specifies type 'unsigned long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat] sp->id, cmdp->addr1.lno, cmdp->addr2.lno); ^~~~~~~~~~~~~~~ ./../ex/ex_tcl.c:69:31: warning: format specifies type 'unsigned long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat] sp->id, cmdp->addr1.lno, cmdp->addr2.lno); ^~~~~~~~~~~~~~~ ./../ex/ex_tcl.c:71: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] Tcl_Eval(gp->tcl_interp, cmdp->argv[0]->bp) == TCL_OK) ^~~~~~~~~~~~~~~~~ /usr/local/include/tcl8.6/tclDecls.h:410:54: note: passing argument to parameter 'script' here EXTERN int Tcl_Eval(Tcl_Interp *interp, const char *script); ^ 4 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:212: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:217: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:402:10: warning: unsequenced modification and access to 'scno' [-Wunsequenced] scno -= --scno % sw; ~~ ^ 4 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_undo.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_usage.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_version.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:106: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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:11:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 10 ^ /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:39:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 38 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../ex/ex_write.c:152: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 (p = cmdp->argv[0]->bp; *p != '\0' && isblank(*p); ++p); ^ ~~~~~~~~~~~~~~~~~ ./../ex/ex_write.c:185: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:231: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:241:11: 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, ^ ~~~~~~~~~~~~ 6 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_yank.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../ex/ex_z.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:11:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 10 ^ /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:39:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 38 ^ /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:895:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ ./../common/exf.c:933:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ./../common/exf.c:1066: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:1087: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:1101: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:1241:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (ep->refcnt <= 1 && !force) { ^ 11 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:110:41: note: passing argument to parameter here int db_eget __P((SCR *, recno_t, char **, size_t *, int *)); ^ ./../vi/getc.c:57:36: 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 (csp->cs_len == 0 || v_isempty(csp->cs_bp, csp->cs_len)) { ^~~~~~~~~~ ./../include/vi_extern.h:97:26: note: passing argument to parameter here int v_isempty __P((char *, size_t)); ^ ./../vi/getc.c:87: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:89: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] v_isempty(csp->cs_bp, csp->cs_len)) { ^~~~~~~~~~ ./../include/vi_extern.h:97:26: note: passing argument to parameter here int v_isempty __P((char *, size_t)); ^ ./../vi/getc.c:182: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:111:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../vi/getc.c:186: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 (csp->cs_len == 0 || v_isempty(csp->cs_bp, csp->cs_len)) { ^~~~~~~~~~ ./../include/vi_extern.h:97:26: note: passing argument to parameter here int v_isempty __P((char *, size_t)); ^ 6 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../common/key.c ./../common/key.c:256: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:260: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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../common/line.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:11:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 10 ^ /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:39:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 38 ^ /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:114: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:115: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:115: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:114: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:115:39: note: passing argument to parameter here int db_set __P((SCR *, recno_t, char *, size_t)); ^ 7 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:11:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 10 ^ /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:39:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 38 ^ /usr/include/fcntl.h:138:9: note: previous definition is here #define O_PATH 0x00400000 /* fd is only a path */ ^ ./../common/main.c:571:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ 3 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../common/mark.c ./../common/mark.c:243:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ 1 warning generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:11:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 10 ^ /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:39:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 38 ^ /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:890: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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../common/options.c ./../common/options.c:295: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:344: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:303:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:345: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:303:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:346: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:303:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:349: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:303:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:350: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:303:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:355: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:303:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:359: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:303:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:360: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:303:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:361: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:303:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:362: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:303:10: note: expanded from macro 'OI' if (str != b1) /* GCC puts strings in text-space. */ \ ~~~ ^ ./../common/options.c:462: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:469: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:559:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 14 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../common/options_f.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../common/put.c ./../common/put.c:57:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 1 warning generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:11:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 10 ^ /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:39:9: warning: 'O_PATH' macro redefined [-Wmacro-redefined] #define O_PATH 38 ^ /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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../common/screen.c ./../common/screen.c:83: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, orig->re, orig->re_len)) == NULL) ^~~~~~~~ ./../include/com_extern.h:196:44: note: passing argument to parameter here CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t)); ^ ./../common/screen.c:82:35: 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 (orig->re != NULL && (sp->re = ^ ./../common/screen.c:87: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, orig->subre, orig->subre_len)) == NULL) ^~~~~~~~~~~ ./../include/com_extern.h:196:44: note: passing argument to parameter here CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t)); ^ ./../common/screen.c:86:41: 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 (orig->subre != NULL && (sp->subre = ^ ./../common/screen.c:91: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, orig->repl, orig->repl_len)) == NULL) ^~~~~~~~~~ ./../include/com_extern.h:196:44: note: passing argument to parameter here CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t)); ^ ./../common/screen.c:90:39: 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 (orig->repl != NULL && (sp->repl = ^ 6 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../common/search.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:122: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:122: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:122: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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../common/util.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:122: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:106:47: note: passing argument to parameter here int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); ^ ./../vi/v_at.c:95: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] v_event_push(sp, NULL, tp->lb, tp->len, 0)) ^~~~~~ ./../include/com_extern.h:106: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:106:47: note: passing argument to parameter here int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); ^ 4 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_ch.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_cmd.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_delete.c ./../vi/v_delete.c:43:2: warning: implicit declaration of function 'vigor_maybe_confirm' is invalid in C99 [-Wimplicit-function-declaration] vigor_maybe_confirm(75, "\"Are you absolutely sure you want to go through with this deletion?\"", sp->gp); ^ 1 warning generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:315: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:315: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)); ^ 2 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_increment.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:196: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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_itxt.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_left.c ./../vi/v_left.c:40:2: warning: implicit declaration of function 'vigor_maybe_confirm' is invalid in C99 [-Wimplicit-function-declaration] vigor_maybe_confirm(1, "\"Are you sure you want to move left?\"", sp->gp); ^ ./../vi/v_left.c:82:2: warning: implicit declaration of function 'vigor_maybe_confirm' is invalid in C99 [-Wimplicit-function-declaration] vigor_maybe_confirm(10, "\"Are you sure you want to move there?\"", sp->gp); ^ ./../vi/v_left.c:151:2: warning: implicit declaration of function 'vigor_maybe_confirm' is invalid in C99 [-Wimplicit-function-declaration] vigor_maybe_confirm(10, "\"Are you sure you want to move there?\"", sp->gp); ^ ./../vi/v_left.c:217:2: warning: implicit declaration of function 'vigor_maybe_confirm' is invalid in C99 [-Wimplicit-function-declaration] vigor_maybe_confirm(10, "\"Are you sure you want to move there?\"", sp->gp); ^ ./../vi/v_left.c:281:2: warning: implicit declaration of function 'vigor_maybe_confirm' is invalid in C99 [-Wimplicit-function-declaration] vigor_maybe_confirm(10, "\"Are you sure you want to move there?\"", sp->gp); ^ 5 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_mark.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_match.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_paragraph.c ./../vi/v_paragraph.c:77:2: warning: implicit declaration of function 'vigor_hint' is invalid in C99 [-Wimplicit-function-declaration] vigor_hint("\"Remember, what I think is a paragraph may be different than what you expect!\"", sp->gp); ^ ./../vi/v_paragraph.c:96:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ ./../vi/v_paragraph.c:217:2: warning: implicit declaration of function 'vigor_hint' is invalid in C99 [-Wimplicit-function-declaration] vigor_hint("\"Remember, what I think is a paragraph may be different than what you expect!\"", sp->gp); ^ ./../vi/v_paragraph.c:247:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ 4 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_put.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_redraw.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_replace.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_right.c ./../vi/v_right.c:41:2: warning: implicit declaration of function 'vigor_maybe_confirm' is invalid in C99 [-Wimplicit-function-declaration] vigor_maybe_confirm(1, "\"Are you sure you want to move right?\"", sp->gp); ^ ./../vi/v_right.c:95:2: warning: implicit declaration of function 'vigor_maybe_confirm' is invalid in C99 [-Wimplicit-function-declaration] vigor_maybe_confirm(10, "\"Are you sure you want to move to the last column?\"", sp->gp); ^ 2 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_screen.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_scroll.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_search.c ./../vi/v_search.c:248: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:106:47: note: passing argument to parameter here int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); ^ ./../vi/v_search.c:252: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:106:47: note: passing argument to parameter here int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); ^ ./../vi/v_search.c:258: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:106: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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_section.c ./../vi/v_section.c:88:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ 1 warning generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_sentence.c ./../vi/v_sentence.c:355:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ 1 warning generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_status.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_txt.c ./../vi/v_txt.c:291:6: warning: implicit declaration of function 'vigor_maybe_confirm' is invalid in C99 [-Wimplicit-function-declaration] vigor_maybe_confirm(25, "\"Do you wish to enter insert mode?\"", gp); ^ ./../vi/v_txt.c:294:3: warning: implicit declaration of function 'vigor_comment' is invalid in C99 [-Wimplicit-function-declaration] vigor_comment("\"You have not entered insert mode before. While you're in insert mode, remember that you need to return to command mode before entering Vigor commands!\"", gp); ^ ./../vi/v_txt.c:685: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:106:47: note: passing argument to parameter here int v_event_push __P((SCR *, EVENT *, CHAR_T *, size_t, u_int)); ^ ./../vi/v_txt.c:1516: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 = tp->lb + off; ^ ~~~~~~~~~~~~ ./../vi/v_txt.c:1574: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:1579:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ./../vi/v_txt.c:1950:13: warning: unsequenced modification and access to 'target' [-Wunsequenced] target -= --target % sw; ~~ ^ ./../vi/v_txt.c:2084: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:2090: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:2117: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 (t = cmd.argv[0]->bp; len > 0 && nlen > 0; --len, --nlen) ^ ~~~~~~~~~~~~~~~ ./../vi/v_txt.c:2146: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:2185: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:2185: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:2228: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:142:41: note: passing argument to parameter here char *msg_print __P((SCR *, const char *, int *)); ^ ./../vi/v_txt.c:2228: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:2235: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:2250: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:142:41: note: passing argument to parameter here char *msg_print __P((SCR *, const char *, int *)); ^ ./../vi/v_txt.c:2250: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:2253: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:2468:2: warning: implicit declaration of function 'vigor_gotchar' is invalid in C99 [-Wimplicit-function-declaration] vigor_gotchar(*chp); ^ 20 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_ulcase.c ./../vi/v_ulcase.c:92:23: 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 (ulcase(sp, lno, p, len, cno, lcnt)) ^ ./../vi/v_ulcase.c:31:48: note: passing argument to parameter here static int ulcase __P((SCR *, recno_t, CHAR_T *, size_t, size_t, size_t)); ^ ./../vi/v_ulcase.c:119: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:111:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../vi/v_ulcase.c:163: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:163: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 -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_undo.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_util.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_word.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_xchar.c ./../vi/v_xchar.c:45:2: warning: implicit declaration of function 'vigor_maybe_wizard' is invalid in C99 [-Wimplicit-function-declaration] vigor_maybe_wizard((F_ISSET(vp, VC_C1SET) ? ^ 1 warning generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_yank.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_z.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/v_zexit.c ./../vi/v_zexit.c:52:2: warning: implicit declaration of function 'vigor_confirm' is invalid in C99 [-Wimplicit-function-declaration] vigor_confirm("\"Don't go! The text needs you! It depends on you!\"", sp->gp); ^ 1 warning generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/vi.c ./../vi/vi.c:179: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:122: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:549: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:122:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY ? \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/vi_extern.h:98:31: note: passing argument to parameter here void v_emsg __P((SCR *, char *, vim_t)); ^ ./../vi/vi.c:583: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:122:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY ? \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/vi_extern.h:98:31: note: passing argument to parameter here void v_emsg __P((SCR *, char *, vim_t)); ^ 3 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vigor/a2c.c ./../vigor/a2c.c:13:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ ./../vigor/a2c.c:13:3: note: include the header or explicitly provide a declaration for 'exit' 1 warning generated. cc -L/usr/local/lib -fstack-protector-strong -o a2c a2c.o ./a2c vigor_tcl < ./../vigor/vigor.tcl > vigor.tcl.h cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include ./../vigor/vigor.c ./../vigor/vigor.c:74:2: warning: implicit declaration of function 'tcl_init' is invalid in C99 [-Wimplicit-function-declaration] tcl_init(gp); ^ ./../vigor/vigor.c:288:10: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char ch; ^ ./../include/vigor_extern.h:7:30: note: previous declaration is here void vigor_gotchar __P((char ch)); ^ ./../vigor/vigor.c:297:29: warning: too few arguments in call to 'vigor_wizard' pp->this_task, pp->descr); ^ 3 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/vs_line.c ./../vi/vs_line.c:142: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:187: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:122:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY ? \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/vs_line.c:183:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ ./../vi/vs_line.c:509: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); ~~~~~~~~~~~~ ^~~~~~~~ 4 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/vs_msg.c ./../vi/vs_msg.c:255:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ ./../vi/vs_msg.c:286:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ ./../vi/vs_msg.c:353:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ ./../vi/vs_msg.c:918:58: warning: for loop has empty body [-Wempty-body] for (; mp_c->q.le_next != NULL; mp_c = mp_c->q.le_next); ^ ./../vi/vs_msg.c:918:58: note: put the semicolon on a separate line to silence this warning 4 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/vs_refresh.c ./../vi/vs_refresh.c:262:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (LNO > TMAP->lno) { ^ ./../vi/vs_refresh.c:403:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ ./../vi/vs_refresh.c:412:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ ./../vi/vs_refresh.c:822: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:122:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY ? \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/vs_refresh.c:824: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:122:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY ? \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/vs_refresh.c:828: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:122:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY ? \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../vi/vs_refresh.c:849: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:881: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:122:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY ? \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/vs_relative.c ./../vi/vs_relative.c:168:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] TAB_RESET; ^ ./../vi/vs_relative.c:160:5: note: expanded from macro 'TAB_RESET' } else \ ^ ./../vi/vs_relative.c:175:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] TAB_RESET; ^ ./../vi/vs_relative.c:160:5: note: expanded from macro 'TAB_RESET' } else \ ^ ./../vi/vs_relative.c:300:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] TAB_RESET; ^ ./../vi/vs_relative.c:160:5: note: expanded from macro 'TAB_RESET' } else \ ^ 3 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../vi/vs_smap.c cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../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:141: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:135:42: note: passing argument to parameter here void msgq_str __P((SCR *, mtype_t, char *, char *)); ^ 3 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../common/api.c ./../common/api.c:451:15: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] value[0] = '\0'; ^~~~ ./../common/api.c:501: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] a.bp = bp; ^ ~~ 2 warnings generated. cc -c -O -I. -I./../include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing ./../tcl_api/tcl.c ./../tcl_api/tcl.c:76:16: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] (void)sprintf(Tcl_GetStringResult(interp), "%d", sp->id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ ./../tcl_api/tcl.c:257:16: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] (void)sprintf(Tcl_GetStringResult(interp), "%lu", (unsigned long)last); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ ./../tcl_api/tcl.c:523:16: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] (void)sprintf(Tcl_GetStringResult(interp), "%d", nsp->id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ 3 warnings generated. cc -L/usr/local/lib -fstack-protector-strong -o vigor 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 vigor.o vs_line.o vs_msg.o vs_refresh.o vs_relative.o vs_smap.o vs_split.o api.o tcl.o -lncurses -ltermlib -ltk86 -ltcl86 -ldl -lm -L/usr/local/lib -lX11 -lm =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> vigor-0.016_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for vigor-0.016_4 ===> Generating temporary packing list [ -f /bin/chmod ] [ -f /bin/cp ] [ -f /bin/ln ] [ -f /bin/mkdir ] [ -f /bin/rm ] [ -d /usr/local ] || (/bin/mkdir /usr/local && /bin/chmod 755 /usr/local) [ -d /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local ] || (/bin/mkdir /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local && /bin/chmod 755 /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local) [ -d /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share ] || (/bin/mkdir /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share && /bin/chmod 755 /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share) /bin/rm -rf /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor /bin/mkdir /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor && /bin/chmod 755 /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor Installing message catalogs: /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/catalog ... /bin/mkdir /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/catalog && /bin/chmod 755 /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/catalog (cd ./../catalog && /bin/cp dutch english french german ru_SU.KOI8-R spanish swedish /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/catalog && cd /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/catalog && /bin/chmod 444 *) Installing Perl scripts: /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/perl ... /bin/mkdir /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/perl && /bin/chmod 755 /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/perl ([ -f VI.pm ] && /bin/cp VI.pm /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/perl && cd /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/perl && /bin/chmod 444 VI.pm) (cd ./../perl_scripts && /bin/cp *.pl /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/perl && cd /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/perl && /bin/chmod 444 *.pl) Installing Tcl scripts: /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/tcl ... /bin/mkdir /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/tcl && /bin/chmod 755 /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/tcl (cd ./../tcl_scripts && /bin/cp *.tcl /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/tcl && cd /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/tcl && /bin/chmod 444 *.tcl) Installing recover script: /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/recover ... (/bin/cp recover /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/recover && /bin/chmod 555 /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/share/vigor/recover) Installing vigor: /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/bin ... [ -d /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/bin ] || (/bin/mkdir /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/bin && /bin/chmod 755 /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/bin) cd /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/bin && /bin/rm -f `echo vigor | sed 's,x,x,'` /bin/cp vigor /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/bin/`echo vigor | sed 's,x,x,'` cd /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/bin && [ -f /usr/bin/strip ] && /usr/bin/strip `echo vigor | sed 's,x,x,'` cd /wrkdirs/usr/ports/editors/vigor/work/stage/usr/local/bin && /bin/chmod 555 `echo vigor | sed 's,x,x,'` ====> 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-06T15:33:40+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=05f0f44a55' '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 vigor-0.016_4 ===> Building vigor-0.016_4 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for vigor-0.016_4 build of editors/vigor | vigor-0.016_4 ended at Sat Apr 6 16:34:18 BST 2024 build time: 00:00:39