=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ng-1.4.4 --- ttydef.h --- --- sysdef.h --- --- chrdef.h --- --- ttydef.h --- rm -f ttydef.h --- sysdef.h --- rm -f sysdef.h --- chrdef.h --- rm -f chrdef.h --- ttydef.h --- ln sys/default/ttydef.h . --- sysdef.h --- ln sys/bsd/sysdef.h . --- chrdef.h --- ln sys/default/chrdef.h . --- cinfo.c --- --- spawn.c --- --- ttyio.c --- --- spawn.c --- rm -f spawn.c --- cinfo.c --- rm -f cinfo.c --- ttyio.c --- rm -f ttyio.c --- cinfo.c --- ln sys/default/cinfo.c . --- spawn.c --- ln sys/bsd/spawn.c . --- ttyio.c --- ln sys/bsd/ttyio.c . --- tty.c --- --- ttykbd.c --- --- fileio.c --- --- ttykbd.c --- rm -f ttykbd.c --- tty.c --- rm -f tty.c --- fileio.c --- rm -f fileio.c --- ttykbd.c --- ln sys/default/ttykbd.c . --- tty.c --- ln sys/default/tty.c . --- fileio.c --- ln sys/bsd/fileio.c . --- canna.c --- --- basic.o --- --- dir.o --- --- canna.c --- rm -f canna.c --- basic.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c basic.c --- dir.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c dir.c --- canna.c --- ln sys/default/canna.c . --- dired.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c dired.c --- basic.o --- In file included from basic.c:23: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] --- dir.o --- In file included from dir.c:44: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- basic.o --- /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- dired.o --- In file included from dired.c:21: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- dir.o --- In file included from dir.c:45: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ --- basic.o --- In file included from basic.c:24: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ basic.c:32:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gotobol(f, n) ^ basic.c:50:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] backchar(f, n) ^ basic.c:104:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gotoeol(f, n) ^ basic.c:123:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] forwchar(f, n) ^ --- dired.o --- In file included from dired.c:22: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ --- basic.o --- basic.c:171:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gotobob(f, n) ^ basic.c:185:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gotoeob(f, n) ^ --- dir.o --- dir.c:306:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] changedir(f, n) ^ --- basic.o --- basic.c:201:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] nextline(f, n) ^ --- dir.o --- dir.c:489:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] showcwdir(f, n) ^ --- basic.o --- basic.c:228:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] forwline(f, n) ^ --- dired.o --- dired.c:32:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dired(f, n) ^ --- basic.o --- basic.c:308:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] backline(f, n) ^ basic.c:350:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getgoal(dlp) register LINE *dlp; { ^ basic.c:411:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] forwpage(f, n) ^ basic.c:459:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] backpage(f, n) ^ basic.c:527:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pagenext(f, n) ^ basic.c:559:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setmark(f, n) ^ basic.c:574:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] swapmark(f, n) ^ basic.c:602:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gotoline(f, n) ^ --- dired.o --- dired.c:91:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] d_otherwindow(f, n) ^ dired.c:121:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] d_del(f, n) ^ dired.c:137:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] d_undel(f, n) ^ dired.c:153:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] d_undelbak(f, n) ^ dired.c:169:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] d_flag(f, n) ^ dired.c:197:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] d_fileopen(f, n, popup) ^ dired.c:247:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] d_findfile(f, n) ^ dired.c:270:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] d_ffotherwindow(f, n) ^ dired.c:277:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] d_expunge(f, n) ^ dired.c:343:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] d_copy(f, n) ^ dired.c:387:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] d_rename(f, n) ^ --- dir.o --- 4 warnings generated. --- shell.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c shell.c --- dired.o --- 14 warnings generated. --- version.o --- --- basic.o --- 18 warnings generated. --- window.o --- --- version.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c version.c --- shell.o --- In file included from shell.c:16: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- window.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c window.c --- shell.o --- In file included from shell.c:17: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ shell.c:21:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] shellcmnd(f, n) ^ 3 warnings generated. --- version.o --- In file included from version.c:42: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- window.o --- In file included from window.c:16: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- kinsoku.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c kinsoku.c --- version.o --- In file included from version.c:45: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ --- window.o --- In file included from window.c:17: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ --- version.o --- version.c:97:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- window.o --- window.c:30:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] reposition(f, n) ^ --- version.o --- showversion(f, n) ^ version.c:254:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] showngversion(f, n) --- window.o --- window.c:58:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] refresh(f, n) ^ --- version.o --- ^ --- window.o --- window.c:93:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] nextwind(f, n) ^ window.c:143:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] onlywind(f, n) ^ window.c:191:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] splitwind(f, n) ^ --- version.o --- version.c:458:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] printversion() ^ version.c:478:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] printoptions() ^ --- window.o --- window.c:287:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] enlargewind(f, n) ^ window.c:345:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] shrinkwind(f, n) ^ window.c:407:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] delwind(f, n) ^ --- version.o --- 6 warnings generated. --- kinsoku.o --- In file included from kinsoku.c:21: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- jump.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c jump.c --- kinsoku.o --- In file included from kinsoku.c:24: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ kinsoku.c:70:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kc_list_char(f, n) ^ kinsoku.c:164:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kc_add_bol(f, n) ^ kinsoku.c:198:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kc_del_bol(f, n) ^ kinsoku.c:232:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kc_add_eol(f, n) ^ kinsoku.c:266:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kc_del_eol(f, n) ^ kinsoku.c:362:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] isbolkchar(c1, c2) ^ kinsoku.c:385:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] iseolkchar(c1, c2) ^ --- window.o --- 10 warnings generated. --- buffer.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c buffer.c --- jump.o --- In file included from jump.c:30: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from jump.c:33: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ jump.c:85:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_regexp( pat ) ^ jump.c:100:20: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] if (message != '\0') { ^~~~ (void *)0 jump.c:110:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] parse_error_message( clp, col, namebuf, ip, parse_end ) ^ jump.c:160:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] jumptoerror(f,n) ^ jump.c:264:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] compile(f, n) ^ jump.c:310:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] nexterror(f, n) ^ --- kinsoku.o --- 9 warnings generated. --- cmode.o --- --- buffer.o --- In file included from buffer.c:35: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- cmode.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c cmode.c --- buffer.o --- In file included from buffer.c:36: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ buffer.c:57:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] usebuffer(f, n) ^ buffer.c:84:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] poptobuffer(f, n) ^ buffer.c:119:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] killbuffer(f, n) ^ buffer.c:200:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] savebuffers(f, n) ^ buffer.c:214:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] listbuffers(f, n) ^ buffer.c:365:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] addline(bp, text) register BUFFER *bp; char *text; { ^ buffer.c:395:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] anycb(f) { ^ buffer.c:524:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bclear(bp) register BUFFER *bp; { ^ buffer.c:546:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] showbuffer(bp, wp, flags) register BUFFER *bp; register WINDOW *wp; { ^ buffer.c:610:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bufferinsert(f, n) ^ buffer.c:681:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] notmodified(f, n) ^ buffer.c:701:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] togglereadonly(f, n) ^ buffer.c:732:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] popbuftop(bp) ^ buffer.c:760:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getnum(prompt, num) ^ buffer.c:775:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_default_tabwidth(f, n) ^ buffer.c:789:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_tabwidth(f, n) ^ buffer.c:808:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_cmode_tabwidth(f, n) ^ buffer.c:850:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] b_thiswin(f, n) ^ buffer.c:875:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] b_delundel(ch) ^ buffer.c:896:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] b_del(f, n) ^ buffer.c:903:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] b_undel(f, n) ^ buffer.c:910:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] b_expunge(f, n) ^ --- jump.o --- 8 warnings generated. --- file.o --- --- cmode.o --- In file included from cmode.c:30: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- file.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c file.c --- cmode.o --- In file included from cmode.c:33: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ cmode.c:90:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_use_c_mode(f, n) ^ cmode.c:112:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_brace(f, n) ^ cmode.c:122:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_brace_blink(f, n) ^ cmode.c:156:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_semi(f, n) ^ cmode.c:177:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_term(f, n) ^ cmode.c:214:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_indent(f, n) ^ cmode.c:254:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_lfindent(f, n) ^ cmode.c:285:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static calc_indent() ~~~~~~ ^ cmode.c:601:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static adjust_spc(nicol) ~~~~~~ ^ cmode.c:664:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static check_bal(balc) ~~~~~~ ^ cmode.c:694:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static count_column(lp, bo) ~~~~~~ ^ cmode.c:726:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_set_indent(f, n) ^ cmode.c:740:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_set_imagin(f, n) ^ cmode.c:755:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_set_brace(f, n) ^ cmode.c:770:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_set_arg(f, n) ^ cmode.c:785:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_set_label(f, n) ^ cmode.c:800:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_set_cstat(f, n) ^ cmode.c:815:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_set_cbrace(f, n) ^ cmode.c:832:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_set_newl(f, n) ^ cmode.c:858:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_set_tab(f, n) ^ cmode.c:882:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_list_var(f, n) ^ cmode.c:929:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cm_indentregion(f, n) ^ --- file.o --- In file included from file.c:23: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from file.c:24: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ file.c:39:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fileinsert(f, n) ^ file.c:70:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fileopen(f, n, readonly, popup, prompt) ^ file.c:189:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] filevisit(f, n) ^ file.c:200:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] poptofile(f, n) ^ file.c:216:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] filereadonly(f, n) ^ file.c:299:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] readin(fname) char *fname; { ^ file.c:354:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] insertfile(fname, newname) char fname[], newname[]; { ^ file.c:653:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] filewrite(f, n) ^ file.c:720:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] filesave(f, n) ^ file.c:734:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] buffsave(bp) BUFFER *bp; { ^ file.c:790:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] makebkfile(f, n) ^ file.c:806:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] writeout(bp, fn) register BUFFER *bp; char *fn; { ^ --- buffer.o --- 24 warnings generated. --- cmode.o --- 24 warnings generated. --- line.o --- --- paragraph.o --- --- line.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c line.c --- paragraph.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c paragraph.c --- file.o --- 14 warnings generated. --- random.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c random.c --- line.o --- In file included from line.c:66: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- paragraph.o --- In file included from paragraph.c:27: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from paragraph.c:28: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ --- line.o --- In file included from line.c:67: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ --- paragraph.o --- paragraph.c:55:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gotobop(f, n) ^ paragraph.c:101:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gotoeop(f, n) ^ paragraph.c:151:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fillpara(f, n) ^ paragraph.c:253:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (eolflag=(curwp->w_doto == llength(curwp->w_dotp))) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ paragraph.c:253:14: note: place parentheses around the assignment to silence this warning if (eolflag=(curwp->w_doto == llength(curwp->w_dotp))) { ^ --- line.o --- line.c:223:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- paragraph.o --- ( ) --- line.o --- linsert(n, c) ^ --- paragraph.o --- paragraph.c:253:14: note: use '==' to turn this assignment into an equality comparison if (eolflag=(curwp->w_doto == llength(curwp->w_dotp))) { ^ == paragraph.c:264:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (eolflag=((curwp->w_doto + 1) == ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ paragraph.c:264:15: note: place parentheses around the assignment to silence this warning if (eolflag=((curwp->w_doto + 1) == ^ ( paragraph.c:264:15: note: use '==' to turn this assignment into an equality comparison if (eolflag=((curwp->w_doto + 1) == ^ == --- line.o --- line.c:354:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lnewline() ^ --- paragraph.o --- paragraph.c:515:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] killpara(f, n) ^ paragraph.c:564:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fillword(f, n) ^ --- line.o --- line.c:457:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ldelete(n, kflag) RSIZE n; { ^ --- paragraph.o --- paragraph.c:765:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setfillcol(f, n) { ^ paragraph.c:781:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setfillprefix(f, n) { ^ --- line.o --- line.c:639:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ldelnewline() { ^ line.c:711:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lreplace(plen, st, f) ^ line.c:843:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kinsert(c, dir) { ^ line.c:859:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kgrow(back) { ^ line.c:889:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kremove(n) { ^ --- random.o --- In file included from random.c:37: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from random.c:38: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ random.c:53:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] showcpos(f, n) ^ random.c:96:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getcolpos() { ^ random.c:134:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else kan2nd=1; ^ random.c:155:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] twiddle(f, n) ^ random.c:249:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] openline(f, n) ^ random.c:285:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] newline(f, n) ^ random.c:327:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] deblank(f, n) ^ random.c:357:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] justone(f, n) { ^ random.c:371:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] delwhite(f, n) ^ random.c:411:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] indent(f, n) ^ random.c:464:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] forwdel(f, n) ^ random.c:491:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] backdel(f, n) ^ random.c:530:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] killline(f, n) { ^ random.c:590:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] killoneline(f, n) { ^ random.c:654:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] yank(f, n) ^ random.c:792:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] zaptochar(f,n) ^ random.c:891:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pagelines(f, n) ^ random.c:931:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] regionlines(f, n) ^ --- paragraph.o --- 11 warnings generated. --- region.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c region.c --- random.o --- 20 warnings generated. --- undo.o --- --- line.o --- 10 warnings generated. --- undo.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c undo.c --- word.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c word.c --- region.o --- In file included from region.c:21: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from region.c:22: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ region.c:33:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] killregion(f, n) ^ region.c:67:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] copyregion(f, n) ^ region.c:107:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] copybuffer(f, n) ^ region.c:157:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lowerregion(f, n) ^ region.c:202:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] upperregion(f, n) ^ region.c:253:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getregion(rp) register REGION *rp; { ^ region.c:307:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setsize(rp, size) register REGION *rp; register RSIZE size; { ^ region.c:337:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] prefixregion(f, n) ^ region.c:396:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setprefix(f, n) ^ --- undo.o --- In file included from undo.c:36: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from undo.c:37: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ --- word.o --- In file included from word.c:21: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from word.c:22: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ word.c:34:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] backword(f, n) ^ word.c:63:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] forwword(f, n) ^ word.c:91:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] upperword(f, n) ^ word.c:136:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] lowerword(f, n) ^ word.c:183:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] capword(f, n) ^ word.c:241:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] delfword(f, n) ^ word.c:313:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] delbword(f, n) ^ word.c:377:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] inword() { ^ --- region.o --- 11 warnings generated. --- complt.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c complt.c --- undo.o --- 2 warnings generated. --- word.o --- 10 warnings generated. --- display.o --- --- keymap.o --- --- display.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c display.c --- complt.o --- In file included from complt.c:29: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- keymap.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c keymap.c --- complt.o --- In file included from complt.c:31: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ --- display.o --- In file included from display.c:39: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- keymap.o --- In file included from keymap.c:35: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- display.o --- In file included from display.c:40: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ --- keymap.o --- In file included from keymap.c:36: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ --- display.o --- display.c:885:2: warning: implicit declaration of function 'ttykeypadstart' is invalid in C99 [-Wimplicit-function-declaration] ttykeypadstart(); ^ --- keymap.o --- keymap.c:1737:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] name_fent(fname, flag) ^ --- display.o --- display.c:1368:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] vtputs(s) register char *s; { ^ --- keymap.o --- 3 warnings generated. --- complt.o --- 2 warnings generated. --- modes.o --- --- echo.o --- --- modes.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c modes.c --- echo.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c echo.c --- modes.o --- In file included from modes.c:18: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- echo.o --- In file included from echo.c:43: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- modes.o --- In file included from modes.c:19: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ --- echo.o --- In file included from echo.c:44: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ echo.c:126:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] eyorn(sp) char *sp; { ^ --- modes.o --- modes.c:65:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] indentmode(f, n) ^ --- echo.o --- echo.c:150:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] eyesno(sp) char *sp; { ^ --- modes.o --- modes.c:70:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fillmode(f, n) ^ modes.c:87:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] blinkparen(f, n) ^ modes.c:105:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cmode(f, n) ^ modes.c:118:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] overwrite(f, n) ^ modes.c:129:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_default_mode(f, n) ^ modes.c:168:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else defb_flag |= BFAUTOFILL; ^ modes.c:172:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else defb_flag |= BFOVERWRITE; ^ --- echo.o --- echo.c:982:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static _mb_cmpl_msg_len = 0; ~~~~~~ ^ echo.c:1912:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mb_insertstr(ks.echoStr); ^~~~~~~~~~ --- modes.o --- 10 warnings generated. --- extend.o --- --- display.o --- 4 warnings generated. --- extend.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c extend.c --- help.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c help.c --- extend.o --- In file included from extend.c:15: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from extend.c:16: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ --- help.o --- In file included from help.c:8: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- extend.o --- extend.c:44:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] insert(f, n) ^ extend.c:419:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bindtokey(f, n) ^ extend.c:428:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] localbind(f, n) ^ extend.c:438:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] define_key(f, n) ^ extend.c:453:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] unbindtokey(f, n) ^ extend.c:459:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] localunbind(f, n) ^ extend.c:473:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extend(f, n) ^ extend.c:518:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] evalexpr(f, n) ^ extend.c:532:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] evalbuffer(f, n) ^ extend.c:552:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] evalfile(f, n) ^ extend.c:573:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] load(fname) char *fname; { ^ extend.c:612:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] excline(line) ^ --- help.o --- In file included from help.c:9: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ help.c:30:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] desckey(f, n) ^ help.c:105:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] wallchart(f, n) ^ help.c:184:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] help_help(f, n) ^ help.c:208:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] apropos_command(f, n) ^ 6 warnings generated. --- kanji.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c kanji.c --- extend.o --- 14 warnings generated. --- kbd.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c kbd.c --- kanji.o --- In file included from kanji.c:27: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from kanji.c:30: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ kanji.c:130:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k_rot_fio(f, n) ^ kanji.c:152:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k_set_fio(f, n) ^ kanji.c:176:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k_rot_buffio(f, n) ^ kanji.c:199:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k_set_buffio(f, n) ^ kanji.c:224:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k_set_expect(f, n) ^ kanji.c:248:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k_rot_input(f, n) ^ kanji.c:269:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k_set_input(f, n) ^ kanji.c:295:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k_rot_display(f, n) ^ kanji.c:316:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] --- kbd.o --- In file included from kbd.c:35: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] --- kanji.o --- k_set_display(f, n) ^ --- kbd.o --- /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- kanji.o --- kanji.c:341:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k_list_code(f, n) ^ kanji.c:412:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k_show_code(f, n) ^ kanji.c:451:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k_set_tokfio(f, n) ^ kanji.c:474:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k_set_toafio(f, n) ^ kanji.c:498:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k_set_tokanafio(f, n) ^ kanji.c:521:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k_set_tokanadisplay(f, n) ^ kanji.c:545:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k_set_tokdisplay(f, n) ^ kanji.c:568:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] k_set_toadisplay(f, n) ^ kanji.c:588:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kcodenumber(code, num) ^ kanji.c:624:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kanalastchar(lastch) ^ kanji.c:658:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] klastchar(lastch, kselect) ^ kanji.c:700:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kdispbufcode(bp) ^ kanji.c:729:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kgetkey() ^ kanji.c:752:26: warning: '/*' within block comment [-Wcomment] #ifdef notdef /* HANKANA /* 92.11.21 by S.Sasaki */ ^ kanji.c:1288:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kcodeconv(buf, len, bp) ^ kanji.c:1320:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kcodecount(buf, len) ^ kanji.c:1346:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] kcodecheck(p, len) ^ kanji.c:1414:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bufjtoe(j, len) ^ kanji.c:1503:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bufstoe(p, len) ^ kanji.c:1587:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bufjtoe_c(j, len) ^ kanji.c:1633:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bufstoe_c(p, len) ^ kanji.c:1662:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] iskanji() ^ kanji.c:1672:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] iskword(c1, c2) ^ kanji.c:1682:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getcategory() ^ kanji.c:1709:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] incategory() ^ kanji.c:1733:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] charcategory(c1, c2) ^ --- kbd.o --- In file included from kbd.c:36: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ kbd.c:72:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_meta(f, n) ^ kbd.c:92:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bsmap(f, n) ^ kbd.c:120:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(pushedc==CCHR('?')) pushedc=CCHR('H'); ^ kbd.c:152:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(c==CCHR('?')) c=CCHR('H'); ^ kbd.c:196:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] doin() ^ kbd.c:252:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rescan(f, n) ^ kbd.c:315:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] universal_argument(f, n) ^ kbd.c:351:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] digit_argument(f, n) ^ kbd.c:386:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] negative_argument(f, n) ^ kbd.c:431:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] selfinsert(f, n) ^ kbd.c:653:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] quote(f, n) ^ --- echo.o --- 6 warnings generated. --- macro.o --- --- kanji.o --- 37 warnings generated. --- macro.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c macro.c --- main.o --- --- kbd.o --- 13 warnings generated. --- search.o --- --- main.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c main.c --- search.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c search.c --- macro.o --- In file included from macro.c:11: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- main.o --- In file included from main.c:31: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- macro.o --- In file included from macro.c:14: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ macro.c:21:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] definemacro(f, n) ^ macro.c:49:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] finishmacro(f, n) ^ macro.c:58:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] executemacro(f, n) ^ macro.c:67:33: warning: array index 256 is past the end of the array (which contains 256 elements) [-Warray-bounds] (macrocount >= MAXMACRO && macro[MAXMACRO].m_funct != finishmacro)) ^ ~~~~~~~~ ./macro.h:22:8: note: array 'macro' declared here EXTERN union { ^ --- search.o --- In file included from search.c:29: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- main.o --- In file included from main.c:32: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ main.c:55:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ main.c:133:2: warning: implicit declaration of function 'ttykeymapinit' is invalid in C99 [-Wimplicit-function-declaration] ttykeymapinit(ngrcfile); /* Symbols, bindings. */ ^ main.c:282:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] quit(f, n) ^ main.c:308:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ctrlg(f, n) ^ --- search.o --- In file included from search.c:30: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ search.c:106:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] forwsearch(f, n) ^ search.c:128:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] backsearch(f, n) ^ search.c:149:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] searchagain(f, n) ^ search.c:174:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] forwisearch(f, n) ^ search.c:184:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] backisearch(f, n) ^ search.c:202:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] isearch(dir) { ^ search.c:684:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] queryrepl(f, n) ^ search.c:787:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] forwsrch() { ^ search.c:848:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] backsrch() { ^ search.c:940:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] readpattern(prompt) char *prompt; { ^ --- macro.o --- 6 warnings generated. --- match.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c match.c --- main.o --- 6 warnings generated. --- re_search.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c re_search.c --- match.o --- In file included from match.c:30: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from match.c:31: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ match.c:59:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] showmatch(f, n) ^ match.c:81:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] gotomatch(f,n) ^ match.c:103:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] blinkmatch( clp, cbo ) ^ match.c:117:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getmatch( clp, cbo, mlp, mbo, dir ) ^ --- re_search.o --- In file included from re_search.c:82: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from re_search.c:85: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ re_search.c:144:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] re_forwsearch(f, n) { ^ re_search.c:165:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] re_backsearch(f, n) { ^ re_search.c:190:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] re_searchagain(f, n) { ^ re_search.c:234:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] re_queryrepl(f, n) { ^ re_search.c:340:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] re_doreplace(plen, st, f) ^ re_search.c:430:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] re_forwsrch() { ^ re_search.c:484:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] re_backsrch() { ^ re_search.c:538:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] re_readpattern(prompt) char *prompt; { ^ re_search.c:553:24: warning: assigning to 'char *' from 'unsigned char[256]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] re_buff.translate = upcase; ^ ~~~~~~ re_search.c:555:26: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] re_buff.translate = '\0'; ^~~~ re_search.c:557:19: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] if (message != '\0') { ^~~~ (void *)0 re_search.c:575:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setcasefold(f, n) { ^ re_search.c:599:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] delmatchlines(f, n) { ^ re_search.c:614:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] delnonmatchlines(f, n) { ^ re_search.c:629:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] killmatches(cond) ^ re_search.c:690:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cntmatchlines(f, n) { ^ re_search.c:705:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cntnonmatchlines(f, n) { ^ re_search.c:720:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] countmatches(cond) ^ --- search.o --- 12 warnings generated. --- match.o --- 6 warnings generated. --- regex.o --- --- skg.o --- --- regex.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c regex.c --- skg.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c skg.c --- re_search.o --- 20 warnings generated. --- cinfo.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c cinfo.c --- skg.o --- In file included from skg.c:25: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- regex.o --- In file included from regex.c:11: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- skg.o --- In file included from skg.c:27: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ --- regex.o --- In file included from regex.c:14: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ --- skg.o --- skg.c:237:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] skginput(f , n) ^ skg.c:337:20: warning: illegal character encoding in string literal [-Winvalid-source-encoding] strcat( dstr , "<A5><C3>" ); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ skg.c:339:20: warning: illegal character encoding in string literal [-Winvalid-source-encoding] strcat( dstr , "<A4><C3>" ); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ skg.c:638:16: warning: illegal character encoding in string literal [-Winvalid-source-encoding] ewprintf("Skg[<A4><A2>]:%s",bufstr ); ^~~~~~~~ skg.c:866:37: warning: illegal character encoding in string literal [-Winvalid-source-encoding] strcat( dickeystr[i].hiragana , "<A5><C3>" ); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ skg.c:868:37: warning: illegal character encoding in string literal [-Winvalid-source-encoding] strcat( dickeystr[i].hiragana , "<A4><C3>" ); ^~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:135:33: note: expanded from macro 'strcat' __builtin___strcat_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~~~~~~~~ skg.c:977:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] skg_set_romanname(f, n) ^ skg.c:998:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] skg_set_dicname(f, n) ^ --- regex.o --- In file included from regex.c:18: ./regex_j.c:993:15: warning: 6 enumeration values not handled in switch: 'unused', 'charset_list', 'charset_fromto'... [-Wswitch] switch ((enum regexpcode) *p++) ^~~~~~~~~~~~~~~~~~~~~~ ./regex_j.c:993:15: note: add missing switch cases switch ((enum regexpcode) *p++) ^ ./regex_j.c:1572:15: warning: 9 enumeration values not handled in switch: 'unused', 'charset_list', 'charset_fromto'... [-Wswitch] switch ((enum regexpcode) *p++) ^~~~~~~~~~~~~~~~~~~~~~ ./regex_j.c:1572:15: note: add missing switch cases switch ((enum regexpcode) *p++) ^ --- cinfo.o --- In file included from cinfo.c:18: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from cinfo.c:19: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ 2 warnings generated. --- ttyio.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c ttyio.c In file included from ttyio.c:21: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from ttyio.c:22: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ ttyio.c:63:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttopen() { ^ --- skg.o --- 10 warnings generated. --- ttyio.o --- ttyio.c:93:6: warning: implicit declaration of function 'tgetent' is invalid in C99 [-Wimplicit-function-declaration] if((tgetent(tcbuf, tv_stype)) != 1) ^ ttyio.c:99:6: warning: implicit declaration of function 'ttraw' is invalid in C99 [-Wimplicit-function-declaration] if (ttraw() == FALSE) ^ ttyio.c:109:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ttyio.c:118:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttraw() { ^ ttyio.c:173:2: warning: implicit declaration of function 'setttysize' is invalid in C99 [-Wimplicit-function-declaration] setttysize() ; ^ ttyio.c:184:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttclose() { ^ ttyio.c:185:6: warning: implicit declaration of function 'ttcooked' is invalid in C99 [-Wimplicit-function-declaration] if (ttcooked() == FALSE) ^ ttyio.c:190:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ttyio.c:197:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttcooked() { ^ ttyio.c:219:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttputc(c) ^ ttyio.c:225:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ttyio.c:230:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttflush() { ^ ttyio.c:236:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ttyio.c:248:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttgetc() { ^ ttyio.c:265:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttungetc(c) ^ ttyio.c:269:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ttyio.c:275:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setttysize() { ^ ttyio.c:284:12: warning: implicit declaration of function 'tgetnum' is invalid in C99 [-Wimplicit-function-declaration] if ((nrow=tgetnum ("li")) <= 0 ^ ttyio.c:293:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ttyio.c:303:2: warning: implicit declaration of function 'refresh' is invalid in C99 [-Wimplicit-function-declaration] refresh(FFRAND, 0); /* Very easy way... */ ^ ttyio.c:305:2: warning: implicit declaration of function 'canna_width' is invalid in C99 [-Wimplicit-function-declaration] canna_width(); ^ ttyio.c:315:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] typeahead() { ^ ttyio.c:329:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] panic(s) char *s; { ^ --- spawn.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c spawn.c --- ttyio.o --- 26 warnings generated. --- spawn.o --- In file included from spawn.c:17: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- ttykbd.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c ttykbd.c --- spawn.o --- In file included from spawn.c:18: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ spawn.c:53:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] spawncli(f, n) { ^ spawn.c:66:2: warning: implicit declaration of function 'ttykeymaptidy' is invalid in C99 [-Wimplicit-function-declaration] ttykeymaptidy(); ^ spawn.c:91:6: warning: implicit declaration of function 'ttcooked' is invalid in C99 [-Wimplicit-function-declaration] if (ttcooked() == FALSE) ^ spawn.c:105:3: warning: implicit declaration of function 'refresh' is invalid in C99 [-Wimplicit-function-declaration] refresh(FFRAND, 0); /* May be resized. */ ^ spawn.c:141:3: warning: implicit declaration of function 'refresh' is invalid in C99 [-Wimplicit-function-declaration] refresh(FFRAND, 0); /* May be resized. */ ^ spawn.c:147:2: warning: implicit declaration of function 'ttykeypadstart' is invalid in C99 [-Wimplicit-function-declaration] ttykeypadstart(); ^ spawn.c:149:9: warning: implicit declaration of function 'ttraw' is invalid in C99 [-Wimplicit-function-declaration] return ttraw(); ^ spawn.c:180:12: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((in = open(input ? input : "/dev/null", 0)) < 0) ^ --- regex.o --- 4 warnings generated. --- tty.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c tty.c --- ttykbd.o --- In file included from ttykbd.c:15: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- spawn.o --- 10 warnings generated. --- fileio.o --- --- ttykbd.o --- In file included from ttykbd.c:16: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ --- fileio.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c fileio.c --- ttykbd.o --- ttykbd.c:38:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttykeymapinit(ngrcfile) ^ ttykbd.c:50:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = gettermtype()) { ~~~^~~~~~~~~~~~~~~ ttykbd.c:50:9: note: place parentheses around the assignment to silence this warning if (cp = gettermtype()) { ^ ( ) ttykbd.c:50:9: note: use '==' to turn this assignment into an equality comparison if (cp = gettermtype()) { ^ == ttykbd.c:60:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ttykbd.c:65:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttykeypadstart() ^ ttykbd.c:72:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ttykbd.c:77:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttykeymaptidy() ^ ttykbd.c:85:1: warning: non-void function does not return a value [-Wreturn-type] } ^ --- tty.o --- In file included from tty.c:36: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ --- ttykbd.o --- 9 warnings generated. --- tty.o --- In file included from tty.c:37: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ tty.c:102:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttinit() { ^ tty.c:111:6: warning: implicit declaration of function 'tgetent' is invalid in C99 [-Wimplicit-function-declaration] if((tgetent(tcbuf, tv_stype)) != 1) { ^ tty.c:121:7: warning: implicit declaration of function 'tgetnum' is invalid in C99 [-Wimplicit-function-declaration] LI = tgetnum("li"); ^ tty.c:171:16: warning: implicit declaration of function 'charcost' is invalid in C99 [-Wimplicit-function-declaration] else tceeol = charcost(CE); ^ --- canna.o --- --- tty.o --- tty.c:191:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:201:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tttidy() { ^ tty.c:206:2: warning: implicit declaration of function 'ttykeymaptidy' is invalid in C99 [-Wimplicit-function-declaration] ttykeymaptidy(); ^ tty.c:208:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:217:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttmove(row, col) { ^ tty.c:223:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:228:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tteeol() { ^ tty.c:235:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:240:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tteeop() { ^ tty.c:257:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:262:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttbeep() { ^ tty.c:265:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:285:3: warning: implicit declaration of function 'ttwindow' is invalid in C99 [-Wimplicit-function-declaration] ttwindow(row,bot); ^ tty.c:325:3: warning: implicit declaration of function 'ttwindow' is invalid in C99 [-Wimplicit-function-declaration] ttwindow(row, bot); ^ tty.c:358:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttwindow(top, bot) ^ tty.c:367:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:379:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttnowindow() ^ tty.c:388:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:399:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttcolor(color) register int color; { ^ tty.c:408:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:419:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttresize() { ^ tty.c:420:2: warning: implicit declaration of function 'setttysize' is invalid in C99 [-Wimplicit-function-declaration] setttysize(); /* found in "ttyio.c", */ ^ tty.c:430:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:447:1: warning: non-void function does not return a value [-Wreturn-type] } ^ tty.c:450:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] charcost (s) char *s; { ^ --- canna.o --- cc -O2 -DCANNA -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c canna.c --- fileio.o --- In file included from fileio.c:17: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from fileio.c:18: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ fileio.c:25:26: error: expected parameter declarator extern char *getenv(), *strncpy(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:128:32: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ fileio.c:25:26: error: expected parameter declarator /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:128:45: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ fileio.c:25:26: error: expected parameter declarator /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:128:47: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_common.h:39:60: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ fileio.c:25:26: error: expected parameter declarator /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:128:47: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ fileio.c:25:26: error: expected ')' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:128:47: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ fileio.c:25:26: note: to match this '(' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:128:47: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ fileio.c:25:26: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern char *getenv(), *strncpy(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:128:47: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ fileio.c:25:26: error: conflicting types for '__builtin___strncpy_chk' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:128:3: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ fileio.c:25:26: note: '__builtin___strncpy_chk' is a builtin with type 'char *(char *, const char *, unsigned long, unsigned long)' /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:128:3: note: expanded from macro 'strncpy' __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ fileio.c:32:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ffropen(fn) char *fn; { ^ fileio.c:43:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ffwopen(fn) char *fn; { ^ fileio.c:55:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ffclose() { ^ fileio.c:67:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ffputbuf(bp) ^ fileio.c:90:6: warning: implicit declaration of function 'kputc' is invalid in C99 [-Wimplicit-function-declaration] kputc(*cp, ffp, kfio); ^ fileio.c:118:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ffgetline(buf, nbuf, nbytes) ^ fileio.c:149:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fbackupfile(fn) char *fn; { ^ fileio.c:176:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fgetfilemode(fn) ^ fileio.c:188:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fsetfilemode(fn, mode) ^ fileio.c:206:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fchkreadonly(fn) ^ fileio.c:411:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] copy(frname, toname) ^ fileio.c:493:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] d_makename(lp, fn) ^ fileio.c:566:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ffisdir(dn) ^ fileio.c:592:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fffiles(name, buf) ^ 17 warnings and 6 errors generated. *** [fileio.o] Error code 1 bmake: stopped in /Users/pbulk/build/editors/ng/work/ng-1.4.4 --- canna.o --- In file included from canna.c:18: ./config.h:129:18: warning: '/*' within block comment [-Wcomment] /*#define CANNA /* use CANNA kana-kanji server (by Endo) */ ^ In file included from canna.c:21: In file included from ./def.h:47: ./ttydef.h:36:27: warning: '/*' within block comment [-Wcomment] /* #define MOVE_STANDOUT /* don't move in standout mode */ ^ canna.c:132:24: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char *kb=kouhobuf, *gl=ks.gline.line; ^ ~~~~~~~~~~~~~ canna.c:138:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(*kb++ = *gl++) ; ~~~~~~^~~~~~~ canna.c:138:16: note: place parentheses around the assignment to silence this warning while(*kb++ = *gl++) ; ^ ( ) canna.c:138:16: note: use '==' to turn this assignment into an equality comparison while(*kb++ = *gl++) ; ^ == canna.c:151:34: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] jrKanjiControl(0, KC_SETWIDTH, (char *) ncol-2); ^~~~~~~~~~~~~ canna.c:159:13: warning: assigning to 'unsigned char *' from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ksv.buffer = kakutei; ^ ~~~~~~~ --- tty.o --- 31 warnings generated. --- canna.o --- 6 warnings generated. 1 error bmake: stopped in /Users/pbulk/build/editors/ng/work/ng-1.4.4 *** Error code 2 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/editors/ng *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/editors/ng