=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for kterm-6.2.0nb23 cc -O -I/usr/pkg/include -I /usr/X11R7/include -DKTERM -DSTATUSLINE -DKEEPALIVE -I/usr/X11R7/include -c button.c button.c:390:6: warning: implicit declaration of function 'check_ctext_kterm' is invalid in C99 [-Wimplicit-function-declaration] if (check_ctext_kterm((char*)value, *length)) { ^ button.c:427:9: warning: implicit declaration of function 'convCTtoCS' is invalid in C99 [-Wimplicit-function-declaration] n = convCTtoCS(ct, len, NULL); ^ button.c:457:9: warning: implicit declaration of function 'convUTF8toCS' is invalid in C99 [-Wimplicit-function-declaration] n = convUTF8toCS(ut, len, NULL); ^ button.c:555:6: warning: implicit declaration of function 'v_write' is invalid in C99 [-Wimplicit-function-declaration] v_write(pty, lag, cp - lag + 1); ^ button.c:688:6: warning: implicit declaration of function 'HideCursor' is invalid in C99 [-Wimplicit-function-declaration] HideCursor (); ^ button.c:785:3: warning: implicit declaration of function 'DisownSelection' is invalid in C99 [-Wimplicit-function-declaration] DisownSelection(term); ^ button.c:895:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ScrollSelection(screen, amount) ^~~~~~~~~~~~~~~ button.c:926:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ button.c:930:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ResizeSelection (screen, rows, cols) ^~~~~~~~~~~~~~~ button.c:948:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ button.c:960:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register row, col; ~~~~~~~~ ^ button.c:960:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register row, col; ~~~~~~~~ ^ button.c:1335:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if (0x41 <= c2 && c2 <= 0x5a || 0x61 <= c2 && c2 <= 0x7a) ~~~~~~~~~~~^~~~~~~~~~~~~ ~~ button.c:1335:18: note: place parentheses around the '&&' expression to silence this warning if (0x41 <= c2 && c2 <= 0x5a || 0x61 <= c2 && c2 <= 0x7a) ^ ( ) button.c:1335:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if (0x41 <= c2 && c2 <= 0x5a || 0x61 <= c2 && c2 <= 0x7a) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~ button.c:1335:46: note: place parentheses around the '&&' expression to silence this warning if (0x41 <= c2 && c2 <= 0x5a || 0x61 <= c2 && c2 <= 0x7a) ^ ( ) button.c:1347:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if (0x21 <= c2 && c2 <= 0x38 || 0x41 <= c2 && c2 <= 0x58) ~~~~~~~~~~~^~~~~~~~~~~~~ ~~ button.c:1347:18: note: place parentheses around the '&&' expression to silence this warning if (0x21 <= c2 && c2 <= 0x38 || 0x41 <= c2 && c2 <= 0x58) ^ ( ) button.c:1347:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if (0x21 <= c2 && c2 <= 0x38 || 0x41 <= c2 && c2 <= 0x58) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~ button.c:1347:46: note: place parentheses around the '&&' expression to silence this warning if (0x21 <= c2 && c2 <= 0x38 || 0x41 <= c2 && c2 <= 0x58) ^ ( ) button.c:1351:18: warning: '&&' within '||' [-Wlogical-op-parentheses] if (0x21 <= c2 && c2 <= 0x41 || 0x51 <= c2 && c2 <= 0x71) ~~~~~~~~~~~^~~~~~~~~~~~~ ~~ button.c:1351:18: note: place parentheses around the '&&' expression to silence this warning if (0x21 <= c2 && c2 <= 0x41 || 0x51 <= c2 && c2 <= 0x71) ^ ( ) button.c:1351:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if (0x21 <= c2 && c2 <= 0x41 || 0x51 <= c2 && c2 <= 0x71) ~~ ~~~~~~~~~~~^~~~~~~~~~~~~ button.c:1351:46: note: place parentheses around the '&&' expression to silence this warning if (0x21 <= c2 && c2 <= 0x41 || 0x51 <= c2 && c2 <= 0x71) ^ ( ) button.c:1359:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if (0x30 <= c1 && c1 <= 0x4e && 0x21 <= c2 && c2 <= 0x7e ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ button.c:1359:46: note: place parentheses around the '&&' expression to silence this warning if (0x30 <= c1 && c1 <= 0x4e && 0x21 <= c2 && c2 <= 0x7e ^ ( ) button.c:1360:18: warning: '&&' within '||' [-Wlogical-op-parentheses] || c1 == 0x4f && (0x21 <= c2 || c2 <= 0x53)) /* dai_1_suijun */ ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ button.c:1360:18: note: place parentheses around the '&&' expression to silence this warning || c1 == 0x4f && (0x21 <= c2 || c2 <= 0x53)) /* dai_1_suijun */ ^ ( ) button.c:1362:46: warning: '&&' within '||' [-Wlogical-op-parentheses] if (0x50 <= c1 && c1 <= 0x73 && 0x21 <= c2 && c2 <= 0x7e ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ button.c:1362:46: note: place parentheses around the '&&' expression to silence this warning if (0x50 <= c1 && c1 <= 0x73 && 0x21 <= c2 && c2 <= 0x7e ^ ( ) button.c:1363:18: warning: '&&' within '||' [-Wlogical-op-parentheses] || c1 == 0x74 && (0x21 <= c2 || c2 <= 0x24)) /* dai_2_suijun */ ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ button.c:1363:18: note: place parentheses around the '&&' expression to silence this warning || c1 == 0x74 && (0x21 <= c2 || c2 <= 0x24)) /* dai_2_suijun */ ^ ( ) button.c:1439:7: warning: implicit declaration of function 'ScrnRefresh' is invalid in C99 [-Wimplicit-function-declaration] ScrnRefresh(screen, frow, fcol, 1, i, True); ^ button.c:1503:3: warning: implicit declaration of function 'SysError' is invalid in C99 [-Wimplicit-function-declaration] SysError(ERROR_BMALLOC2); ^ button.c:1603:16: warning: implicit declaration of function 'pasteCStoUTF8' is invalid in C99 [-Wimplicit-function-declaration] *length = pasteCStoUTF8(xterm->screen.selection, NULL); ^ button.c:1608:16: warning: implicit declaration of function 'convCStoCT' is invalid in C99 [-Wimplicit-function-declaration] *length = convCStoCT(xterm->screen.selection, NULL); ^ button.c:1613:16: warning: implicit declaration of function 'convCStoLatin1' is invalid in C99 [-Wimplicit-function-declaration] *length = convCStoLatin1(xterm->screen.selection, NULL); ^ button.c:1812:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DisownSelection(termw) ^~~~~~~~~~~~~~~ button.c:1839:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ button.c:1887:6: warning: implicit declaration of function 'ScrnGetAttributes' is invalid in C99 [-Wimplicit-function-declaration] if(ScrnGetAttributes(screen, row + screen->topline, 0, &attr, 1) == 1) { ^ button.c:1901:28: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c < ' ' || c == 0x7f && !(g & CS96)) { ~~ ~~~~~~~~~~^~~~~~~~~~~~~~ button.c:1901:28: note: place parentheses around the '&&' expression to silence this warning if (c < ' ' || c == 0x7f && !(g & CS96)) { ^ ( ) 31 warnings generated. m4 kfontlist.m4 > kfontlist.c rm -f charproc.o cc -c -O -I/usr/pkg/include -I /usr/X11R7/include -DKTERM -DSTATUSLINE -DKEEPALIVE charproc.c charproc.c:1064:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] doSS(gset) ^~~~ charproc.c:1070:19: warning: '&' within '|' [-Wbitwise-op-parentheses] min = 0x20 | *cp & 0x80; ~ ~~~~^~~~~~ charproc.c:1070:19: note: place parentheses around the '&' expression to silence this warning min = 0x20 | *cp & 0x80; ^ ( ) charproc.c:1071:19: warning: '&' within '|' [-Wbitwise-op-parentheses] max = 0x7f | *cp & 0x80; ~ ~~~~^~~~~~ charproc.c:1071:19: note: place parentheses around the '&' expression to silence this warning max = 0x7f | *cp & 0x80; ^ ( ) charproc.c:1121:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:1123:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] doLS(gset) ^~~~ charproc.c:1132:19: warning: '&' within '|' [-Wbitwise-op-parentheses] min = 0x20 | *cp & 0x80; ~ ~~~~^~~~~~ charproc.c:1132:19: note: place parentheses around the '&' expression to silence this warning min = 0x20 | *cp & 0x80; ^ ( ) charproc.c:1133:19: warning: '&' within '|' [-Wbitwise-op-parentheses] max = 0x7f | *cp & 0x80; ~ ~~~~^~~~~~ charproc.c:1133:19: note: place parentheses around the '&' expression to silence this warning max = 0x7f | *cp & 0x80; ^ ( ) charproc.c:1213:33: warning: '&&' within '||' [-Wlogical-op-parentheses] if (c < min || print_min <= c && c <= print_max || max < c) ~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ charproc.c:1213:33: note: place parentheses around the '&&' expression to silence this warning if (c < min || print_min <= c && c <= print_max || max < c) ^ ( ) charproc.c:1220:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:1229:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] doUTF8() ^~~~~~ charproc.c:1330:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:1332:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] doSJIS_p1() ^~~~~~~~~ charproc.c:1399:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:1401:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] doSJIS_p2() ^~~~~~~~~ charproc.c:1463:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:1465:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] doEUC_p1() ^~~~~~~~ charproc.c:1524:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:1526:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] doEUC_p2() ^~~~~~~~ charproc.c:1539:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:1584:14: warning: implicit declaration of function 'in_put' is invalid in C99 [-Wimplicit-function-declaration] c = doinput(); ^ charproc.c:290:44: note: expanded from macro 'doinput' #define doinput() (bcnt-- > 0 ? *bptr++ : in_put()) ^ charproc.c:1698:4: warning: implicit declaration of function 'Bell' is invalid in C99 [-Wimplicit-function-declaration] Bell(XkbBI_TerminalBell,0); ^ charproc.c:1703:4: warning: implicit declaration of function 'CursorBack' is invalid in C99 [-Wimplicit-function-declaration] CursorBack(screen, 1); ^ charproc.c:1708:4: warning: implicit declaration of function 'CarriageReturn' is invalid in C99 [-Wimplicit-function-declaration] CarriageReturn(screen); ^ charproc.c:1733:6: warning: implicit declaration of function 'xevents' is invalid in C99 [-Wimplicit-function-declaration] xevents(); ^ charproc.c:1739:22: warning: implicit declaration of function 'TabNext' is invalid in C99 [-Wimplicit-function-declaration] screen->cur_col = TabNext(term->tabs, screen->cur_col); ^ charproc.c:1851:4: warning: implicit declaration of function 'InsertChar' is invalid in C99 [-Wimplicit-function-declaration] InsertChar(screen, row); ^ charproc.c:1862:4: warning: implicit declaration of function 'CursorUp' is invalid in C99 [-Wimplicit-function-declaration] CursorUp(screen, row); ^ charproc.c:1873:4: warning: implicit declaration of function 'CursorDown' is invalid in C99 [-Wimplicit-function-declaration] CursorDown(screen, row); ^ charproc.c:1881:4: warning: implicit declaration of function 'CursorForward' is invalid in C99 [-Wimplicit-function-declaration] CursorForward(screen, row); ^ charproc.c:1908:4: warning: implicit declaration of function 'CursorSet' is invalid in C99 [-Wimplicit-function-declaration] CursorSet(screen, row-1, col-1, term->flags); ^ charproc.c:1928:5: warning: implicit declaration of function 'ClearRight' is invalid in C99 [-Wimplicit-function-declaration] ClearRight(screen); ^ charproc.c:1931:5: warning: implicit declaration of function 'ClearBelow' is invalid in C99 [-Wimplicit-function-declaration] ClearBelow(screen); ^ charproc.c:1937:5: warning: implicit declaration of function 'ClearLeft' is invalid in C99 [-Wimplicit-function-declaration] ClearLeft(screen); ^ charproc.c:1940:5: warning: implicit declaration of function 'ClearAbove' is invalid in C99 [-Wimplicit-function-declaration] ClearAbove(screen); ^ charproc.c:1946:5: warning: implicit declaration of function 'ClearLine' is invalid in C99 [-Wimplicit-function-declaration] ClearLine(screen); ^ charproc.c:1949:5: warning: implicit declaration of function 'ClearScreen' is invalid in C99 [-Wimplicit-function-declaration] ClearScreen(screen); ^ charproc.c:1979:4: warning: implicit declaration of function 'InsertLine' is invalid in C99 [-Wimplicit-function-declaration] InsertLine(screen, row); ^ charproc.c:1990:4: warning: implicit declaration of function 'DeleteLine' is invalid in C99 [-Wimplicit-function-declaration] DeleteLine(screen, row); ^ charproc.c:1998:4: warning: implicit declaration of function 'DeleteChar' is invalid in C99 [-Wimplicit-function-declaration] DeleteChar(screen, row); ^ charproc.c:2022:5: warning: implicit declaration of function 'unparseseq' is invalid in C99 [-Wimplicit-function-declaration] unparseseq(&reply, screen->respond); ^ charproc.c:2030:5: warning: implicit declaration of function 'TabClear' is invalid in C99 [-Wimplicit-function-declaration] TabClear(term->tabs, screen->cur_col); ^ charproc.c:2032:5: warning: implicit declaration of function 'TabZonk' is invalid in C99 [-Wimplicit-function-declaration] TabZonk(term->tabs); ^ charproc.c:2038:4: warning: implicit declaration of function 'ansi_modes' is invalid in C99 [-Wimplicit-function-declaration] ansi_modes(term, bitset); ^ charproc.c:2131:8: warning: implicit declaration of function 'FlushScroll' is invalid in C99 [-Wimplicit-function-declaration] FlushScroll(screen); ^ charproc.c:2184:4: warning: implicit declaration of function 'dpmodes' is invalid in C99 [-Wimplicit-function-declaration] dpmodes(term, bitset); ^ charproc.c:2218:4: warning: implicit declaration of function 'ScrnRefresh' is invalid in C99 [-Wimplicit-function-declaration] ScrnRefresh(screen, 0, 0, screen->max_row + 1, ^ charproc.c:2254:4: warning: implicit declaration of function 'CursorSave' is invalid in C99 [-Wimplicit-function-declaration] CursorSave(term, &screen->sc); ^ charproc.c:2260:4: warning: implicit declaration of function 'CursorRestore' is invalid in C99 [-Wimplicit-function-declaration] CursorRestore(term, &screen->sc); ^ charproc.c:2314:4: warning: implicit declaration of function 'TabSet' is invalid in C99 [-Wimplicit-function-declaration] TabSet(term->tabs, screen->cur_col); ^ charproc.c:2348:4: warning: implicit declaration of function 'do_osc' is invalid in C99 [-Wimplicit-function-declaration] do_osc(finput); ^ charproc.c:2354:4: warning: implicit declaration of function 'VTReset' is invalid in C99 [-Wimplicit-function-declaration] VTReset(TRUE); ^ charproc.c:2392:4: warning: implicit declaration of function 'ToStatus' is invalid in C99 [-Wimplicit-function-declaration] ToStatus(col-1); ^ charproc.c:2418:4: warning: implicit declaration of function 'savemodes' is invalid in C99 [-Wimplicit-function-declaration] savemodes(term); ^ charproc.c:2423:4: warning: implicit declaration of function 'restoremodes' is invalid in C99 [-Wimplicit-function-declaration] restoremodes(term); ^ charproc.c:2434:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static finput() ~~~~~~ ^ charproc.c:2448:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] v_write(f, d, len) ^~~~~~~ charproc.c:2595:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] in_put() ^~~~~~ charproc.c:2605:3: warning: implicit declaration of function 'FlushLog' is invalid in C99 [-Wimplicit-function-declaration] FlushLog(screen); ^ charproc.c:2610:7: warning: implicit declaration of function 'Cleanup' is invalid in C99 [-Wimplicit-function-declaration] Cleanup (0); ^ charproc.c:2612:7: warning: implicit declaration of function 'Panic' is invalid in C99 [-Wimplicit-function-declaration] Panic( ^ charproc.c:2640:7: warning: implicit declaration of function 'WindowScroll' is invalid in C99 [-Wimplicit-function-declaration] WindowScroll(screen, 0); /* Scroll to bottom */ ^ charproc.c:2694:3: warning: implicit declaration of function 'SysError' is invalid in C99 [-Wimplicit-function-declaration] SysError(ERROR_SELECT); ^ charproc.c:2841:2: warning: implicit declaration of function 'BreakMBchar' is invalid in C99 [-Wimplicit-function-declaration] BreakMBchar(screen); ^ charproc.c:2846:2: warning: implicit declaration of function 'ScreenWrite' is invalid in C99 [-Wimplicit-function-declaration] ScreenWrite(screen, str, flags, gset, len); ^ charproc.c:2849:9: warning: implicit declaration of function 'AddToRefresh' is invalid in C99 [-Wimplicit-function-declaration] if (!(AddToRefresh(screen))) { ^ charproc.c:2852:4: warning: implicit declaration of function 'ScreenDraw' is invalid in C99 [-Wimplicit-function-declaration] ScreenDraw(screen, screen->cur_row, screen->cur_col, ^ charproc.c:2947:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ansi_modes(termw, func) ^~~~~~~~~~ charproc.c:2965:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:2970:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dpmodes(termw, func) ^~~~~~~ charproc.c:3018:10: warning: implicit declaration of function 'ScreenResize' is invalid in C99 [-Wimplicit-function-declaration] ScreenResize (&termw->screen, ^ charproc.c:3041:5: warning: implicit declaration of function 'ReverseVideo' is invalid in C99 [-Wimplicit-function-declaration] ReverseVideo(termw); ^ charproc.c:3145:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:3150:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] savemodes(termw) ^~~~~~~~~ charproc.c:3216:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:3221:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] restoremodes(termw) ^~~~~~~~~~~~ charproc.c:3356:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:3378:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] unparseseq(ap, fd) ^~~~~~~~~~ charproc.c:3388:3: warning: implicit declaration of function 'unparseputc' is invalid in C99 [-Wimplicit-function-declaration] unparseputc(ESC, fd); ^ charproc.c:3399:4: warning: implicit declaration of function 'unparseputn' is invalid in C99 [-Wimplicit-function-declaration] unparseputn((unsigned int) ap->a_param[i], fd); ^ charproc.c:3409:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:3411:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] unparseputn(n, fd) ^~~~~~~~~~~ charproc.c:3421:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:3423:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] unparseputc(c, fd) ^~~~~~~~~~~ charproc.c:3428:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i = 1; ~~~~~~~~ ^ charproc.c:3436:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:3438:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] unparsefputs (s, fd) ^~~~~~~~~~~~ charproc.c:3445:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:3485:2: warning: implicit declaration of function 'SwitchBufPtrs' is invalid in C99 [-Wimplicit-function-declaration] SwitchBufPtrs(screen); ^ charproc.c:3486:2: warning: implicit declaration of function 'TrackText' is invalid in C99 [-Wimplicit-function-declaration] TrackText(0, 0, 0, 0); /* remove any highlighting */ ^ charproc.c:3512:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] SwitchBufPtrs(screen) ^~~~~~~~~~~~~ charproc.c:3535:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:3537:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] VTRun() ^~~~~ charproc.c:3543:2: warning: implicit declaration of function 'VTInit' is invalid in C99 [-Wimplicit-function-declaration] VTInit (); ^ charproc.c:3578:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:3593:3: warning: implicit declaration of function 'HandleExposure' is invalid in C99 [-Wimplicit-function-declaration] HandleExposure (screen, event); ^ charproc.c:3844:4: warning: implicit declaration of function 'set_character_class' is invalid in C99 [-Wimplicit-function-declaration] set_character_class (new->screen.charClass); ^ charproc.c:3847:4: warning: implicit declaration of function 'ScrollBarOn' is invalid in C99 [-Wimplicit-function-declaration] ScrollBarOn (new, TRUE, FALSE); ^ charproc.c:3890:2: warning: implicit declaration of function 'TabReset' is invalid in C99 [-Wimplicit-function-declaration] TabReset (term->tabs); ^ charproc.c:3897:7: warning: implicit declaration of function 'LoadNewFont' is invalid in C99 [-Wimplicit-function-declaration] if (!LoadNewFont(screen, False, 0)) { ^ charproc.c:3928:6: warning: implicit declaration of function 'Exit' is invalid in C99 [-Wimplicit-function-declaration] Exit (1); ^ charproc.c:3937:4: warning: implicit declaration of function 'recolor_cursor' is invalid in C99 [-Wimplicit-function-declaration] recolor_cursor (screen->pointer_cursor, ^ charproc.c:4037:2: warning: implicit declaration of function 'set_cursor_gcs' is invalid in C99 [-Wimplicit-function-declaration] set_cursor_gcs (screen, F_ISO8859_1); ^ charproc.c:4045:2: warning: implicit declaration of function 'setupgset' is invalid in C99 [-Wimplicit-function-declaration] setupgset(); ^ charproc.c:4099:2: warning: implicit declaration of function 'set_vt_box' is invalid in C99 [-Wimplicit-function-declaration] set_vt_box (screen); ^ charproc.c:4331:6: warning: implicit declaration of function 'ScrollBarOff' is invalid in C99 [-Wimplicit-function-declaration] ScrollBarOff (&newvt->screen); ^ charproc.c:4472:2: warning: implicit declaration of function 'IMSendSpot' is invalid in C99 [-Wimplicit-function-declaration] IMSendSpot(screen); ^ charproc.c:4475:2: warning: implicit declaration of function 'Kinput2SendSpot' is invalid in C99 [-Wimplicit-function-declaration] Kinput2SendSpot(); ^ charproc.c:4572:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] VTReset(full) ^~~~~~~ charproc.c:4659:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ToStatus(col) ^~~~~~~~ charproc.c:4676:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:4695:2: warning: implicit declaration of function 'DoResizeScreen' is invalid in C99 [-Wimplicit-function-declaration] DoResizeScreen(term); ^ charproc.c:4697:3: warning: implicit declaration of function 'ResizeScrollBar' is invalid in C99 [-Wimplicit-function-declaration] ResizeScrollBar(screen->scrollWidget, -1, -1, ^ charproc.c:4755:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] StatusBox(screen) ^~~~~~~~~ charproc.c:4767:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:4842:17: warning: implicit declaration of function 'SetCharacterClassRange' is invalid in C99 [-Wimplicit-function-declaration] } else if (SetCharacterClassRange (low, high, acc) != 0) { ^ charproc.c:4932:5: warning: implicit declaration of function 'VisualBell' is invalid in C99 [-Wimplicit-function-declaration] VisualBell(); ^ charproc.c:5227:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fontname = fn) ~~~~~~~~~^~~~ charproc.c:5227:18: note: place parentheses around the assignment to silence this warning if (fontname = fn) ^ ( ) charproc.c:5227:18: note: use '==' to turn this assignment into an equality comparison if (fontname = fn) ^ == charproc.c:5338:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fs = fn[fnum]) { ~~~^~~~~~~~~~ charproc.c:5338:9: note: place parentheses around the assignment to silence this warning if (fs = fn[fnum]) { ^ ( ) charproc.c:5338:9: note: use '==' to turn this assignment into an equality comparison if (fs = fn[fnum]) { ^ == charproc.c:5348:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fs = fb[fnum]) { ~~~^~~~~~~~~~ charproc.c:5348:9: note: place parentheses around the assignment to silence this warning if (fs = fb[fnum]) { ^ ( ) charproc.c:5348:9: note: use '==' to turn this assignment into an equality comparison if (fs = fb[fnum]) { ^ == charproc.c:5368:5: warning: implicit declaration of function 'IMSendFonts' is invalid in C99 [-Wimplicit-function-declaration] IMSendFonts(screen); ^ charproc.c:5371:5: warning: implicit declaration of function 'Kinput2SendFonts' is invalid in C99 [-Wimplicit-function-declaration] Kinput2SendFonts(); ^ charproc.c:5581:2: warning: implicit declaration of function 'Redraw' is invalid in C99 [-Wimplicit-function-declaration] Redraw (); ^ charproc.c:5585:5: warning: implicit declaration of function 'set_vt_graphics' is invalid in C99 [-Wimplicit-function-declaration] set_vt_graphics (screen); ^ charproc.c:5589:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_vt_box (screen) ^~~~~~~~~~ charproc.c:5607:2: warning: implicit declaration of function 'set_vt_box_per_gset' is invalid in C99 [-Wimplicit-function-declaration] set_vt_box_per_gset(screen); ^ charproc.c:5616:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:5620:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_vt_graphics (screen) ^~~~~~~~~~~~~~~ charproc.c:5737:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:5742:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_cursor_gcs (screen, fnum) ^~~~~~~~~~~~~~ charproc.c:5811:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ charproc.c:5839:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (p = listbuf; q = index(p, ','); p = q + 1) { ~~^~~~~~~~~~~~~~~ charproc.c:5839:22: note: place parentheses around the assignment to silence this warning for (p = listbuf; q = index(p, ','); p = q + 1) { ^ ( ) charproc.c:5839:22: note: use '==' to turn this assignment into an equality comparison for (p = listbuf; q = index(p, ','); p = q + 1) { ^ == charproc.c:5853:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (p = listbuf; q = index(p, ','); p = q + 1) { ~~^~~~~~~~~~~~~~~ charproc.c:5853:22: note: place parentheses around the assignment to silence this warning for (p = listbuf; q = index(p, ','); p = q + 1) { ^ ( ) charproc.c:5853:22: note: use '==' to turn this assignment into an equality comparison for (p = listbuf; q = index(p, ','); p = q + 1) { ^ == 132 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DKTERM -DSTATUSLINE -DKEEPALIVE -I/usr/X11R7/include -c cursor.c cursor.c:47:2: warning: implicit declaration of function 'TrackText' is invalid in C99 [-Wimplicit-function-declaration] TrackText(0, 0, 0, 0); ^ cursor.c:58:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CursorSet(screen, row, col, flags) ^~~~~~~~~ cursor.c:76:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cursor.c:81:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CursorBack(screen, n) ^~~~~~~~~~ cursor.c:105:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cursor.c:110:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CursorForward(screen, n) ^~~~~~~~~~~~~ cursor.c:119:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cursor.c:125:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CursorDown(screen, n) ^~~~~~~~~~ cursor.c:139:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cursor.c:145:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CursorUp(screen, n) ^~~~~~~~ cursor.c:159:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cursor.c:180:2: warning: implicit declaration of function 'Scroll' is invalid in C99 [-Wimplicit-function-declaration] Scroll(screen, amount - j); ^ cursor.c:199:2: warning: implicit declaration of function 'RevScroll' is invalid in C99 [-Wimplicit-function-declaration] RevScroll(screen, amount - (screen->cur_row - screen->top_marg)); ^ cursor.c:206:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CarriageReturn(screen) ^~~~~~~~~~~~~~ cursor.c:212:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cursor.c:217:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CursorSave(term, sc) ^~~~~~~~~~ cursor.c:229:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cursor.c:234:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CursorRestore(term, sc) ^~~~~~~~~~~~~ cursor.c:247:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 19 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DKTERM -DSTATUSLINE -DKEEPALIVE -I/usr/X11R7/include -c data.c cc -O -I/usr/pkg/include -I /usr/X11R7/include -DKTERM -DSTATUSLINE -DKEEPALIVE -I/usr/X11R7/include -c input.c input.c:50:3: warning: implicit declaration of function 'WindowScroll' is invalid in C99 [-Wimplicit-function-declaration] WindowScroll(screen, 0); ^ input.c:56:5: warning: implicit declaration of function 'Bell' is invalid in C99 [-Wimplicit-function-declaration] Bell(XkbBI_MarginBell,0); ^ input.c:90:15: warning: implicit declaration of function 'XmuLookupKana' is invalid in C99 [-Wimplicit-function-declaration] nbytes = XmuLookupKana (event, strbuf, STRBUFSIZE, ^ input.c:120:3: warning: implicit declaration of function 'unparseseq' is invalid in C99 [-Wimplicit-function-declaration] unparseseq(&reply, pty); ^ input.c:121:3: warning: implicit declaration of function 'unparseputc' is invalid in C99 [-Wimplicit-function-declaration] unparseputc((char)(keysym-XK_KP_F1+'P'), pty); ^ input.c:231:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] StringInput (screen, string, nbytes) ^~~~~~~~~~~ input.c:251:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 7 warnings generated. rm -f main.o cc -c -O -I/usr/pkg/include -I /usr/X11R7/include -DKTERM -DSTATUSLINE -DKEEPALIVE -DUTMP -DOSMAJORVERSION=0 -DOSMINORVERSION=0 main.c main.c:462:21: error: use of undeclared identifier 'CKILL' 0, 0, 0177, CKILL, EVENP|ODDP|ECHO|XTABS|CRMOD ^ main.c:462:28: error: use of undeclared identifier 'EVENP' 0, 0, 0177, CKILL, EVENP|ODDP|ECHO|XTABS|CRMOD ^ main.c:462:34: error: use of undeclared identifier 'ODDP' 0, 0, 0177, CKILL, EVENP|ODDP|ECHO|XTABS|CRMOD ^ main.c:462:39: error: use of undeclared identifier 'ECHO' 0, 0, 0177, CKILL, EVENP|ODDP|ECHO|XTABS|CRMOD ^ main.c:462:44: error: use of undeclared identifier 'XTABS' 0, 0, 0177, CKILL, EVENP|ODDP|ECHO|XTABS|CRMOD ^ main.c:462:50: error: use of undeclared identifier 'CRMOD' 0, 0, 0177, CKILL, EVENP|ODDP|ECHO|XTABS|CRMOD ^ main.c:461:23: error: variable has incomplete type 'struct sgttyb' static struct sgttyb d_sg = { ^ main.c:461:16: note: forward declaration of 'struct sgttyb' static struct sgttyb d_sg = { ^ main.c:465:9: error: use of undeclared identifier 'CINTR' CINTR, CQUIT, CSTART, ^ main.c:465:16: error: use of undeclared identifier 'CQUIT' CINTR, CQUIT, CSTART, ^ main.c:465:23: error: use of undeclared identifier 'CSTART' CINTR, CQUIT, CSTART, ^ main.c:466:9: error: use of undeclared identifier 'CSTOP' CSTOP, CEOF, CBRK, ^ main.c:466:16: error: use of undeclared identifier 'CEOF' CSTOP, CEOF, CBRK, ^ main.c:466:22: error: use of undeclared identifier 'CBRK' CSTOP, CEOF, CBRK, ^ main.c:464:23: error: variable has incomplete type 'struct tchars' static struct tchars d_tc = { ^ main.c:464:16: note: forward declaration of 'struct tchars' static struct tchars d_tc = { ^ main.c:469:9: error: use of undeclared identifier 'CSUSP' CSUSP, CDSUSP, CRPRNT, ^ main.c:469:16: error: use of undeclared identifier 'CDSUSP' CSUSP, CDSUSP, CRPRNT, ^ main.c:469:24: error: use of undeclared identifier 'CRPRNT' CSUSP, CDSUSP, CRPRNT, ^ main.c:470:9: error: use of undeclared identifier 'CFLUSH' CFLUSH, CWERASE, CLNEXT ^ main.c:470:17: error: use of undeclared identifier 'CWERASE' CFLUSH, CWERASE, CLNEXT ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/x11/kterm/work/kterm-6.2.0 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/x11/kterm *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/x11/kterm