=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for skkfep-0.86cnb1 --- genMakefile --- rm -f genMakefile cp config.h junk.c awk -f extrpar `cc -E junk.c | sed -n 's/^#[^"]*"\([^/][^"]*onfigs[^"]*\)".*/\1/p' | sort | uniq` > genMakefile In file included from junk.c:15: ./configs/freebsd.h:11:24: warning: '/*' within block comment [-Wcomment] /*#include /* for openpty() */ ^ 1 warning generated. rm -f junk.c awk -f extrpar config.h | cat - protoMakefile >> genMakefile --- all --- make -f genMakefile all --- jc.o --- --- fep.o --- --- connsh.o --- --- jc.o --- clang -DUSE_LOCALE -O -DSKK_CONF=\"/usr/pkg/etc/skk.conf\" -c jc.c --- fep.o --- clang -DUSE_LOCALE -O -DSKK_CONF=\"/usr/pkg/etc/skk.conf\" -c fep.c --- connsh.o --- clang -DUSE_LOCALE -O -DSKK_CONF=\"/usr/pkg/etc/skk.conf\" -c connsh.c --- fep.o --- In file included from fep.c:1: --- jc.o --- In file included from jc.c:38: In file included from ./config.h:15: ./configs/freebsd.h:11:24: warning: '/*' within block comment [-Wcomment] /*#include /* for openpty() */ ^ jc.c:112:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ jc.c:129:3: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] usage(); ^ jc.c:130:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(-1); ^ jc.c:130:3: note: include the header or explicitly provide a declaration for 'exit' jc.c:132:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (!strcmp(argv[1],"-c")) { ^ --- fep.o --- In file included from ./config.h:15: ./configs/freebsd.h:11:24: warning: '/*' within block comment [-Wcomment] /*#include /* for openpty() */ ^ fep.c:82:17: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (strcmp(tab->str, p)==0) ^ fep.c:82:17: note: include the header or explicitly provide a declaration for 'strcmp' fep.c:106:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ fep.c:110:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc,argv,envp) ^ fep.c:125:8: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (!strncmp(argv[i],"-o",2)) ^ fep.c:125:8: note: include the header or explicitly provide a declaration for 'strncmp' --- connsh.o --- In file included from connsh.c:1: In file included from ./config.h:15: ./configs/freebsd.h:11:24: warning: '/*' within block comment [-Wcomment] /*#include /* for openpty() */ ^ connsh.c:113:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] establishShell() ^ connsh.c:123:4: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(ShellName,p); ^ connsh.c:123:4: note: include the header or explicitly provide a declaration for 'strcpy' connsh.c:127:21: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] pwent = getpwuid(getuid()); ^ connsh.c:135:2: warning: implicit declaration of function 'getDevice' is invalid in C99 [-Wimplicit-function-declaration] getDevice(&master,&slave); ^ connsh.c:137:15: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] currentPid = getpid(); ^ connsh.c:139:2: warning: implicit declaration of function 'set_winsize' is invalid in C99 [-Wimplicit-function-declaration] set_winsize(master); ^ connsh.c:140:2: warning: implicit declaration of function 'setEnvirons' is invalid in C99 [-Wimplicit-function-declaration] setEnvirons(); ^ connsh.c:175:10: warning: implicitly declaring library function 'vfork' with type 'int (void)' [-Wimplicit-function-declaration] if((i = vfork()) < 0) { ^ connsh.c:175:10: note: include the header or explicitly provide a declaration for 'vfork' connsh.c:177:3: warning: implicit declaration of function 'reset_tty' is invalid in C99 [-Wimplicit-function-declaration] reset_tty(); ^ connsh.c:178:3: warning: implicit declaration of function 'Exit' is invalid in C99 [-Wimplicit-function-declaration] Exit(1); ^ connsh.c:191:10: warning: implicit declaration of function 'setsid' is invalid in C99 [-Wimplicit-function-declaration] (void) setsid(); ^ connsh.c:215:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(master); ^ connsh.c:227:3: warning: implicit declaration of function 'set_tty_sane' is invalid in C99 [-Wimplicit-function-declaration] set_tty_sane(slave); ^ connsh.c:228:3: warning: implicit declaration of function 'dup2' is invalid in C99 [-Wimplicit-function-declaration] dup2(slave,0); ^ connsh.c:237:3: warning: implicit declaration of function 'seteuid' is invalid in C99 [-Wimplicit-function-declaration] seteuid(getuid()); ^ connsh.c:237:11: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] seteuid(getuid()); ^ connsh.c:238:18: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] p = &ShellName[strlen(ShellName)]; ^ connsh.c:238:18: note: include the header or explicitly provide a declaration for 'strlen' connsh.c:244:7: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration] execl(ShellName, procName, 0); ^ connsh.c:246:7: warning: implicit declaration of function 'execvp' is invalid in C99 [-Wimplicit-function-declaration] execvp(ShellName, ShellArg); ^ connsh.c:249:3: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] _exit(127); ^ connsh.c:249:3: note: include the header or explicitly provide a declaration for '_exit' connsh.c:252:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(slave); ^ connsh.c:258:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ connsh.c:265:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getDevice(master,slave) ^ connsh.c:268:6: warning: implicit declaration of function 'openpty' is invalid in C99 [-Wimplicit-function-declaration] if (openpty(master, slave, SlaveName, ^ connsh.c:273:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ connsh.c:346:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] freeDevice() ^ connsh.c:348:2: warning: implicit declaration of function 'chmod' is invalid in C99 [-Wimplicit-function-declaration] chmod(SlaveName, 0666); ^ connsh.c:349:2: warning: implicit declaration of function 'chown' is invalid in C99 [-Wimplicit-function-declaration] chown(SlaveName, 0, 0); ^ connsh.c:350:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 30 warnings generated. --- fep.o --- fep.c:132:4: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(UserDicName,argv[++i]); ^ fep.c:132:4: note: include the header or explicitly provide a declaration for 'strcpy' fep.c:221:2: warning: implicit declaration of function 'setKanaKey' is invalid in C99 [-Wimplicit-function-declaration] setKanaKey(); ^ fep.c:222:2: warning: implicit declaration of function 'getTCstr' is invalid in C99 [-Wimplicit-function-declaration] getTCstr(); ^ fep.c:223:2: warning: implicit declaration of function 'get_winsize' is invalid in C99 [-Wimplicit-function-declaration] get_winsize(); ^ fep.c:224:2: warning: implicit declaration of function 'set_tty' is invalid in C99 [-Wimplicit-function-declaration] set_tty(); ^ fep.c:225:2: warning: implicit declaration of function 'set_int' is invalid in C99 [-Wimplicit-function-declaration] set_int(); ^ fep.c:229:3: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(UserDicName,"/"); ^ fep.c:229:3: note: include the header or explicitly provide a declaration for 'strcat' fep.c:242:6: warning: implicit declaration of function 'openSKKserv' is invalid in C99 [-Wimplicit-function-declaration] if (openSKKserv() != -1) ^ fep.c:247:2: warning: implicit declaration of function 'establishShell' is invalid in C99 [-Wimplicit-function-declaration] establishShell(); ^ fep.c:263:13: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if ((i = read(Shellfd,shellBuf,SH_BUF_SIZ)) > 0) ^ fep.c:264:5: warning: implicit declaration of function 'writeShTty' is invalid in C99 [-Wimplicit-function-declaration] writeShTty(shellBuf,i); ^ fep.c:314:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] flushOut(minchar) ^ fep.c:332:8: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] i = read(Shellfd,shellBuf,SH_BUF_SIZ); ^ fep.c:333:4: warning: implicit declaration of function 'writeShTty' is invalid in C99 [-Wimplicit-function-declaration] writeShTty(shellBuf,i); ^ fep.c:341:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fep.c:353:2: warning: implicit declaration of function 'writeTtyShell1' is invalid in C99 [-Wimplicit-function-declaration] writeTtyShell1(c); ^ fep.c:361:2: warning: implicit declaration of function 'flushKana' is invalid in C99 [-Wimplicit-function-declaration] flushKana(); ^ fep.c:362:2: warning: implicit declaration of function 'setKeymap' is invalid in C99 [-Wimplicit-function-declaration] setKeymap(&CurrentKeymap,convertKeymap(&NormalKeymap)); ^ fep.c:363:2: warning: implicit declaration of function 'showmode' is invalid in C99 [-Wimplicit-function-declaration] showmode(SKK_MODE); ^ fep.c:370:2: warning: implicit declaration of function 'flushKana' is invalid in C99 [-Wimplicit-function-declaration] flushKana(); ^ fep.c:371:2: warning: implicit declaration of function 'setKeymap' is invalid in C99 [-Wimplicit-function-declaration] setKeymap(&CurrentKeymap,ZenkakuKeymap); ^ fep.c:372:2: warning: implicit declaration of function 'showmode' is invalid in C99 [-Wimplicit-function-declaration] showmode(ZENEI_MODE); ^ fep.c:385:2: warning: implicit declaration of function 'flushKana' is invalid in C99 [-Wimplicit-function-declaration] flushKana(); ^ fep.c:386:2: warning: implicit declaration of function 'setKeymap' is invalid in C99 [-Wimplicit-function-declaration] setKeymap(&CurrentKeymap,convertKeymap(&EscapedKeymap)); ^ fep.c:387:2: warning: implicit declaration of function 'showmode' is invalid in C99 [-Wimplicit-function-declaration] showmode(SKK_MODE); ^ fep.c:411:2: warning: implicit declaration of function 'restoreKeymap' is invalid in C99 [-Wimplicit-function-declaration] restoreKeymap(&CurrentKeymap); ^ fep.c:412:2: warning: implicit declaration of function 'showlastmode' is invalid in C99 [-Wimplicit-function-declaration] showlastmode(); ^ 32 warnings generated. --- jc.o --- jc.c:132:7: note: include the header or explicitly provide a declaration for 'strcmp' jc.c:145:12: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] else if (!strncmp(argv[1],"-a",2)) { ^ jc.c:145:12: note: include the header or explicitly provide a declaration for 'strncmp' jc.c:148:32: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] sprintf(tmpf,"/tmp/jctmp%d",getpid()); ^ jc.c:184:2: warning: implicit declaration of function 'doConv' is invalid in C99 [-Wimplicit-function-declaration] doConv(nargc,nargv,cOption[1],cOption[2]); ^ jc.c:186:3: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink(tmpf); ^ --- readwrite.o --- --- terms.o --- --- jc.o --- jc.c:190:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] doConv(argc,argv,fromCode,toCode) ^ jc.c:212:5: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] usage(); ^ jc.c:220:9: warning: passing 'unsigned char [2048]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] conv(Ibuf,Obuf,fromCode,toCode); ^~~~ jc.c:108:24: note: passing argument to parameter 'is' here static void conv(char *is, char *os, char fc, char tc); ^ jc.c:220:14: warning: passing 'unsigned char [2048]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] conv(Ibuf,Obuf,fromCode,toCode); ^~~~ jc.c:108:34: note: passing argument to parameter 'os' here --- readwrite.o --- clang -DUSE_LOCALE -O -DSKK_CONF=\"/usr/pkg/etc/skk.conf\" -c readwrite.c --- jc.o --- static void conv(char *is, char *os, char fc, char tc); ^ jc.c:228:9: warning: passing 'unsigned char [2048]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] conv(Ibuf,Obuf,fromCode,toCode); ^~~~ jc.c:108:24: note: passing argument to parameter 'is' here static void conv(char *is, char *os, char fc, char tc); ^ jc.c:228:14: warning: passing 'unsigned char [2048]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] conv(Ibuf,Obuf,fromCode,toCode); ^~~~ jc.c:108:34: note: passing argument to parameter 'os' here static void conv(char *is, char *os, char fc, char tc); ^ jc.c:235:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ --- terms.o --- clang -DUSE_LOCALE -O -DSKK_CONF=\"/usr/pkg/etc/skk.conf\" -c terms.c --- jc.o --- jc.c:250:3: warning: implicit declaration of function 'n_impr' is invalid in C99 [-Wimplicit-function-declaration] n_impr(cOption); ^ jc.c:253:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(mbuf,is); ^ jc.c:253:3: note: include the header or explicitly provide a declaration for 'strcpy' jc.c:253:10: warning: passing 'unsigned char [2048]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(mbuf,is); ^~~~ jc.c:264:3: warning: implicit declaration of function 'n_impr' is invalid in C99 [-Wimplicit-function-declaration] n_impr(cOption); ^ jc.c:267:13: warning: passing 'unsigned char [2048]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(os,mbuf); ^~~~ jc.c:270:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] n_impr(s) ^ jc.c:274:2: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] usage(); ^ jc.c:278:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] putSFT(pptr,code) /* Put Shift in/out code */ ^ jc.c:283:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ jc.c:363:15: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] putSFT(&q,SIcode); ^~~~~~ jc.c:380:15: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] putSFT(&q,SIcode); ^~~~~~ jc.c:397:15: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] putSFT(&q,SOcode); ^~~~~~ jc.c:410:11: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] int il = strlen(SIcode), ^ jc.c:410:11: note: include the header or explicitly provide a declaration for 'strlen' jc.c:420:5: warning: implicit declaration of function 'put_js' is invalid in C99 [-Wimplicit-function-declaration] put_js(*ip,*(ip+1),op); ^ jc.c:448:4: warning: implicit declaration of function 'put_js' is invalid in C99 [-Wimplicit-function-declaration] put_js(ub,lb,op); ^ --- readwrite.o --- In file included from readwrite.c:1: In file included from ./config.h:15: ./configs/freebsd.h:11:24: warning: '/*' within block comment [-Wcomment] /*#include /* for openpty() */ ^ --- jc.o --- jc.c:458:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] put_js(ub,lb,op) ^ jc.c:475:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ jc.c:504:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] put_js(*ip,*(ip+1),op); ^~ jc.c:609:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] usage() ^ jc.c:633:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ --- readwrite.o --- readwrite.c:46:6: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] if (read(STDIN_FILENO,&c,1) != 0) ^ readwrite.c:89:30: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] convCode(stat->lastByte,c,buf,ic,oc); ^~~ readwrite.c:19:73: note: passing argument to parameter 'obuf' here static void convCode(unsigned char c1, unsigned char c2, unsigned char *obuf, ^ readwrite.c:109:6: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy(buf,codeMode[oc].socode,codeMode[oc].so_len); ^ readwrite.c:109:6: note: include the header or explicitly provide a declaration for 'strncpy' readwrite.c:132:29: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] convCode(stat->lastByte,c,buf,ic,oc); ^~~ readwrite.c:19:73: note: passing argument to parameter 'obuf' here static void convCode(unsigned char c1, unsigned char c2, unsigned char *obuf, ^ readwrite.c:227:4: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] write(ttyno,codeMode[oc].socode,codeMode[oc].so_len); ^ readwrite.c:240:4: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] write(ttyno,codeMode[oc].sicode,codeMode[oc].si_len); ^ readwrite.c:249:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] writeTTYorg(ttyno,s,l,ic,oc,istatus,ostatus) ^ readwrite.c:266:5: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] write(ttyno,wbuf,b); ^ readwrite.c:281:3: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] write(ttyno,wbuf,b); ^ readwrite.c:283:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readwrite.c:322:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] writes(s) ^ readwrite.c:324:20: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] { int l = strlen(s); ^ readwrite.c:324:20: note: include the header or explicitly provide a declaration for 'strlen' readwrite.c:327:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readwrite.c:329:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] write1(c) ^ readwrite.c:333:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readwrite.c:335:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] writeShTty(s,l) ^ readwrite.c:341:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readwrite.c:343:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] writeTty(s,l) ^ readwrite.c:348:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readwrite.c:351:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] writeShell1(c) ^ readwrite.c:355:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readwrite.c:357:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] writeShells(s) ^ readwrite.c:362:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readwrite.c:364:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] writeTtyShell1(c) ^ readwrite.c:368:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readwrite.c:370:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] writeTtyShells(s) ^ readwrite.c:375:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ readwrite.c:377:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bell() ^ readwrite.c:380:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ --- terms.o --- In file included from terms.c:1: --- jc.o --- 36 warnings generated. --- readwrite.o --- 30 warnings generated. --- terms.o --- In file included from ./config.h:15: ./configs/freebsd.h:11:24: warning: '/*' within block comment [-Wcomment] /*#include /* for openpty() */ ^ terms.c:4:24: warning: '/*' within block comment [-Wcomment] /*#define SHOW_ESCSEQ /* show escape sequences for debugging */ ^ terms.c:48:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getTCstr() ^ terms.c:52:2: warning: implicit declaration of function 'tgetent' is invalid in C99 [-Wimplicit-function-declaration] tgetent(bp,getenv("TERM")); ^ terms.c:54:2: warning: implicit declaration of function 'adjstr' is invalid in C99 [-Wimplicit-function-declaration] GETSTR(T_ce,"ce"); /* clear to the end of line */ ^ terms.c:45:52: note: expanded from macro 'GETSTR' #define GETSTR(v,s) {v = pt; suc = tgetstr(s,&pt); adjstr(&v,&pt);} ^ --- stty.o --- --- keybind.o --- --- terms.o --- terms.c:55:2: warning: implicit declaration of function 'adjstr' is invalid in C99 [-Wimplicit-function-declaration] GETSTR(T_kr,"nd"); /* cursor right */ ^ terms.c:45:52: note: expanded from macro 'GETSTR' #define GETSTR(v,s) {v = pt; suc = tgetstr(s,&pt); adjstr(&v,&pt);} ^ terms.c:57:3: warning: implicit declaration of function 'adjstr' is invalid in C99 [-Wimplicit-function-declaration] GETSTR(T_kr,"kr"); ^ terms.c:45:52: note: expanded from macro 'GETSTR' #define GETSTR(v,s) {v = pt; suc = tgetstr(s,&pt); adjstr(&v,&pt);} ^ terms.c:58:6: warning: implicit declaration of function 'tgetflag' is invalid in C99 [-Wimplicit-function-declaration] if (tgetflag("bs")) T_kl = "\b"; /* cursor left */ ^ --- stty.o --- clang -DUSE_LOCALE -O -DSKK_CONF=\"/usr/pkg/etc/skk.conf\" -c stty.c --- terms.o --- terms.c:60:3: warning: implicit declaration of function 'adjstr' is invalid in C99 [-Wimplicit-function-declaration] GETSTR(T_kl,"le"); ^ terms.c:45:52: note: expanded from macro 'GETSTR' #define GETSTR(v,s) {v = pt; suc = tgetstr(s,&pt); adjstr(&v,&pt);} ^ terms.c:62:4: warning: implicit declaration of function 'adjstr' is invalid in C99 [-Wimplicit-function-declaration] GETSTR(T_kl,"kb"); ^ terms.c:45:52: note: expanded from macro 'GETSTR' #define GETSTR(v,s) {v = pt; suc = tgetstr(s,&pt); adjstr(&v,&pt);} ^ terms.c:64:4: warning: implicit declaration of function 'adjstr' is invalid in C99 [-Wimplicit-function-declaration] GETSTR(T_kl,"kl"); ^ terms.c:45:52: note: expanded from macro 'GETSTR' #define GETSTR(v,s) {v = pt; suc = tgetstr(s,&pt); adjstr(&v,&pt);} --- keybind.o --- clang -DUSE_LOCALE -O -DSKK_CONF=\"/usr/pkg/etc/skk.conf\" -c keybind.c --- terms.o --- ^ terms.c:66:2: warning: implicit declaration of function 'adjstr' is invalid in C99 [-Wimplicit-function-declaration] adjstr(&T_kl,&pt); ^ terms.c:78:3: warning: implicit declaration of function 'Exit' is invalid in C99 [-Wimplicit-function-declaration] Exit(-1); ^ terms.c:117:10: warning: implicit declaration of function 'tgetnum' is invalid in C99 [-Wimplicit-function-declaration] lines = tgetnum("li"); ^ terms.c:125:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ terms.c:133:21: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] sprintf(buf, "%d", getpid()); ^ terms.c:138:6: warning: implicit declaration of function 'msgLine' is invalid in C99 [-Wimplicit-function-declaration] if (msgLine() != (int)UseBottomLine) { ^ terms.c:182:7: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] q += strlen(q); ^ terms.c:182:7: note: include the header or explicitly provide a declaration for 'strlen' terms.c:243:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] adjstr(buf,ptr) ^ terms.c:257:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ terms.c:259:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] msgLine() ^ terms.c:264:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] toMsg() ^ terms.c:267:3: warning: implicit declaration of function 'standout' is invalid in C99 [-Wimplicit-function-declaration] standout(1); ^ terms.c:269:3: warning: implicit declaration of function 'writes' is invalid in C99 [-Wimplicit-function-declaration] writes(tgoto(T_TS,0,0)); ^ terms.c:271:3: warning: implicit declaration of function 'writes' is invalid in C99 [-Wimplicit-function-declaration] writes(T_sc); ^ terms.c:274:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ terms.c:276:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fromMsg() ^ terms.c:279:3: warning: implicit declaration of function 'writes' is invalid in C99 [-Wimplicit-function-declaration] writes(T_FS); ^ terms.c:281:3: warning: implicit declaration of function 'writes' is invalid in C99 [-Wimplicit-function-declaration] writes(T_rc); ^ terms.c:284:3: warning: implicit declaration of function 'standout' is invalid in C99 [-Wimplicit-function-declaration] standout(0); ^ terms.c:285:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ terms.c:287:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] initFep() --- stty.o --- In file included from stty.c:1: In file included from ./config.h:15: ./configs/freebsd.h:11:24: warning: '/*' within block comment [-Wcomment] /*#include /* for openpty() */ ^ stty.c:125:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_winsize(tty) ^ stty.c:133:6: warning: implicit declaration of function 'msgLine' is invalid in C99 [-Wimplicit-function-declaration] if (msgLine() == (int)UseBottomLine) { ^ stty.c:141:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ stty.c:143:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_winsize() ^ stty.c:161:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ stty.c:163:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_tty() ^ stty.c:203:2: warning: implicit declaration of function 'initFep' is invalid in C99 [-Wimplicit-function-declaration] initFep(); ^ stty.c:207:3: warning: implicit declaration of function 'reset_tty' is invalid in C99 [-Wimplicit-function-declaration] reset_tty(); ^ stty.c:208:3: warning: implicit declaration of function 'Exit' is invalid in C99 [-Wimplicit-function-declaration] Exit(-1); ^ stty.c:210:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ stty.c:212:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] reset_tty() ^ stty.c:214:2: warning: implicit declaration of function 'termFep' is invalid in C99 [-Wimplicit-function-declaration] termFep(); ^ stty.c:216:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ stty.c:218:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_tty_sane(tty) ^ stty.c:256:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ stty.c:263:2: warning: implicit declaration of function 'Exit' is invalid in C99 [-Wimplicit-function-declaration] Exit(-1); ^ stty.c:272:2: warning: implicit declaration of function 'Abort' is invalid in C99 [-Wimplicit-function-declaration] Abort(); ^ stty.c:281:2: warning: implicit declaration of function 'Abort' is invalid in C99 [-Wimplicit-function-declaration] Abort(); ^ stty.c:306:13: error: variable has incomplete type 'union wait' union wait statusp; ^ stty.c:306:8: note: forward declaration of 'union wait' union wait statusp; ^ stty.c:331:3: warning: implicit declaration of function 'Exit' is invalid in C99 [-Wimplicit-function-declaration] Exit(0); ^ stty.c:340:2: warning: implicit declaration of function 'Abort' is invalid in C99 [-Wimplicit-function-declaration] Abort(); ^ stty.c:348:2: warning: implicit declaration of function 'Exit' is invalid in C99 [-Wimplicit-function-declaration] Exit(-1); ^ stty.c:356:2: warning: implicit declaration of function 'Exit' is invalid in C99 [-Wimplicit-function-declaration] Exit(-1); ^ stty.c:364:2: warning: implicit declaration of function 'Exit' is invalid in C99 [-Wimplicit-function-declaration] Exit(-1); ^ stty.c:372:2: warning: implicit declaration of function 'Exit' is invalid in C99 [-Wimplicit-function-declaration] Exit(-1); ^ stty.c:404:2: warning: implicit declaration of function 'initFep' is invalid in C99 [-Wimplicit-function-declaration] initFep(); ^ stty.c:405:2: warning: implicit declaration of function 'showcurmode' is invalid in C99 [-Wimplicit-function-declaration] showcurmode(); ^ stty.c:414:2: warning: implicit declaration of function 'initFep' is invalid in C99 [-Wimplicit-function-declaration] initFep(); ^ stty.c:415:2: warning: implicit declaration of function 'toggleEscape' is invalid in C99 [-Wimplicit-function-declaration] toggleEscape(ViEsc); ^ stty.c:423:2: warning: implicit declaration of function 'initFep' is invalid in C99 [-Wimplicit-function-declaration] initFep(); ^ stty.c:424:2: warning: implicit declaration of function 'toggleEscape' is invalid in C99 [-Wimplicit-function-declaration] toggleEscape(EmacsEsc); ^ stty.c:432:2: warning: implicit declaration of function 'initFep' is invalid in C99 [-Wimplicit-function-declaration] initFep(); ^ stty.c:433:2: warning: implicit declaration of function 'toggleEscape' is invalid in C99 [-Wimplicit-function-declaration] toggleEscape(NoEsc); ^ stty.c:437:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_int() ^ stty.c:463:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] saveJisyo() ^ stty.c:479:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Exit(v) ^ stty.c:482:2: warning: implicit declaration of function 'freeDevice' is invalid in C99 [-Wimplicit-function-declaration] freeDevice(); ^ stty.c:487:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Abort() ^ stty.c:489:2: warning: implicit declaration of function 'freeDevice' is invalid in C99 [-Wimplicit-function-declaration] freeDevice(); ^ 39 warnings and 1 error generated. *** [stty.o] Error code 1 make[1]: stopped in /var/pkgsrc/work/inputmethod/skkfep/work/skkfep --- keybind.o --- In file included from keybind.c:1: In file included from ./config.h:15: ./configs/freebsd.h:11:24: warning: '/*' within block comment [-Wcomment] /*#include /* for openpty() */ ^ keybind.c:46:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setKanaKey() ^ keybind.c:51:5: warning: implicit declaration of function 'changeKey' is invalid in C99 [-Wimplicit-function-declaration] changeKey(&NormalKeymap, toKana, k); ^ keybind.c:59:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keybind.c:65:2: warning: implicit declaration of function 'changeKey' is invalid in C99 [-Wimplicit-function-declaration] changeKey(&SelectionKeymap, thruFixItToAsc, EXTRA_CODE); ^ keybind.c:73:2: warning: implicit declaration of function 'changeKey' is invalid in C99 [-Wimplicit-function-declaration] changeKey(&SelectionKeymap, thruFixItToAsc, ESC_CODE); ^ keybind.c:81:2: warning: implicit declaration of function 'changeKey' is invalid in C99 [-Wimplicit-function-declaration] changeKey(&SelectionKeymap, thruFixItToEsc, ESC_CODE); ^ keybind.c:117:2: warning: implicit declaration of function 'showmessage' is invalid in C99 [-Wimplicit-function-declaration] showmessage("Escape mode off"); ^ keybind.c:115:13: warning: enumeration value 'ToggleEsc' not handled in switch [-Wswitch] switch (CurrentEscapeBehavior) { ^ keybind.c:140:2: warning: implicit declaration of function 'overrideKeymap' is invalid in C99 [-Wimplicit-function-declaration] overrideKeymap(keymap_body,skm); ^ keybind.c:144:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] overrideKeymap(km,skm) ^ keybind.c:155:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keybind.c:157:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] changeKey(skm,func,newkey) ^ keybind.c:172:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setKeymap(current, new) ^ keybind.c:177:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ keybind.c:179:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] restoreKeymap(current) ^ keybind.c:183:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 17 warnings generated. --- terms.o --- ^ terms.c:291:4: warning: implicit declaration of function 'writes' is invalid in C99 [-Wimplicit-function-declaration] writes(T_SS); ^ terms.c:294:3: warning: implicit declaration of function 'writes' is invalid in C99 [-Wimplicit-function-declaration] writes("\r\n"); ^ terms.c:298:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ terms.c:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] termFep() ^ terms.c:304:4: warning: implicit declaration of function 'writes' is invalid in C99 [-Wimplicit-function-declaration] writes(T_HS); ^ terms.c:307:3: warning: implicit declaration of function 'writes' is invalid in C99 [-Wimplicit-function-declaration] writes(tgoto(T_cs,lines-1,0)); ^ terms.c:310:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ terms.c:312:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] underline(ctl) ^ terms.c:316:3: warning: implicit declaration of function 'writes' is invalid in C99 [-Wimplicit-function-declaration] writes(T_us); ^ terms.c:319:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ terms.c:321:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] standout(ctl) ^ terms.c:325:3: warning: implicit declaration of function 'writes' is invalid in C99 [-Wimplicit-function-declaration] writes(T_so); ^ terms.c:328:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ terms.c:330:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] saveCsr() ^ terms.c:332:2: warning: implicit declaration of function 'writes' is invalid in C99 [-Wimplicit-function-declaration] writes(T_sc); ^ terms.c:333:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ terms.c:335:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] restoreCsr() ^ terms.c:337:2: warning: implicit declaration of function 'writes' is invalid in C99 [-Wimplicit-function-declaration] writes(T_rc); ^ terms.c:338:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ terms.c:340:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] clearToEnd() ^ terms.c:342:2: warning: implicit declaration of function 'writes' is invalid in C99 [-Wimplicit-function-declaration] writes(T_ce); ^ terms.c:343:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ terms.c:345:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] csrLeft(n) ^ terms.c:349:3: warning: implicit declaration of function 'writes' is invalid in C99 [-Wimplicit-function-declaration] writes(T_kl); ^ terms.c:352:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ terms.c:354:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] csrRight(n) ^ terms.c:358:3: warning: implicit declaration of function 'writes' is invalid in C99 [-Wimplicit-function-declaration] writes(T_kr); ^ terms.c:361:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ terms.c:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cls() ^ terms.c:365:2: warning: implicit declaration of function 'writes' is invalid in C99 [-Wimplicit-function-declaration] writes(T_cl); ^ terms.c:366:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ terms.c:368:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] erase(n) ^ terms.c:372:3: warning: implicit declaration of function 'write1' is invalid in C99 [-Wimplicit-function-declaration] write1(' '); ^ terms.c:375:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ terms.c:377:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rubout(n) ^ terms.c:383:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 68 warnings generated. 1 error make[1]: stopped in /var/pkgsrc/work/inputmethod/skkfep/work/skkfep *** [all] Error code 2 bmake: stopped in /var/pkgsrc/work/inputmethod/skkfep/work/skkfep 1 error bmake: stopped in /var/pkgsrc/work/inputmethod/skkfep/work/skkfep *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/inputmethod/skkfep *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/inputmethod/skkfep