shells/v7sh
Implementation of the UNIX 7th Edition shell
| Flavor | Version | Run | OSVersion | Arch | License | Restricted | Status | |
|---|---|---|---|---|---|---|---|---|
| 1.0_1 | 589 | 3.2 | amd64 | unknown | 0 | fail |
License Permissions:
Events
| Machine | Type | Time | Message |
|---|---|---|---|
| m3264b | info | 2024-09-09 22:32:36.82188 | Test Started |
| m3264b | fail | 2024-09-09 22:32:57.838444 | make build returned non-zero: 1 |
| m3264b | fail | 2024-09-09 22:32:58.122411 | Test complete. |
Log
[1m===> Building for v7sh-1.0_1[0m
--- objwarn ---
--- .depend ---
--- objwarn ---
Warning: Object directory not changed from original /magus/work/usr/mports/shells/v7sh/work/v7sh-1.0_1
--- .depend ---
echo v7sh: /usr/lib/libc.a >> .depend
--- 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 ---
--- args.o ---
cc -O2 -pipe -DRENO -DSYSIII -DULTRIX -fstack-protector-strong -fno-strict-aliasing -MD -MF.depend.args.o -MTargs.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -ansi -Wbad-function-cast -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Qunused-arguments -c args.c -o args.o
--- blok.o ---
cc -O2 -pipe -DRENO -DSYSIII -DULTRIX -fstack-protector-strong -fno-strict-aliasing -MD -MF.depend.blok.o -MTblok.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -ansi -Wbad-function-cast -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Qunused-arguments -c blok.c -o blok.o
--- builtin.o ---
cc -O2 -pipe -DRENO -DSYSIII -DULTRIX -fstack-protector-strong -fno-strict-aliasing -MD -MF.depend.builtin.o -MTbuiltin.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -ansi -Wbad-function-cast -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Qunused-arguments -c builtin.c -o builtin.o
--- cmd.o ---
cc -O2 -pipe -DRENO -DSYSIII -DULTRIX -fstack-protector-strong -fno-strict-aliasing -MD -MF.depend.cmd.o -MTcmd.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -ansi -Wbad-function-cast -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Qunused-arguments -c cmd.c -o cmd.o
--- ctype.o ---
cc -O2 -pipe -DRENO -DSYSIII -DULTRIX -fstack-protector-strong -fno-strict-aliasing -MD -MF.depend.ctype.o -MTctype.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -ansi -Wbad-function-cast -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Qunused-arguments -c ctype.c -o ctype.o
--- error.o ---
cc -O2 -pipe -DRENO -DSYSIII -DULTRIX -fstack-protector-strong -fno-strict-aliasing -MD -MF.depend.error.o -MTerror.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -ansi -Wbad-function-cast -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Qunused-arguments -c error.c -o error.o
--- expand.o ---
cc -O2 -pipe -DRENO -DSYSIII -DULTRIX -fstack-protector-strong -fno-strict-aliasing -MD -MF.depend.expand.o -MTexpand.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -ansi -Wbad-function-cast -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Qunused-arguments -c expand.c -o expand.o
--- fault.o ---
cc -O2 -pipe -DRENO -DSYSIII -DULTRIX -fstack-protector-strong -fno-strict-aliasing -MD -MF.depend.fault.o -MTfault.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -ansi -Wbad-function-cast -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Qunused-arguments -c fault.c -o fault.o
--- io.o ---
cc -O2 -pipe -DRENO -DSYSIII -DULTRIX -fstack-protector-strong -fno-strict-aliasing -MD -MF.depend.io.o -MTio.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -ansi -Wbad-function-cast -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Qunused-arguments -c io.c -o io.o
--- macro.o ---
cc -O2 -pipe -DRENO -DSYSIII -DULTRIX -fstack-protector-strong -fno-strict-aliasing -MD -MF.depend.macro.o -MTmacro.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -ansi -Wbad-function-cast -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Qunused-arguments -c macro.c -o macro.o
--- main.o ---
cc -O2 -pipe -DRENO -DSYSIII -DULTRIX -fstack-protector-strong -fno-strict-aliasing -MD -MF.depend.main.o -MTmain.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -ansi -Wbad-function-cast -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Qunused-arguments -c main.c -o main.o
--- msg.o ---
cc -O2 -pipe -DRENO -DSYSIII -DULTRIX -fstack-protector-strong -fno-strict-aliasing -MD -MF.depend.msg.o -MTmsg.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -ansi -Wbad-function-cast -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Qunused-arguments -c msg.c -o msg.o
--- name.o ---
cc -O2 -pipe -DRENO -DSYSIII -DULTRIX -fstack-protector-strong -fno-strict-aliasing -MD -MF.depend.name.o -MTname.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -ansi -Wbad-function-cast -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Qunused-arguments -c name.c -o name.o
--- print.o ---
cc -O2 -pipe -DRENO -DSYSIII -DULTRIX -fstack-protector-strong -fno-strict-aliasing -MD -MF.depend.print.o -MTprint.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -ansi -Wbad-function-cast -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Qunused-arguments -c print.c -o print.o
--- service.o ---
cc -O2 -pipe -DRENO -DSYSIII -DULTRIX -fstack-protector-strong -fno-strict-aliasing -MD -MF.depend.service.o -MTservice.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -ansi -Wbad-function-cast -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Qunused-arguments -c service.c -o service.o
--- setbrk.o ---
cc -O2 -pipe -DRENO -DSYSIII -DULTRIX -fstack-protector-strong -fno-strict-aliasing -MD -MF.depend.setbrk.o -MTsetbrk.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -ansi -Wbad-function-cast -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Qunused-arguments -c setbrk.c -o setbrk.o
--- args.o ---
args.c:16:6: error: no previous extern declaration for non-static variable 'flagchar' [-Werror,-Wmissing-variable-declarations]
CHAR flagchar[] = {
^
args.c:16:1: note: declare 'static' if the variable is not intended to be used outside of this translation unit
CHAR flagchar[] = {
^
args.c:19:5: error: no previous extern declaration for non-static variable 'flagval' [-Werror,-Wmissing-variable-declarations]
INT flagval[] = {
^
args.c:19:1: note: declare 'static' if the variable is not intended to be used outside of this translation unit
INT flagval[] = {
^
args.c:121:8: error: cast to smaller integer type 'int' from 'STRING' (aka 'char *') [-Werror,-Wpointer-to-int-cast]
WHILE Rcheat(*argp++)!=ENDARGS DO argn++ OD
^~~~~~~~~~~~~~~
./mode.h:79:20: note: expanded from macro 'Rcheat'
#define Rcheat(a) ((int)(a))
^~~~~~~~
args.c:139:17: error: cast from 'CHAR *' (aka 'char *') to 'STRING *' (aka 'char **') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
THEN FOR argp=(STRING *) argblk->dolarg; Rcheat(*argp)!=ENDARGS; argp++
^~~~~~~~~~~~~~~~~~~~~~~~~
args.c:139:44: error: cast to smaller integer type 'int' from 'STRING' (aka 'char *') [-Werror,-Wpointer-to-int-cast]
THEN FOR argp=(STRING *) argblk->dolarg; Rcheat(*argp)!=ENDARGS; argp++
^~~~~~~~~~~~~
./mode.h:79:20: note: expanded from macro 'Rcheat'
#define Rcheat(a) ((int)(a))
^~~~~~~~
args.c:140:12: error: cast from 'STRING' (aka 'char *') to 'BLKPTR' (aka 'struct blk *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
DO free((BLKPTR) *argp) OD
^~~~~~~~~~~~~~
args.c:151:16: error: cast from 'ADDRESS' (aka 'char *') to 'DOLPTR' (aka 'struct dolnod *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
REG DOLPTR dp=(DOLPTR) alloc(sizeof(STRING*)*n+3*BYTESPERWORD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
args.c:156:5: error: cast from 'CHAR *' (aka 'char *') to 'STRING *' (aka 'char **') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
np=(STRING *) dp->dolarg;
^~~~~~~~~~~~~~~~~~~~~
8 errors generated.
--- macro.o ---
macro.c:90:14: error: cast to smaller integer type 'int' from 'STRING' (aka 'char *') [-Werror,-Wpointer-to-int-cast]
n=lookup(absstak(argp)); setstak(argp);
^~~~~~~~~~~~~
./stak.h:18:30: note: expanded from macro 'absstak'
#define absstak(x) (stakbot+Rcheat(x))
^~~~~~~~~
./mode.h:79:20: note: expanded from macro 'Rcheat'
#define Rcheat(a) ((int)(a))
^~~~~~~~
macro.c:90:30: error: cast to smaller integer type 'int' from 'STRING' (aka 'char *') [-Werror,-Wpointer-to-int-cast]
--- msg.o ---
msg.c:15:7: error: no previous extern declaration for non-static variable 'version' [-Werror,-Wmissing-variable-declarations]
CMSG version = "\nVERSION sys137 DATE 1978 Nov 6 14:29:22\n";
^
msg.c:15:1: note: declare 'static' if the variable is not intended to be used outside of this translation unit
CMSG version = "\nVERSION sys137 DATE 1978 Nov 6 14:29:22\n";
^
--- cmd.o ---
cmd.c:37:4: error: cast from 'STKPTR' (aka 'char *') to 'TREPTR' (aka 'union trenod *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
t=(TREPTR) getstak(FORKTYPE);
^~~~~~~~~~~~~~~~~~~~~~~~~~
cmd.c:52:9: error: cast from 'STKPTR' (aka 'char *') to 'TREPTR' (aka 'union trenod *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
ELSE t=(TREPTR) getstak(LSTTYPE);
^~~~~~~~~~~~~~~~~~~~~~~~~
--- args.o ---
*** [args.o] Error code 1
make: stopped in /magus/work/usr/mports/shells/v7sh/work/v7sh-1.0_1
--- blok.o ---
blok.c:30:20: error: cast to smaller integer type 'int' from 'char *' [-Werror,-Wpointer-to-int-cast]
REG POS rbytes = round(nbytes+BYTESPERWORD,BYTESPERWORD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./defs.h:256:22: note: expanded from macro 'round'
#define round(a,b) (((int)((ADR(a)+b)-1))&~((b)-1))
^~~~~~~~~~~~~~~~~~~
blok.c:35:11: error: cast to smaller integer type 'int' from 'BLKPTR' (aka 'struct blk *') [-Werror,-Wpointer-to-int-cast]
REP IF !busy(p)
^~~~~~~
blok.c:19:18: note: expanded from macro 'busy'
#define busy(x) (Rcheat((x)->word)&BUSY)
^~~~~~~~~~~~~~~~~
./mode.h:79:20: note: expanded from macro 'Rcheat'
#define Rcheat(a) ((int)(a))
^~~~~~~~
blok.c:36:16: error: cast to smaller integer type 'int' from 'BLKPTR' (aka 'struct blk *') [-Werror,-Wpointer-to-int-cast]
--- expand.o ---
expand.c:265:10: error: cast from 'STKPTR' (aka 'char *') to 'ARGPTR' (aka 'struct argnod *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
makearg((ARGPTR) endstak(s2));
^~~~~~~~~~~~~~~~~~~~
expand.c:290:8: error: overflow converting case value to switch condition type (219 to -37) [-Werror,-Wswitch]
case '['|QUOTE:
^
expand.c:289:8: error: overflow converting case value to switch condition type (191 to -65) [-Werror,-Wswitch]
case '?'|QUOTE:
^
expand.c:288:8: error: overflow converting case value to switch condition type (170 to -86) [-Werror,-Wswitch]
case '*'|QUOTE:
^
--- macro.o ---
n=lookup(absstak(argp)); setstak(argp);
^~~~~~~~~~~~~
./stak.h:19:30: note: expanded from macro 'setstak'
#define setstak(x) (staktop=absstak(x))
^~~~~~~~~~
./stak.h:18:30: note: expanded from macro 'absstak'
#define absstak(x) (stakbot+Rcheat(x))
^~~~~~~~~
./mode.h:79:20: note: expanded from macro 'Rcheat'
#define Rcheat(a) ((int)(a))
^~~~~~~~
macro.c:91:23: error: assigning to 'STRING' (aka 'char *') from 'CSTRING' (aka 'const char *') discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
v = n->namval; id = n->namid;
^ ~~~~~~~~
macro.c:99:48: error: cast to 'STRING' (aka 'char *') from smaller integer type 'INT' (aka 'int') [-Werror,-Wint-to-pointer-cast]
--- blok.o ---
THEN WHILE !busy(q = p->word) DO p->word = q->word OD
^~~~~~~~~~~~~~~~~
blok.c:19:18: note: expanded from macro 'busy'
#define busy(x) (Rcheat((x)->word)&BUSY)
^~~~~~~~~~~~~~~~~
./mode.h:79:20: note: expanded from macro 'Rcheat'
#define Rcheat(a) ((int)(a))
^~~~~~~~
blok.c:38:18: error: cast from 'char *' to 'BLKPTR' (aka 'struct blk *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
THEN blokp = BLK(ADR(p)+rbytes);
^~~~~~~~~~~~~~~~~~
./defs.h:279:18: note: expanded from macro 'BLK'
#define BLK(x) ((BLKPTR)(x))
^~~~~~~~~~~
blok.c:42:18: error: cast to smaller integer type 'int' from 'BLKPTR' (aka 'struct blk *') [-Werror,-Wpointer-to-int-cast]
p->word=BLK(Rcheat(blokp)|BUSY);
--- cmd.o ---
cmd.c:167:20: error: cast from 'STKPTR' (aka 'char *') to 'REGPTR' (aka 'struct regnod *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
ELSE REG REGPTR r=(REGPTR) getstak(REGTYPE);
^~~~~~~~~~~~~~~~~~~~~~~~~
cmd.c:201:8: error: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'BOOL' (aka 'char') declared in a previous prototype [-Werror,-Wknr-promoted-parameter]
BOOL flag;
^
cmd.c:17:23: note: previous declaration is here
LOCAL TREPTR item(BOOL);
^
--- macro.o ---
v=((c==0) ? cmdadr : (c<=dolc) ? dolv[c] : (STRING) (dolg=0));
^~~~~~~~~~~~~~~~~
macro.c:138:11: error: cast to smaller integer type 'int' from 'STRING' (aka 'char *') [-Werror,-Wpointer-to-int-cast]
argp=absstak(argp);
^~~~~~~~~~~~~
./stak.h:18:30: note: expanded from macro 'absstak'
#define absstak(x) (stakbot+Rcheat(x))
^~~~~~~~~
./mode.h:79:20: note: expanded from macro 'Rcheat'
#define Rcheat(a) ((int)(a))
^~~~~~~~
--- msg.o ---
1 error generated.
--- blok.o ---
~~~~^~~~~~~~~~~~~~~~~~~
./mode.h:79:20: note: expanded from macro 'Rcheat'
#define Rcheat(a) ((int)(a))
^
./defs.h:279:27: note: expanded from macro 'BLK'
#define BLK(x) ((BLKPTR)(x))
^
blok.c:42:14: error: cast to 'BLKPTR' (aka 'struct blk *') from smaller integer type 'int' [-Werror,-Wint-to-pointer-cast]
p->word=BLK(Rcheat(blokp)|BUSY);
^~~~~~~~~~~~~~~~~~~~~~~
./defs.h:279:18: note: expanded from macro 'BLK'
#define BLK(x) ((BLKPTR)(x))
^~~~~~~~~~~
blok.c:46:19: error: cast to smaller integer type 'int' from 'BLKPTR' (aka 'struct blk *') [-Werror,-Wpointer-to-int-cast]
q = p; p = BLK(Rcheat(p->word)&~BUSY);
~~~~^~~~~~~~~~~~~~~~~~~~~~
./mode.h:79:20: note: expanded from macro 'Rcheat'
--- cmd.o ---
cmd.c:215:8: error: cast from 'STKPTR' (aka 'char *') to 'TREPTR' (aka 'union trenod *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
t=(TREPTR) getstak(SWTYPE);
^~~~~~~~~~~~~~~~~~~~~~~~
cmd.c:227:8: error: cast from 'STKPTR' (aka 'char *') to 'TREPTR' (aka 'union trenod *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
t=(TREPTR) getstak(IFTYPE);
^~~~~~~~~~~~~~~~~~~~~~~~
cmd.c:238:8: error: cast from 'STKPTR' (aka 'char *') to 'TREPTR' (aka 'union trenod *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
t=(TREPTR) getstak(FORTYPE);
^~~~~~~~~~~~~~~~~~~~~~~~~
--- expand.o ---
4 errors generated.
--- blok.o ---
#define Rcheat(a) ((int)(a))
^
./defs.h:279:27: note: expanded from macro 'BLK'
#define BLK(x) ((BLKPTR)(x))
^
blok.c:46:15: error: cast to 'BLKPTR' (aka 'struct blk *') from smaller integer type 'int' [-Werror,-Wint-to-pointer-cast]
q = p; p = BLK(Rcheat(p->word)&~BUSY);
^~~~~~~~~~~~~~~~~~~~~~~~~~
./defs.h:279:18: note: expanded from macro 'BLK'
#define BLK(x) ((BLKPTR)(x))
^~~~~~~~~~~
blok.c:60:20: error: cast to smaller integer type 'int' from 'char *' [-Werror,-Wpointer-to-int-cast]
rndstak=(STKPTR) round(staktop,BYTESPERWORD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./defs.h:256:22: note: expanded from macro 'round'
--- cmd.o ---
cmd.c:259:8: error: cast from 'STKPTR' (aka 'char *') to 'TREPTR' (aka 'union trenod *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
t=(TREPTR) getstak(WHTYPE);
^~~~~~~~~~~~~~~~~~~~~~~~
--- main.o ---
main.c:140:8: error: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'BOOL' (aka 'char') declared in a previous prototype [-Werror,-Wknr-promoted-parameter]
BOOL prof;
^
main.c:18:23: note: previous declaration is here
LOCAL VOID exfile(BOOL);
^
--- blok.o ---
#define round(a,b) (((int)((ADR(a)+b)-1))&~((b)-1))
^~~~~~~~~~~~~~~~~~~
blok.c:61:12: error: cast from 'STKPTR' (aka 'char *') to 'BLKPTR' (aka 'struct blk *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
blokstak=BLK(stakbas)-1;
^~~~~~~~~~~~
./defs.h:279:18: note: expanded from macro 'BLK'
#define BLK(x) ((BLKPTR)(x))
^~~~~~~~~~~
--- cmd.o ---
cmd.c:273:8: error: cast from 'STKPTR' (aka 'char *') to 'PARPTR' (aka 'struct parnod *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
p=(PARPTR) getstak(PARTYPE);
^~~~~~~~~~~~~~~~~~~~~~~~~
--- msg.o ---
*** [msg.o] Error code 1
make: stopped in /magus/work/usr/mports/shells/v7sh/work/v7sh-1.0_1
--- blok.o ---
blok.c:63:21: error: cast to smaller integer type 'int' from 'STKPTR' (aka 'char *') [-Werror,-Wpointer-to-int-cast]
bloktop->word=BLK(Rcheat(rndstak)|BUSY);
~~~~^~~~~~~~~~~~~~~~~~~~~
./mode.h:79:20: note: expanded from macro 'Rcheat'
#define Rcheat(a) ((int)(a))
^
./defs.h:279:27: note: expanded from macro 'BLK'
#define BLK(x) ((BLKPTR)(x))
^
blok.c:63:17: error: cast to 'BLKPTR' (aka 'struct blk *') from smaller integer type 'int' [-Werror,-Wint-to-pointer-cast]
bloktop->word=BLK(Rcheat(rndstak)|BUSY);
^~~~~~~~~~~~~~~~~~~~~~~~~
./defs.h:279:18: note: expanded from macro 'BLK'
#define BLK(x) ((BLKPTR)(x))
^~~~~~~~~~~
blok.c:64:11: error: cast from 'STKPTR' (aka 'char *') to 'BLKPTR' (aka 'struct blk *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
bloktop=BLK(rndstak);
--- cmd.o ---
cmd.c:292:8: error: cast from 'STKPTR' (aka 'char *') to 'TREPTR' (aka 'union trenod *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
t=(TREPTR) getstak(COMTYPE);
^~~~~~~~~~~~~~~~~~~~~~~~~
--- macro.o ---
5 errors generated.
--- blok.o ---
^~~~~~~~~~~~
./defs.h:279:18: note: expanded from macro 'BLK'
#define BLK(x) ((BLKPTR)(x))
^~~~~~~~~~~
blok.c:68:28: error: cast to smaller integer type 'int' from 'BLKPTR' (aka 'struct blk *') [-Werror,-Wpointer-to-int-cast]
bloktop=bloktop->word=BLK(Rcheat(bloktop)+reqd);
~~~~^~~~~~~~~~~~~~~~~~~~~
./mode.h:79:20: note: expanded from macro 'Rcheat'
#define Rcheat(a) ((int)(a))
^
./defs.h:279:27: note: expanded from macro 'BLK'
#define BLK(x) ((BLKPTR)(x))
^
blok.c:69:16: error: cast from 'char *' to 'BLKPTR' (aka 'struct blk *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
bloktop->word=BLK(ADR(end)+1);
^~~~~~~~~~~~~~~
./defs.h:279:18: note: expanded from macro 'BLK'
#define BLK(x) ((BLKPTR)(x))
^~~~~~~~~~~
--- cmd.o ---
cmd.c:370:6: error: cast from 'STKPTR' (aka 'char *') to 'IOPTR' (aka 'struct ionod *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
iop=(IOPTR) getstak(IOTYPE); iop->ioname=wdarg->argval; iop->iofile=iof;
^~~~~~~~~~~~~~~~~~~~~~~
--- main.o ---
1 error generated.
--- name.o ---
name.c:148:7: error: cast from 'STRING' (aka 'char *') to 'BLKPTR' (aka 'struct blk *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
free((BLKPTR) *a); *a=make(v);
^~~~~~~~~~~
name.c:195:13: error: cast to smaller integer type 'int' from 'STKPTR' (aka 'char *') [-Werror,-Wpointer-to-int-cast]
assign(n,absstak(rel)); setstak(rel);
^~~~~~~~~~~~
./stak.h:18:30: note: expanded from macro 'absstak'
#define absstak(x) (stakbot+Rcheat(x))
^~~~~~~~~
./mode.h:79:20: note: expanded from macro 'Rcheat'
#define Rcheat(a) ((int)(a))
^~~~~~~~
name.c:195:28: error: cast to smaller integer type 'int' from 'STKPTR' (aka 'char *') [-Werror,-Wpointer-to-int-cast]
assign(n,absstak(rel)); setstak(rel);
^~~~~~~~~~~~
./stak.h:19:30: note: expanded from macro 'setstak'
#define setstak(x) (staktop=absstak(x))
^~~~~~~~~~
./stak.h:18:30: note: expanded from macro 'absstak'
#define absstak(x) (stakbot+Rcheat(x))
--- blok.o ---
15 errors generated.
--- cmd.o ---
11 errors generated.
--- fault.o ---
fault.c:159:7: error: cast from 'STRING' (aka 'char *') to 'BLKPTR' (aka 'struct blk *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
free((BLKPTR) trapcom[i]); trapcom[i]=0;
^~~~~~~~~~~~~~~~~~~
--- name.o ---
^~~~~~~~~
./mode.h:79:20: note: expanded from macro 'Rcheat'
#define Rcheat(a) ((int)(a))
^~~~~~~~
--- fault.o ---
1 error generated.
--- name.o ---
name.c:267:8: error: cast from 'ADDRESS' (aka 'char *') to 'NAMPTR' (aka 'struct namnod *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
nscan=(NAMPTR) alloc(sizeof *nscan);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
name.c:337:12: error: cast from 'STRING' (aka 'char *') to 'BLKPTR' (aka 'struct blk *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
THEN free((BLKPTR) n->namenv);
^~~~~~~~~~~~~~~~~~
name.c:339:12: error: cast from 'STRING' (aka 'char *') to 'BLKPTR' (aka 'struct blk *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
ELSE free((BLKPTR) n->namval);
^~~~~~~~~~~~~~~~~~
name.c:382:3: error: explicitly assigning value of variable of type 'NAMPTR' (aka 'struct namnod *') to itself [-Werror,-Wself-assign]
n=n; /* GCC */
~^~
name.c:402:16: error: cast from 'STKPTR' (aka 'char *') to 'STRING *' (aka 'char **') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
argnam = er = (STRING *) getstak(namec*BYTESPERWORD+BYTESPERWORD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- service.o ---
service.c:372:30: error: cast to smaller integer type 'int' from 'ARGPTR' (aka 'struct argnod *') [-Werror,-Wpointer-to-int-cast]
REG ARGPTR argp = (ARGPTR) (Rcheat(gchain)&~ARGMK);
^~~~~~~~~~~~~~
./mode.h:79:20: note: expanded from macro 'Rcheat'
--- name.o ---
8 errors generated.
--- service.o ---
#define Rcheat(a) ((int)(a))
^~~~~~~~
service.c:372:20: error: cast to 'ARGPTR' (aka 'struct argnod *') from smaller integer type 'int' [-Werror,-Wint-to-pointer-cast]
REG ARGPTR argp = (ARGPTR) (Rcheat(gchain)&~ARGMK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
service.c:375:10: error: cast from 'STKPTR' (aka 'char *') to 'STRING *' (aka 'char **') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
comargn=(STRING *) getstak(BYTESPERWORD*argn+BYTESPERWORD);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
service.c:383:18: error: cast to smaller integer type 'int' from 'ARGPTR' (aka 'struct argnod *') [-Werror,-Wpointer-to-int-cast]
--- fault.o ---
*** [fault.o] Error code 1
make: stopped in /magus/work/usr/mports/shells/v7sh/work/v7sh-1.0_1
--- service.o ---
IF argp==0 ORF Rcheat(argp)&ARGMK
^~~~~~~~~~~~
./mode.h:79:20: note: expanded from macro 'Rcheat'
#define Rcheat(a) ((int)(a))
^~~~~~~~
service.c:388:20: error: cast to smaller integer type 'int' from 'ARGPTR' (aka 'struct argnod *') [-Werror,-Wpointer-to-int-cast]
argp = (ARGPTR) (Rcheat(argp)&~ARGMK);
^~~~~~~~~~~~
./mode.h:79:20: note: expanded from macro 'Rcheat'
#define Rcheat(a) ((int)(a))
^~~~~~~~
service.c:388:10: error: cast to 'ARGPTR' (aka 'struct argnod *') from smaller integer type 'int' [-Werror,-Wint-to-pointer-cast]
argp = (ARGPTR) (Rcheat(argp)&~ARGMK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- main.o ---
*** [main.o] Error code 1
make: stopped in /magus/work/usr/mports/shells/v7sh/work/v7sh-1.0_1
--- blok.o ---
*** [blok.o] Error code 1
make: stopped in /magus/work/usr/mports/shells/v7sh/work/v7sh-1.0_1
--- expand.o ---
*** [expand.o] Error code 1
make: stopped in /magus/work/usr/mports/shells/v7sh/work/v7sh-1.0_1
--- cmd.o ---
*** [cmd.o] Error code 1
make: stopped in /magus/work/usr/mports/shells/v7sh/work/v7sh-1.0_1
--- macro.o ---
*** [macro.o] Error code 1
make: stopped in /magus/work/usr/mports/shells/v7sh/work/v7sh-1.0_1
--- name.o ---
*** [name.o] Error code 1
make: stopped in /magus/work/usr/mports/shells/v7sh/work/v7sh-1.0_1
--- service.o ---
service.c:456:17: error: cast from 'STRING' (aka 'char *') to 'ARGPTR' (aka 'struct argnod *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
IF (c=expand(((ARGPTR) (argp=(STRING) endstak(argp)))->argval,0))!=0 /* GCC */
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
service.c:459:12: error: cast from 'STRING' (aka 'char *') to 'ARGPTR' (aka 'struct argnod *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
makearg((ARGPTR) argp); count++;
^~~~~~~~~~~~~
8 errors generated.
*** [service.o] Error code 1
make: stopped in /magus/work/usr/mports/shells/v7sh/work/v7sh-1.0_1
10 errors
make: stopped in /magus/work/usr/mports/shells/v7sh/work/v7sh-1.0_1
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/mports/shells/v7sh
Links
Depends On
NothingDepend Of
NothingCategories
CVEs
- Loading CVE information...
MidnightBSD Magus