From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnold@skeeve.com Message-Id: <201901281522.x0SFMxbF011394@freefriends.org> Date: Mon, 28 Jan 2019 08:22:59 -0700 To: 9fans@9fans.net References: <84052108-743E-449F-914B-9BF20E3DD4A1@gmail.com> In-Reply-To: <84052108-743E-449F-914B-9BF20E3DD4A1@gmail.com> User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_5c4f1e53.PyMouB+IWxC208sY90LtrFFENbKuTpcJed2n5KWY0V/FVfP1" Subject: Re: [9fans] Rc port. Topicbox-Message-UUID: f43860b8-ead9-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --=_5c4f1e53.PyMouB+IWxC208sY90LtrFFENbKuTpcJed2n5KWY0V/FVfP1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Federico Benavento wrote: > Hola, > > I just uploaded a standalone unix (only tested on macOS/Linux) port with edit, history and completion support to GitHub. > I have been using it as my primary shell for months on macOS and it???s seems to be working pretty well. > > https://github.com/benavento/rc > > Have fun. > ???- > Federico G. Benavento > benavento@gmail.com On Ubuntu 18.04, doing make, I get errors on several files. See attached. Thanks, Arnold --=_5c4f1e53.PyMouB+IWxC208sY90LtrFFENbKuTpcJed2n5KWY0V/FVfP1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="ERRS" Content-Transfer-Encoding: quoted-printable cc -g -Wall -Wextra -Wno-parentheses -Wno-missing-braces -Wno-missing-fi= eld-initializers -Wno-comment -Wno-sign-compare -Wno-unused-parameter -W= error -DPREFIX=3D\"/usr/local\" -c lex.c lex.c: In function =E2=80=98yylex=E2=80=99: lex.c:225:5: error: this statement may fall through [-Werror=3Dimplicit-f= allthrough=3D] if(nextis(c)){ ^ lex.c:230:2: note: here case '<': ^~~~ cc1: all warnings being treated as errors Makefile:40: recipe for target 'lex.o' failed make: *** [lex.o] Error 1 cc -g -Wall -Wextra -Wno-parentheses -Wno-missing-braces -Wno-missing-fi= eld-initializers -Wno-comment -Wno-sign-compare -Wno-unused-parameter -W= error -DPREFIX=3D\"/usr/local\" -c pcmd.c pcmd.c: In function =E2=80=98pcmd=E2=80=99: pcmd.c:111:4: error: this statement may fall through [-Werror=3Dimplicit-= fallthrough=3D] pchr(f, '<'); ^~~~~~~~~~~~ pcmd.c:112:3: note: here case READ: ^~~~ pcmd.c:121:4: error: this statement may fall through [-Werror=3Dimplicit-= fallthrough=3D] pchr(f, '>'); ^~~~~~~~~~~~ pcmd.c:122:3: note: here case WRITE: ^~~~ cc1: all warnings being treated as errors Makefile:40: recipe for target 'pcmd.o' failed make: *** [pcmd.o] Error 1 cc -g -Wall -Wextra -Wno-parentheses -Wno-missing-braces -Wno-missing-fi= eld-initializers -Wno-comment -Wno-sign-compare -Wno-unused-parameter -W= error -DPREFIX=3D\"/usr/local\" -c simple.c simple.c: In function =E2=80=98execexit=E2=80=99: simple.c:205:3: error: this statement may fall through [-Werror=3Dimplici= t-fallthrough=3D] pfmt(err, "Usage: exit [status]\nExiting anyway\n"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ simple.c:206:2: note: here case 2: ^~~~ simple.c:207:3: error: this statement may fall through [-Werror=3Dimplici= t-fallthrough=3D] setstatus(runq->argv->words->next->word); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ simple.c:208:2: note: here case 1: Xexit(); ^~~~ simple.c: In function =E2=80=98execflag=E2=80=99: simple.c:405:5: error: this statement may fall through [-Werror=3Dimplici= t-fallthrough=3D] if(strlen(letter)=3D=3D1){ ^ simple.c:415:2: note: here default: ^~~~~~~ cc1: all warnings being treated as errors Makefile:40: recipe for target 'simple.o' failed make: *** [simple.o] Error 1 cc -g -Wall -Wextra -Wno-parentheses -Wno-missing-braces -Wno-missing-fi= eld-initializers -Wno-comment -Wno-sign-compare -Wno-unused-parameter -W= error -DPREFIX=3D\"/usr/local\" -c unix.c unix.c: In function =E2=80=98Waitfor=E2=80=99: unix.c:224:10: error: implicit declaration of function =E2=80=98wait=E2=80= =99; did you mean =E2=80=98Exit=E2=80=99? [-Werror=3Dimplicit-function-de= claration] wpid =3D wait(&wstat); ^~~~ Exit cc1: all warnings being treated as errors Makefile:40: recipe for target 'unix.o' failed make: *** [unix.o] Error 1 make: Target 'all' not remade because of errors. --=_5c4f1e53.PyMouB+IWxC208sY90LtrFFENbKuTpcJed2n5KWY0V/FVfP1--