------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/ncurses-6.1.20190525.txz SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> deco-misc-3.9_4 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- 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 ===> deco-misc-3.9_4 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by deco-misc-3.9_4 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- 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 ===> deco-misc-3.9_4 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by deco-misc-3.9_4 for building => SHA256 Checksum OK for deco39.tgz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- 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 ===> deco-misc-3.9_4 depends on file: /usr/local/sbin/pkg - found ===> 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. Extracted Memory Use: 0.54M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for deco-misc-3.9_4 ===> Applying ports patches for deco-misc-3.9_4 ===> Cleanly applied ports patch(es) patch-Makefile.in patch-cmd.c patch-configure patch-dir.c patch-ex.c patch-help.c patch-rec.h patch-run.c patch-scr.c patch-view.c ===> Applying dragonfly patches for deco-misc-3.9_4 ===> Cleanly applied dragonfly patch(es) patch-tty.c SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> deco-misc-3.9_4 depends on file: /usr/local/lib/libncurses.so.6 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> deco-misc-3.9_4 depends on file: /usr/local/lib/libncurses.so.6 - found ===> 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 SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- 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 --- --- 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 --- 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 */ ^~~~~~~~~ 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 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; ^~~~ 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] --- 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; ^~~~ --- edit.o --- extern viewraw; /* raw mode */ ^~~~~~~ edit.c:10:8: warning: type defaults to 'int' in declaration of 'viewtabs' [-Wimplicit-int] extern viewtabs; /* visible spaces mode */ ^~~~~~~~ edit.c:11:8: warning: type defaults to 'int' in declaration of 'viewfd' [-Wimplicit-int] extern viewfd; /* file descriptor */ ^~~~~~ edit.c: In function 'edithead': edit.c:36:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ 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; ^~~~~~~ edit.c:296:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy (viewsrch, p); ^~~~~~ edit.c:296:5: warning: incompatible implicit declaration of built-in function 'strcpy' edit.c:296:5: note: include '' or provide a declaration of 'strcpy' edit.c:5:1: +#include edit.c:296:5: strcpy (viewsrch, p); ^~~~~~ 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' edit.c: In function 'joinlines': 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' edit.c:455:2: note: include '' or provide a declaration of 'memcpy' edit.c: In function 'breakline': 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' 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' --- 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 */ ^~~~~~~ --- 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 */ ^~~~~~~~~ --- dir.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 */ ^~~~ 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 --- 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; ^~~~~~~~ --- dir.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 */ ^~~~ 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.c: In function 'compfile': --- 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] --- cmd.o --- 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 cmd.c:14: 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; ^~~~ --- dir.o --- 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; ^~~~~ --- 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] --- cap.o --- 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; --- 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 */ ^~~~~~~ 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] --- ex.o --- 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; --- cap.o --- ^~~~~~~~ deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ 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; ^~~~ cap.c: In function 'CapGet': 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': --- com.o --- 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; --- ex.o --- ^~~~~~~~ deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ 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; ^~~~ 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] --- cap.o --- 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; ^~~~~ 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; ^~ --- com.o --- ^~~~~~~~ deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ 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; ^~~~ 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' --- 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 */ ^~~~~~ 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] --- ex.o --- static nm, menuwid, menucol, menurow; ^~~~~~~ ex.c:86:8: warning: type defaults to 'int' in declaration of 'nex' [-Wimplicit-int] static nex = -1; ^~~ 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; ^ ex.c: In function 'expandtagged': ex.c:246:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, n; ^ ex.c:246:14: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register i, n; ^ 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; ^ --- cap.o --- 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; } ^~~~~~ --- com.o --- 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] --- draw.o --- 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; --- ex.o --- ex.c: In function 'openmenu': ex.c:363:11: warning: type defaults to 'int' in declaration of 'fd' [-Wimplicit-int] register fd; ^~ 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; ^~ --- 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 */ ^~~~~~~ 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] --- cap.o --- 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' --- 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] --- com.o --- 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': 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' com.c: In function 'histcmd': 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)) { ^~~~~~ com.c:217:13: warning: type defaults to 'int' in declaration of 'k' [-Wimplicit-int] register k; ^ --- draw.o --- ^~~~~~~~ deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ 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; ^~~~ draw.c: In function 'drawbanners': 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; ^~~ draw.c: In function 'drawcursor': draw.c:191:11: warning: type defaults to 'int' in declaration of 'col' [-Wimplicit-int] register col, line, w; ^~~ --- help.o --- 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; --- cap.o --- #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' --- choice.o --- 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; --- com.o --- com.c: In function 'jobcmd': com.c:244:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ 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' com.c: In function 'execmd': 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' com.c: In function 'inputcmd': com.c:321:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ com.c: In function 'erasecmd': com.c:403:32: warning: incompatible implicit declaration of built-in function 'strlen' write (1, prompt, (unsigned) strlen (prompt)); --- draw.o --- 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; ^ draw.c: In function 'drawcwd': draw.c:326:11: warning: type defaults to 'int' in declaration of 'len' [-Wimplicit-int] register len; ^~~ draw.c: In function 'drawpage': draw.c:412:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ --- help.o --- ^~~~~~~~ deco.h:45:28: warning: type defaults to 'int' in declaration of 'usecshell' [-Wimplicit-int] extern useredit, userview, usecshell; ^~~~~~~~~ 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; ^~~~~ scr.h:26:15: warning: type defaults to 'int' in declaration of 'COLS' [-Wimplicit-int] extern LINES, COLS; ^~~~ 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] --- cap.o --- 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"); ^~~~~~~~ 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; } --- choice.o --- ^~~~~~~~ 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; ^ --- com.o --- ^~~~~~ com.c:403:32: note: include '' or provide a declaration of 'strlen' com.c: In function 'mycmd2': 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' 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' com.c: In function 'jobmenu': com.c:517:11: warning: type defaults to 'int' in declaration of 'ch' [-Wimplicit-int] register ch, nh; ^~ com.c:517:15: warning: type defaults to 'int' in declaration of 'nh' [-Wimplicit-int] register ch, nh; ^~ com.c:557:36: warning: incompatible implicit declaration of built-in function 'strlen' --- help.o --- 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; ^ 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: --- cap.o --- ^~~~~~ cap.c:415:4: note: in expansion of macro 'TPARMERR' TPARMERR ("bad % sequence"); ^~~~~~~~ --- choice.o --- 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; ^ --- com.o --- VMove (histrow+ch, histcol+1+6 - strlen (buf)); ^~~~~~ com.c:557:36: note: include '' or provide a declaration of 'strlen' 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; ^~ 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); ^~~~~~ --- help.o --- +#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)) ^ help.c: In function 'findhelpfile': 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' 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' help.c: In function 'inithelp': help.c:381:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n, fd; ^ --- choice.o --- 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 --- cmd.c: In function 'view': cmd.c:259:11: warning: type defaults to 'int' in declaration of 'd' [-Wimplicit-int] register d; ^ cmd.c: In function 'viewinfo': cmd.c:285:11: warning: type defaults to 'int' in declaration of 'd' [-Wimplicit-int] register d; ^ cmd.c: In function 'editfnam': cmd.c:310:11: warning: type defaults to 'int' in declaration of 'd' [-Wimplicit-int] register d; ^ cmd.c: In function 'tagged': 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; ^ cmd.c: In function 'copy': cmd.c:477:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ cmd.c: In function 'makelink': cmd.c:568:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ cmd.c: In function 'makeslink': --- com.o --- 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; ^ com.c: In function 'wresccmd': com.c:787:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ --- 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] --- help.o --- help.c:381:14: warning: type defaults to 'int' in declaration of 'fd' [-Wimplicit-int] register n, fd; ^~ --- cmd.o --- cmd.c:642:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ cmd.c: In function 'renmove': cmd.c:716:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ cmd.c: In function 'delete': cmd.c:845:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ cmd.c: In function 'cmpfil': cmd.c:1001:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ cmd.c: In function 'syscmd': cmd.c:1036:11: warning: type defaults to 'int' in declaration of 'status' [-Wimplicit-int] register status, sig; ^~~~~~ cmd.c:1036:19: warning: type defaults to 'int' in declaration of 'sig' [-Wimplicit-int] register status, sig; ^~~ --- env.o --- 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 --- 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 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; ^~~~~~~~~ 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; ^~~~~ scr.h:26:15: warning: type defaults to 'int' in declaration of 'COLS' [-Wimplicit-int] extern LINES, COLS; ^~~~ 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; ^~~~~~~~ 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