=> Building shells/v7sh Started : Thursday, 30 AUG 2018 at 20:45:26 UTC Platform: 5.3-DEVELOPMENT DragonFly 5.3-DEVELOPMENT #141: Thu Aug 30 12:52:40 PDT 2018 root@test.backplane.com:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.3-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.3-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 -------------------------------------------------- ===> The following configuration options are available for v7sh-1.0_1: RENO=on: 4.3BSD-Reno enhancements SYSIII=on: System III enhancements ULTRIX=on: Ultrix 3.1 enhancements ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/shells/v7sh XDG_CONFIG_HOME=/construction/shells/v7sh HOME=/construction/shells/v7sh TMPDIR="/tmp" PATH=/construction/shells/v7sh/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/shells/v7sh XDG_CONFIG_HOME=/construction/shells/v7sh HOME=/construction/shells/v7sh TMPDIR="/tmp" PATH=/construction/shells/v7sh/.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 -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -DRENO -DSYSIII -DULTRIX -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/shells/v7sh/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/v7sh" EXAMPLESDIR="share/examples/v7sh" DATADIR="share/v7sh" WWWDIR="www/v7sh" ETCDIR="etc/v7sh" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/v7sh DOCSDIR=/usr/local/share/doc/v7sh EXAMPLESDIR=/usr/local/share/examples/v7sh WWWDIR=/usr/local/www/v7sh ETCDIR=/usr/local/etc/v7sh -------------------------------------------------- -- /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=12 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500316 OSVERSION=9999999 OSREL=5.3 _OSRELEASE=5.3-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The v7sh 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 -------------------------------------------------------------------------------- ===> v7sh-1.0_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> v7sh-1.0_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of v7sh-1.0_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The v7sh 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 v7sh-1.0_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The v7sh 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 v7sh-1.0_1 for building => SHA256 Checksum OK for v7sh/args.c. => SHA256 Checksum OK for v7sh/blok.c. => SHA256 Checksum OK for v7sh/brkincr.h. => SHA256 Checksum OK for v7sh/builtin.c. => SHA256 Checksum OK for v7sh/cmd.c. => SHA256 Checksum OK for v7sh/ctype.c. => SHA256 Checksum OK for v7sh/ctype.h. => SHA256 Checksum OK for v7sh/defs.h. => SHA256 Checksum OK for v7sh/error.c. => SHA256 Checksum OK for v7sh/expand.c. => SHA256 Checksum OK for v7sh/fault.c. => SHA256 Checksum OK for v7sh/io.c. => SHA256 Checksum OK for v7sh/mac.h. => SHA256 Checksum OK for v7sh/macro.c. => SHA256 Checksum OK for v7sh/main.c. => SHA256 Checksum OK for v7sh/mode.h. => SHA256 Checksum OK for v7sh/msg.c. => SHA256 Checksum OK for v7sh/name.c. => SHA256 Checksum OK for v7sh/name.h. => SHA256 Checksum OK for v7sh/print.c. => SHA256 Checksum OK for v7sh/service.c. => SHA256 Checksum OK for v7sh/setbrk.c. => SHA256 Checksum OK for v7sh/stak.c. => SHA256 Checksum OK for v7sh/stak.h. => SHA256 Checksum OK for v7sh/string.c. => SHA256 Checksum OK for v7sh/sym.h. => SHA256 Checksum OK for v7sh/timeout.h. => SHA256 Checksum OK for v7sh/word.c. => SHA256 Checksum OK for v7sh/xec.c. => SHA256 Checksum OK for v7sh/sh.1. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The v7sh 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 v7sh-1.0_1 for building ===> Extracting for v7sh-1.0_1 => SHA256 Checksum OK for v7sh/args.c. => SHA256 Checksum OK for v7sh/blok.c. => SHA256 Checksum OK for v7sh/brkincr.h. => SHA256 Checksum OK for v7sh/builtin.c. => SHA256 Checksum OK for v7sh/cmd.c. => SHA256 Checksum OK for v7sh/ctype.c. => SHA256 Checksum OK for v7sh/ctype.h. => SHA256 Checksum OK for v7sh/defs.h. => SHA256 Checksum OK for v7sh/error.c. => SHA256 Checksum OK for v7sh/expand.c. => SHA256 Checksum OK for v7sh/fault.c. => SHA256 Checksum OK for v7sh/io.c. => SHA256 Checksum OK for v7sh/mac.h. => SHA256 Checksum OK for v7sh/macro.c. => SHA256 Checksum OK for v7sh/main.c. => SHA256 Checksum OK for v7sh/mode.h. => SHA256 Checksum OK for v7sh/msg.c. => SHA256 Checksum OK for v7sh/name.c. => SHA256 Checksum OK for v7sh/name.h. => SHA256 Checksum OK for v7sh/print.c. => SHA256 Checksum OK for v7sh/service.c. => SHA256 Checksum OK for v7sh/setbrk.c. => SHA256 Checksum OK for v7sh/stak.c. => SHA256 Checksum OK for v7sh/stak.h. => SHA256 Checksum OK for v7sh/string.c. => SHA256 Checksum OK for v7sh/sym.h. => SHA256 Checksum OK for v7sh/timeout.h. => SHA256 Checksum OK for v7sh/word.c. => SHA256 Checksum OK for v7sh/xec.c. => SHA256 Checksum OK for v7sh/sh.1. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for v7sh-1.0_1 ===> Applying ports patches for v7sh-1.0_1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for v7sh-1.0_1 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for v7sh-1.0_1 --- objwarn --- --- args.o --- --- blok.o --- --- builtin.o --- --- cmd.o --- --- ctype.o --- --- error.o --- --- expand.o --- --- fault.o --- --- io.o --- --- macro.o --- --- main.o --- --- objwarn --- Warning: Object directory not changed from original /construction/shells/v7sh/v7sh-1.0_1 --- args.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c args.c --- blok.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c blok.c --- builtin.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c builtin.c --- cmd.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c cmd.c --- ctype.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c ctype.c --- error.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c error.c --- expand.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c expand.c --- fault.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c fault.c --- io.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c io.c --- msg.o --- --- main.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c main.c --- msg.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c msg.c --- macro.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c macro.c --- blok.o --- blok.c: In function 'alloc': blok.c:27:9: warning: old-style function definition [-Wold-style-definition] ADDRESS alloc(nbytes) ^~~~~ In file included from blok.c:10: defs.h:256:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define round(a,b) (((int)((ADR(a)+b)-1))&~((b)-1)) ^ blok.c:30:20: note: in expansion of macro 'round' REG POS rbytes = round(nbytes+BYTESPERWORD,BYTESPERWORD); ^~~~~ In file included from defs.h:110, from blok.c:10: mode.h:79:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define Rcheat(a) ((int)(a)) ^ blok.c:19:18: note: in expansion of macro 'Rcheat' #define busy(x) (Rcheat((x)->word)&BUSY) ^~~~~~ blok.c:35:11: note: in expansion of macro 'busy' REP IF !busy(p) ^~~~ mode.h:79:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define Rcheat(a) ((int)(a)) ^ blok.c:19:18: note: in expansion of macro 'Rcheat' #define busy(x) (Rcheat((x)->word)&BUSY) ^~~~~~ blok.c:36:16: note: in expansion of macro 'busy' THEN WHILE !busy(q = p->word) DO p->word = q->word OD ^~~~ In file included from blok.c:10: mode.h:79:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define Rcheat(a) ((int)(a)) ^ defs.h:279:27: note: in definition of macro 'BLK' #define BLK(x) ((BLKPTR)(x)) ^ blok.c:42:18: note: in expansion of macro 'Rcheat' p->word=BLK(Rcheat(blokp)|BUSY); ^~~~~~ defs.h:279:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define BLK(x) ((BLKPTR)(x)) ^ blok.c:42:14: note: in expansion of macro 'BLK' p->word=BLK(Rcheat(blokp)|BUSY); ^~~ mode.h:79:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define Rcheat(a) ((int)(a)) ^ defs.h:279:27: note: in definition of macro 'BLK' #define BLK(x) ((BLKPTR)(x)) ^ blok.c:46:19: note: in expansion of macro 'Rcheat' q = p; p = BLK(Rcheat(p->word)&~BUSY); ^~~~~~ defs.h:279:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define BLK(x) ((BLKPTR)(x)) ^ blok.c:46:15: note: in expansion of macro 'BLK' q = p; p = BLK(Rcheat(p->word)&~BUSY); ^~~ blok.c: In function 'addblok': blok.c:52:6: warning: old-style function definition [-Wold-style-definition] VOID addblok(reqd) ^~~~~~~ In file included from blok.c:10: defs.h:256:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define round(a,b) (((int)((ADR(a)+b)-1))&~((b)-1)) ^ blok.c:60:20: note: in expansion of macro 'round' rndstak=(STKPTR) round(staktop,BYTESPERWORD); ^~~~~ mode.h:79:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define Rcheat(a) ((int)(a)) ^ defs.h:279:27: note: in definition of macro 'BLK' #define BLK(x) ((BLKPTR)(x)) ^ blok.c:63:21: note: in expansion of macro 'Rcheat' bloktop->word=BLK(Rcheat(rndstak)|BUSY); ^~~~~~ defs.h:279:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define BLK(x) ((BLKPTR)(x)) ^ blok.c:63:17: note: in expansion of macro 'BLK' bloktop->word=BLK(Rcheat(rndstak)|BUSY); ^~~ mode.h:79:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define Rcheat(a) ((int)(a)) ^ defs.h:279:27: note: in definition of macro 'BLK' #define BLK(x) ((BLKPTR)(x)) ^ blok.c:68:28: note: in expansion of macro 'Rcheat' bloktop=bloktop->word=BLK(Rcheat(bloktop)+reqd); ^~~~~~ blok.c: In function 'free_': defs.h:124:14: warning: old-style function definition [-Wold-style-definition] #define free free_ ^~~~~ blok.c:77:6: note: in expansion of macro 'free' VOID free(ap) ^~~~ --- fault.o --- fault.c: In function 'fault': fault.c:65:6: warning: old-style function definition [-Wold-style-definition] VOID fault(sig) ^~~~~ fault.c: In function 'stdsigs': fault.c:98:6: warning: old-style function definition [-Wold-style-definition] VOID stdsigs() ^~~~~~~ fault.c: In function 'ignsig': fault.c:110:8: warning: old-style function definition [-Wold-style-definition] SIGPTR ignsig(n) ^~~~~~ fault.c: In function 'getsig': fault.c:130:6: warning: old-style function definition [-Wold-style-definition] VOID getsig(n) ^~~~~~ fault.c: In function 'oldsigs': fault.c:140:6: warning: old-style function definition [-Wold-style-definition] VOID oldsigs() ^~~~~~~ fault.c: In function 'clrsig': fault.c:156:6: warning: old-style function definition [-Wold-style-definition] VOID clrsig(i) ^~~~~~ fault.c: In function 'chktrap': fault.c:173:6: warning: old-style function definition [-Wold-style-definition] VOID chktrap() ^~~~~~~ --- builtin.o --- builtin.c: In function 'builtin': builtin.c:4:6: warning: old-style function definition [-Wold-style-definition] VOID builtin(xbuiltin, argn, com) ^~~~~~~ builtin.c: In function 'bfailed': builtin.c:22:6: warning: old-style function definition [-Wold-style-definition] VOID bfailed(s1, s2, s3) ^~~~~~~ --- cmd.o --- cmd.c: In function 'makefork': cmd.c:31:8: warning: old-style function definition [-Wold-style-definition] TREPTR makefork(flgs, i) ^~~~~~~~ cmd.c: In function 'makelist': cmd.c:44:14: warning: old-style function definition [-Wold-style-definition] LOCAL TREPTR makelist(type,i,r) ^~~~~~~~ cmd.c: In function 'cmd': cmd.c:68:8: warning: old-style function definition [-Wold-style-definition] TREPTR cmd(sym,flg) ^~~ cmd.c: In function 'list': cmd.c:125:14: warning: old-style function definition [-Wold-style-definition] LOCAL TREPTR list(flg) ^~~~ cmd.c: In function 'term': cmd.c:144:14: warning: old-style function definition [-Wold-style-definition] LOCAL TREPTR term(flg) ^~~~ cmd.c: In function 'syncase': cmd.c:161:14: warning: old-style function definition [-Wold-style-definition] LOCAL REGPTR syncase(esym) ^~~~~~~ --- io.o --- io.c: In function 'initf': io.c:21:6: warning: old-style function definition [-Wold-style-definition] VOID initf(fd) ^~~~~ --- cmd.o --- cmd.c: In function 'item': cmd.c:200:14: warning: old-style function definition [-Wold-style-definition] LOCAL TREPTR item(flag) ^~~~ --- io.o --- io.c: In function 'estabf': io.c:35:5: warning: old-style function definition [-Wold-style-definition] INT estabf(s) ^~~~~~ io.c: In function 'push': io.c:46:6: warning: old-style function definition [-Wold-style-definition] VOID push(af) ^~~~ io.c: In function 'pop': io.c:56:5: warning: old-style function definition [-Wold-style-definition] INT pop() ^~~ io.c: In function 'chkpipe': io.c:68:6: warning: old-style function definition [-Wold-style-definition] VOID chkpipe(pv) ^~~~~~~ io.c: In function 'chkopen': io.c:77:5: warning: old-style function definition [-Wold-style-definition] INT chkopen(idf) ^~~~~~~ In file included from io.c:10: io.c: In function 'rename_': --- macro.o --- macro.c: In function 'copyto': macro.c:24:12: warning: old-style function definition [-Wold-style-definition] LOCAL VOID copyto(endch) ^~~~~~ --- io.o --- defs.h:165:16: warning: old-style function definition [-Wold-style-definition] #define rename rename_ ^~~~~~~ io.c:89:6: note: in expansion of macro 'rename' VOID rename(f1,f2) ^~~~~~ io.c: In function 'create': io.c:99:5: warning: old-style function definition [-Wold-style-definition] INT create(s) ^~~~~~ io.c: In function 'tmpfil': io.c:111:5: warning: old-style function definition [-Wold-style-definition] INT tmpfil() ^~~~~~ io.c: In function 'copy': io.c:118:6: warning: old-style function definition [-Wold-style-definition] VOID copy(ioparg) ^~~~ --- macro.o --- macro.c: In function 'skipto': macro.c:38:12: warning: old-style function definition [-Wold-style-definition] LOCAL VOID skipto(endch) ^~~~~~ --- cmd.o --- cmd.c: In function 'skipnl': cmd.c:322:11: warning: old-style function definition [-Wold-style-definition] LOCAL INT skipnl() ^~~~~~ --- macro.o --- macro.c: In function 'getch': macro.c:62:11: warning: old-style function definition [-Wold-style-definition] LOCAL INT getch(endch) ^~~~~ --- cmd.o --- cmd.c: In function 'inout': cmd.c:328:13: warning: old-style function definition [-Wold-style-definition] LOCAL IOPTR inout(lastio) ^~~~~ cmd.c: In function 'chkword': cmd.c:378:12: warning: old-style function definition [-Wold-style-definition] LOCAL VOID chkword() ^~~~~~~ --- macro.o --- In file included from defs.h:110, from macro.c:10: mode.h:79:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define Rcheat(a) ((int)(a)) ^ stak.h:18:30: note: in expansion of macro 'Rcheat' #define absstak(x) (stakbot+Rcheat(x)) ^~~~~~ macro.c:90:14: note: in expansion of macro 'absstak' n=lookup(absstak(argp)); setstak(argp); ^~~~~~~ --- cmd.o --- cmd.c: In function 'chksym': cmd.c:385:12: warning: old-style function definition [-Wold-style-definition] LOCAL VOID chksym(sym) ^~~~~~ --- macro.o --- mode.h:79:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define Rcheat(a) ((int)(a)) ^ stak.h:18:30: note: in expansion of macro 'Rcheat' #define absstak(x) (stakbot+Rcheat(x)) ^~~~~~ stak.h:19:30: note: in expansion of macro 'absstak' #define setstak(x) (staktop=absstak(x)) ^~~~~~~ macro.c:90:30: note: in expansion of macro 'setstak' n=lookup(absstak(argp)); setstak(argp); ^~~~~~~ --- cmd.o --- cmd.c: In function 'prsym': --- macro.o --- macro.c:91:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] v = n->namval; id = n->namid; ^ --- cmd.o --- cmd.c:394:12: warning: old-style function definition [-Wold-style-definition] LOCAL VOID prsym(sym) ^~~~~ --- macro.o --- macro.c:99:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] v=((c==0) ? cmdadr : (c<=dolc) ? dolv[c] : (STRING) (dolg=0)); ^ --- cmd.o --- cmd.c: In function 'synbad': cmd.c:413:12: warning: old-style function definition [-Wold-style-definition] LOCAL VOID synbad() ^~~~~~ --- macro.o --- In file included from defs.h:110, from macro.c:10: mode.h:79:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define Rcheat(a) ((int)(a)) ^ stak.h:18:30: note: in expansion of macro 'Rcheat' #define absstak(x) (stakbot+Rcheat(x)) ^~~~~~ macro.c:138:11: note: in expansion of macro 'absstak' argp=absstak(argp); ^~~~~~~ macro.c: In function 'macro': macro.c:188:8: warning: old-style function definition [-Wold-style-definition] STRING macro(as) ^~~~~ macro.c: In function 'comsubst': macro.c:209:12: warning: old-style function definition [-Wold-style-definition] LOCAL VOID comsubst() ^~~~~~~~ macro.c: In function 'subst': macro.c:258:6: warning: old-style function definition [-Wold-style-definition] VOID subst(in,ot) ^~~~~ macro.c: In function 'flush_': macro.c:17:15: warning: old-style function definition [-Wold-style-definition] #define flush flush_ ^~~~~~ macro.c:277:12: note: in expansion of macro 'flush' LOCAL VOID flush(ot) ^~~~~ --- name.o --- --- error.o --- error.c: In function 'exitset': error.c:17:6: warning: old-style function definition [-Wold-style-definition] VOID exitset() ^~~~~~~ error.c: In function 'sigchk': error.c:22:6: warning: old-style function definition [-Wold-style-definition] VOID sigchk() ^~~~~~ error.c: In function 'failed': error.c:34:6: warning: old-style function definition [-Wold-style-definition] VOID failed(s1,s2) ^~~~~~ error.c: In function 'error': error.c:45:6: warning: old-style function definition [-Wold-style-definition] VOID error(s) ^~~~~ error.c: In function 'exitsh': error.c:52:6: warning: old-style function definition [-Wold-style-definition] VOID exitsh(xno) ^~~~~~ error.c: In function 'done': error.c:74:6: warning: old-style function definition [-Wold-style-definition] VOID done() ^~~~ error.c: In function 'rmtemp': error.c:87:6: warning: old-style function definition [-Wold-style-definition] VOID rmtemp(base) ^~~~~~ --- name.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c name.c --- print.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c print.c --- args.o --- args.c: In function 'options': args.c:27:5: warning: old-style function definition [-Wold-style-definition] INT options(argc,argv) ^~~~~~~ args.c: In function 'setargs': args.c:113:6: warning: old-style function definition [-Wold-style-definition] VOID setargs(argi) ^~~~~~~ In file included from defs.h:110, from args.c:10: mode.h:79:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define Rcheat(a) ((int)(a)) ^ args.c:121:8: note: in expansion of macro 'Rcheat' WHILE Rcheat(*argp++)!=ENDARGS DO argn++ OD ^~~~~~ args.c: In function 'freeargs': args.c:129:8: warning: old-style function definition [-Wold-style-definition] DOLPTR freeargs(blk) ^~~~~~~~ In file included from defs.h:110, from args.c:10: mode.h:79:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define Rcheat(a) ((int)(a)) ^ args.c:139:44: note: in expansion of macro 'Rcheat' THEN FOR argp=(STRING *) argblk->dolarg; Rcheat(*argp)!=ENDARGS; argp++ ^~~~~~ args.c: In function 'copyargs': args.c:147:14: warning: old-style function definition [-Wold-style-definition] LOCAL DOLPTR copyargs(from, n) ^~~~~~~~ args.c: In function 'clearup': args.c:165:6: warning: old-style function definition [-Wold-style-definition] VOID clearup() ^~~~~~~ args.c: In function 'useargs': args.c:174:8: warning: old-style function definition [-Wold-style-definition] DOLPTR useargs() ^~~~~~~ --- service.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c service.c --- expand.o --- expand.c: In function 'expand': expand.c:31:5: warning: old-style function definition [-Wold-style-definition] INT expand(as,rflg) ^~~~~~ expand.c: In function 'gmatch': expand.c:173:5: warning: old-style function definition [-Wold-style-definition] INT gmatch(s, p) ^~~~~~ expand.c: In function 'addg': expand.c:243:12: warning: old-style function definition [-Wold-style-definition] LOCAL VOID addg(as1,as2,as3) ^~~~ expand.c: In function 'makearg': expand.c:268:6: warning: old-style function definition [-Wold-style-definition] VOID makearg(args) ^~~~~~~ expand.c: In function 'chgquot': expand.c:276:12: warning: old-style function definition [-Wold-style-definition] LOCAL VOID chgquot(str, flg) ^~~~~~~ expand.c:288:3: warning: case label value exceeds maximum value for type case '*'|QUOTE: ^~~~ expand.c:289:3: warning: case label value exceeds maximum value for type case '?'|QUOTE: ^~~~ expand.c:290:3: warning: case label value exceeds maximum value for type case '['|QUOTE: ^~~~ --- name.o --- name.c: In function 'syslook': name.c:31:5: warning: old-style function definition [-Wold-style-definition] INT syslook(w,syswds) ^~~~~~~ name.c: In function 'setlist': name.c:51:6: warning: old-style function definition [-Wold-style-definition] VOID setlist(arg,xp) ^~~~~~~ name.c: In function 'setname': name.c:67:5: warning: old-style function definition [-Wold-style-definition] INT setname(argi, xp) ^~~~~~~ name.c: In function 'replace': name.c:144:6: warning: old-style function definition [-Wold-style-definition] VOID replace(a, v) ^~~~~~~ name.c: In function 'dfault': name.c:151:6: warning: old-style function definition [-Wold-style-definition] VOID dfault(n,v) ^~~~~~ name.c: In function 'assign': name.c:160:6: warning: old-style function definition [-Wold-style-definition] VOID assign(n,v) ^~~~~~ --- setbrk.o --- --- name.o --- name.c: In function 'readvar': name.c:171:5: warning: old-style function definition [-Wold-style-definition] INT readvar(names) ^~~~~~~ In file included from defs.h:110, from name.c:10: mode.h:79:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define Rcheat(a) ((int)(a)) ^ stak.h:18:30: note: in expansion of macro 'Rcheat' #define absstak(x) (stakbot+Rcheat(x)) ^~~~~~ name.c:195:13: note: in expansion of macro 'absstak' assign(n,absstak(rel)); setstak(rel); ^~~~~~~ mode.h:79:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define Rcheat(a) ((int)(a)) ^ stak.h:18:30: note: in expansion of macro 'Rcheat' #define absstak(x) (stakbot+Rcheat(x)) ^~~~~~ stak.h:19:30: note: in expansion of macro 'absstak' #define setstak(x) (staktop=absstak(x)) ^~~~~~~ name.c:195:28: note: in expansion of macro 'setstak' assign(n,absstak(rel)); setstak(rel); ^~~~~~~ name.c: In function 'assnum': name.c:225:6: warning: old-style function definition [-Wold-style-definition] VOID assnum(p, i) ^~~~~~ name.c: In function 'make': name.c:232:8: warning: old-style function definition [-Wold-style-definition] STRING make(v) ^~~~ name.c: In function 'lookup': name.c:245:8: warning: old-style function definition [-Wold-style-definition] NAMPTR lookup(nam) ^~~~~~ name.c: In function 'chkid': name.c:274:12: warning: old-style function definition [-Wold-style-definition] LOCAL BOOL chkid(nam) ^~~~~ name.c: In function 'namscan': name.c:292:6: warning: old-style function definition [-Wold-style-definition] VOID namscan(fn) ^~~~~~~ name.c: In function 'namwalk': name.c:299:12: warning: old-style function definition [-Wold-style-definition] LOCAL VOID namwalk(np) ^~~~~~~ name.c: In function 'printnam': name.c:309:6: warning: old-style function definition [-Wold-style-definition] VOID printnam(n) ^~~~~~~~ name.c: In function 'staknam': name.c:322:14: warning: old-style function definition [-Wold-style-definition] LOCAL STRING staknam(n) ^~~~~~~ name.c: In function 'exname': name.c:333:6: warning: old-style function definition [-Wold-style-definition] VOID exname(n) ^~~~~~ name.c: In function 'printflg': name.c:344:6: warning: old-style function definition [-Wold-style-definition] VOID printflg(n) ^~~~~~~~ In file included from name.c:10: name.c: In function 'getenv_': defs.h:195:16: warning: old-style function definition [-Wold-style-definition] #define getenv getenv_ ^~~~~~~ name.c:359:5: note: in expansion of macro 'getenv' INT getenv() ^~~~~~ name.c: In function 'countnam': name.c:379:12: warning: old-style function definition [-Wold-style-definition] LOCAL VOID countnam(n) ^~~~~~~~ name.c: In function 'pushnam': name.c:388:12: warning: old-style function definition [-Wold-style-definition] LOCAL VOID pushnam(n) ^~~~~~~ In file included from name.c:10: name.c: In function 'setenv_': defs.h:201:16: warning: old-style function definition [-Wold-style-definition] #define setenv setenv_ ^~~~~~~ name.c:396:9: note: in expansion of macro 'setenv' STRING *setenv() ^~~~~~ --- setbrk.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c setbrk.c --- print.o --- print.c: In function 'newline': print.c:17:6: warning: old-style function definition [-Wold-style-definition] VOID newline() ^~~~~~~ print.c: In function 'blank': print.c:21:6: warning: old-style function definition [-Wold-style-definition] VOID blank() ^~~~~ print.c: In function 'prp': print.c:25:6: warning: old-style function definition [-Wold-style-definition] VOID prp() ^~~ print.c: In function 'prs': print.c:32:6: warning: old-style function definition [-Wold-style-definition] VOID prs(as) ^~~ print.c: In function 'prc': print.c:42:6: warning: old-style function definition [-Wold-style-definition] VOID prc(c) ^~~ print.c: In function 'prt': print.c:50:6: warning: old-style function definition [-Wold-style-definition] VOID prt(t) ^~~ print.c: In function 'prn': print.c:65:6: warning: old-style function definition [-Wold-style-definition] VOID prn(n) ^~~ print.c: In function 'itos': print.c:71:6: warning: old-style function definition [-Wold-style-definition] VOID itos(n) ^~~~ print.c: In function 'stoi': print.c:85:5: warning: old-style function definition [-Wold-style-definition] INT stoi(icp) ^~~~ print.c: In function 'prl': print.c:101:6: warning: old-style function definition [-Wold-style-definition] VOID prl(n) /* for ULIMIT */ ^~~ print.c: In function 'ltos': print.c:107:6: warning: old-style function definition [-Wold-style-definition] VOID ltos(n) ^~~~ --- stak.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c stak.c --- service.o --- service.c: In function 'initio': service.c:26:6: warning: old-style function definition [-Wold-style-definition] VOID initio(iop) ^~~~~~ service.c: In function 'getpath': service.c:71:9: warning: old-style function definition [-Wold-style-definition] CSTRING getpath(s) ^~~~~~~ service.c: In function 'pathopen': service.c:92:5: warning: old-style function definition [-Wold-style-definition] INT pathopen(path, name) ^~~~~~~~ service.c: In function 'catpath': service.c:102:9: warning: old-style function definition [-Wold-style-definition] CSTRING catpath(path,name) ^~~~~~~ service.c: In function 'execa': service.c:121:6: warning: old-style function definition [-Wold-style-definition] VOID execa(at) ^~~~~ service.c: In function 'execs': service.c:138:15: warning: old-style function definition [-Wold-style-definition] LOCAL CSTRING execs(ap,t) ^~~~~ service.c: In function 'postclr': service.c:220:6: warning: old-style function definition [-Wold-style-definition] VOID postclr() ^~~~~~~ service.c: In function 'post': service.c:229:6: warning: old-style function definition [-Wold-style-definition] VOID post(pcsid) ^~~~ service.c: In function 'await': service.c:245:6: warning: old-style function definition [-Wold-style-definition] VOID await(i, bckg) ^~~~~ service.c: In function 'trim': service.c:347:6: warning: old-style function definition [-Wold-style-definition] VOID trim(at) ^~~~ service.c: In function 'mactrim': service.c:361:8: warning: old-style function definition [-Wold-style-definition] STRING mactrim(s) ^~~~~~~ service.c: In function 'scan': service.c:369:9: warning: old-style function definition [-Wold-style-definition] STRING *scan(argn) ^~~~ --- string.o --- --- service.o --- In file included from defs.h:110, from service.c:10: mode.h:79:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define Rcheat(a) ((int)(a)) ^ service.c:372:30: note: in expansion of macro 'Rcheat' REG ARGPTR argp = (ARGPTR) (Rcheat(gchain)&~ARGMK); ^~~~~~ service.c:372:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] REG ARGPTR argp = (ARGPTR) (Rcheat(gchain)&~ARGMK); ^ In file included from defs.h:110, from service.c:10: mode.h:79:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define Rcheat(a) ((int)(a)) ^ service.c:383:18: note: in expansion of macro 'Rcheat' IF argp==0 ORF Rcheat(argp)&ARGMK ^~~~~~ mode.h:79:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define Rcheat(a) ((int)(a)) ^ service.c:388:20: note: in expansion of macro 'Rcheat' argp = (ARGPTR) (Rcheat(argp)&~ARGMK); ^~~~~~ service.c:388:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] argp = (ARGPTR) (Rcheat(argp)&~ARGMK); ^ service.c: In function 'gsort': service.c:393:12: warning: old-style function definition [-Wold-style-definition] LOCAL VOID gsort(from,to) ^~~~~ service.c: In function 'getarg': service.c:419:5: warning: old-style function definition [-Wold-style-definition] INT getarg(ac) ^~~~~~ service.c: In function 'split': service.c:436:11: warning: old-style function definition [-Wold-style-definition] LOCAL INT split(s) ^~~~~ service.c: In function 'simple': service.c:466:9: warning: old-style function definition [-Wold-style-definition] CSTRING simple(s) ^~~~~~ service.c: In function 'execs': service.c:179:3: warning: this statement may fall through [-Wimplicit-fallthrough=] failed(p,toobig); ^~~~~~~~~~~~~~~~ service.c:182:6: note: here case E2BIG: ^~~~ service.c:183:3: warning: this statement may fall through [-Wimplicit-fallthrough=] failed(p,arglist); ^~~~~~~~~~~~~~~~~ service.c:186:6: note: here case ETXTBSY: ^~~~ service.c:187:3: warning: this statement may fall through [-Wimplicit-fallthrough=] failed(p,txtbsy); ^~~~~~~~~~~~~~~~ service.c:190:6: note: here default: ^~~~~~~ --- string.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c string.c --- stak.o --- stak.c:15:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] STKPTR stakbot=(STKPTR) nullstr; ^ stak.c: In function 'getstak': stak.c:20:8: warning: old-style function definition [-Wold-style-definition] STKPTR getstak(asize) ^~~~~~~ In file included from stak.c:10: defs.h:256:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define round(a,b) (((int)((ADR(a)+b)-1))&~((b)-1)) ^ stak.c:26:7: note: in expansion of macro 'round' size=round(asize,BYTESPERWORD); ^~~~~ stak.c: In function 'locstak': stak.c:32:8: warning: old-style function definition [-Wold-style-definition] STKPTR locstak() ^~~~~~~ stak.c: In function 'savstak': stak.c:45:8: warning: old-style function definition [-Wold-style-definition] STKPTR savstak() ^~~~~~~ stak.c: In function 'endstak': stak.c:51:8: warning: old-style function definition [-Wold-style-definition] STKPTR endstak(argp) ^~~~~~~ In file included from stak.c:10: defs.h:256:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define round(a,b) (((int)((ADR(a)+b)-1))&~((b)-1)) ^ stak.c:56:44: note: in expansion of macro 'round' oldstak=stakbot; stakbot=staktop=(STKPTR) round(argp,BYTESPERWORD); ^~~~~ stak.c: In function 'tdystak': stak.c:60:6: warning: old-style function definition [-Wold-style-definition] VOID tdystak(x) ^~~~~~~ stak.c: In function 'stakchk': stak.c:72:6: warning: old-style function definition [-Wold-style-definition] VOID stakchk() ^~~~~~~ stak.c: In function 'cpystak': stak.c:79:8: warning: old-style function definition [-Wold-style-definition] STKPTR cpystak(x) ^~~~~~~ --- setbrk.o --- setbrk.c: In function 'setbrk': setbrk.c:12:8: warning: old-style function definition [-Wold-style-definition] BYTPTR setbrk(incr) ^~~~~~ --- test.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c test.c --- word.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c word.c --- expand.o --- expand.c: In function 'expand': expand.c:38:10: warning: variable 'rescan' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] STRING rescan = 0; ^~~~~~ expand.c:32:10: warning: argument 'as' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] STRING as; ^~ --- main.o --- main.c:40:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] INT main(c, v) ^~~~ main.c: In function 'main': main.c:40:5: warning: old-style function definition [-Wold-style-definition] main.c: In function 'exfile': main.c:139:12: warning: old-style function definition [-Wold-style-definition] LOCAL VOID exfile(prof) ^~~~~~ main.c: In function 'chkpr': main.c:225:6: warning: old-style function definition [-Wold-style-definition] VOID chkpr(eor) ^~~~~ main.c: In function 'settmp': main.c:233:6: warning: old-style function definition [-Wold-style-definition] VOID settmp() ^~~~~~ main.c: In function 'Ldup': main.c:239:12: warning: old-style function definition [-Wold-style-definition] LOCAL VOID Ldup(fa, fb) ^~~~ --- xec.o --- --- v7sh.1.gz --- gzip -cn v7sh.1 > v7sh.1.gz --- xec.o --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -c xec.c --- string.o --- string.c: In function 'movstr': string.c:16:8: warning: old-style function definition [-Wold-style-definition] STRING movstr(a,b) ^~~~~~ string.c: In function 'any': string.c:24:5: warning: old-style function definition [-Wold-style-definition] INT any(c,s) ^~~ string.c: In function 'cf': string.c:38:5: warning: old-style function definition [-Wold-style-definition] INT cf(s1, s2) ^~ string.c: In function 'length': string.c:49:5: warning: old-style function definition [-Wold-style-definition] INT length(as) ^~~~~~ --- test.o --- test.c: In function 'test': test.c:31:5: warning: old-style function definition [-Wold-style-definition] INT test(argn, com) ^~~~ test.c: In function 'nxtarg': test.c:47:14: warning: old-style function definition [-Wold-style-definition] LOCAL STRING nxtarg(mt) ^~~~~~ test.c: In function 'exp_': test.c:13:13: warning: old-style function definition [-Wold-style-definition] #define exp exp_ ^~~~ test.c:61:11: note: in expansion of macro 'exp' LOCAL INT exp() ^~~ test.c: In function 'e1': test.c:71:11: warning: old-style function definition [-Wold-style-definition] LOCAL INT e1() ^~ test.c: In function 'e2': test.c:81:11: warning: old-style function definition [-Wold-style-definition] LOCAL INT e2() ^~ test.c: In function 'e3': test.c:90:11: warning: old-style function definition [-Wold-style-definition] LOCAL INT e3() ^~ test.c: In function 'tio': test.c:162:11: warning: old-style function definition [-Wold-style-definition] LOCAL INT tio(a, f) ^~~ test.c: In function 'ftype': test.c:172:11: warning: old-style function definition [-Wold-style-definition] LOCAL INT ftype(f,field) ^~~~~ test.c: In function 'fsizep': test.c:185:11: warning: old-style function definition [-Wold-style-definition] LOCAL INT fsizep(f) ^~~~~~ --- word.o --- word.c: In function 'word': word.c:27:5: warning: old-style function definition [-Wold-style-definition] INT word() ^~~~ word.c: In function 'nextc': word.c:110:5: warning: old-style function definition [-Wold-style-definition] INT nextc(quote) ^~~~~ word.c: In function 'readc': word.c:125:5: warning: old-style function definition [-Wold-style-definition] INT readc() ^~~~~ word.c: In function 'readb': word.c:156:11: warning: old-style function definition [-Wold-style-definition] LOCAL INT readb() ^~~~~ --- main.o --- main.c: In function 'exfile': main.c:142:11: warning: variable 'mailtime' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] REG TIME mailtime = 0; ^~~~~~~~ --- service.o --- service.c: In function 'await': service.c:252:7: warning: variable 'rc' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] INT rc=0, wx=0; ^~ service.c:252:13: warning: variable 'wx' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] INT rc=0, wx=0; ^~ --- xec.o --- xec.c: In function 'execute': xec.c:25:5: warning: old-style function definition [-Wold-style-definition] INT execute(argt, execflg, pf1, pf2) ^~~~~~~ --- main.o --- main.c: In function 'main': main.c:44:11: warning: variable 'rflag' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] REG INT rflag=ttyflg; ^~~~~ --- xec.o --- xec.c:271:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] THEN execexp(a1,(UFD) &com[2]); ^ xec.c: In function 'execexp': xec.c:649:6: warning: old-style function definition [-Wold-style-definition] VOID execexp(s,f) ^~~~~~~ xec.c:656:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] THEN estabf(s); fb.feval=(STRING *)f; ^ xec.c: In function 'execute': xec.c:103:6: warning: this statement may fall through [-Wimplicit-fallthrough=] exitsh(a1?stoi(a1):oldexit); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xec.c:106:5: note: here case SYSNULL: ^~~~ xec.c:186:29: warning: this statement may fall through [-Wimplicit-fallthrough=] oldsigs(); execa(com); done(); ^~~~~~ xec.c:189:5: note: here case SYSNEWGRP: ^~~~ In file included from defs.h:109, from xec.c:10: mac.h:19:14: warning: this statement may fall through [-Wimplicit-fallthrough=] #define IF if( ^ xec.c:190:6: note: in expansion of macro 'IF' IF flags&rshflg ^~ xec.c:199:5: note: here case SYSCD: ^~~~ xec.c:446:5: warning: this statement may fall through [-Wimplicit-fallthrough=] done(); ^~~~~~ xec.c:450:3: note: here case TPAR: ^~~~ xec.c:453:4: warning: this statement may fall through [-Wimplicit-fallthrough=] done(); ^~~~~~ xec.c:456:3: note: here case TFIL: ^~~~ --- v7sh --- cc -pipe -DRENO -DSYSIII -DULTRIX -O2 -fno-strict-aliasing -std=gnu99 -ansi -Wbad-function-cast -Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unused-parameter -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -o v7sh args.o blok.o builtin.o cmd.o ctype.o error.o expand.o fault.o io.o macro.o main.o msg.o name.o print.o service.o setbrk.o stak.o string.o test.o word.o xec.o -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for v7sh-1.0_1 ===> Generating temporary packing list install -s -o root -g wheel -m 555 v7sh /construction/shells/v7sh/stage/usr/local/bin install -o root -g wheel -m 444 v7sh.1.gz /construction/shells/v7sh/stage/usr/local/man/man1 ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for v7sh-1.0_1 file sizes/checksums [2]: . done packing files [2]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 30 AUG 2018 at 20:45:35 UTC Duration: 00:00:08