=> Building misc/deco Started : Monday, 23 DEC 2019 at 22:15:10 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1191.g9d275-DEVELOPMENT #19: Sun Dec 22 10:53:59 PST 2019 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/misc/deco XDG_CONFIG_HOME=/construction/misc/deco HOME=/construction/misc/deco TMPDIR="/tmp" PATH=/construction/misc/deco/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --libdir=/usr/local/share --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/misc/deco XDG_CONFIG_HOME=/construction/misc/deco HOME=/construction/misc/deco TMPDIR="/tmp" PATH=/construction/misc/deco/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" 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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/misc/deco/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/deco" EXAMPLESDIR="share/examples/deco" DATADIR="share/deco" WWWDIR="www/deco" ETCDIR="etc/deco" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/deco DOCSDIR=/usr/local/share/doc/deco EXAMPLESDIR=/usr/local/share/examples/deco WWWDIR=/usr/local/www/deco ETCDIR=/usr/local/etc/deco -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.0 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The deco 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> deco-misc-3.9_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.12.0.txz Installing pkg-1.12.0... Extracting pkg-1.12.0: .......... done ===> deco-misc-3.9_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of deco-misc-3.9_4 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The deco 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port => deco39.tgz doesn't seem to exist in /distfiles/. => Attempting to fetch https://downloads.sourceforge.net/project/deco/Deco%20Sources/3.9/deco39.tgz deco39.tgz 102 kB 738 kBps 00s ===> Fetching all distfiles required by deco-misc-3.9_4 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The deco 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by deco-misc-3.9_4 for building => SHA256 Checksum OK for deco39.tgz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The deco 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by deco-misc-3.9_4 for building ===> Extracting for deco-misc-3.9_4 => SHA256 Checksum OK for deco39.tgz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for deco-misc-3.9_4 ===> Applying ports patches for deco-misc-3.9_4 ===> Applying dragonfly patches for deco-misc-3.9_4 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> deco-misc-3.9_4 depends on file: /usr/local/lib/libncurses.so.6 - not found ===> Installing existing package /packages/All/ncurses-6.1.20190525.txz Installing ncurses-6.1.20190525... Extracting ncurses-6.1.20190525: .......... done ===> deco-misc-3.9_4 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Returning to build of deco-misc-3.9_4 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for deco-misc-3.9_4 loading site script /xports/Templates/config.site creating cache ./config.cache checking for gcc... cc checking whether the C compiler (cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -L/usr/local/lib -Wl,-rpath=/usr/local/lib ) works... yes checking whether the C compiler (cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -L/usr/local/lib -Wl,-rpath=/usr/local/lib ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking whether make sets ${MAKE}... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for fcntl.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for termio.h... no checking for termios.h... yes checking for unistd.h... (cached) yes checking for termcap.h... no checking for working const... yes checking for st_rdev in struct stat... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for ANSI C header files... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking type of array argument to getgroups... gid_t checking whether cc needs -traditional... no checking for 8-bit clean memcmp... yes checking return type of signal handlers... void checking for pid_t... (cached) yes checking for vfork.h... (cached) no checking for working vfork... yes checking for vprintf... (cached) yes checking for gethostname... (cached) yes checking for getgroups... yes checking for opendir... (cached) yes checking for memcpy... (cached) yes checking for strtol... (cached) yes checking for dirfd... (cached) yes checking for tcgetattr... yes checking for tcsetpgrp... yes checking for killpg... (cached) yes checking for execvpe... no checking for main in -lcposix... no checking for tgetent in -lncurses... yes updating cache ./config.cache creating ./config.status creating Makefile -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for deco-misc-3.9_4 --- cap.o --- --- choice.o --- --- cmd.o --- --- com.o --- --- dir.o --- --- draw.o --- --- edit.o --- --- env.o --- --- ex.o --- --- help.o --- --- hexview.o --- --- key.o --- --- main.o --- --- menu.o --- --- mh.o --- --- cap.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ST_RDEV=1 -DSTDC_HEADERS=1 -DGETGROUPS_T=gid_t -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETGROUPS=1 -DHAVE_OPENDIR=1 -DHAVE_MEMCPY=1 -DHAVE_STRTOL=1 -DHAVE_DIRFD=1 -DHAVE_TCGETATTR=1 -DHAVE_TCSETPGRP=1 -DHAVE_KILLPG=1 -DHAVE_LIBNCURSES=1 -c cap.c --- choice.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ST_RDEV=1 -DSTDC_HEADERS=1 -DGETGROUPS_T=gid_t -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETGROUPS=1 -DHAVE_OPENDIR=1 -DHAVE_MEMCPY=1 -DHAVE_STRTOL=1 -DHAVE_DIRFD=1 -DHAVE_TCGETATTR=1 -DHAVE_TCSETPGRP=1 -DHAVE_KILLPG=1 -DHAVE_LIBNCURSES=1 -c choice.c --- cmd.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ST_RDEV=1 -DSTDC_HEADERS=1 -DGETGROUPS_T=gid_t -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETGROUPS=1 -DHAVE_OPENDIR=1 -DHAVE_MEMCPY=1 -DHAVE_STRTOL=1 -DHAVE_DIRFD=1 -DHAVE_TCGETATTR=1 -DHAVE_TCSETPGRP=1 -DHAVE_KILLPG=1 -DHAVE_LIBNCURSES=1 -c cmd.c --- com.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ST_RDEV=1 -DSTDC_HEADERS=1 -DGETGROUPS_T=gid_t -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETGROUPS=1 -DHAVE_OPENDIR=1 -DHAVE_MEMCPY=1 -DHAVE_STRTOL=1 -DHAVE_DIRFD=1 -DHAVE_TCGETATTR=1 -DHAVE_TCSETPGRP=1 -DHAVE_KILLPG=1 -DHAVE_LIBNCURSES=1 -c com.c --- dir.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ST_RDEV=1 -DSTDC_HEADERS=1 -DGETGROUPS_T=gid_t -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETGROUPS=1 -DHAVE_OPENDIR=1 -DHAVE_MEMCPY=1 -DHAVE_STRTOL=1 -DHAVE_DIRFD=1 -DHAVE_TCGETATTR=1 -DHAVE_TCSETPGRP=1 -DHAVE_KILLPG=1 -DHAVE_LIBNCURSES=1 -c dir.c --- draw.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ST_RDEV=1 -DSTDC_HEADERS=1 -DGETGROUPS_T=gid_t -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETGROUPS=1 -DHAVE_OPENDIR=1 -DHAVE_MEMCPY=1 -DHAVE_STRTOL=1 -DHAVE_DIRFD=1 -DHAVE_TCGETATTR=1 -DHAVE_TCSETPGRP=1 -DHAVE_KILLPG=1 -DHAVE_LIBNCURSES=1 -c draw.c --- edit.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ST_RDEV=1 -DSTDC_HEADERS=1 -DGETGROUPS_T=gid_t -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETGROUPS=1 -DHAVE_OPENDIR=1 -DHAVE_MEMCPY=1 -DHAVE_STRTOL=1 -DHAVE_DIRFD=1 -DHAVE_TCGETATTR=1 -DHAVE_TCSETPGRP=1 -DHAVE_KILLPG=1 -DHAVE_LIBNCURSES=1 -c edit.c --- env.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ST_RDEV=1 -DSTDC_HEADERS=1 -DGETGROUPS_T=gid_t -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETGROUPS=1 -DHAVE_OPENDIR=1 -DHAVE_MEMCPY=1 -DHAVE_STRTOL=1 -DHAVE_DIRFD=1 -DHAVE_TCGETATTR=1 -DHAVE_TCSETPGRP=1 -DHAVE_KILLPG=1 -DHAVE_LIBNCURSES=1 -c env.c --- ex.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ST_RDEV=1 -DSTDC_HEADERS=1 -DGETGROUPS_T=gid_t -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETGROUPS=1 -DHAVE_OPENDIR=1 -DHAVE_MEMCPY=1 -DHAVE_STRTOL=1 -DHAVE_DIRFD=1 -DHAVE_TCGETATTR=1 -DHAVE_TCSETPGRP=1 -DHAVE_KILLPG=1 -DHAVE_LIBNCURSES=1 -c ex.c --- help.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ST_RDEV=1 -DSTDC_HEADERS=1 -DGETGROUPS_T=gid_t -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETGROUPS=1 -DHAVE_OPENDIR=1 -DHAVE_MEMCPY=1 -DHAVE_STRTOL=1 -DHAVE_DIRFD=1 -DHAVE_TCGETATTR=1 -DHAVE_TCSETPGRP=1 -DHAVE_KILLPG=1 -DHAVE_LIBNCURSES=1 -c help.c --- hexview.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ST_RDEV=1 -DSTDC_HEADERS=1 -DGETGROUPS_T=gid_t -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETGROUPS=1 -DHAVE_OPENDIR=1 -DHAVE_MEMCPY=1 -DHAVE_STRTOL=1 -DHAVE_DIRFD=1 -DHAVE_TCGETATTR=1 -DHAVE_TCSETPGRP=1 -DHAVE_KILLPG=1 -DHAVE_LIBNCURSES=1 -c hexview.c --- key.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ST_RDEV=1 -DSTDC_HEADERS=1 -DGETGROUPS_T=gid_t -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETGROUPS=1 -DHAVE_OPENDIR=1 -DHAVE_MEMCPY=1 -DHAVE_STRTOL=1 -DHAVE_DIRFD=1 -DHAVE_TCGETATTR=1 -DHAVE_TCSETPGRP=1 -DHAVE_KILLPG=1 -DHAVE_LIBNCURSES=1 -c key.c --- main.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ST_RDEV=1 -DSTDC_HEADERS=1 -DGETGROUPS_T=gid_t -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETGROUPS=1 -DHAVE_OPENDIR=1 -DHAVE_MEMCPY=1 -DHAVE_STRTOL=1 -DHAVE_DIRFD=1 -DHAVE_TCGETATTR=1 -DHAVE_TCSETPGRP=1 -DHAVE_KILLPG=1 -DHAVE_LIBNCURSES=1 -c main.c --- menu.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ST_RDEV=1 -DSTDC_HEADERS=1 -DGETGROUPS_T=gid_t -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETGROUPS=1 -DHAVE_OPENDIR=1 -DHAVE_MEMCPY=1 -DHAVE_STRTOL=1 -DHAVE_DIRFD=1 -DHAVE_TCGETATTR=1 -DHAVE_TCSETPGRP=1 -DHAVE_KILLPG=1 -DHAVE_LIBNCURSES=1 -c menu.c --- mh.o --- cc -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ST_RDEV=1 -DSTDC_HEADERS=1 -DGETGROUPS_T=gid_t -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETGROUPS=1 -DHAVE_OPENDIR=1 -DHAVE_MEMCPY=1 -DHAVE_STRTOL=1 -DHAVE_DIRFD=1 -DHAVE_TCGETATTR=1 -DHAVE_TCSETPGRP=1 -DHAVE_KILLPG=1 -DHAVE_LIBNCURSES=1 -c mh.c --- menu.o --- In file included from menu.c:1: deco.h:29:8: warning: type defaults to 'int' in declaration of 'widewin' [-Wimplicit-int] extern widewin; /* wide window mode */ ^~~~~~~ deco.h:30:8: warning: type defaults to 'int' in declaration of 'H' [-Wimplicit-int] extern H; /* file window height */ ^ deco.h:31:8: warning: type defaults to 'int' in declaration of 'cmdreg' [-Wimplicit-int] extern cmdreg; /* command line mode */ ^~~~~~ deco.h:33:8: warning: type defaults to 'int' in declaration of 'cpos' [-Wimplicit-int] extern cpos; /* command line cursor */ ^~~~ deco.h:38:8: warning: type defaults to 'int' in declaration of 'visualwin' [-Wimplicit-int] extern visualwin; /* cursor in command line */ ^~~~~~~~~ deco.h:39:8: warning: type defaults to 'int' in declaration of 'showhidden' [-Wimplicit-int] extern showhidden; /* show hidden files ".*" */ ^~~~~~~~~~ deco.h:40:8: warning: type defaults to 'int' in declaration of 'uid' [-Wimplicit-int] extern uid; /* real user id */ ^~~ deco.h:41:8: warning: type defaults to 'int' in declaration of 'main_pid' [-Wimplicit-int] extern main_pid; /* our process id */ ^~~~~~~~ deco.h:42:8: warning: type defaults to 'int' in declaration of 'ppid' [-Wimplicit-int] extern ppid; /* parent id */ ^~~~ deco.h:43:8: warning: type defaults to 'int' in declaration of 'lang' [-Wimplicit-int] extern lang; /* language */ ^~~~ deco.h:45:8: warning: type defaults to 'int' in declaration of 'useredit' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:18: warning: type defaults to 'int' in declaration of 'userview' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ In file included from menu.c:2: scr.h:26:8: warning: type defaults to 'int' in declaration of 'LINES' [-Wimplicit-int] extern LINES, COLS; ^~~~~ scr.h:26:15: warning: type defaults to 'int' in declaration of 'COLS' [-Wimplicit-int] extern LINES, COLS; ^~~~ --- cap.o --- In file included from cap.c:36: deco.h:29:8: warning: type defaults to 'int' in declaration of 'widewin' [-Wimplicit-int] extern widewin; /* wide window mode */ ^~~~~~~ deco.h:30:8: warning: type defaults to 'int' in declaration of 'H' [-Wimplicit-int] extern H; /* file window height */ ^ deco.h:31:8: warning: type defaults to 'int' in declaration of 'cmdreg' [-Wimplicit-int] extern cmdreg; /* command line mode */ ^~~~~~ deco.h:33:8: warning: type defaults to 'int' in declaration of 'cpos' [-Wimplicit-int] extern cpos; /* command line cursor */ ^~~~ deco.h:38:8: warning: type defaults to 'int' in declaration of 'visualwin' [-Wimplicit-int] extern visualwin; /* cursor in command line */ ^~~~~~~~~ deco.h:39:8: warning: type defaults to 'int' in declaration of 'showhidden' [-Wimplicit-int] extern showhidden; /* show hidden files ".*" */ ^~~~~~~~~~ deco.h:40:8: warning: type defaults to 'int' in declaration of 'uid' [-Wimplicit-int] extern uid; /* real user id */ ^~~ deco.h:41:8: warning: type defaults to 'int' in declaration of 'main_pid' [-Wimplicit-int] extern main_pid; /* our process id */ ^~~~~~~~ deco.h:42:8: warning: type defaults to 'int' in declaration of 'ppid' [-Wimplicit-int] extern ppid; /* parent id */ ^~~~ deco.h:43:8: warning: type defaults to 'int' in declaration of 'lang' [-Wimplicit-int] extern lang; /* language */ ^~~~ deco.h:45:8: warning: type defaults to 'int' in declaration of 'useredit' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:18: warning: type defaults to 'int' in declaration of 'userview' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ --- menu.o --- In file included from menu.c:3: menu.h:26:8: warning: type defaults to 'int' in declaration of 'nmenu' [-Wimplicit-int] extern nmenu; /* current menu */ ^~~~~ --- cap.o --- deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ --- menu.o --- menu.c: In function 'initmenu': menu.c:19:16: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] m->len = 4 + strlen (m->name); ^~~~~~ menu.c:19:16: warning: incompatible implicit declaration of built-in function 'strlen' menu.c:19:16: note: include '' or provide a declaration of 'strlen' menu.c:4:1: +#include menu.c:19:16: m->len = 4 + strlen (m->name); ^~~~~~ --- cap.o --- In file included from cap.c:37: scr.h:26:8: warning: type defaults to 'int' in declaration of 'LINES' [-Wimplicit-int] extern LINES, COLS; ^~~~~ scr.h:26:15: warning: type defaults to 'int' in declaration of 'COLS' [-Wimplicit-int] extern LINES, COLS; ^~~~ --- menu.o --- menu.c: In function 'drawhead': menu.c:110:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, reverse; ^ menu.c:110:14: warning: type defaults to 'int' in declaration of 'reverse' [-Wimplicit-int] register i, reverse; ^~~~~~~ menu.c: In function 'drawmenu': --- cap.o --- cap.c: In function 'CapGet': --- menu.o --- menu.c:144:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, reverse; ^ menu.c:144:14: warning: type defaults to 'int' in declaration of 'reverse' [-Wimplicit-int] register i, reverse; ^~~~~~~ --- cap.o --- cap.c:97:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy (bp, begarea, area - begarea); ^~~~~~ cap.c:97:2: warning: incompatible implicit declaration of built-in function 'memcpy' cap.c:97:2: note: include '' or provide a declaration of 'memcpy' cap.c:39:1: +#include cap.c:97:2: memcpy (bp, begarea, area - begarea); ^~~~~~ cap.c: In function 'CapGoto': cap.c:151:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c, which, oncol; ^ cap.c:151:14: warning: type defaults to 'int' in declaration of 'which' [-Wimplicit-int] register c, which, oncol; ^~~~~ cap.c:151:21: warning: type defaults to 'int' in declaration of 'oncol' [-Wimplicit-int] register c, which, oncol; ^~~~~ --- menu.o --- menu.c: In function 'hotkey': menu.c:198:11: warning: type defaults to 'int' in declaration of 'nsm' [-Wimplicit-int] register nsm, ret; ^~~ menu.c:198:16: warning: type defaults to 'int' in declaration of 'ret' [-Wimplicit-int] register nsm, ret; ^~~ --- cap.o --- cap.c: In function 'branchto': cap.c:241:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c, level; ^ cap.c:241:14: warning: type defaults to 'int' in declaration of 'level' [-Wimplicit-int] register c, level; ^~~~~ cap.c: In function 'sysvgoto': cap.c:293:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c, op; ^ cap.c:293:14: warning: type defaults to 'int' in declaration of 'op' [-Wimplicit-int] register c, op; ^~ cap.c:43:27: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] #define TPARMERR(c) { strcpy (outp, (c)); return; } ^~~~~~ cap.c:300:3: note: in expansion of macro 'TPARMERR' TPARMERR ("null arg"); ^~~~~~~~ cap.c:43:27: warning: incompatible implicit declaration of built-in function 'strcpy' #define TPARMERR(c) { strcpy (outp, (c)); return; } ^~~~~~ cap.c:300:3: note: in expansion of macro 'TPARMERR' TPARMERR ("null arg"); ^~~~~~~~ cap.c:43:27: note: include '' or provide a declaration of 'strcpy' #define TPARMERR(c) { strcpy (outp, (c)); return; } ^~~~~~ cap.c:300:3: note: in expansion of macro 'TPARMERR' TPARMERR ("null arg"); ^~~~~~~~ cap.c:43:27: warning: incompatible implicit declaration of built-in function 'strcpy' #define TPARMERR(c) { strcpy (outp, (c)); return; } ^~~~~~ cap.c:320:5: note: in expansion of macro 'TPARMERR' TPARMERR ("bad char after %3"); ^~~~~~~~ cap.c:43:27: note: include '' or provide a declaration of 'strcpy' #define TPARMERR(c) { strcpy (outp, (c)); return; } ^~~~~~ cap.c:320:5: note: in expansion of macro 'TPARMERR' TPARMERR ("bad char after %3"); ^~~~~~~~ cap.c:43:27: warning: incompatible implicit declaration of built-in function 'strcpy' #define TPARMERR(c) { strcpy (outp, (c)); return; } ^~~~~~ cap.c:328:5: note: in expansion of macro 'TPARMERR' TPARMERR ("bad char after %2"); ^~~~~~~~ cap.c:43:27: note: include '' or provide a declaration of 'strcpy' #define TPARMERR(c) { strcpy (outp, (c)); return; } ^~~~~~ cap.c:328:5: note: in expansion of macro 'TPARMERR' TPARMERR ("bad char after %2"); ^~~~~~~~ cap.c:43:27: warning: incompatible implicit declaration of built-in function 'strcpy' #define TPARMERR(c) { strcpy (outp, (c)); return; } ^~~~~~ cap.c:354:13: note: in expansion of macro 'TPARMERR' default: TPARMERR ("bad parm number"); ^~~~~~~~ cap.c:43:27: note: include '' or provide a declaration of 'strcpy' #define TPARMERR(c) { strcpy (outp, (c)); return; } ^~~~~~ cap.c:354:13: note: in expansion of macro 'TPARMERR' default: TPARMERR ("bad parm number"); ^~~~~~~~ cap.c:43:27: warning: incompatible implicit declaration of built-in function 'strcpy' #define TPARMERR(c) { strcpy (outp, (c)); return; } ^~~~~~ cap.c:366:5: note: in expansion of macro 'TPARMERR' TPARMERR ("missing closing quote"); ^~~~~~~~ cap.c:43:27: note: include '' or provide a declaration of 'strcpy' #define TPARMERR(c) { strcpy (outp, (c)); return; } ^~~~~~ cap.c:366:5: note: in expansion of macro 'TPARMERR' TPARMERR ("missing closing quote"); ^~~~~~~~ cap.c:43:27: warning: incompatible implicit declaration of built-in function 'strcpy' #define TPARMERR(c) { strcpy (outp, (c)); return; } ^~~~~~ cap.c:379:5: note: in expansion of macro 'TPARMERR' TPARMERR ("missing closing brace"); ^~~~~~~~ cap.c:43:27: note: include '' or provide a declaration of 'strcpy' #define TPARMERR(c) { strcpy (outp, (c)); return; } ^~~~~~ cap.c:379:5: note: in expansion of macro 'TPARMERR' TPARMERR ("missing closing brace"); ^~~~~~~~ --- choice.o --- In file included from choice.c:5: scr.h:26:8: warning: type defaults to 'int' in declaration of 'LINES' [-Wimplicit-int] extern LINES, COLS; ^~~~~ scr.h:26:15: warning: type defaults to 'int' in declaration of 'COLS' [-Wimplicit-int] extern LINES, COLS; ^~~~ --- cap.o --- cap.c:43:27: warning: incompatible implicit declaration of built-in function 'strcpy' #define TPARMERR(c) { strcpy (outp, (c)); return; } ^~~~~~ cap.c:415:4: note: in expansion of macro 'TPARMERR' TPARMERR ("bad % sequence"); ^~~~~~~~ cap.c:43:27: note: include '' or provide a declaration of 'strcpy' #define TPARMERR(c) { strcpy (outp, (c)); return; } ^~~~~~ cap.c:415:4: note: in expansion of macro 'TPARMERR' TPARMERR ("bad % sequence"); ^~~~~~~~ --- main.o --- In file included from main.c:8: scr.h:26:8: warning: type defaults to 'int' in declaration of 'LINES' [-Wimplicit-int] extern LINES, COLS; ^~~~~ scr.h:26:15: warning: type defaults to 'int' in declaration of 'COLS' [-Wimplicit-int] extern LINES, COLS; ^~~~ --- key.o --- In file included from key.c:26: scr.h:26:8: warning: type defaults to 'int' in declaration of 'LINES' [-Wimplicit-int] extern LINES, COLS; ^~~~~ scr.h:26:15: warning: type defaults to 'int' in declaration of 'COLS' [-Wimplicit-int] extern LINES, COLS; ^~~~ --- choice.o --- In file included from choice.c:7: deco.h:29:8: warning: type defaults to 'int' in declaration of 'widewin' [-Wimplicit-int] extern widewin; /* wide window mode */ ^~~~~~~ deco.h:30:8: warning: type defaults to 'int' in declaration of 'H' [-Wimplicit-int] extern H; /* file window height */ ^ deco.h:31:8: warning: type defaults to 'int' in declaration of 'cmdreg' [-Wimplicit-int] extern cmdreg; /* command line mode */ ^~~~~~ deco.h:33:8: warning: type defaults to 'int' in declaration of 'cpos' [-Wimplicit-int] extern cpos; /* command line cursor */ ^~~~ deco.h:38:8: warning: type defaults to 'int' in declaration of 'visualwin' [-Wimplicit-int] extern visualwin; /* cursor in command line */ ^~~~~~~~~ deco.h:39:8: warning: type defaults to 'int' in declaration of 'showhidden' [-Wimplicit-int] extern showhidden; /* show hidden files ".*" */ ^~~~~~~~~~ deco.h:40:8: warning: type defaults to 'int' in declaration of 'uid' [-Wimplicit-int] extern uid; /* real user id */ ^~~ deco.h:41:8: warning: type defaults to 'int' in declaration of 'main_pid' [-Wimplicit-int] extern main_pid; /* our process id */ ^~~~~~~~ deco.h:42:8: warning: type defaults to 'int' in declaration of 'ppid' [-Wimplicit-int] extern ppid; /* parent id */ ^~~~ deco.h:43:8: warning: type defaults to 'int' in declaration of 'lang' [-Wimplicit-int] extern lang; /* language */ ^~~~ deco.h:45:8: warning: type defaults to 'int' in declaration of 'useredit' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:18: warning: type defaults to 'int' in declaration of 'userview' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ choice.c:18:8: warning: type defaults to 'int' in declaration of 'cnum' [-Wimplicit-int] static cnum; ^~~~ choice.c: In function 'getchoice': choice.c:61:11: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] register r, c, w, h; ^ choice.c:61:14: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register r, c, w, h; ^ choice.c:61:17: warning: type defaults to 'int' in declaration of 'w' [-Wimplicit-int] register r, c, w, h; ^ choice.c:61:20: warning: type defaults to 'int' in declaration of 'h' [-Wimplicit-int] register r, c, w, h; ^ choice.c: In function 'initchoice': choice.c:140:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, w; ^ choice.c:140:14: warning: type defaults to 'int' in declaration of 'w' [-Wimplicit-int] register i, w; ^ choice.c: In function 'drawchoice': choice.c:195:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ choice.c: In function 'editstring': choice.c:215:11: warning: type defaults to 'int' in declaration of 'key' [-Wimplicit-int] register key, k; ^~~ choice.c:215:16: warning: type defaults to 'int' in declaration of 'k' [-Wimplicit-int] register key, k; ^ choice.c:9:30: warning: type defaults to 'int' in declaration of 't' [-Wimplicit-int] #define SWAP(a,b) { register t; t = a; a = b; b = t; } ^ choice.c:240:5: note: in expansion of macro 'SWAP' SWAP (key, str[k]); ^~~~ choice.c: In function 'getstring': choice.c:301:11: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] register r, c, h; ^ choice.c:301:14: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register r, c, h; ^ choice.c:301:17: warning: type defaults to 'int' in declaration of 'h' [-Wimplicit-int] register r, c, h; ^ choice.c: In function 'getwstring': choice.c:337:11: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] register r, c, h; ^ choice.c:337:14: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register r, c, h; ^ choice.c:337:17: warning: type defaults to 'int' in declaration of 'h' [-Wimplicit-int] register r, c, h; ^ --- cmd.o --- In file included from cmd.c:12: deco.h:29:8: warning: type defaults to 'int' in declaration of 'widewin' [-Wimplicit-int] extern widewin; /* wide window mode */ ^~~~~~~ deco.h:30:8: warning: type defaults to 'int' in declaration of 'H' [-Wimplicit-int] extern H; /* file window height */ ^ deco.h:31:8: warning: type defaults to 'int' in declaration of 'cmdreg' [-Wimplicit-int] extern cmdreg; /* command line mode */ ^~~~~~ deco.h:33:8: warning: type defaults to 'int' in declaration of 'cpos' [-Wimplicit-int] extern cpos; /* command line cursor */ ^~~~ deco.h:38:8: warning: type defaults to 'int' in declaration of 'visualwin' [-Wimplicit-int] extern visualwin; /* cursor in command line */ ^~~~~~~~~ deco.h:39:8: warning: type defaults to 'int' in declaration of 'showhidden' [-Wimplicit-int] extern showhidden; /* show hidden files ".*" */ ^~~~~~~~~~ deco.h:40:8: warning: type defaults to 'int' in declaration of 'uid' [-Wimplicit-int] extern uid; /* real user id */ ^~~ deco.h:41:8: warning: type defaults to 'int' in declaration of 'main_pid' [-Wimplicit-int] extern main_pid; /* our process id */ ^~~~~~~~ deco.h:42:8: warning: type defaults to 'int' in declaration of 'ppid' [-Wimplicit-int] extern ppid; /* parent id */ ^~~~ deco.h:43:8: warning: type defaults to 'int' in declaration of 'lang' [-Wimplicit-int] extern lang; /* language */ ^~~~ deco.h:45:8: warning: type defaults to 'int' in declaration of 'useredit' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:18: warning: type defaults to 'int' in declaration of 'userview' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ --- edit.o --- In file included from edit.c:2: deco.h:29:8: warning: type defaults to 'int' in declaration of 'widewin' [-Wimplicit-int] extern widewin; /* wide window mode */ ^~~~~~~ deco.h:30:8: warning: type defaults to 'int' in declaration of 'H' [-Wimplicit-int] extern H; /* file window height */ ^ deco.h:31:8: warning: type defaults to 'int' in declaration of 'cmdreg' [-Wimplicit-int] extern cmdreg; /* command line mode */ ^~~~~~ deco.h:33:8: warning: type defaults to 'int' in declaration of 'cpos' [-Wimplicit-int] extern cpos; /* command line cursor */ ^~~~ deco.h:38:8: warning: type defaults to 'int' in declaration of 'visualwin' [-Wimplicit-int] extern visualwin; /* cursor in command line */ ^~~~~~~~~ --- com.o --- In file included from com.c:11: deco.h:29:8: warning: type defaults to 'int' in declaration of 'widewin' [-Wimplicit-int] extern widewin; /* wide window mode */ ^~~~~~~ --- edit.o --- deco.h:39:8: warning: type defaults to 'int' in declaration of 'showhidden' [-Wimplicit-int] extern showhidden; /* show hidden files ".*" */ ^~~~~~~~~~ deco.h:40:8: warning: type defaults to 'int' in declaration of 'uid' [-Wimplicit-int] extern uid; /* real user id */ ^~~ --- com.o --- deco.h:30:8: warning: type defaults to 'int' in declaration of 'H' [-Wimplicit-int] extern H; /* file window height */ ^ deco.h:31:8: warning: type defaults to 'int' in declaration of 'cmdreg' [-Wimplicit-int] extern cmdreg; /* command line mode */ ^~~~~~ deco.h:33:8: warning: type defaults to 'int' in declaration of 'cpos' [-Wimplicit-int] extern cpos; /* command line cursor */ ^~~~ --- edit.o --- deco.h:41:8: warning: type defaults to 'int' in declaration of 'main_pid' [-Wimplicit-int] extern main_pid; /* our process id */ ^~~~~~~~ deco.h:42:8: warning: type defaults to 'int' in declaration of 'ppid' [-Wimplicit-int] extern ppid; /* parent id */ ^~~~ deco.h:43:8: warning: type defaults to 'int' in declaration of 'lang' [-Wimplicit-int] extern lang; /* language */ ^~~~ --- com.o --- deco.h:38:8: warning: type defaults to 'int' in declaration of 'visualwin' [-Wimplicit-int] extern visualwin; /* cursor in command line */ ^~~~~~~~~ deco.h:39:8: warning: type defaults to 'int' in declaration of 'showhidden' [-Wimplicit-int] extern showhidden; /* show hidden files ".*" */ ^~~~~~~~~~ deco.h:40:8: warning: type defaults to 'int' in declaration of 'uid' [-Wimplicit-int] extern uid; /* real user id */ ^~~ --- edit.o --- deco.h:45:8: warning: type defaults to 'int' in declaration of 'useredit' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:18: warning: type defaults to 'int' in declaration of 'userview' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ --- com.o --- deco.h:41:8: warning: type defaults to 'int' in declaration of 'main_pid' [-Wimplicit-int] extern main_pid; /* our process id */ ^~~~~~~~ deco.h:42:8: warning: type defaults to 'int' in declaration of 'ppid' [-Wimplicit-int] extern ppid; /* parent id */ ^~~~ --- edit.o --- deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ --- com.o --- deco.h:43:8: warning: type defaults to 'int' in declaration of 'lang' [-Wimplicit-int] extern lang; /* language */ ^~~~ deco.h:45:8: warning: type defaults to 'int' in declaration of 'useredit' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:18: warning: type defaults to 'int' in declaration of 'userview' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ --- dir.o --- In file included from dir.c:34: deco.h:29:8: warning: type defaults to 'int' in declaration of 'widewin' [-Wimplicit-int] extern widewin; /* wide window mode */ ^~~~~~~ deco.h:30:8: warning: type defaults to 'int' in declaration of 'H' [-Wimplicit-int] extern H; /* file window height */ ^ deco.h:31:8: warning: type defaults to 'int' in declaration of 'cmdreg' [-Wimplicit-int] extern cmdreg; /* command line mode */ ^~~~~~ deco.h:33:8: warning: type defaults to 'int' in declaration of 'cpos' [-Wimplicit-int] extern cpos; /* command line cursor */ ^~~~ deco.h:38:8: warning: type defaults to 'int' in declaration of 'visualwin' [-Wimplicit-int] extern visualwin; /* cursor in command line */ ^~~~~~~~~ deco.h:39:8: warning: type defaults to 'int' in declaration of 'showhidden' [-Wimplicit-int] extern showhidden; /* show hidden files ".*" */ ^~~~~~~~~~ deco.h:40:8: warning: type defaults to 'int' in declaration of 'uid' [-Wimplicit-int] extern uid; /* real user id */ ^~~ deco.h:41:8: warning: type defaults to 'int' in declaration of 'main_pid' [-Wimplicit-int] extern main_pid; /* our process id */ ^~~~~~~~ deco.h:42:8: warning: type defaults to 'int' in declaration of 'ppid' [-Wimplicit-int] extern ppid; /* parent id */ ^~~~ deco.h:43:8: warning: type defaults to 'int' in declaration of 'lang' [-Wimplicit-int] extern lang; /* language */ ^~~~ deco.h:45:8: warning: type defaults to 'int' in declaration of 'useredit' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:18: warning: type defaults to 'int' in declaration of 'userview' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ --- edit.o --- In file included from edit.c:3: scr.h:26:8: warning: type defaults to 'int' in declaration of 'LINES' [-Wimplicit-int] extern LINES, COLS; ^~~~~ scr.h:26:15: warning: type defaults to 'int' in declaration of 'COLS' [-Wimplicit-int] extern LINES, COLS; ^~~~ --- com.o --- In file included from com.c:12: scr.h:26:8: warning: type defaults to 'int' in declaration of 'LINES' [-Wimplicit-int] extern LINES, COLS; ^~~~~ scr.h:26:15: warning: type defaults to 'int' in declaration of 'COLS' [-Wimplicit-int] extern LINES, COLS; ^~~~ --- main.o --- In file included from main.c:10: deco.h:29:8: warning: type defaults to 'int' in declaration of 'widewin' [-Wimplicit-int] extern widewin; /* wide window mode */ ^~~~~~~ deco.h:30:8: warning: type defaults to 'int' in declaration of 'H' [-Wimplicit-int] extern H; /* file window height */ ^ deco.h:31:8: warning: type defaults to 'int' in declaration of 'cmdreg' [-Wimplicit-int] extern cmdreg; /* command line mode */ ^~~~~~ deco.h:33:8: warning: type defaults to 'int' in declaration of 'cpos' [-Wimplicit-int] extern cpos; /* command line cursor */ ^~~~ deco.h:38:8: warning: type defaults to 'int' in declaration of 'visualwin' [-Wimplicit-int] extern visualwin; /* cursor in command line */ ^~~~~~~~~ deco.h:39:8: warning: type defaults to 'int' in declaration of 'showhidden' [-Wimplicit-int] extern showhidden; /* show hidden files ".*" */ ^~~~~~~~~~ deco.h:40:8: warning: type defaults to 'int' in declaration of 'uid' [-Wimplicit-int] extern uid; /* real user id */ ^~~ deco.h:41:8: warning: type defaults to 'int' in declaration of 'main_pid' [-Wimplicit-int] extern main_pid; /* our process id */ ^~~~~~~~ deco.h:42:8: warning: type defaults to 'int' in declaration of 'ppid' [-Wimplicit-int] extern ppid; /* parent id */ ^~~~ deco.h:43:8: warning: type defaults to 'int' in declaration of 'lang' [-Wimplicit-int] extern lang; /* language */ ^~~~ deco.h:45:8: warning: type defaults to 'int' in declaration of 'useredit' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:18: warning: type defaults to 'int' in declaration of 'userview' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ --- dir.o --- dir.c: In function 'compfile': dir.c:66:11: warning: type defaults to 'int' in declaration of 'atype' [-Wimplicit-int] register atype, btype; ^~~~~ dir.c:66:18: warning: type defaults to 'int' in declaration of 'btype' [-Wimplicit-int] register atype, btype; ^~~~~ --- edit.o --- edit.c:6:8: warning: type defaults to 'int' in declaration of 'editmodflg' [-Wimplicit-int] static editmodflg; ^~~~~~~~~~ edit.c:9:8: warning: type defaults to 'int' in declaration of 'viewraw' [-Wimplicit-int] extern viewraw; /* raw mode */ ^~~~~~~ edit.c:10:8: warning: type defaults to 'int' in declaration of 'viewtabs' [-Wimplicit-int] extern viewtabs; /* visible spaces mode */ ^~~~~~~~ --- cmd.o --- In file included from cmd.c:14: scr.h:26:8: warning: type defaults to 'int' in declaration of 'LINES' [-Wimplicit-int] extern LINES, COLS; ^~~~~ --- edit.o --- edit.c:11:8: warning: type defaults to 'int' in declaration of 'viewfd' [-Wimplicit-int] extern viewfd; /* file descriptor */ ^~~~~~ --- cmd.o --- scr.h:26:15: warning: type defaults to 'int' in declaration of 'COLS' [-Wimplicit-int] extern LINES, COLS; ^~~~ --- edit.o --- edit.c: In function 'edithead': --- mh.o --- In file included from mh.c:1: scr.h:26:8: warning: type defaults to 'int' in declaration of 'LINES' [-Wimplicit-int] extern LINES, COLS; ^~~~~ scr.h:26:15: warning: type defaults to 'int' in declaration of 'COLS' [-Wimplicit-int] extern LINES, COLS; ^~~~ --- edit.o --- edit.c:36:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ --- main.o --- main.c: In function 'main': main.c:109:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ --- edit.o --- edit.c: In function 'editfile': edit.c:69:11: warning: type defaults to 'int' in declaration of 'baseline' [-Wimplicit-int] register baseline, basecol; ^~~~~~~~ edit.c:69:21: warning: type defaults to 'int' in declaration of 'basecol' [-Wimplicit-int] register baseline, basecol; ^~~~~~~ --- com.o --- com.c:23:8: warning: type defaults to 'int' in declaration of 'hpos' [-Wimplicit-int] static hpos; /* history pointer */ ^~~~ com.c: In function 'drawcmd': com.c:48:20: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (H==LINES-7 && strlen (cur->shortcwd) + 3 + esclen (command) > 79) { ^~~~~~ com.c:48:20: warning: incompatible implicit declaration of built-in function 'strlen' com.c:48:20: note: include '' or provide a declaration of 'strlen' com.c:15:1: +#include com.c:48:20: if (H==LINES-7 && strlen (cur->shortcwd) + 3 + esclen (command) > 79) { ^~~~~~ com.c: In function 'namecmd': com.c:93:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, savepos; ^ com.c:93:14: warning: type defaults to 'int' in declaration of 'savepos' [-Wimplicit-int] register i, savepos; ^~~~~~~ com.c: In function 'inscmd': com.c:111:11: warning: type defaults to 'int' in declaration of 'k' [-Wimplicit-int] register k; ^ com.c:16:30: warning: type defaults to 'int' in declaration of 't' [-Wimplicit-int] #define SWAP(a,b) { register t; t = a; a = b; b = t; } ^ com.c:114:3: note: in expansion of macro 'SWAP' SWAP (key, command[k]); ^~~~ com.c: In function 'delcmd': com.c:124:11: warning: type defaults to 'int' in declaration of 'k' [-Wimplicit-int] register k; ^ com.c: In function 'nextcmd': com.c:187:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy (command, history [hpos]); ^~~~~~ com.c:187:2: warning: incompatible implicit declaration of built-in function 'strcpy' com.c:187:2: note: include '' or provide a declaration of 'strcpy' com.c: In function 'prevcmd': --- main.o --- main.c: In function 'execute': --- com.o --- com.c:205:2: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy (command, history [hpos]); ^~~~~~ com.c:205:2: note: include '' or provide a declaration of 'strcpy' --- main.o --- main.c:514:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (! strcmp (name, ".")) { ^~~~~~ --- com.o --- com.c: In function 'histcmd': --- cmd.o --- cmd.c: In function 'view': --- com.o --- com.c:211:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ com.c:216:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] ! strcmp (history[n], command)) { ^~~~~~ --- edit.o --- edit.c:296:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy (viewsrch, p); ^~~~~~ --- cmd.o --- cmd.c:259:11: warning: type defaults to 'int' in declaration of 'd' [-Wimplicit-int] register d; ^ --- edit.o --- edit.c:296:5: warning: incompatible implicit declaration of built-in function 'strcpy' --- com.o --- com.c:217:13: warning: type defaults to 'int' in declaration of 'k' [-Wimplicit-int] register k; ^ --- main.o --- main.c:543:4: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy (command, file->name); ^~~~~~ main.c:543:4: warning: incompatible implicit declaration of built-in function 'strcpy' --- edit.o --- edit.c:296:5: note: include '' or provide a declaration of 'strcpy' edit.c:5:1: +#include edit.c:296:5: strcpy (viewsrch, p); ^~~~~~ --- main.o --- main.c:543:4: note: include '' or provide a declaration of 'strcpy' main.c:12:1: +#include main.c:543:4: strcpy (command, file->name); ^~~~~~ main.c:546:10: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] cpos = strlen (command); ^~~~~~ main.c:546:10: warning: incompatible implicit declaration of built-in function 'strlen' main.c:546:10: note: include '' or provide a declaration of 'strlen' --- cmd.o --- cmd.c: In function 'viewinfo': cmd.c:285:11: warning: type defaults to 'int' in declaration of 'd' [-Wimplicit-int] register d; ^ --- com.o --- com.c: In function 'jobcmd': --- edit.o --- edit.c:306:38: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] basecol = ccol<40 ? 0 : ((ccol + strlen (p) - 41) / 40 * 40); ^~~~~~ edit.c:306:38: warning: incompatible implicit declaration of built-in function 'strlen' edit.c:306:38: note: include '' or provide a declaration of 'strlen' --- com.o --- com.c:244:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ --- main.o --- main.c: In function 'pagelen': main.c:586:11: warning: type defaults to 'int' in declaration of 'h' [-Wimplicit-int] register h = H; ^ --- cmd.o --- cmd.c: In function 'editfnam': cmd.c:310:11: warning: type defaults to 'int' in declaration of 'd' [-Wimplicit-int] register d; ^ --- com.o --- com.c: In function 'outprompt': com.c:264:31: warning: incompatible implicit declaration of built-in function 'strlen' write (1, prompt, (unsigned) strlen (prompt)); ^~~~~~ com.c:264:31: note: include '' or provide a declaration of 'strlen' --- main.o --- In file included from main.c:8: main.c: In function 'mvcaddstr': main.c:660:23: warning: incompatible implicit declaration of built-in function 'strlen' VMPutString (r, c - (strlen (s) + 1) / 2, s); ^~~~~~ scr.h:30:40: note: in definition of macro 'VMPutString' #define VMPutString(y,x,str) (VMove (y,x), VPutString (str)) ^ --- com.o --- com.c: In function 'execmd': --- main.o --- main.c:660:23: note: include '' or provide a declaration of 'strlen' VMPutString (r, c - (strlen (s) + 1) / 2, s); ^~~~~~ scr.h:30:40: note: in definition of macro 'VMPutString' #define VMPutString(y,x,str) (VMove (y,x), VPutString (str)) ^ --- com.o --- com.c:295:20: warning: incompatible implicit declaration of built-in function 'strlen' if (! inputcmd (strlen (cur->shortcwd) + 3) || ! command [0]) ^~~~~~ com.c:295:20: note: include '' or provide a declaration of 'strlen' --- main.o --- main.c: In function 'quote': main.c:665:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c, i; ^ main.c:665:14: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register c, i; ^ --- com.o --- com.c: In function 'inputcmd': com.c:321:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ --- cmd.o --- cmd.c: In function 'tagged': --- com.o --- com.c: In function 'erasecmd': --- cmd.o --- cmd.c:464:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, n; ^ cmd.c:464:14: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register i, n; ^ --- com.o --- com.c:403:32: warning: incompatible implicit declaration of built-in function 'strlen' write (1, prompt, (unsigned) strlen (prompt)); ^~~~~~ com.c:403:32: note: include '' or provide a declaration of 'strlen' --- edit.o --- edit.c: In function 'joinlines': --- cmd.o --- cmd.c: In function 'copy': --- edit.o --- edit.c:455:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy (s, p->ptr, p->len); ^~~~~~ edit.c:455:2: warning: incompatible implicit declaration of built-in function 'memcpy' --- cmd.o --- cmd.c:477:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ --- edit.o --- edit.c:455:2: note: include '' or provide a declaration of 'memcpy' --- com.o --- com.c: In function 'mycmd2': --- edit.o --- edit.c: In function 'breakline': --- com.o --- com.c:463:29: warning: incompatible implicit declaration of built-in function 'strlen' write (1, *p, (unsigned) strlen (*p)); ^~~~~~ com.c:463:29: note: include '' or provide a declaration of 'strlen' --- edit.o --- edit.c:482:2: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy (q->ptr, p->ptr + off, p->len - off); ^~~~~~ edit.c:482:2: note: include '' or provide a declaration of 'memcpy' --- com.o --- com.c:469:34: warning: incompatible implicit declaration of built-in function 'strlen' write (1, cur->cwd, (unsigned) strlen (cur->cwd)); ^~~~~~ com.c:469:34: note: include '' or provide a declaration of 'strlen' --- edit.o --- edit.c: In function 'cleartoeoln': edit.c:506:2: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy (s, p->ptr, off); ^~~~~~ edit.c:506:2: note: include '' or provide a declaration of 'memcpy' --- com.o --- com.c: In function 'jobmenu': com.c:517:11: warning: type defaults to 'int' in declaration of 'ch' [-Wimplicit-int] register ch, nh; ^~ --- cmd.o --- cmd.c: In function 'makelink': --- com.o --- com.c:517:15: warning: type defaults to 'int' in declaration of 'nh' [-Wimplicit-int] register ch, nh; ^~ --- cmd.o --- cmd.c:568:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ --- com.o --- com.c:557:36: warning: incompatible implicit declaration of built-in function 'strlen' VMove (histrow+ch, histcol+1+6 - strlen (buf)); ^~~~~~ com.c:557:36: note: include '' or provide a declaration of 'strlen' --- cmd.o --- cmd.c: In function 'makeslink': cmd.c:642:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ --- com.o --- com.c:614:18: warning: incompatible implicit declaration of built-in function 'strlen' write (1, buf2, strlen (buf2)); ^~~~~~ com.c:614:18: note: include '' or provide a declaration of 'strlen' com.c: In function 'histmenu': com.c:652:11: warning: type defaults to 'int' in declaration of 'ch' [-Wimplicit-int] register ch, nh; ^~ com.c:652:15: warning: type defaults to 'int' in declaration of 'nh' [-Wimplicit-int] register ch, nh; ^~ --- help.o --- In file included from help.c:7: deco.h:29:8: warning: type defaults to 'int' in declaration of 'widewin' [-Wimplicit-int] extern widewin; /* wide window mode */ ^~~~~~~ --- cmd.o --- cmd.c: In function 'renmove': --- help.o --- deco.h:30:8: warning: type defaults to 'int' in declaration of 'H' [-Wimplicit-int] extern H; /* file window height */ ^ deco.h:31:8: warning: type defaults to 'int' in declaration of 'cmdreg' [-Wimplicit-int] extern cmdreg; /* command line mode */ ^~~~~~ --- cmd.o --- cmd.c:716:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ --- help.o --- deco.h:33:8: warning: type defaults to 'int' in declaration of 'cpos' [-Wimplicit-int] extern cpos; /* command line cursor */ ^~~~ deco.h:38:8: warning: type defaults to 'int' in declaration of 'visualwin' [-Wimplicit-int] extern visualwin; /* cursor in command line */ ^~~~~~~~~ deco.h:39:8: warning: type defaults to 'int' in declaration of 'showhidden' [-Wimplicit-int] extern showhidden; /* show hidden files ".*" */ ^~~~~~~~~~ deco.h:40:8: warning: type defaults to 'int' in declaration of 'uid' [-Wimplicit-int] extern uid; /* real user id */ ^~~ deco.h:41:8: warning: type defaults to 'int' in declaration of 'main_pid' [-Wimplicit-int] extern main_pid; /* our process id */ ^~~~~~~~ deco.h:42:8: warning: type defaults to 'int' in declaration of 'ppid' [-Wimplicit-int] extern ppid; /* parent id */ ^~~~ deco.h:43:8: warning: type defaults to 'int' in declaration of 'lang' [-Wimplicit-int] extern lang; /* language */ ^~~~ deco.h:45:8: warning: type defaults to 'int' in declaration of 'useredit' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:18: warning: type defaults to 'int' in declaration of 'userview' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ --- com.o --- com.c:733:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy (command, history [ch]); ^~~~~~ com.c:733:3: note: include '' or provide a declaration of 'strcpy' com.c:734:10: warning: incompatible implicit declaration of built-in function 'strlen' cpos = strlen (command); ^~~~~~ com.c:734:10: note: include '' or provide a declaration of 'strlen' com.c: In function 'esclen': com.c:744:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c, count; ^ com.c:744:14: warning: type defaults to 'int' in declaration of 'count' [-Wimplicit-int] register c, count; ^~~~~ com.c: In function 'putescstr': com.c:756:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ --- cmd.o --- cmd.c: In function 'delete': --- help.o --- In file included from help.c:8: scr.h:26:8: warning: type defaults to 'int' in declaration of 'LINES' [-Wimplicit-int] extern LINES, COLS; ^~~~~ --- cmd.o --- cmd.c:845:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ --- help.o --- scr.h:26:15: warning: type defaults to 'int' in declaration of 'COLS' [-Wimplicit-int] extern LINES, COLS; ^~~~ --- com.o --- com.c: In function 'wresccmd': com.c:787:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ --- cmd.o --- cmd.c: In function 'cmpfil': cmd.c:1001:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ --- ex.o --- In file included from ex.c:51: deco.h:29:8: warning: type defaults to 'int' in declaration of 'widewin' [-Wimplicit-int] extern widewin; /* wide window mode */ ^~~~~~~ deco.h:30:8: warning: type defaults to 'int' in declaration of 'H' [-Wimplicit-int] extern H; /* file window height */ ^ deco.h:31:8: warning: type defaults to 'int' in declaration of 'cmdreg' [-Wimplicit-int] extern cmdreg; /* command line mode */ ^~~~~~ deco.h:33:8: warning: type defaults to 'int' in declaration of 'cpos' [-Wimplicit-int] extern cpos; /* command line cursor */ ^~~~ deco.h:38:8: warning: type defaults to 'int' in declaration of 'visualwin' [-Wimplicit-int] extern visualwin; /* cursor in command line */ ^~~~~~~~~ deco.h:39:8: warning: type defaults to 'int' in declaration of 'showhidden' [-Wimplicit-int] extern showhidden; /* show hidden files ".*" */ ^~~~~~~~~~ deco.h:40:8: warning: type defaults to 'int' in declaration of 'uid' [-Wimplicit-int] extern uid; /* real user id */ ^~~ --- cmd.o --- cmd.c: In function 'syscmd': --- ex.o --- deco.h:41:8: warning: type defaults to 'int' in declaration of 'main_pid' [-Wimplicit-int] extern main_pid; /* our process id */ ^~~~~~~~ deco.h:42:8: warning: type defaults to 'int' in declaration of 'ppid' [-Wimplicit-int] extern ppid; /* parent id */ ^~~~ deco.h:43:8: warning: type defaults to 'int' in declaration of 'lang' [-Wimplicit-int] extern lang; /* language */ ^~~~ --- cmd.o --- cmd.c:1036:11: warning: type defaults to 'int' in declaration of 'status' [-Wimplicit-int] register status, sig; ^~~~~~ --- ex.o --- deco.h:45:8: warning: type defaults to 'int' in declaration of 'useredit' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:18: warning: type defaults to 'int' in declaration of 'userview' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ --- cmd.o --- cmd.c:1036:19: warning: type defaults to 'int' in declaration of 'sig' [-Wimplicit-int] register status, sig; ^~~ --- help.o --- help.c: In function 'findhelp': help.c:291:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (! strcmp (p->name, name)) ^~~~~~ help.c: In function 'runhelp': help.c:303:11: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] register r, c, w, h; ^ help.c:303:14: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register r, c, w, h; ^ help.c:303:17: warning: type defaults to 'int' in declaration of 'w' [-Wimplicit-int] register r, c, w, h; ^ help.c:303:20: warning: type defaults to 'int' in declaration of 'h' [-Wimplicit-int] register r, c, w, h; ^ --- ex.o --- In file included from ex.c:52: scr.h:26:8: warning: type defaults to 'int' in declaration of 'LINES' [-Wimplicit-int] extern LINES, COLS; ^~~~~ scr.h:26:15: warning: type defaults to 'int' in declaration of 'COLS' [-Wimplicit-int] extern LINES, COLS; ^~~~ --- help.o --- In file included from help.c:8: help.c:334:34: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] VMPutString (r+p->row, c + (w-strlen(p->str))/2, p->str); ^~~~~~ scr.h:30:40: note: in definition of macro 'VMPutString' #define VMPutString(y,x,str) (VMove (y,x), VPutString (str)) ^ help.c:334:34: warning: incompatible implicit declaration of built-in function 'strlen' VMPutString (r+p->row, c + (w-strlen(p->str))/2, p->str); ^~~~~~ scr.h:30:40: note: in definition of macro 'VMPutString' #define VMPutString(y,x,str) (VMove (y,x), VPutString (str)) ^ help.c:334:34: note: include '' or provide a declaration of 'strlen' help.c:10:1: +#include help.c:334:34: VMPutString (r+p->row, c + (w-strlen(p->str))/2, p->str); ^~~~~~ scr.h:30:40: note: in definition of macro 'VMPutString' #define VMPutString(y,x,str) (VMove (y,x), VPutString (str)) ^ --- draw.o --- In file included from draw.c:8: deco.h:29:8: warning: type defaults to 'int' in declaration of 'widewin' [-Wimplicit-int] extern widewin; /* wide window mode */ ^~~~~~~ deco.h:30:8: warning: type defaults to 'int' in declaration of 'H' [-Wimplicit-int] extern H; /* file window height */ ^ deco.h:31:8: warning: type defaults to 'int' in declaration of 'cmdreg' [-Wimplicit-int] extern cmdreg; /* command line mode */ ^~~~~~ --- help.o --- help.c: In function 'findhelpfile': --- draw.o --- deco.h:33:8: warning: type defaults to 'int' in declaration of 'cpos' [-Wimplicit-int] extern cpos; /* command line cursor */ ^~~~ --- help.o --- help.c:365:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy (s, dir); ^~~~~~ help.c:365:2: warning: incompatible implicit declaration of built-in function 'strcpy' help.c:365:2: note: include '' or provide a declaration of 'strcpy' --- draw.o --- deco.h:38:8: warning: type defaults to 'int' in declaration of 'visualwin' [-Wimplicit-int] extern visualwin; /* cursor in command line */ ^~~~~~~~~ deco.h:39:8: warning: type defaults to 'int' in declaration of 'showhidden' [-Wimplicit-int] extern showhidden; /* show hidden files ".*" */ ^~~~~~~~~~ deco.h:40:8: warning: type defaults to 'int' in declaration of 'uid' [-Wimplicit-int] extern uid; /* real user id */ ^~~ --- help.o --- help.c:366:7: warning: incompatible implicit declaration of built-in function 'strlen' s += strlen (s); ^~~~~~ help.c:366:7: note: include '' or provide a declaration of 'strlen' --- draw.o --- deco.h:41:8: warning: type defaults to 'int' in declaration of 'main_pid' [-Wimplicit-int] extern main_pid; /* our process id */ ^~~~~~~~ deco.h:42:8: warning: type defaults to 'int' in declaration of 'ppid' [-Wimplicit-int] extern ppid; /* parent id */ ^~~~ deco.h:43:8: warning: type defaults to 'int' in declaration of 'lang' [-Wimplicit-int] extern lang; /* language */ ^~~~ --- ex.o --- ex.c:84:8: warning: type defaults to 'int' in declaration of 'nm' [-Wimplicit-int] static nm, menuwid, menucol, menurow; ^~ ex.c:84:12: warning: type defaults to 'int' in declaration of 'menuwid' [-Wimplicit-int] static nm, menuwid, menucol, menurow; ^~~~~~~ ex.c:84:21: warning: type defaults to 'int' in declaration of 'menucol' [-Wimplicit-int] static nm, menuwid, menucol, menurow; ^~~~~~~ ex.c:84:30: warning: type defaults to 'int' in declaration of 'menurow' [-Wimplicit-int] static nm, menuwid, menucol, menurow; ^~~~~~~ ex.c:86:8: warning: type defaults to 'int' in declaration of 'nex' [-Wimplicit-int] static nex = -1; ^~~ --- help.o --- help.c: In function 'inithelp': help.c:381:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n, fd; ^ help.c:381:14: warning: type defaults to 'int' in declaration of 'fd' [-Wimplicit-int] register n, fd; ^~ --- draw.o --- deco.h:45:8: warning: type defaults to 'int' in declaration of 'useredit' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:18: warning: type defaults to 'int' in declaration of 'userview' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ --- ex.o --- ex.c: In function 'initex': ex.c:208:11: warning: type defaults to 'int' in declaration of 'fd' [-Wimplicit-int] register fd, n; ^~ ex.c:208:15: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register fd, n; ^ --- mh.o --- In file included from mh.c:3: deco.h:29:8: warning: type defaults to 'int' in declaration of 'widewin' [-Wimplicit-int] extern widewin; /* wide window mode */ ^~~~~~~ deco.h:30:8: warning: type defaults to 'int' in declaration of 'H' [-Wimplicit-int] extern H; /* file window height */ ^ deco.h:31:8: warning: type defaults to 'int' in declaration of 'cmdreg' [-Wimplicit-int] extern cmdreg; /* command line mode */ ^~~~~~ --- ex.o --- ex.c: In function 'expandtagged': ex.c:246:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, n; ^ --- mh.o --- deco.h:33:8: warning: type defaults to 'int' in declaration of 'cpos' [-Wimplicit-int] extern cpos; /* command line cursor */ ^~~~ deco.h:38:8: warning: type defaults to 'int' in declaration of 'visualwin' [-Wimplicit-int] extern visualwin; /* cursor in command line */ ^~~~~~~~~ --- ex.o --- ex.c:246:14: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register i, n; ^ --- mh.o --- deco.h:39:8: warning: type defaults to 'int' in declaration of 'showhidden' [-Wimplicit-int] extern showhidden; /* show hidden files ".*" */ ^~~~~~~~~~ deco.h:40:8: warning: type defaults to 'int' in declaration of 'uid' [-Wimplicit-int] extern uid; /* real user id */ ^~~ deco.h:41:8: warning: type defaults to 'int' in declaration of 'main_pid' [-Wimplicit-int] extern main_pid; /* our process id */ ^~~~~~~~ deco.h:42:8: warning: type defaults to 'int' in declaration of 'ppid' [-Wimplicit-int] extern ppid; /* parent id */ ^~~~ deco.h:43:8: warning: type defaults to 'int' in declaration of 'lang' [-Wimplicit-int] extern lang; /* language */ ^~~~ deco.h:45:8: warning: type defaults to 'int' in declaration of 'useredit' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:18: warning: type defaults to 'int' in declaration of 'userview' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ --- ex.o --- ex.c: In function 'freeudm': ex.c:326:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ ex.c: In function 'printudm': ex.c:338:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ ex.c: In function 'openmenu': ex.c:363:11: warning: type defaults to 'int' in declaration of 'fd' [-Wimplicit-int] register fd; ^~ --- mh.o --- In file included from mh.c:4: menu.h:26:8: warning: type defaults to 'int' in declaration of 'nmenu' [-Wimplicit-int] extern nmenu; /* current menu */ ^~~~~ --- ex.o --- ex.c: In function 'initudm': ex.c:389:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ ex.c: In function 'runudm': ex.c:459:11: warning: type defaults to 'int' in declaration of 'key' [-Wimplicit-int] register key, cm; ^~~ ex.c:459:16: warning: type defaults to 'int' in declaration of 'cm' [-Wimplicit-int] register key, cm; ^~ ex.c: In function 'readinitfile': ex.c:565:11: warning: type defaults to 'int' in declaration of 'fd' [-Wimplicit-int] register fd, n; ^~ ex.c:565:15: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register fd, n; ^ ex.c: In function 'writeinitfile': ex.c:764:11: warning: type defaults to 'int' in declaration of 'fd' [-Wimplicit-int] register fd; ^~ --- hexview.o --- In file included from hexview.c:4: deco.h:29:8: warning: type defaults to 'int' in declaration of 'widewin' [-Wimplicit-int] extern widewin; /* wide window mode */ ^~~~~~~ deco.h:30:8: warning: type defaults to 'int' in declaration of 'H' [-Wimplicit-int] extern H; /* file window height */ ^ deco.h:31:8: warning: type defaults to 'int' in declaration of 'cmdreg' [-Wimplicit-int] extern cmdreg; /* command line mode */ ^~~~~~ deco.h:33:8: warning: type defaults to 'int' in declaration of 'cpos' [-Wimplicit-int] extern cpos; /* command line cursor */ ^~~~ deco.h:38:8: warning: type defaults to 'int' in declaration of 'visualwin' [-Wimplicit-int] extern visualwin; /* cursor in command line */ ^~~~~~~~~ deco.h:39:8: warning: type defaults to 'int' in declaration of 'showhidden' [-Wimplicit-int] extern showhidden; /* show hidden files ".*" */ ^~~~~~~~~~ deco.h:40:8: warning: type defaults to 'int' in declaration of 'uid' [-Wimplicit-int] extern uid; /* real user id */ ^~~ deco.h:41:8: warning: type defaults to 'int' in declaration of 'main_pid' [-Wimplicit-int] extern main_pid; /* our process id */ ^~~~~~~~ deco.h:42:8: warning: type defaults to 'int' in declaration of 'ppid' [-Wimplicit-int] extern ppid; /* parent id */ ^~~~ deco.h:43:8: warning: type defaults to 'int' in declaration of 'lang' [-Wimplicit-int] extern lang; /* language */ ^~~~ deco.h:45:8: warning: type defaults to 'int' in declaration of 'useredit' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:18: warning: type defaults to 'int' in declaration of 'userview' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ --- draw.o --- In file included from draw.c:9: scr.h:26:8: warning: type defaults to 'int' in declaration of 'LINES' [-Wimplicit-int] extern LINES, COLS; ^~~~~ scr.h:26:15: warning: type defaults to 'int' in declaration of 'COLS' [-Wimplicit-int] extern LINES, COLS; ^~~~ --- hexview.o --- In file included from hexview.c:5: scr.h:26:8: warning: type defaults to 'int' in declaration of 'LINES' [-Wimplicit-int] extern LINES, COLS; ^~~~~ --- draw.o --- draw.c: In function 'drawbanners': --- hexview.o --- scr.h:26:15: warning: type defaults to 'int' in declaration of 'COLS' [-Wimplicit-int] extern LINES, COLS; ^~~~ --- draw.o --- draw.c:54:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ draw.c: In function 'draw1dir': draw.c:93:11: warning: type defaults to 'int' in declaration of 'len' [-Wimplicit-int] register len = c->num - c->topfile; ^~~ --- hexview.o --- hexview.c:10:8: warning: type defaults to 'int' in declaration of 'viewfd' [-Wimplicit-int] extern viewfd; ^~~~~~ hexview.c:11:8: warning: type defaults to 'int' in declaration of 'viewraw' [-Wimplicit-int] extern viewraw; /* raw mode */ ^~~~~~~ hexview.c:12:8: warning: type defaults to 'int' in declaration of 'viewhlen' [-Wimplicit-int] extern viewhlen; /* number of hex lines */ ^~~~~~~~ hexview.c:15:8: warning: type defaults to 'int' in declaration of 'viewsbsz' [-Wimplicit-int] extern viewsbsz; /* search string size */ ^~~~~~~~ hexview.c: In function 'hexview': hexview.c:28:11: warning: type defaults to 'int' in declaration of 'baseline' [-Wimplicit-int] register baseline; ^~~~~~~~ --- draw.o --- draw.c: In function 'drawcursor': draw.c:191:11: warning: type defaults to 'int' in declaration of 'col' [-Wimplicit-int] register col, line, w; ^~~ draw.c:191:16: warning: type defaults to 'int' in declaration of 'line' [-Wimplicit-int] register col, line, w; ^~~~ draw.c:191:22: warning: type defaults to 'int' in declaration of 'w' [-Wimplicit-int] register col, line, w; ^ --- key.o --- key.c:37:8: warning: type defaults to 'int' in declaration of 'keyback' [-Wimplicit-int] static keyback; ^~~~~~~ key.c:40:8: warning: type defaults to 'int' in declaration of 'cyrinput' [-Wimplicit-int] static cyrinput; ^~~~~~~~ key.c: In function 'compkeys': key.c:54:11: warning: type defaults to 'int' in declaration of 'cmp' [-Wimplicit-int] register cmp; ^~~ --- draw.o --- draw.c: In function 'drawcwd': draw.c:326:11: warning: type defaults to 'int' in declaration of 'len' [-Wimplicit-int] register len; ^~~ --- key.o --- key.c: In function 'nmgetch': key.c:126:11: warning: type defaults to 'int' in declaration of 'match' [-Wimplicit-int] register match, c; ^~~~~ key.c:126:18: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register match, c; ^ --- draw.o --- draw.c: In function 'drawpage': draw.c:412:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ --- env.o --- In file included from env.c:16: deco.h:29:8: warning: type defaults to 'int' in declaration of 'widewin' [-Wimplicit-int] extern widewin; /* wide window mode */ ^~~~~~~ deco.h:30:8: warning: type defaults to 'int' in declaration of 'H' [-Wimplicit-int] extern H; /* file window height */ ^ deco.h:31:8: warning: type defaults to 'int' in declaration of 'cmdreg' [-Wimplicit-int] extern cmdreg; /* command line mode */ ^~~~~~ deco.h:33:8: warning: type defaults to 'int' in declaration of 'cpos' [-Wimplicit-int] extern cpos; /* command line cursor */ ^~~~ deco.h:38:8: warning: type defaults to 'int' in declaration of 'visualwin' [-Wimplicit-int] extern visualwin; /* cursor in command line */ ^~~~~~~~~ deco.h:39:8: warning: type defaults to 'int' in declaration of 'showhidden' [-Wimplicit-int] extern showhidden; /* show hidden files ".*" */ ^~~~~~~~~~ deco.h:40:8: warning: type defaults to 'int' in declaration of 'uid' [-Wimplicit-int] extern uid; /* real user id */ ^~~ deco.h:41:8: warning: type defaults to 'int' in declaration of 'main_pid' [-Wimplicit-int] extern main_pid; /* our process id */ ^~~~~~~~ deco.h:42:8: warning: type defaults to 'int' in declaration of 'ppid' [-Wimplicit-int] extern ppid; /* parent id */ ^~~~ deco.h:43:8: warning: type defaults to 'int' in declaration of 'lang' [-Wimplicit-int] extern lang; /* language */ ^~~~ deco.h:45:8: warning: type defaults to 'int' in declaration of 'useredit' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:18: warning: type defaults to 'int' in declaration of 'userview' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~ deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ env.c: In function 'EnvInit': env.c:31:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ --- hexview.o --- hexview.c:119:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy (viewsrch, p); ^~~~~~ hexview.c:119:5: warning: incompatible implicit declaration of built-in function 'strcpy' hexview.c:119:5: note: include '' or provide a declaration of 'strcpy' hexview.c:7:1: +#include hexview.c:119:5: strcpy (viewsrch, p); ^~~~~~ hexview.c: In function 'viewhhead': hexview.c:144:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ hexview.c: In function 'viewhpage': hexview.c:177:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ hexview.c: In function 'prhline': hexview.c:193:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, c; ^ hexview.c:193:14: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register i, c; ^ hexview.c: In function 'hsearch': hexview.c:229:10: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] if (! memcmp (s, viewsbuf, n