From: arnold@skeeve.com
To: 9fans@9fans.net
Subject: Re: [9fans] Rc port.
Date: Mon, 28 Jan 2019 08:22:59 -0700 [thread overview]
Message-ID: <201901281522.x0SFMxbF011394@freefriends.org> (raw)
In-Reply-To: <84052108-743E-449F-914B-9BF20E3DD4A1@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 503 bytes --]
Federico Benavento <benavento@gmail.com> 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
[-- Attachment #2: ERRS --]
[-- Type: application/octet-stream, Size: 2809 bytes --]
cc -g -Wall -Wextra -Wno-parentheses -Wno-missing-braces -Wno-missing-field-initializers -Wno-comment -Wno-sign-compare -Wno-unused-parameter -Werror -DPREFIX=\"/usr/local\" -c lex.c
lex.c: In function ‘yylex’:
lex.c:225:5: error: this statement may fall through [-Werror=implicit-fallthrough=]
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-field-initializers -Wno-comment -Wno-sign-compare -Wno-unused-parameter -Werror -DPREFIX=\"/usr/local\" -c pcmd.c
pcmd.c: In function ‘pcmd’:
pcmd.c:111:4: error: this statement may fall through [-Werror=implicit-fallthrough=]
pchr(f, '<');
^~~~~~~~~~~~
pcmd.c:112:3: note: here
case READ:
^~~~
pcmd.c:121:4: error: this statement may fall through [-Werror=implicit-fallthrough=]
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-field-initializers -Wno-comment -Wno-sign-compare -Wno-unused-parameter -Werror -DPREFIX=\"/usr/local\" -c simple.c
simple.c: In function ‘execexit’:
simple.c:205:3: error: this statement may fall through [-Werror=implicit-fallthrough=]
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=implicit-fallthrough=]
setstatus(runq->argv->words->next->word);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
simple.c:208:2: note: here
case 1: Xexit();
^~~~
simple.c: In function ‘execflag’:
simple.c:405:5: error: this statement may fall through [-Werror=implicit-fallthrough=]
if(strlen(letter)==1){
^
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-field-initializers -Wno-comment -Wno-sign-compare -Wno-unused-parameter -Werror -DPREFIX=\"/usr/local\" -c unix.c
unix.c: In function ‘Waitfor’:
unix.c:224:10: error: implicit declaration of function ‘wait’; did you mean ‘Exit’? [-Werror=implicit-function-declaration]
wpid = 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.
next prev parent reply other threads:[~2019-01-28 15:22 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-23 21:39 Federico Benavento
2019-01-23 21:57 ` Calvin Morrison
2019-01-23 21:59 ` Federico Benavento
2019-01-23 22:11 ` Calvin Morrison
2019-01-23 22:32 ` Federico Benavento
2019-01-24 16:23 ` Federico Benavento
2019-01-24 14:31 ` Stuart Morrow
2019-01-24 16:13 ` erik quanstrom
2019-01-25 15:13 ` Stuart Morrow
2019-01-25 16:02 ` erik quanstrom
2019-01-25 23:11 ` Ethan Gardener
2019-01-26 13:23 ` [9fans] Scripts in 9pm Ethan Gardener
2019-01-26 14:09 ` Ethan Gardener
2019-01-24 3:01 ` [9fans] Rc port Mayuresh Kathe
2019-01-24 16:25 ` Federico Benavento
2019-01-24 16:32 ` Federico Benavento
2019-01-24 16:54 ` Mayuresh Kathe
2019-01-25 14:49 ` Stuart Morrow
2019-01-28 15:22 ` arnold [this message]
2019-01-30 16:02 ` Federico Benavento
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201901281522.x0SFMxbF011394@freefriends.org \
--to=arnold@skeeve.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).