=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/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 --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUSE_LOCALE -O -DSKK_CONF=\"/etc/opt/pkg/skk.conf\" -I/opt/pkg/include/ncurses -c fep.c --- jc.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DUSE_LOCALE -O -DSKK_CONF=\"/etc/opt/pkg/skk.conf\" -I/opt/pkg/include/ncurses -c jc.c jc.c:110:23: error: conflicting types for 'popen'; have 'FILE *(void)' 110 | FILE *file_open(),*popen(); | ^~~~~ In file included from jc.c:35: /usr/include/stdio.h:325:18: note: previous declaration of 'popen' with type 'FILE *(const char *, const char *)' 325 | extern FILE *popen(const char *, const char *); | ^~~~~ jc.c:112:1: error: return type defaults to 'int' [-Wimplicit-int] 112 | main(argc,argv) | ^~~~ jc.c: In function 'main': jc.c:112:1: warning: old-style function definition [-Wold-style-definition] jc.c:129:17: error: implicit declaration of function 'usage' [-Wimplicit-function-declaration] 129 | usage(); | ^~~~~ jc.c:130:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 130 | exit(-1); | ^~~~ jc.c:39:1: note: include '' or provide a declaration of 'exit' 38 | #include "config.h" +++ |+#include 39 | jc.c:130:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 130 | exit(-1); | ^~~~ jc.c:130:17: note: include '' or provide a declaration of 'exit' jc.c:132:14: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 132 | if (!strcmp(argv[1],"-c")) { | ^~~~~~ jc.c:39:1: note: include '' or provide a declaration of 'strcmp' 38 | #include "config.h" +++ |+#include 39 | jc.c:134:39: error: too many arguments to function 'checkKanjiCode'; expected 0, have 1 134 | printf("%c\n",checkKanjiCode(stdin)); | ^~~~~~~~~~~~~~ ~~~~~ jc.c:116:14: note: declared here 116 | char checkKanjiCode(); | ^~~~~~~~~~~~~~ jc.c:138:37: error: too many arguments to function 'file_open'; expected 0, have 2 138 | f = file_open(argv[i],"r"); | ^~~~~~~~~ ~~~~~~~ jc.c:110:10: note: declared here 110 | FILE *file_open(),*popen(); | ^~~~~~~~~ jc.c:139:47: error: too many arguments to function 'checkKanjiCode'; expected 0, have 1 139 | printf("%c\n",checkKanjiCode(f)); | ^~~~~~~~~~~~~~ ~ jc.c:116:14: note: declared here 116 | char checkKanjiCode(); | ^~~~~~~~~~~~~~ jc.c:143:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 143 | exit(0); | ^~~~ jc.c:143:17: note: include '' or provide a declaration of 'exit' jc.c:145:19: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 145 | else if (!strncmp(argv[1],"-a",2)) { | ^~~~~~~ jc.c:145:19: note: include '' or provide a declaration of 'strncmp' jc.c:145:40: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 145 | else if (!strncmp(argv[1],"-a",2)) { | ^ : note: built-in 'strncmp' declared here jc.c:148:53: error: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 148 | sprintf(tmpf,"/tmp/jctmp%d",getpid()); | ^~~~~~ jc.c:151:33: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 151 | exit(1); | ^~~~ jc.c:151:33: note: include '' or provide a declaration of 'exit' jc.c:158:37: error: too many arguments to function 'checkKanjiCode'; expected 0, have 1 158 | cvchar[1] = checkKanjiCode(f); | ^~~~~~~~~~~~~~ ~ jc.c:116:14: note: declared here 116 | char checkKanjiCode(); | ^~~~~~~~~~~~~~ jc.c:168:29: error: too many arguments to function 'file_open'; expected 0, have 2 168 | f = file_open(argv[2],"r"); | ^~~~~~~~~ ~~~~~~~ jc.c:110:10: note: declared here 110 | FILE *file_open(),*popen(); | ^~~~~~~~~ jc.c:170:37: error: too many arguments to function 'checkKanjiCode'; expected 0, have 1 170 | cvchar[1] = checkKanjiCode(f); | ^~~~~~~~~~~~~~ ~ jc.c:116:14: note: declared here 116 | char checkKanjiCode(); | ^~~~~~~~~~~~~~ jc.c:184:9: error: implicit declaration of function 'doConv'; did you mean 'conv'? [-Wimplicit-function-declaration] 184 | doConv(nargc,nargv,cOption[1],cOption[2]); | ^~~~~~ | conv jc.c:186:17: error: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 186 | unlink(tmpf); | ^~~~~~ jc.c:187:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 187 | exit(0); | ^~~~ jc.c:187:9: note: include '' or provide a declaration of 'exit' jc.c: At top level: jc.c:190:1: error: return type defaults to 'int' [-Wimplicit-int] 190 | doConv(argc,argv,fromCode,toCode) | ^~~~~~ jc.c: In function 'doConv': jc.c:190:1: warning: old-style function definition [-Wold-style-definition] jc.c:202:41: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 202 | exit(-1); | ^~~~ jc.c:202:41: note: include '' or provide a declaration of 'exit' jc.c:205:40: error: too many arguments to function 'popen'; expected 0, have 2 205 | outf = popen(pager,"w"); | ^~~~~ ~~~~~ jc.c:110:23: note: declared here 110 | FILE *file_open(),*popen(); | ^~~~~ jc.c:208:41: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 208 | exit(-1); | ^~~~ jc.c:208:41: note: include '' or provide a declaration of 'exit' jc.c:213:33: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 213 | exit(-1); | ^~~~ jc.c:213:33: note: include '' or provide a declaration of 'exit' jc.c:218:29: error: too many arguments to function 'file_open'; expected 0, have 2 218 | f = file_open(argv[i],"r"); | ^~~~~~~~~ ~~~~~~~ jc.c:110:10: note: declared here 110 | FILE *file_open(),*popen(); | ^~~~~~~~~ jc.c: In function 'conv': jc.c:246:34: error: too many arguments to function 'ToSJ[i].routine'; expected 0, have 2 246 | (*ToSJ[i].routine)(is,mbuf); | ~^~~~~~~~~~~~~~~~~ ~~ jc.c:79:19: note: declared here 79 | void (*routine)(); | ^~~~~~~ jc.c:250:17: error: implicit declaration of function 'n_impr' [-Wimplicit-function-declaration] 250 | n_impr(cOption); | ^~~~~~ jc.c:253:17: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 253 | strcpy(mbuf,is); | ^~~~~~ jc.c:253:17: note: include '' or provide a declaration of 'strcpy' jc.c:253:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] jc.c:253:17: note: include '' or provide a declaration of 'strcpy' jc.c:260:34: error: too many arguments to function 'FromSJ[i].routine'; expected 0, have 2 260 | (*FromSJ[i].routine)(mbuf,os); | ~^~~~~~~~~~~~~~~~~~~ ~~~~ jc.c:79:19: note: declared here 79 | void (*routine)(); | ^~~~~~~ jc.c:267:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 267 | strcpy(os,mbuf); | ^~~~~~ jc.c:267:17: note: include '' or provide a declaration of 'strcpy' jc.c: At top level: jc.c:270:1: error: return type defaults to 'int' [-Wimplicit-int] 270 | n_impr(s) | ^~~~~~ jc.c: In function 'n_impr': jc.c:270:1: warning: old-style function definition [-Wold-style-definition] jc.c:275:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 275 | exit(-1); | ^~~~ jc.c:275:9: note: include '' or provide a declaration of 'exit' jc.c: At top level: jc.c:278:1: error: return type defaults to 'int' [-Wimplicit-int] 278 | putSFT(pptr,code) /* Put Shift in/out code */ | ^~~~~~ jc.c: In function 'putSFT': jc.c:278:1: warning: old-style function definition [-Wold-style-definition] jc.c: In function 'getSLb': jc.c:285:7: warning: old-style function definition [-Wold-style-definition] 285 | uchar getSLb(ptr,ub) /* Get Shift-JIS Lower byte */ | ^~~~~~ jc.c: In function 'cConvSP': jc.c:302:6: warning: old-style function definition [-Wold-style-definition] 302 | void cConvSP(is,os) | ^~~~~~~ jc.c:304:1: error: number of arguments doesn't match prototype 304 | { | ^ jc.c:75:59: error: prototype declaration 75 | void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); | ^~~~~~~ jc.c:309:9: error: too many arguments to function 'cConvSJ'; expected 0, have 2 309 | cConvSJ(is,buf); | ^~~~~~~ ~~ jc.c:75:9: note: declared here 75 | void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); | ^~~~~~~ jc.c: In function 'cConvPS': jc.c:325:6: warning: old-style function definition [-Wold-style-definition] 325 | void cConvPS(is,os) | ^~~~~~~ jc.c:327:1: error: number of arguments doesn't match prototype 327 | { | ^ jc.c:75:69: error: prototype declaration 75 | void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); | ^~~~~~~ jc.c:345:9: error: too many arguments to function 'cConvES'; expected 0, have 2 345 | cConvES(buf,os); | ^~~~~~~ ~~~ jc.c:75:39: note: declared here 75 | void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); | ^~~~~~~ jc.c: In function 'cConvSE': jc.c:348:6: warning: old-style function definition [-Wold-style-definition] 348 | void cConvSE(is,os) | ^~~~~~~ jc.c:350:1: error: number of arguments doesn't match prototype 350 | { | ^ jc.c:75:29: error: prototype declaration 75 | void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); | ^~~~~~~ jc.c:352:9: error: too many arguments to function 'cConvSJ'; expected 0, have 2 352 | cConvSJ(is,os); | ^~~~~~~ ~~ jc.c:75:9: note: declared here 75 | void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); | ^~~~~~~ jc.c: In function 'cConvSJ': jc.c:355:6: warning: old-style function definition [-Wold-style-definition] 355 | void cConvSJ(is,os) /* Convert Shift-JIS to JIS/real JIS/EUC */ | ^~~~~~~ jc.c:357:1: error: number of arguments doesn't match prototype 357 | { uchar c,km = 0,ub,lb,*p,*q = os; | ^ jc.c:75:9: error: prototype declaration 75 | void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); | ^~~~~~~ jc.c: In function 'cConvJS': jc.c:406:6: warning: old-style function definition [-Wold-style-definition] 406 | void cConvJS(is,os) /* Convert JIS to Shift-JIS */ | ^~~~~~~ jc.c:408:1: error: number of arguments doesn't match prototype 408 | { char *ip = is,*op = os; | ^ jc.c:75:19: error: prototype declaration 75 | void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); | ^~~~~~~ jc.c:410:22: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 410 | int il = strlen(SIcode), | ^~~~~~ jc.c:410:22: note: include '' or provide a declaration of 'strlen' jc.c:410:22: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] jc.c:410:22: note: include '' or provide a declaration of 'strlen' jc.c:415:47: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 415 | if (strncmp(ip,SOcode,ol) == 0) { | ^~ : note: built-in 'strncmp' declared here jc.c:420:33: error: implicit declaration of function 'put_js'; did you mean 'puts'? [-Wimplicit-function-declaration] 420 | put_js(*ip,*(ip+1),op); | ^~~~~~ | puts jc.c:426:47: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 426 | if (strncmp(ip,SIcode,il) == 0) { | ^~ : note: built-in 'strncmp' declared here jc.c: In function 'cConvES': jc.c:437:6: warning: old-style function definition [-Wold-style-definition] 437 | void cConvES(is,os) /* Convert EUC to Shift-JIS */ | ^~~~~~~ jc.c:439:1: error: number of arguments doesn't match prototype 439 | { char *ip = is,*op = os; | ^ jc.c:75:39: error: prototype declaration 75 | void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); | ^~~~~~~ jc.c: At top level: jc.c:458:1: error: return type defaults to 'int' [-Wimplicit-int] 458 | put_js(ub,lb,op) | ^~~~~~ jc.c: In function 'put_js': jc.c:458:1: warning: old-style function definition [-Wold-style-definition] jc.c: In function 'file_open': jc.c:477:7: warning: old-style function definition [-Wold-style-definition] 477 | FILE *file_open(fn,m) | ^~~~~~~~~ jc.c:479:1: error: number of arguments doesn't match prototype 479 | { FILE *f; | ^ jc.c:110:10: error: prototype declaration 110 | FILE *file_open(),*popen(); | ^~~~~~~~~ jc.c:483:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 483 | exit(-1); | ^~~~ jc.c:483:17: note: include '' or provide a declaration of 'exit' jc.c: In function 'cConvAS': jc.c:488:6: warning: old-style function definition [-Wold-style-definition] 488 | void cConvAS(is,os) /* Convert JIS to Shift-JIS */ | ^~~~~~~ jc.c:490:1: error: number of arguments doesn't match prototype 490 | { char *ip = is,*op = os; | ^ jc.c:75:49: error: prototype declaration 75 | void cConvSJ(),cConvJS(),cConvSE(),cConvES(),cConvAS(),cConvSP(),cConvPS(); | ^~~~~~~ jc.c: In function 'checkKanjiCode': jc.c:116:14: warning: old-style function definition [-Wold-style-definition] 116 | char checkKanjiCode(); | ^~~~~~~~~~~~~~ jc.c:525:1: error: number of arguments doesn't match prototype 525 | { | ^ --- fep.o --- fep.c: In function 'guess_system_kanji_code': --- jc.o --- jc.c:116:14: error: prototype declaration 116 | char checkKanjiCode(); | ^~~~~~~~~~~~~~ --- fep.o --- fep.c:82:17: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 82 | if (strcmp(tab->str, p)==0) | ^~~~~~ fep.c:11:1: note: include '' or provide a declaration of 'strcmp' 10 | #include +++ |+#include 11 | #endif --- jc.o --- jc.c: At top level: --- fep.o --- fep.c: In function 'kanjicode2string': fep.c:93:1: warning: old-style function definition [-Wold-style-definition] 93 | kanjicode2string(code) | ^~~~~~~~~~~~~~~~ --- jc.o --- jc.c:609:1: error: return type defaults to 'int' [-Wimplicit-int] 609 | usage() | ^~~~~ --- fep.o --- fep.c:93:1: error: type of 'code' defaults to 'int' [-Wimplicit-int] fep.c: At top level: fep.c:110:1: error: return type defaults to 'int' [-Wimplicit-int] 110 | main(argc,argv,envp) | ^~~~ fep.c: In function 'main': fep.c:110:1: warning: old-style function definition [-Wold-style-definition] fep.c:125:22: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 125 | if (!strncmp(argv[i],"-o",2)) | ^~~~~~~ fep.c:125:22: note: include '' or provide a declaration of 'strncmp' fep.c:125:43: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 125 | if (!strncmp(argv[i],"-o",2)) | ^ : note: built-in 'strncmp' declared here fep.c:126:35: error: too many arguments to function 'decideCode'; expected 0, have 1 126 | OutCode = decideCode(argv[i]+2); | ^~~~~~~~~~ ~~~~~~~~~ fep.c:22:11: note: declared here 22 | kanjicode decideCode(); | ^~~~~~~~~~ fep.c:127:48: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 127 | else if (!strncmp(argv[i],"-f",2)) | ^ : note: built-in 'strncmp' declared here fep.c:128:37: error: too many arguments to function 'decideCode'; expected 0, have 1 128 | WriteCode = decideCode(argv[i]+2); | ^~~~~~~~~~ ~~~~~~~~~ fep.c:22:11: note: declared here 22 | kanjicode decideCode(); | ^~~~~~~~~~ fep.c:129:48: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 129 | else if (!strncmp(argv[i],"-k",2)) | ^ : note: built-in 'strncmp' declared here fep.c:132:25: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 132 | strcpy(UserDicName,argv[++i]); | ^~~~~~ fep.c:132:25: note: include '' or provide a declaration of 'strcpy' fep.c:132:25: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] fep.c:132:25: note: include '' or provide a declaration of 'strcpy' fep.c:138:25: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 138 | strcpy(ShellName,argv[++i]); | ^~~~~~ fep.c:138:25: note: include '' or provide a declaration of 'strcpy' fep.c:221:9: error: implicit declaration of function 'setKanaKey' [-Wimplicit-function-declaration] 221 | setKanaKey(); | ^~~~~~~~~~ fep.c:222:9: error: implicit declaration of function 'getTCstr' [-Wimplicit-function-declaration] 222 | getTCstr(); | ^~~~~~~~ fep.c:223:9: error: implicit declaration of function 'get_winsize' [-Wimplicit-function-declaration] 223 | get_winsize(); | ^~~~~~~~~~~ fep.c:224:9: error: implicit declaration of function 'set_tty' [-Wimplicit-function-declaration] 224 | set_tty(); | ^~~~~~~ fep.c:225:9: error: implicit declaration of function 'set_int' [-Wimplicit-function-declaration] 225 | set_int(); | ^~~~~~~ fep.c:228:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 228 | strcpy(UserDicName,getenv("HOME")); | ^~~~~~ fep.c:228:17: note: include '' or provide a declaration of 'strcpy' fep.c:229:17: error: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 229 | strcat(UserDicName,"/"); | ^~~~~~ fep.c:229:17: note: include '' or provide a declaration of 'strcat' fep.c:229:17: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] fep.c:229:17: note: include '' or provide a declaration of 'strcat' fep.c:232:19: error: too many arguments to function 'openSKK'; expected 0, have 1 232 | UserDic = openSKK(UserDicName); | ^~~~~~~ ~~~~~~~~~~~ In file included from fep.h:9, from fep.c:2: skklib.h:55:12: note: declared here 55 | Dictionary openSKK(); | ^~~~~~~ fep.c:242:13: error: implicit declaration of function 'openSKKserv'; did you mean 'openSKK'? [-Wimplicit-function-declaration] 242 | if (openSKKserv() != -1) | ^~~~~~~~~~~ | openSKK fep.c:247:9: error: implicit declaration of function 'establishShell' [-Wimplicit-function-declaration] 247 | establishShell(); | ^~~~~~~~~~~~~~ fep.c:263:34: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 263 | if ((i = read(Shellfd,shellBuf,SH_BUF_SIZ)) > 0) | ^~~~ | fread fep.c:264:33: error: implicit declaration of function 'writeShTty' [-Wimplicit-function-declaration] 264 | writeShTty(shellBuf,i); | ^~~~~~~~~~ fep.c:270:21: error: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] 270 | if (ioctl(0,FIONREAD,&i) == 0) { | ^~~~~ fep.c:276:41: error: too many arguments to function 'thru'; expected 0, have 1 276 | thru(c); | ^~~~ ~ fep.c:118:14: note: declared here 118 | void thru(); | ^~~~ fep.c:278:42: error: too many arguments to function '*(CurrentKeymap + (sizetype)((long unsigned int)c * 8))'; expected 0, have 2 278 | (*CurrentKeymap[c])(c,o); | ~^~~~~~~~~~~~~~~~~~ ~ fep.c: In function 'decideCode': fep.c:286:1: warning: old-style function definition [-Wold-style-definition] 286 | decideCode(s) | ^~~~~~~~~~ fep.c:288:1: error: number of arguments doesn't match prototype 288 | { | ^ fep.c:22:11: error: prototype declaration 22 | kanjicode decideCode(); | ^~~~~~~~~~ fep.c:293:35: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 293 | else if (!strncmp(s,"jis",3)) { | ^ : note: built-in 'strncmp' declared here fep.c: At top level: fep.c:314:1: error: return type defaults to 'int' [-Wimplicit-int] 314 | flushOut(minchar) | ^~~~~~~~ fep.c: In function 'flushOut': fep.c:314:1: warning: old-style function definition [-Wold-style-definition] fep.c: In function 'nulcmd': fep.c:344:1: warning: old-style function definition [-Wold-style-definition] 344 | nulcmd(c) | ^~~~~~ fep.c:346:1: error: number of arguments doesn't match prototype 346 | {} | ^ In file included from fep.c:7: functions.h:1:22: error: prototype declaration 1 | void thru(),toKana(),nulcmd(),flthru(),thruToAsc(); | ^~~~~~ fep.c: In function 'thru': fep.c:350:1: warning: old-style function definition [-Wold-style-definition] 350 | thru(c) | ^~~~ fep.c:352:1: error: number of arguments doesn't match prototype 352 | { | ^ fep.c:118:14: error: prototype declaration 118 | void thru(); | ^~~~ fep.c:353:9: error: implicit declaration of function 'writeTtyShell1' [-Wimplicit-function-declaration] 353 | writeTtyShell1(c); | ^~~~~~~~~~~~~~ fep.c: In function 'toAsc': fep.c:358:1: warning: old-style function definition [-Wold-style-definition] 358 | toAsc(c) | ^~~~~ fep.c:360:1: error: number of arguments doesn't match prototype 360 | { | ^ fep.c:21:6: error: prototype declaration 21 | void toAsc(); | ^~~~~ fep.c:361:9: error: implicit declaration of function 'flushKana' [-Wimplicit-function-declaration] 361 | flushKana(); | ^~~~~~~~~ --- jc.o --- *** [jc.o] Error code 1 make[1]: stopped making "all" in /home/pbulk/work/inputmethod/skkfep/work/skkfep --- fep.o --- fep.c:362:9: error: implicit declaration of function 'setKeymap'; did you mean 'setkey'? [-Wimplicit-function-declaration] 362 | setKeymap(&CurrentKeymap,convertKeymap(&NormalKeymap)); | ^~~~~~~~~ | setkey fep.c:362:34: error: too many arguments to function 'convertKeymap'; expected 0, have 1 362 | setKeymap(&CurrentKeymap,convertKeymap(&NormalKeymap)); | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~ functions.h:17:11: note: declared here 17 | KeymapPtr convertKeymap(); | ^~~~~~~~~~~~~ fep.c:363:9: error: implicit declaration of function 'showmode' [-Wimplicit-function-declaration] 363 | showmode(SKK_MODE); | ^~~~~~~~ fep.c: In function 'toZenA': fep.c:367:1: warning: old-style function definition [-Wold-style-definition] 367 | toZenA(c) | ^~~~~~ fep.c:369:1: error: number of arguments doesn't match prototype 369 | { | ^ functions.h:3:6: error: prototype declaration 3 | void toZenA(),iZenAl(),iZenEx(),kanaBS(); | ^~~~~~ fep.c: In function 'thruToAsc': fep.c:376:1: warning: old-style function definition [-Wold-style-definition] 376 | thruToAsc(c) | ^~~~~~~~~ fep.c:376:1: error: type of 'c' defaults to 'int' [-Wimplicit-int] fep.c:377:1: error: number of arguments doesn't match prototype 377 | { | ^ functions.h:1:40: error: prototype declaration 1 | void thru(),toKana(),nulcmd(),flthru(),thruToAsc(); | ^~~~~~~~~ fep.c:378:9: error: too many arguments to function 'toAsc'; expected 0, have 1 378 | toAsc(c); | ^~~~~ ~ fep.c:358:1: note: declared here 358 | toAsc(c) | ^~~~~ fep.c:379:9: error: too many arguments to function 'thru'; expected 0, have 1 379 | thru(c); | ^~~~ ~ fep.c:350:1: note: declared here 350 | thru(c) | ^~~~ fep.c: In function 'toEsc': fep.c:383:1: warning: old-style function definition [-Wold-style-definition] 383 | toEsc(c) | ^~~~~ fep.c:383:1: error: type of 'c' defaults to 'int' [-Wimplicit-int] fep.c:384:1: error: number of arguments doesn't match prototype 384 | { | ^ functions.h:13:6: error: prototype declaration 13 | void toEsc(),thruToEsc(),thruKfFixToEsc(),thruOkfFixToEsc(),thruFixItToEsc(); | ^~~~~ fep.c:386:34: error: too many arguments to function 'convertKeymap'; expected 0, have 1 386 | setKeymap(&CurrentKeymap,convertKeymap(&EscapedKeymap)); | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~ functions.h:17:11: note: declared here 17 | KeymapPtr convertKeymap(); | ^~~~~~~~~~~~~ fep.c: In function 'thruToEsc': fep.c:391:1: warning: old-style function definition [-Wold-style-definition] 391 | thruToEsc(c) | ^~~~~~~~~ fep.c:393:1: error: number of arguments doesn't match prototype 393 | { | ^ functions.h:13:14: error: prototype declaration 13 | void toEsc(),thruToEsc(),thruKfFixToEsc(),thruOkfFixToEsc(),thruFixItToEsc(); | ^~~~~~~~~ fep.c:394:9: error: too many arguments to function 'toEsc'; expected 0, have 1 394 | toEsc(c); | ^~~~~ ~ fep.c:383:1: note: declared here 383 | toEsc(c) | ^~~~~ fep.c:395:9: error: too many arguments to function 'thru'; expected 0, have 1 395 | thru(c); | ^~~~ ~ fep.c:350:1: note: declared here 350 | thru(c) | ^~~~ fep.c: In function 'thruBack': fep.c:399:1: warning: old-style function definition [-Wold-style-definition] 399 | thruBack(c) | ^~~~~~~~ fep.c:401:1: error: number of arguments doesn't match prototype 401 | { | ^ functions.h:14:6: error: prototype declaration 14 | void thruBack(),thru1(); | ^~~~~~~~ fep.c:402:9: error: too many arguments to function 'thru'; expected 0, have 1 402 | thru(c); | ^~~~ ~ fep.c:350:1: note: declared here 350 | thru(c) | ^~~~ fep.c:403:9: error: too many arguments to function 'toKana'; expected 0, have 1 403 | toKana(c); | ^~~~~~ ~ functions.h:1:13: note: declared here 1 | void thru(),toKana(),nulcmd(),flthru(),thruToAsc(); | ^~~~~~ fep.c: In function 'thru1': fep.c:407:1: warning: old-style function definition [-Wold-style-definition] 407 | thru1(c) | ^~~~~ fep.c:409:1: error: number of arguments doesn't match prototype 409 | { | ^ functions.h:14:17: error: prototype declaration 14 | void thruBack(),thru1(); | ^~~~~ fep.c:410:9: error: too many arguments to function 'thru'; expected 0, have 1 410 | thru(c); | ^~~~ ~ fep.c:350:1: note: declared here 350 | thru(c) | ^~~~ fep.c:411:9: error: implicit declaration of function 'restoreKeymap' [-Wimplicit-function-declaration] 411 | restoreKeymap(&CurrentKeymap); | ^~~~~~~~~~~~~ fep.c:412:9: error: implicit declaration of function 'showlastmode' [-Wimplicit-function-declaration] 412 | showlastmode(); | ^~~~~~~~~~~~ *** [fep.o] Error code 1 make[1]: stopped making "all" in /home/pbulk/work/inputmethod/skkfep/work/skkfep make[1]: 2 errors make[1]: stopped making "all" in /home/pbulk/work/inputmethod/skkfep/work/skkfep *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/work/inputmethod/skkfep/work/skkfep bmake: 1 error bmake: stopped making "all" in /home/pbulk/work/inputmethod/skkfep/work/skkfep *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/inputmethod/skkfep *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/inputmethod/skkfep