=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/inputmethod/skkfep", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for skkfep-0.86cnb2 --- 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 rm -f junk.c awk -f extrpar config.h | cat - protoMakefile >> genMakefile --- all --- make -f genMakefile all --- jc.o --- --- fep.o --- --- jc.o --- clang -pipe -Os -I/opt/pkg/include/ncurses -DUSE_LOCALE -O -DSKK_CONF=\"/opt/pkg/etc/skk.conf\" -I/opt/pkg/include/ncurses -c jc.c --- fep.o --- clang -pipe -Os -I/opt/pkg/include/ncurses -DUSE_LOCALE -O -DSKK_CONF=\"/opt/pkg/etc/skk.conf\" -I/opt/pkg/include/ncurses -c fep.c --- jc.o --- jc.c:110:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] FILE *file_open(),*popen(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:237:7: note: conflicting prototype is here FILE *popen(const char *, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(popen)) __swift_unavailable("Use posix_spawn APIs or NSTask instead. (On iOS, process spawning is unavailable.)"); ^ jc.c:112:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc,argv) ^ int jc.c:129:3: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] usage(); ^ jc.c:130:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-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: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!strcmp(argv[1],"-c")) { ^ jc.c:132:7: note: include the header or explicitly provide a declaration for 'strcmp' jc.c:134:32: warning: passing arguments to 'checkKanjiCode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printf("%c\n",checkKanjiCode(stdin)); ^ jc.c:138:18: warning: passing arguments to 'file_open' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f = file_open(argv[i],"r"); ^ jc.c:139:33: warning: passing arguments to 'checkKanjiCode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printf("%c\n",checkKanjiCode(f)); ^ jc.c:145:12: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-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: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] sprintf(tmpf,"/tmp/jctmp%d",getpid()); ^ jc.c:158:30: warning: passing arguments to 'checkKanjiCode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cvchar[1] = checkKanjiCode(f); ^ jc.c:168:17: warning: passing arguments to 'file_open' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f = file_open(argv[2],"r"); ^ jc.c:170:30: warning: passing arguments to 'checkKanjiCode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cvchar[1] = checkKanjiCode(f); ^ jc.c:184:2: warning: call to undeclared function 'doConv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] doConv(nargc,nargv,cOption[1],cOption[2]); ^ jc.c:186:3: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] unlink(tmpf); ^ jc.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc,argv) ^ jc.c:190:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] doConv(argc,argv,fromCode,toCode) ^ int jc.c:212:5: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] usage(); ^ jc.c:218:17: warning: passing arguments to 'file_open' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] f = file_open(argv[i],"r"); ^ jc.c:220:9: warning: passing 'unsigned char[2048]' 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] 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 where one is of the unique plain 'char' type and the other is not [-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:228:9: warning: passing 'unsigned char[2048]' 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] 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 where one is of the unique plain 'char' type and the other is not [-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:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doConv(argc,argv,fromCode,toCode) ^ jc.c:235:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ jc.c:246:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*ToSJ[i].routine)(is,mbuf); ^ jc.c:250:3: warning: call to undeclared function 'n_impr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] n_impr(cOption); ^ jc.c:253:3: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(mbuf,is); ^~~~ jc.c:260:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*FromSJ[i].routine)(mbuf,os); ^ jc.c:264:3: warning: call to undeclared function 'n_impr'; ISO C99 and later do not support implicit function declarations [-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 where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(os,mbuf); ^~~~ jc.c:270:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] n_impr(s) ^ int jc.c:274:2: warning: call to undeclared function 'usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] usage(); ^ jc.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_impr(s) ^ jc.c:278:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] putSFT(pptr,code) /* Put Shift in/out code */ ^ int jc.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jc.c:283:1: warning: non-void function does not return a value [-Wreturn-type] } ^ jc.c:285:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uchar getSLb(ptr,ub) /* Get Shift-JIS Lower byte */ ^ jc.c:309:9: warning: passing arguments to 'cConvSJ' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cConvSJ(is,buf); ^ jc.c:302:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void cConvSP(is,os) ^ jc.c:75:56: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); ^ jc.c:345:9: warning: passing arguments to 'cConvES' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cConvES(buf,os); ^ jc.c:325:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void cConvPS(is,os) ^ jc.c:75:66: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); ^ jc.c:352:9: warning: passing arguments to 'cConvSJ' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cConvSJ(is,os); ^ jc.c:348:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void cConvSE(is,os) ^ jc.c:75:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); ^ jc.c:363:15: warning: passing 'char *' to parameter 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] putSFT(&q,SIcode); ^~~~~~ jc.c:380:15: warning: passing 'char *' to parameter 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] putSFT(&q,SIcode); ^~~~~~ jc.c:397:15: warning: passing 'char *' to parameter 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] putSFT(&q,SOcode); ^~~~~~ jc.c:355:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void cConvSJ(is,os) /* Convert Shift-JIS to JIS/real JIS/EUC */ ^ jc.c:75:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); ^ jc.c:410:11: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-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: call to undeclared function 'put_js'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] put_js(*ip,*(ip+1),op); ^ jc.c:406:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void cConvJS(is,os) /* Convert JIS to Shift-JIS */ ^ jc.c:75:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); ^ jc.c:448:4: warning: call to undeclared function 'put_js'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] put_js(ub,lb,op); ^ jc.c:437:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void cConvES(is,os) /* Convert EUC to Shift-JIS */ ^ jc.c:75:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); ^ jc.c:458:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] put_js(ub,lb,op) ^ int jc.c:458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jc.c:475:1: warning: non-void function does not return a value [-Wreturn-type] } ^ jc.c:477:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FILE *file_open(fn,m) ^ jc.c:110:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] FILE *file_open(),*popen(); ^ jc.c:504:24: warning: passing 'char *' to parameter 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] put_js(*ip,*(ip+1),op); ^~ jc.c:488:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void cConvAS(is,os) /* Convert JIS to Shift-JIS */ ^ jc.c:75:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); ^ jc.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] checkKanjiCode(f) ^ jc.c:609:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] usage() ^ int jc.c:633:1: warning: non-void function does not return a value [-Wreturn-type] } ^ --- fep.o --- fep.c:82:17: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-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:93:18: warning: parameter 'code' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] kanjicode2string(code) ^ fep.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] kanjicode2string(code) ^ fep.c:106:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ fep.c:110:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc,argv,envp) ^ int fep.c:125:8: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (!strncmp(argv[i],"-o",2)) ^ fep.c:125:8: note: include the header or explicitly provide a declaration for 'strncmp' fep.c:126:24: warning: passing arguments to 'decideCode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OutCode = decideCode(argv[i]+2); ^ fep.c:128:26: warning: passing arguments to 'decideCode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WriteCode = decideCode(argv[i]+2); ^ fep.c:132:4: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-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: call to undeclared function 'setKanaKey'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] setKanaKey(); ^ fep.c:222:2: warning: call to undeclared function 'getTCstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] getTCstr(); ^ fep.c:223:2: warning: call to undeclared function 'get_winsize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] get_winsize(); ^ fep.c:224:2: warning: call to undeclared function 'set_tty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_tty(); ^ fep.c:225:2: warning: call to undeclared function 'set_int'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_int(); ^ fep.c:229:3: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] strcat(UserDicName,"/"); ^ fep.c:229:3: note: include the header or explicitly provide a declaration for 'strcat' fep.c:232:19: warning: passing arguments to 'openSKK' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UserDic = openSKK(UserDicName); ^ fep.c:242:6: warning: call to undeclared function 'openSKKserv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (openSKKserv() != -1) ^ fep.c:247:2: warning: call to undeclared function 'establishShell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] establishShell(); ^ fep.c:263:13: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((i = read(Shellfd,shellBuf,SH_BUF_SIZ)) > 0) ^ fep.c:264:5: warning: call to undeclared function 'writeShTty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] writeShTty(shellBuf,i); ^ fep.c:276:10: warning: passing arguments to 'thru' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] thru(c); ^ fep.c:278:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*CurrentKeymap[c])(c,o); ^ fep.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc,argv,envp) ^ fep.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] decideCode(s) ^ fep.c:22:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] kanjicode decideCode(); ^ fep.c:314:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] flushOut(minchar) ^ int fep.c:332:8: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] i = read(Shellfd,shellBuf,SH_BUF_SIZ); ^ fep.c:333:4: warning: call to undeclared function 'writeShTty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] writeShTty(shellBuf,i); ^ fep.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] flushOut(minchar) ^ fep.c:341:1: warning: non-void function does not return a value [-Wreturn-type] } ^ fep.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] nulcmd(c) ^ In file included from fep.c:7: ./functions.h:1:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void thru(),toKana(),nulcmd(),flthru(),thruToAsc(); ^ fep.c:353:2: warning: call to undeclared function 'writeTtyShell1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] writeTtyShell1(c); ^ fep.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] thru(c) ^ In file included from fep.c:7: ./functions.h:1:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void thru(),toKana(),nulcmd(),flthru(),thruToAsc(); ^ fep.c:361:2: warning: call to undeclared function 'flushKana'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] flushKana(); ^ fep.c:362:2: warning: call to undeclared function 'setKeymap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] setKeymap(&CurrentKeymap,convertKeymap(&NormalKeymap)); ^ fep.c:362:40: warning: passing arguments to 'convertKeymap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setKeymap(&CurrentKeymap,convertKeymap(&NormalKeymap)); ^ fep.c:363:2: warning: call to undeclared function 'showmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] showmode(SKK_MODE); ^ fep.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] toAsc(c) ^ fep.c:21:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void toAsc(); ^ fep.c:370:2: warning: call to undeclared function 'flushKana'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] flushKana(); ^ fep.c:371:2: warning: call to undeclared function 'setKeymap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] setKeymap(&CurrentKeymap,ZenkakuKeymap); ^ fep.c:372:2: warning: call to undeclared function 'showmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] showmode(ZENEI_MODE); ^ fep.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] toZenA(c) ^ In file included from fep.c:7: ./functions.h:3:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void toZenA(),iZenAl(),iZenEx(),kanaBS(); ^ fep.c:376:11: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] thruToAsc(c) ^ fep.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] thruToAsc(c) ^ In file included from fep.c:7: ./functions.h:1:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void thru(),toKana(),nulcmd(),flthru(),thruToAsc(); ^ fep.c:383:7: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] toEsc(c) ^ fep.c:385:2: warning: call to undeclared function 'flushKana'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] flushKana(); ^ fep.c:386:2: warning: call to undeclared function 'setKeymap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] setKeymap(&CurrentKeymap,convertKeymap(&EscapedKeymap)); ^ fep.c:386:40: warning: passing arguments to 'convertKeymap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setKeymap(&CurrentKeymap,convertKeymap(&EscapedKeymap)); ^ fep.c:387:2: warning: call to undeclared function 'showmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] showmode(SKK_MODE); ^ fep.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] toEsc(c) ^ In file included from fep.c:7: ./functions.h:13:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void toEsc(),thruToEsc(),thruKfFixToEsc(),thruOkfFixToEsc(),thruFixItToEsc(); ^ fep.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] thruToEsc(c) ^ In file included from fep.c:7: ./functions.h:13:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void toEsc(),thruToEsc(),thruKfFixToEsc(),thruOkfFixToEsc(),thruFixItToEsc(); ^ fep.c:403:8: warning: passing arguments to 'toKana' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] toKana(c); ^ fep.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] thruBack(c) ^ In file included from fep.c:7: ./functions.h:14:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void thruBack(),thru1(); ^ fep.c:411:2: warning: call to undeclared function 'restoreKeymap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] restoreKeymap(&CurrentKeymap); ^ fep.c:412:2: warning: call to undeclared function 'showlastmode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] showlastmode(); ^ fep.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] thru1(c) ^ In file included from fep.c:7: ./functions.h:14:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void thruBack(),thru1(); ^ --- jc.o --- 71 warnings generated. --- connsh.o --- clang -pipe -Os -I/opt/pkg/include/ncurses -DUSE_LOCALE -O -DSKK_CONF=\"/opt/pkg/etc/skk.conf\" -I/opt/pkg/include/ncurses -c connsh.c --- fep.o --- 65 warnings generated. --- readwrite.o --- clang -pipe -Os -I/opt/pkg/include/ncurses -DUSE_LOCALE -O -DSKK_CONF=\"/opt/pkg/etc/skk.conf\" -I/opt/pkg/include/ncurses -c readwrite.c --- connsh.o --- connsh.c:113:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] establishShell() ^ int connsh.c:117:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *p,*getenv(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ connsh.c:123:4: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-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: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] pwent = getpwuid(getuid()); ^ connsh.c:135:2: warning: call to undeclared function 'getDevice'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] getDevice(&master,&slave); ^ connsh.c:137:15: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] currentPid = getpid(); ^ connsh.c:139:2: warning: call to undeclared function 'set_winsize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_winsize(master); ^ connsh.c:140:2: warning: call to undeclared function 'setEnvirons'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] setEnvirons(); ^ connsh.c:175:10: warning: call to undeclared library function 'vfork' with type 'int (void)'; ISO C99 and later do not support implicit function declarations [-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: call to undeclared function 'reset_tty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] reset_tty(); ^ connsh.c:178:3: warning: call to undeclared function 'Exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Exit(1); ^ connsh.c:219:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] close(slave); ^ connsh.c:223:4: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] _exit(1); ^ connsh.c:223:4: note: include the header or explicitly provide a declaration for '_exit' connsh.c:227:3: warning: call to undeclared function 'set_tty_sane'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] set_tty_sane(slave); ^ connsh.c:228:3: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] dup2(slave,0); ^ connsh.c:237:3: warning: call to undeclared function 'seteuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] seteuid(getuid()); ^ connsh.c:237:11: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] seteuid(getuid()); ^ connsh.c:238:18: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-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: call to undeclared function 'execl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] execl(ShellName, procName, 0); ^ connsh.c:246:7: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] execvp(ShellName, ShellArg); ^ connsh.c:252:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] close(slave); ^ connsh.c:258:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ connsh.c:290:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] getDevice(master,slave) ^ int connsh.c:333:5: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] chown(SlaveName, getuid(), getgid()); ^ connsh.c:333:22: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] chown(SlaveName, getuid(), getgid()); ^ connsh.c:333:32: warning: call to undeclared function 'getgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] chown(SlaveName, getuid(), getgid()); ^ connsh.c:334:5: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] chmod(SlaveName, 0622); ^ connsh.c:335:5: error: non-void function 'getDevice' should return a value [-Wreturn-type] return; ^ connsh.c:337:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] close(i); ^ connsh.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getDevice(master,slave) ^ connsh.c:346:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] freeDevice() ^ int connsh.c:348:2: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] chmod(SlaveName, 0666); ^ connsh.c:349:2: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] chown(SlaveName, 0, 0); ^ 32 warnings and 1 error generated. *** [connsh.o] Error code 1 make[1]: stopped making "all" in /var/tmp/work/inputmethod/skkfep/work/skkfep --- readwrite.o --- readwrite.c:46:6: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-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 where one is of the unique plain 'char' type and the other is not [-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: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-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 where one is of the unique plain 'char' type and the other is not [-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: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] write(ttyno,codeMode[oc].socode,codeMode[oc].so_len); ^ readwrite.c:240:4: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] write(ttyno,codeMode[oc].sicode,codeMode[oc].si_len); ^ readwrite.c:249:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] writeTTYorg(ttyno,s,l,ic,oc,istatus,ostatus) ^ int readwrite.c:266:5: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] write(ttyno,wbuf,b); ^ readwrite.c:281:3: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] write(ttyno,wbuf,b); ^ readwrite.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeTTYorg(ttyno,s,l,ic,oc,istatus,ostatus) ^ readwrite.c:283:1: warning: non-void function does not return a value [-Wreturn-type] } ^ readwrite.c:322:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] writes(s) ^ int readwrite.c:324:20: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] { int l = strlen(s); ^ readwrite.c:324:20: note: include the header or explicitly provide a declaration for 'strlen' readwrite.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writes(s) ^ readwrite.c:327:1: warning: non-void function does not return a value [-Wreturn-type] } ^ readwrite.c:329:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] write1(c) ^ int readwrite.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readwrite.c:333:1: warning: non-void function does not return a value [-Wreturn-type] } ^ readwrite.c:335:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] writeShTty(s,l) ^ int readwrite.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readwrite.c:341:1: warning: non-void function does not return a value [-Wreturn-type] } ^ readwrite.c:343:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] writeTty(s,l) ^ int readwrite.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readwrite.c:348:1: warning: non-void function does not return a value [-Wreturn-type] } ^ readwrite.c:351:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] writeShell1(c) ^ int readwrite.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readwrite.c:355:1: warning: non-void function does not return a value [-Wreturn-type] } ^ readwrite.c:357:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] writeShells(s) ^ int readwrite.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readwrite.c:362:1: warning: non-void function does not return a value [-Wreturn-type] } ^ readwrite.c:364:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] writeTtyShell1(c) ^ int readwrite.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readwrite.c:368:1: warning: non-void function does not return a value [-Wreturn-type] } ^ readwrite.c:370:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] writeTtyShells(s) ^ int readwrite.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readwrite.c:375:1: warning: non-void function does not return a value [-Wreturn-type] } ^ readwrite.c:377:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] bell() ^ int readwrite.c:380:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 38 warnings generated. make[1]: 1 error make[1]: stopped making "all" in /var/tmp/work/inputmethod/skkfep/work/skkfep *** [all] Error code 2 bmake: stopped making "all" in /var/tmp/work/inputmethod/skkfep/work/skkfep bmake: 1 error bmake: stopped making "all" in /var/tmp/work/inputmethod/skkfep/work/skkfep *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/inputmethod/skkfep *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/inputmethod/skkfep