=> "/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 C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 110 | FILE *file_open(),*popen(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:335:7: note: conflicting prototype is here 335 | 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] 112 | 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] 129 | 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] 130 | 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] 132 | 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 C23 [-Wdeprecated-non-prototype] 134 | 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 C23 [-Wdeprecated-non-prototype] 138 | 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 C23 [-Wdeprecated-non-prototype] 139 | 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] 145 | 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] 148 | 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 C23 [-Wdeprecated-non-prototype] 158 | 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 C23 [-Wdeprecated-non-prototype] 168 | 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 C23 [-Wdeprecated-non-prototype] 170 | 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] 184 | 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] 186 | 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 C23 [-Wdeprecated-non-prototype] 112 | 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] 190 | 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] 212 | 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 C23 [-Wdeprecated-non-prototype] 218 | 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] 220 | conv(Ibuf,Obuf,fromCode,toCode); | ^~~~ jc.c:108:24: note: passing argument to parameter 'is' here 108 | 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] 220 | conv(Ibuf,Obuf,fromCode,toCode); | ^~~~ jc.c:108:34: note: passing argument to parameter 'os' here 108 | 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] 228 | conv(Ibuf,Obuf,fromCode,toCode); | ^~~~ jc.c:108:24: note: passing argument to parameter 'is' here 108 | 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] 228 | conv(Ibuf,Obuf,fromCode,toCode); | ^~~~ jc.c:108:34: note: passing argument to parameter 'os' here 108 | 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 C23 [-Wdeprecated-non-prototype] 190 | doConv(argc,argv,fromCode,toCode) | ^ jc.c:235:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 235 | } | ^ 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 C23 [-Wdeprecated-non-prototype] 246 | (*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] 250 | 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] 253 | 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] 253 | 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 C23 [-Wdeprecated-non-prototype] 260 | (*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] 264 | 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] 267 | 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] 270 | 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] 274 | usage(); | ^ jc.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | 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] 278 | 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 C23 [-Wdeprecated-non-prototype] jc.c:283:1: warning: non-void function does not return a value [-Wreturn-type] 283 | } | ^ jc.c:285:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | 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 C23 [-Wdeprecated-non-prototype] 309 | 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 C23 [-Wdeprecated-non-prototype] 302 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | 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 C23 [-Wdeprecated-non-prototype] 345 | 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 C23 [-Wdeprecated-non-prototype] 325 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | 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 C23 [-Wdeprecated-non-prototype] 352 | 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 C23 [-Wdeprecated-non-prototype] 348 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | 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] 363 | 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] 380 | 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] 397 | 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 C23 [-Wdeprecated-non-prototype] 355 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | 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] 410 | 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] 420 | 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 C23 [-Wdeprecated-non-prototype] 406 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | 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] 448 | 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 C23 [-Wdeprecated-non-prototype] 437 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | 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] 458 | 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 C23 [-Wdeprecated-non-prototype] jc.c:475:1: warning: non-void function does not return a value [-Wreturn-type] 475 | } | ^ jc.c:477:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | 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] 504 | 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 C23 [-Wdeprecated-non-prototype] 488 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | 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 C23 [-Wdeprecated-non-prototype] 523 | checkKanjiCode(f) | ^ jc.c:609:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 609 | usage() | ^ | int jc.c:633:1: warning: non-void function does not return a value [-Wreturn-type] 633 | } | ^ --- 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] 82 | 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] 93 | kanjicode2string(code) | ^ 94 | { fep.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | kanjicode2string(code) | ^ fep.c:106:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 106 | } | ^ fep.c:110:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 110 | 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] 125 | 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 C23 [-Wdeprecated-non-prototype] 126 | 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 C23 [-Wdeprecated-non-prototype] 128 | 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] 132 | 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] 221 | setKanaKey(); | ^ fep.c:222:2: warning: call to undeclared function 'getTCstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 222 | 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] 223 | 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] 224 | 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] 225 | 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] 229 | 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 C23 [-Wdeprecated-non-prototype] 232 | 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] 242 | 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] --- jc.o --- 71 warnings generated. --- fep.o --- 247 | establishShell(); | ^ fep.c:263:13: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 263 | 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] 264 | 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 C23 [-Wdeprecated-non-prototype] 276 | 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 C23 [-Wdeprecated-non-prototype] 278 | (*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 C23 [-Wdeprecated-non-prototype] 110 | 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 C23 [-Wdeprecated-non-prototype] 286 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | kanjicode decideCode(); | ^ fep.c:314:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 314 | 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] 332 | 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] 333 | 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 C23 [-Wdeprecated-non-prototype] 314 | flushOut(minchar) | ^ fep.c:341:1: warning: non-void function does not return a value [-Wreturn-type] 341 | } | ^ fep.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1 | 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] 353 | 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 C23 [-Wdeprecated-non-prototype] 350 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1 | 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] 361 | flushKana(); | ^ fep.c:362:2: warning: call to undeclared function 'setKeymap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 362 | 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 C23 [-Wdeprecated-non-prototype] 362 | 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] 363 | 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 C23 [-Wdeprecated-non-prototype] 358 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | 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] 370 | flushKana(); | ^ fep.c:371:2: warning: call to undeclared function 'setKeymap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 371 | 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] 372 | 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 C23 [-Wdeprecated-non-prototype] 367 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 3 | 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] 376 | thruToAsc(c) | ^ 377 | { fep.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1 | 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] 383 | toEsc(c) | ^ 384 | { fep.c:385:2: warning: call to undeclared function 'flushKana'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 385 | flushKana(); | ^ fep.c:386:2: warning: call to undeclared function 'setKeymap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- connsh.o --- --- fep.o --- 386 | 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 C23 [-Wdeprecated-non-prototype] 386 | 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] 387 | 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 C23 [-Wdeprecated-non-prototype] 383 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | 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 C23 [-Wdeprecated-non-prototype] 391 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | 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 C23 [-Wdeprecated-non-prototype] 403 | 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 C23 [-Wdeprecated-non-prototype] 399 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | 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] 411 | 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] 412 | showlastmode(); | ^ fep.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | void thruBack(),thru1(); | ^ --- 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] 113 | 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 C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 117 | char *p,*getenv(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR 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] 123 | 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] 127 | 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] 135 | 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] 137 | 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] 139 | 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] 140 | 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] 175 | 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] 177 | 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] 178 | 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] 219 | 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] 223 | _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] 227 | 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] 228 | 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] 237 | 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] 237 | 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] 238 | 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] 244 | 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] 246 | 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] 252 | close(slave); | ^ connsh.c:258:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 258 | } | ^ connsh.c:290:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 290 | 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] 333 | 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] 333 | 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] 333 | 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] 334 | chmod(SlaveName, 0622); | ^ connsh.c:335:5: error: non-void function 'getDevice' should return a value [-Wreturn-mismatch] 335 | return; | ^ connsh.c:337:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 337 | 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 C23 [-Wdeprecated-non-prototype] 290 | 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] 346 | 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] 348 | 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] 349 | 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] 46 | 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] 89 | convCode(stat->lastByte,c,buf,ic,oc); | ^~~ readwrite.c:19:73: note: passing argument to parameter 'obuf' here 19 | 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] 109 | 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] 132 | convCode(stat->lastByte,c,buf,ic,oc); | ^~~ readwrite.c:19:73: note: passing argument to parameter 'obuf' here 19 | 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] 227 | 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] 240 | 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] 249 | 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] 266 | 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] 281 | 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 C23 [-Wdeprecated-non-prototype] 249 | writeTTYorg(ttyno,s,l,ic,oc,istatus,ostatus) | ^ readwrite.c:283:1: warning: non-void function does not return a value [-Wreturn-type] 283 | } | ^ readwrite.c:322:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 322 | 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] 324 | { 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 C23 [-Wdeprecated-non-prototype] 322 | writes(s) | ^ readwrite.c:327:1: warning: non-void function does not return a value [-Wreturn-type] 327 | } | ^ readwrite.c:329:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 329 | 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 C23 [-Wdeprecated-non-prototype] readwrite.c:333:1: warning: non-void function does not return a value [-Wreturn-type] 333 | } | ^ readwrite.c:335:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 335 | 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 C23 [-Wdeprecated-non-prototype] readwrite.c:341:1: warning: non-void function does not return a value [-Wreturn-type] 341 | } | ^ readwrite.c:343:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 343 | 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 C23 [-Wdeprecated-non-prototype] readwrite.c:348:1: warning: non-void function does not return a value [-Wreturn-type] 348 | } | ^ readwrite.c:351:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 351 | 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 C23 [-Wdeprecated-non-prototype] readwrite.c:355:1: warning: non-void function does not return a value [-Wreturn-type] 355 | } | ^ readwrite.c:357:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 357 | 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 C23 [-Wdeprecated-non-prototype] readwrite.c:362:1: warning: non-void function does not return a value [-Wreturn-type] 362 | } | ^ readwrite.c:364:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 364 | 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 C23 [-Wdeprecated-non-prototype] readwrite.c:368:1: warning: non-void function does not return a value [-Wreturn-type] 368 | } | ^ readwrite.c:370:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 370 | 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 C23 [-Wdeprecated-non-prototype] readwrite.c:375:1: warning: non-void function does not return a value [-Wreturn-type] 375 | } | ^ readwrite.c:377:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 377 | bell() | ^ | int readwrite.c:380:1: warning: non-void function does not return a value [-Wreturn-type] 380 | } | ^ 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