=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/converters/kcc", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for kcc-2.3 --- kcc.o --- gcc -O -c kcc.c kcc.c:100:13: error: 'bool' cannot be defined via 'typedef' 100 | typedef int bool; | ^~~~ kcc.c:100:13: note: 'bool' is a keyword with '-std=c23' onwards kcc.c:100:1: warning: useless type name in empty declaration 100 | typedef int bool; | ^~~~~~~ kcc.c:153:1: error: return type defaults to 'int' [-Wimplicit-int] 153 | main(c, v) | ^~~~ kcc.c: In function 'main': kcc.c:153:1: warning: old-style function definition [-Wold-style-definition] kcc.c:289:9: error: too many arguments to function 'buffalloc'; expected 0, have 1 289 | buffalloc(size); /* allocate hold buf */ | ^~~~~~~~~ ~~~~ kcc.c:166:10: note: declared here 166 | void buffalloc(); | ^~~~~~~~~ kcc.c:357:13: error: too many arguments to function 'check'; expected 0, have 1 357 | check(iop); | ^~~~~ ~~~ kcc.c:165:10: note: declared here 165 | void check(); | ^~~~~ kcc.c:359:13: error: too many arguments to function 'filter'; expected 0, have 1 359 | filter(iop); | ^~~~~~ ~~~ kcc.c:164:10: note: declared here 164 | void filter(); | ^~~~~~ kcc.c: In function 'filter': kcc.c:164:10: warning: old-style function definition [-Wold-style-definition] kcc.c:422:1: error: number of arguments doesn't match prototype 422 | { | ^ kcc.c:164:10: error: prototype declaration 164 | void filter(); | ^~~~~~ kcc.c:437:18: error: implicit declaration of function 'getstr' [-Wimplicit-function-declaration] 437 | while (len = getstr(str, sizeof str, fp)) { | ^~~~~~ kcc.c:443:17: error: too many arguments to function 'guess'; expected 0, have 2 443 | c = guess(str, len); | ^~~~~ ~~~ kcc.c:427:14: note: declared here 427 | unsigned guess(); | ^~~~~ kcc.c:449:21: error: too many arguments to function 'append'; expected 0, have 2 449 | if (append(str, len)) { | ^~~~~~ ~~~ kcc.c:428:10: note: declared here 428 | bool append(); | ^~~~~~ kcc.c:463:13: error: too many arguments to function 'flush'; expected 0, have 1 463 | flush(code); | ^~~~~ ~~~~ kcc.c:429:10: note: declared here 429 | void flush(); | ^~~~~ kcc.c:466:13: error: too many arguments to function 'out'; expected 0, have 3 466 | c = out(str, len, code); | ^~~ ~~~ kcc.c:430:14: note: declared here 430 | unsigned out(); | ^~~ kcc.c:473:9: error: too many arguments to function 'flush'; expected 0, have 1 473 | flush(code |= ASSUME); | ^~~~~ kcc.c:429:10: note: declared here 429 | void flush(); | ^~~~~ kcc.c:475:9: error: too many arguments to function 'showcode'; expected 0, have 2 475 | showcode(code, stderr); | ^~~~~~~~ ~~~~ kcc.c:431:10: note: declared here 431 | void showcode(); | ^~~~~~~~ kcc.c: In function 'check': kcc.c:165:10: warning: old-style function definition [-Wold-style-definition] 165 | void check(); | ^~~~~ kcc.c:484:1: error: number of arguments doesn't match prototype 484 | { | ^ kcc.c:165:10: error: prototype declaration 165 | void check(); | ^~~~~ kcc.c:495:13: error: too many arguments to function 'guess'; expected 0, have 2 495 | c = guess(str, len); | ^~~~~ ~~~ kcc.c:489:14: note: declared here 489 | unsigned guess(); | ^~~~~ kcc.c:500:5: error: too many arguments to function 'showcode'; expected 0, have 2 500 | showcode(code, stdout); | ^~~~~~~~ ~~~~ kcc.c:488:10: note: declared here 488 | void showcode(); | ^~~~~~~~ kcc.c: In function 'showcode': kcc.c:488:10: warning: old-style function definition [-Wold-style-definition] kcc.c:510:1: error: number of arguments doesn't match prototype 510 | { | ^ kcc.c:488:10: error: prototype declaration 488 | void showcode(); | ^~~~~~~~ kcc.c:522:13: error: too many arguments to function 'showjis'; expected 0, have 2 522 | showjis('7', fp); | ^~~~~~~ ~~~ kcc.c:512:10: note: declared here 512 | void showjis(); | ^~~~~~~ kcc.c:537:17: error: too many arguments to function 'showjis'; expected 0, have 2 537 | showjis('8', fp); | ^~~~~~~ ~~~ kcc.c:512:10: note: declared here 512 | void showjis(); | ^~~~~~~ kcc.c:559:9: error: too many arguments to function 'showjis'; expected 0, have 2 559 | showjis('8', fp); | ^~~~~~~ ~~~ kcc.c:512:10: note: declared here 512 | void showjis(); | ^~~~~~~ kcc.c:576:9: error: too many arguments to function 'showjis'; expected 0, have 2 576 | showjis('7', fp); | ^~~~~~~ ~~~ kcc.c:512:10: note: declared here 512 | void showjis(); | ^~~~~~~ kcc.c: In function 'showjis': kcc.c:512:10: warning: old-style function definition [-Wold-style-definition] kcc.c:588:1: error: number of arguments doesn't match prototype 588 | { | ^ kcc.c:512:10: error: prototype declaration 512 | void showjis(); | ^~~~~~~ kcc.c:593:13: error: too many arguments to function 'showesc'; expected 0, have 4 593 | comma = showesc("ESC$", insi, 0, fp); | ^~~~~~~ ~~~~~~ kcc.c:590:10: note: declared here 590 | bool showesc(); | ^~~~~~~ kcc.c:594:13: error: too many arguments to function 'showesc'; expected 0, have 4 594 | comma = showesc("ESC&@ESC$", innj, comma, fp); | ^~~~~~~ ~~~~~~~~~~~ kcc.c:590:10: note: declared here 590 | bool showesc(); | ^~~~~~~ kcc.c:595:13: error: too many arguments to function 'showesc'; expected 0, have 4 595 | comma = showesc("ESC(", inso, comma, fp); | ^~~~~~~ ~~~~~~ kcc.c:590:10: note: declared here 590 | bool showesc(); | ^~~~~~~ kcc.c:596:5: error: too many arguments to function 'showesc'; expected 0, have 4 596 | showesc("ESC$(", ingj, comma, fp); | ^~~~~~~ ~~~~~~~ kcc.c:590:10: note: declared here 590 | bool showesc(); | ^~~~~~~ kcc.c: In function 'showesc': kcc.c:590:10: warning: old-style function definition [-Wold-style-definition] kcc.c:609:1: error: number of arguments doesn't match prototype 609 | { | ^ kcc.c:590:10: error: prototype declaration 590 | bool showesc(); | ^~~~~~~ kcc.c: In function 'getstr': kcc.c:629:5: warning: old-style function definition [-Wold-style-definition] 629 | int getstr(str, n, fp) | ^~~~~~ kcc.c: In function 'buffalloc': kcc.c:166:10: warning: old-style function definition [-Wold-style-definition] 166 | void buffalloc(); | ^~~~~~~~~ kcc.c:657:1: error: number of arguments doesn't match prototype 657 | { | ^ kcc.c:166:10: error: prototype declaration 166 | void buffalloc(); | ^~~~~~~~~ kcc.c: In function 'append': kcc.c:428:10: warning: old-style function definition [-Wold-style-definition] 428 | bool append(); | ^~~~~~ kcc.c:670:1: error: number of arguments doesn't match prototype 670 | { | ^ kcc.c:428:10: error: prototype declaration 428 | bool append(); | ^~~~~~ kcc.c: In function 'flush': kcc.c:429:10: warning: old-style function definition [-Wold-style-definition] 429 | void flush(); | ^~~~~ kcc.c:684:1: error: number of arguments doesn't match prototype 684 | { | ^ kcc.c:429:10: error: prototype declaration 429 | void flush(); | ^~~~~ kcc.c:687:5: error: too many arguments to function 'out'; expected 0, have 3 687 | out(holdbuf, bufp - holdbuf, code); | ^~~ ~~~~~~~ kcc.c:685:14: note: declared here 685 | unsigned out(); | ^~~ kcc.c: In function 'compare': kcc.c:700:6: warning: old-style function definition [-Wold-style-definition] 700 | bool compare(s, str) | ^~~~~~~ kcc.c: In function 'guess': kcc.c:489:14: warning: old-style function definition [-Wold-style-definition] 489 | unsigned guess(); | ^~~~~ kcc.c:721:1: error: number of arguments doesn't match prototype 721 | { | ^ kcc.c:489:14: error: prototype declaration 489 | unsigned guess(); | ^~~~~ kcc.c: In function 'out': kcc.c:685:14: warning: old-style function definition [-Wold-style-definition] 685 | unsigned out(); | ^~~ kcc.c:907:1: error: number of arguments doesn't match prototype 907 | { | ^ kcc.c:685:14: error: prototype declaration 685 | unsigned out(); | ^~~ kcc.c:961:22: error: too many arguments to function 'outkanji'; expected 0, have 2 961 | (*outkanji)(((u_char *) s)[0], | ~^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ kcc.c:966:22: error: too many arguments to function 'outgaiji'; expected 0, have 2 966 | (*outgaiji)(((u_char *) s)[0], | ~^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ kcc.c:972:22: error: too many arguments to function 'outkana'; expected 0, have 1 972 | (*outkana)(((u_char *) s)[0]); | ~^~~~~~~~~ ~~~~~~~~~~~~~~~~~ kcc.c:987:26: error: too many arguments to function 'outgaiji'; expected 0, have 2 987 | (*outgaiji)(((u_char *) s)[0] & 0x7f, | ~^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ kcc.c:993:26: error: too many arguments to function 'outkanji'; expected 0, have 2 993 | (*outkanji)(((u_char *) s)[0] & 0x7f, | ~^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ kcc.c:1002:22: error: too many arguments to function 'outkana'; expected 0, have 1 1002 | (*outkana)(((u_char *) s)[1] & 0x7f); | ~^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ kcc.c:1012:22: error: too many arguments to function 'outgaiji'; expected 0, have 2 1012 | (*outgaiji)(((u_char *) s)[1] & 0x7f, | ~^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ kcc.c:1037:22: error: too many arguments to function 'outkana'; expected 0, have 1 1037 | (*outkana)(((u_char *) s)[0] & 0x7f); | ~^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ kcc.c:1043:21: error: too many arguments to function 'outsjis'; expected 0, have 2 1043 | outsjis(((u_char *) s)[0], ((u_char *) s)[1]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~ kcc.c:910:10: note: declared here 910 | void outsjis(); | ^~~~~~~ kcc.c:1048:10: error: too many arguments to function 'outascii'; expected 0, have 1 1048 | (*outascii)(((u_char *) s)[0]); | ~^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ kcc.c: In function 'outsjis': kcc.c:910:10: warning: old-style function definition [-Wold-style-definition] 910 | void outsjis(); | ^~~~~~~ kcc.c:1059:1: error: number of arguments doesn't match prototype 1059 | { | ^ kcc.c:910:10: error: prototype declaration 910 | void outsjis(); | ^~~~~~~ kcc.c:1069:6: error: too many arguments to function 'c1 <= 239 ? outkanji : outgaiji'; expected 0, have 2 1069 | (*(c1 <= 0xef ? outkanji : outgaiji))(c, c2); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ kcc.c: In function 'outchar': kcc.c:1136:6: warning: old-style function definition [-Wold-style-definition] 1136 | void outchar(c) | ^~~~~~~ kcc.c:1138:1: error: number of arguments doesn't match prototype 1138 | { | ^ kcc.c:1077:6: error: prototype declaration 1077 | void outchar(); | ^~~~~~~ kcc.c: In function 'jisascii': kcc.c:1146:6: warning: old-style function definition [-Wold-style-definition] 1146 | void jisascii(c) | ^~~~~~~~ kcc.c:1148:1: error: number of arguments doesn't match prototype 1148 | { | ^ kcc.c:1078:6: error: prototype declaration 1078 | void jisascii(), jiskanji(), jisgaiji(); | ^~~~~~~~ kcc.c: In function 'jiskanji': kcc.c:1168:6: warning: old-style function definition [-Wold-style-definition] 1168 | void jiskanji(c1, c2) | ^~~~~~~~ kcc.c:1170:1: error: number of arguments doesn't match prototype 1170 | { | ^ kcc.c:1078:18: error: prototype declaration 1078 | void jisascii(), jiskanji(), jisgaiji(); | ^~~~~~~~ kcc.c: In function 'jisgaiji': kcc.c:1185:6: warning: old-style function definition [-Wold-style-definition] 1185 | void jisgaiji(c1, c2) | ^~~~~~~~ kcc.c:1187:1: error: number of arguments doesn't match prototype 1187 | { | ^ kcc.c:1078:30: error: prototype declaration 1078 | void jisascii(), jiskanji(), jisgaiji(); | ^~~~~~~~ kcc.c:1189:9: error: too many arguments to function 'jiskanji'; expected 0, have 2 1189 | jiskanji(ZENPAD >> 8, ZENPAD & 0xff); | ^~~~~~~~ kcc.c:1168:6: note: declared here 1168 | void jiskanji(c1, c2) | ^~~~~~~~ kcc.c: In function 'jiskana': kcc.c:1206:6: warning: old-style function definition [-Wold-style-definition] 1206 | void jiskana(c) | ^~~~~~~ kcc.c:1208:1: error: number of arguments doesn't match prototype 1208 | { | ^ kcc.c:1079:6: error: prototype declaration 1079 | void jiskana(), jiskanak(), jiskana8(); | ^~~~~~~ kcc.c: In function 'jiskanak': kcc.c:1222:6: warning: old-style function definition [-Wold-style-definition] 1222 | void jiskanak(c) | ^~~~~~~~ kcc.c:1224:1: error: number of arguments doesn't match prototype 1224 | { | ^ kcc.c:1079:17: error: prototype declaration 1079 | void jiskana(), jiskanak(), jiskana8(); | ^~~~~~~~ kcc.c: In function 'jiskana8': kcc.c:1236:6: warning: old-style function definition [-Wold-style-definition] 1236 | void jiskana8(c) | ^~~~~~~~ kcc.c:1238:1: error: number of arguments doesn't match prototype 1238 | { | ^ kcc.c:1079:29: error: prototype declaration 1079 | void jiskana(), jiskanak(), jiskana8(); | ^~~~~~~~ kcc.c: In function 'euckanji': kcc.c:1250:6: warning: old-style function definition [-Wold-style-definition] 1250 | void euckanji(c1, c2) | ^~~~~~~~ kcc.c:1252:1: error: number of arguments doesn't match prototype 1252 | { | ^ kcc.c:1080:6: error: prototype declaration 1080 | void euckanji(), eucgaiji(), euckana(); | ^~~~~~~~ kcc.c: In function 'eucgaiji': kcc.c:1261:6: warning: old-style function definition [-Wold-style-definition] 1261 | void eucgaiji(c1, c2) | ^~~~~~~~ kcc.c:1263:1: error: number of arguments doesn't match prototype 1263 | { | ^ kcc.c:1080:18: error: prototype declaration 1080 | void euckanji(), eucgaiji(), euckana(); | ^~~~~~~~ kcc.c: In function 'euckana': kcc.c:1278:6: warning: old-style function definition [-Wold-style-definition] 1278 | void euckana(c) | ^~~~~~~ kcc.c:1280:1: error: number of arguments doesn't match prototype 1280 | { | ^ kcc.c:1080:30: error: prototype declaration 1080 | void euckanji(), eucgaiji(), euckana(); | ^~~~~~~ kcc.c: In function 'sjiskanji': kcc.c:1289:6: warning: old-style function definition [-Wold-style-definition] 1289 | void sjiskanji(c1, c2) | ^~~~~~~~~ kcc.c:1291:1: error: number of arguments doesn't match prototype 1291 | { | ^ kcc.c:1081:6: error: prototype declaration 1081 | void sjiskanji(), sjisgaiji(), sjiskana(); | ^~~~~~~~~ kcc.c: In function 'sjisgaiji': kcc.c:1304:6: warning: old-style function definition [-Wold-style-definition] 1304 | void sjisgaiji(c1, c2) | ^~~~~~~~~ kcc.c:1306:1: error: number of arguments doesn't match prototype 1306 | { | ^ kcc.c:1081:19: error: prototype declaration 1081 | void sjiskanji(), sjisgaiji(), sjiskana(); | ^~~~~~~~~ kcc.c:1308:9: error: too many arguments to function 'sjiskanji'; expected 0, have 2 1308 | sjiskanji(ZENPAD >> 8, ZENPAD & 0xff); | ^~~~~~~~~ kcc.c:1289:6: note: declared here 1289 | void sjiskanji(c1, c2) | ^~~~~~~~~ kcc.c: In function 'sjiskana': kcc.c:1320:6: warning: old-style function definition [-Wold-style-definition] 1320 | void sjiskana(c) | ^~~~~~~~ kcc.c:1322:1: error: number of arguments doesn't match prototype 1322 | { | ^ kcc.c:1081:32: error: prototype declaration 1081 | void sjiskanji(), sjisgaiji(), sjiskana(); | ^~~~~~~~ kcc.c: In function 'decascii': kcc.c:1330:6: warning: old-style function definition [-Wold-style-definition] 1330 | void decascii(c) | ^~~~~~~~ kcc.c:1332:1: error: number of arguments doesn't match prototype 1332 | { | ^ kcc.c:1082:6: error: prototype declaration 1082 | void decascii(), deckanji(), decgaiji(), deckana(); | ^~~~~~~~ kcc.c: In function 'deckanji': kcc.c:1345:6: warning: old-style function definition [-Wold-style-definition] 1345 | void deckanji(c1, c2) | ^~~~~~~~ kcc.c:1347:1: error: number of arguments doesn't match prototype 1347 | { | ^ kcc.c:1082:18: error: prototype declaration 1082 | void decascii(), deckanji(), decgaiji(), deckana(); | ^~~~~~~~ kcc.c: In function 'decgaiji': kcc.c:1361:6: warning: old-style function definition [-Wold-style-definition] 1361 | void decgaiji(c1, c2) | ^~~~~~~~ kcc.c:1363:1: error: number of arguments doesn't match prototype 1363 | { | ^ kcc.c:1082:30: error: prototype declaration 1082 | void decascii(), deckanji(), decgaiji(), deckana(); | ^~~~~~~~ kcc.c: In function 'deckana': kcc.c:1382:6: warning: old-style function definition [-Wold-style-definition] 1382 | void deckana(c) | ^~~~~~~ kcc.c:1384:1: error: number of arguments doesn't match prototype 1384 | { | ^ kcc.c:1082:42: error: prototype declaration 1082 | void decascii(), deckanji(), decgaiji(), deckana(); | ^~~~~~~ *** [kcc.o] Error code 1 bmake: stopped making "all" in /tmp/work/converters/kcc/work/kcc bmake: 1 error bmake: stopped making "all" in /tmp/work/converters/kcc/work/kcc *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/converters/kcc *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/converters/kcc