=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/x11/kterm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for kterm-6.2.0nb24 --- button.o --- --- kfontlist.c --- --- button.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DKTERM -DSTATUSLINE -DKEEPALIVE -I/opt/pkg/include -I/opt/pkg/include/ncurses -c button.c --- kfontlist.c --- m4 kfontlist.m4 > kfontlist.c --- cursor.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DKTERM -DSTATUSLINE -DKEEPALIVE -I/opt/pkg/include -I/opt/pkg/include/ncurses -c cursor.c --- button.o --- button.c: In function 'SendMousePosition': button.c:128:9: warning: old-style function definition [-Wold-style-definition] 128 | Boolean SendMousePosition(w, event) | ^~~~~~~~~~~~~~~~~ button.c:152:17: error: too many arguments to function 'EditorButton'; expected 0, have 1 152 | EditorButton(event); | ^~~~~~~~~~~~ ~~~~~ button.c:69:13: note: declared here 69 | static void EditorButton(); | ^~~~~~~~~~~~ button.c:160:13: error: too many arguments to function 'EditorButton'; expected 0, have 1 160 | EditorButton(event); | ^~~~~~~~~~~~ ~~~~~ button.c:69:13: note: declared here 69 | static void EditorButton(); | ^~~~~~~~~~~~ button.c:169:13: error: too many arguments to function 'TrackDown'; expected 0, have 1 169 | TrackDown(event); | ^~~~~~~~~ ~~~~~ button.c:67:13: note: declared here 67 | static void TrackDown(); | ^~~~~~~~~ button.c:173:13: error: too many arguments to function 'EditorButton'; expected 0, have 1 173 | EditorButton(event); | ^~~~~~~~~~~~ ~~~~~ button.c:69:13: note: declared here 69 | static void EditorButton(); | ^~~~~~~~~~~~ button.c: In function 'HandleSelectExtend': button.c:186:6: warning: old-style function definition [-Wold-style-definition] 186 | void HandleSelectExtend(w, event, params, num_params) | ^~~~~~~~~~~~~~~~~~ button.c:199:25: error: too many arguments to function 'PointToRowCol'; expected 0, have 4 199 | PointToRowCol (event->xmotion.y, event->xmotion.x, | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ button.c:65:13: note: declared here 65 | static void PointToRowCol(); | ^~~~~~~~~~~~~ button.c:201:25: error: too many arguments to function 'ExtendExtend'; expected 0, have 2 201 | ExtendExtend (row, col); | ^~~~~~~~~~~~ ~~~ button.c:70:13: note: declared here 70 | static void ExtendExtend(); | ^~~~~~~~~~~~ button.c: In function 'do_select_end': button.c:211:13: warning: old-style function definition [-Wold-style-definition] 211 | static void do_select_end (w, event, params, num_params, use_cursor_loc) | ^~~~~~~~~~~~~ button.c:225:21: error: too many arguments to function 'EndExtend'; expected 0, have 5 225 | EndExtend(w, event, params, *num_params, use_cursor_loc); | ^~~~~~~~~ ~ button.c:209:13: note: declared here 209 | static void EndExtend(); | ^~~~~~~~~ button.c: In function 'HandleSelectEnd': button.c:231:6: warning: old-style function definition [-Wold-style-definition] 231 | void HandleSelectEnd(w, event, params, num_params) | ^~~~~~~~~~~~~~~ button.c: In function 'HandleKeyboardSelectEnd': button.c:241:6: warning: old-style function definition [-Wold-style-definition] 241 | void HandleKeyboardSelectEnd(w, event, params, num_params) | ^~~~~~~~~~~~~~~~~~~~~~~ button.c: In function '_GetSelection': button.c:276:13: warning: old-style function definition [-Wold-style-definition] 276 | static void _GetSelection(w, time, params, num_params) | ^~~~~~~~~~~~~ button.c:306:13: error: too many arguments to function 'SelectionReceived'; expected 0, have 7 306 | SelectionReceived(w, NULL, &selection, &type, (XtPointer)line, | ^~~~~~~~~~~~~~~~~ ~ button.c:66:13: note: declared here 66 | static void SelectionReceived(); | ^~~~~~~~~~~~~~~~~ button.c:326:61: error: passing argument 4 of 'XtGetSelectionValue' from incompatible pointer type [-Wincompatible-pointer-types] 326 | XA_COMPOUND_TEXT(XtDisplay(w)), SelectionReceived, | ^~~~~~~~~~~~~~~~~ | | | void (*)(void) In file included from /home/pbulk/work/x11/kterm/work/.buildlink/include/X11/IntrinsicP.h:51, from ptyx.h:35, from button.c:33: /home/pbulk/work/x11/kterm/work/.buildlink/include/X11/Intrinsic.h:2057:5: note: expected 'XtSelectionCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, long unsigned int *, long unsigned int *, void *, long unsigned int *, int *)'} but argument is of type 'void (*)(void)' 2057 | XtSelectionCallbackProc /* callback */, | ^~~~~~~~~~~~~~~~~~~~~~~ button.c:66:13: note: 'SelectionReceived' declared here 66 | static void SelectionReceived(); | ^~~~~~~~~~~~~~~~~ /home/pbulk/work/x11/kterm/work/.buildlink/include/X11/Intrinsic.h:447:16: note: 'XtSelectionCallbackProc' declared here 447 | typedef void (*XtSelectionCallbackProc)( | ^~~~~~~~~~~~~~~~~~~~~~~ button.c: In function 'SelectionReceived': button.c:338:13: warning: old-style function definition [-Wold-style-definition] 338 | static void SelectionReceived(w, client_data, selection, type, | ^~~~~~~~~~~~~~~~~ --- cursor.o --- cursor.c: In function '_CheckSelection': --- button.o --- button.c:363:37: error: passing argument 4 of 'XtGetSelectionValue' from incompatible pointer type [-Wincompatible-pointer-types] 363 | SelectionReceived, (XtPointer)list, | ^~~~~~~~~~~~~~~~~ | | | void (*)(void) /home/pbulk/work/x11/kterm/work/.buildlink/include/X11/Intrinsic.h:2057:5: note: expected 'XtSelectionCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, long unsigned int *, long unsigned int *, void *, long unsigned int *, int *)'} but argument is of type 'void (*)(void)' 2057 | XtSelectionCallbackProc /* callback */, | ^~~~~~~~~~~~~~~~~~~~~~~ --- cursor.o --- cursor.c:33:13: warning: old-style function definition [-Wold-style-definition] 33 | static void _CheckSelection(screen) | ^~~~~~~~~~~~~~~ --- button.o --- button.c:338:13: note: 'SelectionReceived' declared here 338 | static void SelectionReceived(w, client_data, selection, type, | ^~~~~~~~~~~~~~~~~ /home/pbulk/work/x11/kterm/work/.buildlink/include/X11/Intrinsic.h:447:16: note: 'XtSelectionCallbackProc' declared here 447 | typedef void (*XtSelectionCallbackProc)( | ^~~~~~~~~~~~~~~~~~~~~~~ button.c:367:21: error: too many arguments to function 'paste_compound_text'; expected 0, have 3 367 | paste_compound_text(w, list->ctext, list->ctext_len); | ^~~~~~~~~~~~~~~~~~~ ~ button.c:270:13: note: declared here 270 | static void paste_compound_text(); | ^~~~~~~~~~~~~~~~~~~ button.c:374:52: error: passing argument 4 of 'XtGetSelectionValue' from incompatible pointer type [-Wincompatible-pointer-types] 374 | XA_STRING, SelectionReceived, | ^~~~~~~~~~~~~~~~~ | | | void (*)(void) /home/pbulk/work/x11/kterm/work/.buildlink/include/X11/Intrinsic.h:2057:5: note: expected 'XtSelectionCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, long unsigned int *, long unsigned int *, void *, long unsigned int *, int *)'} but argument is of type 'void (*)(void)' 2057 | XtSelectionCallbackProc /* callback */, | ^~~~~~~~~~~~~~~~~~~~~~~ button.c:338:13: note: 'SelectionReceived' declared here 338 | static void SelectionReceived(w, client_data, selection, type, | ^~~~~~~~~~~~~~~~~ /home/pbulk/work/x11/kterm/work/.buildlink/include/X11/Intrinsic.h:447:16: note: 'XtSelectionCallbackProc' declared here 447 | typedef void (*XtSelectionCallbackProc)( | ^~~~~~~~~~~~~~~~~~~~~~~ --- cursor.o --- cursor.c:47:9: error: implicit declaration of function 'TrackText' [-Wimplicit-function-declaration] 47 | TrackText(0, 0, 0, 0); | ^~~~~~~~~ cursor.c: At top level: cursor.c:58:1: error: return type defaults to 'int' [-Wimplicit-int] 58 | CursorSet(screen, row, col, flags) | ^~~~~~~~~ cursor.c: In function 'CursorSet': cursor.c:58:1: warning: old-style function definition [-Wold-style-definition] cursor.c: At top level: cursor.c:81:1: error: return type defaults to 'int' [-Wimplicit-int] 81 | CursorBack(screen, n) | ^~~~~~~~~~ cursor.c: In function 'CursorBack': cursor.c:81:1: warning: old-style function definition [-Wold-style-definition] cursor.c: At top level: cursor.c:110:1: error: return type defaults to 'int' [-Wimplicit-int] 110 | CursorForward(screen, n) | ^~~~~~~~~~~~~ cursor.c: In function 'CursorForward': cursor.c:110:1: warning: old-style function definition [-Wold-style-definition] cursor.c: At top level: cursor.c:125:1: error: return type defaults to 'int' [-Wimplicit-int] 125 | CursorDown(screen, n) | ^~~~~~~~~~ cursor.c: In function 'CursorDown': cursor.c:125:1: warning: old-style function definition [-Wold-style-definition] cursor.c: At top level: cursor.c:145:1: error: return type defaults to 'int' [-Wimplicit-int] 145 | CursorUp(screen, n) | ^~~~~~~~ cursor.c: In function 'CursorUp': cursor.c:145:1: warning: old-style function definition [-Wold-style-definition] cursor.c: In function 'Index': cursor.c:180:9: error: implicit declaration of function 'Scroll' [-Wimplicit-function-declaration] 180 | Scroll(screen, amount - j); | ^~~~~~ --- button.o --- button.c:390:13: error: implicit declaration of function 'check_ctext_kterm' [-Wimplicit-function-declaration] 390 | if (check_ctext_kterm((char*)value, *length)) { | ^~~~~~~~~~~~~~~~~ button.c:391:13: error: too many arguments to function 'paste_compound_text'; expected 0, have 3 391 | paste_compound_text(w, (Char*)value, *length); | ^~~~~~~~~~~~~~~~~~~ ~ button.c:270:13: note: declared here 270 | static void paste_compound_text(); | ^~~~~~~~~~~~~~~~~~~ button.c:398:33: error: passing argument 4 of 'XtGetSelectionValue' from incompatible pointer type [-Wincompatible-pointer-types] 398 | SelectionReceived, (XtPointer)list, | ^~~~~~~~~~~~~~~~~ | | | void (*)(void) /home/pbulk/work/x11/kterm/work/.buildlink/include/X11/Intrinsic.h:2057:5: note: expected 'XtSelectionCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, long unsigned int *, long unsigned int *, void *, long unsigned int *, int *)'} but argument is of type 'void (*)(void)' 2057 | XtSelectionCallbackProc /* callback */, | ^~~~~~~~~~~~~~~~~~~~~~~ button.c:338:13: note: 'SelectionReceived' declared here 338 | static void SelectionReceived(w, client_data, selection, type, | ^~~~~~~~~~~~~~~~~ /home/pbulk/work/x11/kterm/work/.buildlink/include/X11/Intrinsic.h:447:16: note: 'XtSelectionCallbackProc' declared here 447 | typedef void (*XtSelectionCallbackProc)( | ^~~~~~~~~~~~~~~~~~~~~~~ button.c:403:9: error: too many arguments to function 'paste_utf8_string'; expected 0, have 4 403 | paste_utf8_string(w, (Char*)value, *length, list); | ^~~~~~~~~~~~~~~~~ ~ button.c:271:13: note: declared here 271 | static void paste_utf8_string(); | ^~~~~~~~~~~~~~~~~ button.c:405:9: error: too many arguments to function 'paste_string'; expected 0, have 3 405 | paste_string(w, (Char*)value, *length); | ^~~~~~~~~~~~ ~ button.c:272:13: note: declared here 272 | static void paste_string(); | ^~~~~~~~~~~~ button.c: In function 'paste_compound_text': button.c:418:1: warning: old-style function definition [-Wold-style-definition] 418 | paste_compound_text(w, ct, len) | ^~~~~~~~~~~~~~~~~~~ --- cursor.o --- cursor.c: In function 'RevIndex': cursor.c:199:9: error: implicit declaration of function 'RevScroll' [-Wimplicit-function-declaration] 199 | RevScroll(screen, amount - (screen->cur_row - screen->top_marg)); | ^~~~~~~~~ cursor.c: At top level: cursor.c:206:1: error: return type defaults to 'int' [-Wimplicit-int] 206 | CarriageReturn(screen) | ^~~~~~~~~~~~~~ cursor.c: In function 'CarriageReturn': cursor.c:206:1: warning: old-style function definition [-Wold-style-definition] cursor.c: At top level: cursor.c:217:1: error: return type defaults to 'int' [-Wimplicit-int] 217 | CursorSave(term, sc) | ^~~~~~~~~~ cursor.c: In function 'CursorSave': cursor.c:217:1: warning: old-style function definition [-Wold-style-definition] cursor.c: At top level: cursor.c:234:1: error: return type defaults to 'int' [-Wimplicit-int] 234 | CursorRestore(term, sc) | ^~~~~~~~~~~~~ cursor.c: In function 'CursorRestore': cursor.c:234:1: warning: old-style function definition [-Wold-style-definition] --- button.o --- button.c:427:9: error: implicit declaration of function 'convCTtoCS' [-Wimplicit-function-declaration] 427 | n = convCTtoCS(ct, len, NULL); | ^~~~~~~~~~ button.c:433:5: error: too many arguments to function 'paste_cs'; expected 0, have 2 433 | paste_cs(w, cs); | ^~~~~~~~ ~ button.c:273:13: note: declared here 273 | static void paste_cs(); | ^~~~~~~~ button.c: In function 'paste_utf8_string': button.c:439:1: warning: old-style function definition [-Wold-style-definition] 439 | paste_utf8_string(w, ut, len, list) | ^~~~~~~~~~~~~~~~~ button.c:452:9: error: too many arguments to function 'paste_text'; expected 0, have 3 452 | paste_text(w, ut, ut + len); | ^~~~~~~~~~ ~ button.c:274:13: note: declared here 274 | static void paste_text(); | ^~~~~~~~~~ button.c:457:9: error: implicit declaration of function 'convUTF8toCS' [-Wimplicit-function-declaration] 457 | n = convUTF8toCS(ut, len, NULL); | ^~~~~~~~~~~~ button.c:463:5: error: too many arguments to function 'paste_cs'; expected 0, have 2 463 | paste_cs(w, cs); | ^~~~~~~~ ~ button.c:273:13: note: declared here 273 | static void paste_cs(); | ^~~~~~~~ button.c: In function 'paste_string': button.c:469:1: warning: old-style function definition [-Wold-style-definition] 469 | paste_string(w, str, len) | ^~~~~~~~~~~~ button.c:496:5: error: too many arguments to function 'paste_cs'; expected 0, have 2 496 | paste_cs(w, cs); | ^~~~~~~~ ~ button.c:273:13: note: declared here 273 | static void paste_cs(); | ^~~~~~~~ button.c: In function 'paste_cs': button.c:502:1: warning: old-style function definition [-Wold-style-definition] 502 | paste_cs(w, cs) | ^~~~~~~~ button.c:534:10: error: too many arguments to function 'func'; expected 0, have 2 534 | n = (*func)(cs, NULL); | ~^~~~~~ ~~ button.c:536:12: error: too many arguments to function 'func'; expected 0, have 2 536 | (void)(*func)(cs, line); | ~^~~~~~ ~~ button.c:537:5: error: too many arguments to function 'paste_text'; expected 0, have 3 537 | paste_text(w, line, line + n); | ^~~~~~~~~~ ~ button.c:274:13: note: declared here 274 | static void paste_text(); | ^~~~~~~~~~ button.c: In function 'paste_text': button.c:542:1: warning: old-style function definition [-Wold-style-definition] 542 | paste_text(w, line, end) | ^~~~~~~~~~ button.c:555:13: error: implicit declaration of function 'v_write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 555 | v_write(pty, lag, cp - lag + 1); | ^~~~~~~ | fwrite button.c: In function 'HandleInsertSelection': button.c:564:1: warning: old-style function definition [-Wold-style-definition] 564 | HandleInsertSelection(w, event, params, num_params) | ^~~~~~~~~~~~~~~~~~~~~ button.c: In function 'SetSelectUnit': button.c:576:1: warning: old-style function definition [-Wold-style-definition] 576 | SetSelectUnit(buttonDownTime, defaultUnit) | ^~~~~~~~~~~~~ button.c: In function 'do_select_start': button.c:595:13: warning: old-style function definition [-Wold-style-definition] 595 | static void do_select_start (w, event, startrow, startcol) | ^~~~~~~~~~~~~~~ button.c:603:9: error: too many arguments to function 'StartSelect'; expected 0, have 2 603 | StartSelect(startrow, startcol); | ^~~~~~~~~~~ ~~~~~~~~ button.c:73:13: note: declared here 73 | static void StartSelect(); | ^~~~~~~~~~~ button.c: In function 'HandleSelectStart': button.c:608:1: warning: old-style function definition [-Wold-style-definition] 608 | HandleSelectStart(w, event, params, num_params) | ^~~~~~~~~~~~~~~~~ button.c:619:9: error: too many arguments to function 'PointToRowCol'; expected 0, have 4 619 | PointToRowCol(event->xbutton.y, event->xbutton.x, &startrow, &startcol); | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ button.c:65:13: note: declared here 65 | static void PointToRowCol(); | ^~~~~~~~~~~~~ button.c: In function 'HandleKeyboardSelectStart': button.c:626:1: warning: old-style function definition [-Wold-style-definition] 626 | HandleKeyboardSelectStart(w, event, params, num_params) | ^~~~~~~~~~~~~~~~~~~~~~~~~ button.c: In function 'TrackDown': button.c:639:1: warning: old-style function definition [-Wold-style-definition] 639 | TrackDown(event) | ^~~~~~~~~ button.c:646:17: error: too many arguments to function 'PointToRowCol'; expected 0, have 4 646 | PointToRowCol(event->y, event->x, &startrow, &startcol); | ^~~~~~~~~~~~~ ~~~~~~~~ button.c:65:13: note: declared here 65 | static void PointToRowCol(); | ^~~~~~~~~~~~~ button.c:648:17: error: too many arguments to function 'StartSelect'; expected 0, have 2 648 | StartSelect(startrow, startcol); | ^~~~~~~~~~~ ~~~~~~~~ button.c:73:13: note: declared here 73 | static void StartSelect(); | ^~~~~~~~~~~ button.c:651:17: error: too many arguments to function 'EditorButton'; expected 0, have 1 651 | EditorButton(event); | ^~~~~~~~~~~~ ~~~~~ button.c:69:13: note: declared here 69 | static void EditorButton(); | ^~~~~~~~~~~~ button.c: In function 'TrackMouse': button.c:662:1: warning: old-style function definition [-Wold-style-definition] 662 | TrackMouse(func, startrow, startcol, firstrow, lastrow) | ^~~~~~~~~~ button.c:678:9: error: too many arguments to function 'StartSelect'; expected 0, have 2 678 | StartSelect(startrow, startcol); | ^~~~~~~~~~~ ~~~~~~~~ button.c:73:13: note: declared here 73 | static void StartSelect(); | ^~~~~~~~~~~ button.c: In function 'StartSelect': button.c:682:1: warning: old-style function definition [-Wold-style-definition] 682 | StartSelect(startrow, startcol) | ^~~~~~~~~~~ button.c:688:13: error: implicit declaration of function 'HideCursor'; did you mean 'BadCursor'? [-Wimplicit-function-declaration] 688 | HideCursor (); | ^~~~~~~~~~ | BadCursor button.c:709:9: error: too many arguments to function 'ComputeSelect'; expected 0, have 5 709 | ComputeSelect(startERow, startECol, endERow, endECol, False); | ^~~~~~~~~~~~~ ~~~~~~~~~ button.c:68:13: note: declared here 68 | static void ComputeSelect(); | ^~~~~~~~~~~~~ button.c: In function 'EndExtend': button.c:714:1: warning: old-style function definition [-Wold-style-definition] 714 | EndExtend(w, event, params, num_params, use_cursor_loc) | ^~~~~~~~~ button.c:729:13: error: too many arguments to function 'PointToRowCol'; expected 0, have 4 729 | PointToRowCol(event->xbutton.y, event->xbutton.x, &row, &col); | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ button.c:65:13: note: declared here 65 | static void PointToRowCol(); | ^~~~~~~~~~~~~ button.c:731:9: error: too many arguments to function 'ExtendExtend'; expected 0, have 2 731 | ExtendExtend (row, col); | ^~~~~~~~~~~~ ~~~ button.c:70:13: note: declared here 70 | static void ExtendExtend(); | ^~~~~~~~~~~~ button.c:756:9: error: too many arguments to function 'SelectSet'; expected 0, have 4 756 | SelectSet(w, event, params, num_params); | ^~~~~~~~~ ~ button.c:72:13: note: declared here 72 | static void SelectSet(); | ^~~~~~~~~ button.c: In function 'HandleSelectSet': button.c:761:1: warning: old-style function definition [-Wold-style-definition] 761 | HandleSelectSet(w, event, params, num_params) | ^~~~~~~~~~~~~~~ button.c:767:9: error: too many arguments to function 'SelectSet'; expected 0, have 4 767 | SelectSet (w, event, params, *num_params); | ^~~~~~~~~ ~ button.c:72:13: note: declared here 72 | static void SelectSet(); | ^~~~~~~~~ button.c: In function 'SelectSet': button.c:774:1: warning: old-style function definition [-Wold-style-definition] 774 | SelectSet (w, event, params, num_params) | ^~~~~~~~~ button.c:782:17: error: too many arguments to function 'SaltTextAway'; expected 0, have 6 782 | SaltTextAway(startSRow, startSCol, endSRow, endSCol, | ^~~~~~~~~~~~ ~~~~~~~~~ button.c:770:13: note: declared here 770 | static void SaltTextAway(); | ^~~~~~~~~~~~ button.c:785:17: error: implicit declaration of function 'DisownSelection'; did you mean 'XtDisownSelection'? [-Wimplicit-function-declaration] 785 | DisownSelection(term); | ^~~~~~~~~~~~~~~ | XtDisownSelection button.c: In function 'do_start_extend': button.c:791:13: warning: old-style function definition [-Wold-style-definition] 791 | static void do_start_extend (w, event, params, num_params, use_cursor_loc) | ^~~~~~~~~~~~~~~ button.c:826:13: error: too many arguments to function 'PointToRowCol'; expected 0, have 4 826 | PointToRowCol(event->xbutton.y, event->xbutton.x, &row, &col); | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ button.c:65:13: note: declared here 65 | static void PointToRowCol(); | ^~~~~~~~~~~~~ button.c:843:9: error: too many arguments to function 'ComputeSelect'; expected 0, have 5 843 | ComputeSelect(startERow, startECol, endERow, endECol, True); | ^~~~~~~~~~~~~ ~~~~~~~~~ button.c:68:13: note: declared here 68 | static void ComputeSelect(); | ^~~~~~~~~~~~~ button.c: In function 'ExtendExtend': button.c:847:1: warning: old-style function definition [-Wold-style-definition] 847 | ExtendExtend (row, col) | ^~~~~~~~~~~~ button.c:872:9: error: too many arguments to function 'ComputeSelect'; expected 0, have 5 872 | ComputeSelect(startERow, startECol, endERow, endECol, False); | ^~~~~~~~~~~~~ ~~~~~~~~~ button.c:68:13: note: declared here 68 | static void ComputeSelect(); | ^~~~~~~~~~~~~ button.c: In function 'HandleStartExtend': button.c:876:6: warning: old-style function definition [-Wold-style-definition] 876 | void HandleStartExtend(w, event, params, num_params) | ^~~~~~~~~~~~~~~~~ button.c: In function 'HandleKeyboardStartExtend': button.c:885:6: warning: old-style function definition [-Wold-style-definition] 885 | void HandleKeyboardStartExtend(w, event, params, num_params) | ^~~~~~~~~~~~~~~~~~~~~~~~~ button.c: At top level: button.c:895:1: error: return type defaults to 'int' [-Wimplicit-int] 895 | ScrollSelection(screen, amount) | ^~~~~~~~~~~~~~~ button.c: In function 'ScrollSelection': button.c:895:1: warning: old-style function definition [-Wold-style-definition] button.c: At top level: button.c:930:1: error: return type defaults to 'int' [-Wimplicit-int] 930 | ResizeSelection (screen, rows, cols) | ^~~~~~~~~~~~~~~ button.c: In function 'ResizeSelection': button.c:930:1: warning: old-style function definition [-Wold-style-definition] button.c: In function 'PointToRowCol': button.c:951:1: warning: old-style function definition [-Wold-style-definition] 951 | PointToRowCol(y, x, r, c) | ^~~~~~~~~~~~~ button.c:960:18: error: type defaults to 'int' in declaration of 'row' [-Wimplicit-int] 960 | register row, col; | ^~~ button.c:960:23: error: type defaults to 'int' in declaration of 'col' [-Wimplicit-int] 960 | register row, col; | ^~~ button.c: In function 'LastTextCol': button.c:978:1: warning: old-style function definition [-Wold-style-definition] 978 | LastTextCol(row) | ^~~~~~~~~~~ button.c: In function 'SetCharacterClassRange': button.c:1079:5: warning: old-style function definition [-Wold-style-definition] 1079 | int SetCharacterClassRange (low, high, value) | ^~~~~~~~~~~~~~~~~~~~~~ --- cursor.o --- *** [cursor.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/x11/kterm/work/kterm-6.2.0 --- button.o --- button.c: In function 'ComputeSelect': button.c:1097:1: warning: old-style function definition [-Wold-style-definition] 1097 | ComputeSelect(startRow, startCol, endRow, endCol, extend) | ^~~~~~~~~~~~~ button.c:1151:49: error: too many arguments to function 'mbcsCharClass'; expected 0, have 1 1151 | class = mbcsCharClass (ptr); | ^~~~~~~~~~~~~ ~~~ button.c:125:12: note: declared here 125 | static int mbcsCharClass (); | ^~~~~~~~~~~~~ button.c:1158:53: error: too many arguments to function 'mbcsCharClass'; expected 0, have 1 1158 | && class == mbcsCharClass (ptr)); | ^~~~~~~~~~~~~ ~~~ button.c:125:12: note: declared here 125 | static int mbcsCharClass (); | ^~~~~~~~~~~~~ button.c:1216:49: error: too many arguments to function 'mbcsCharClass'; expected 0, have 1 1216 | class = mbcsCharClass (ptr); | ^~~~~~~~~~~~~ ~~~ button.c:125:12: note: declared here 125 | static int mbcsCharClass (); | ^~~~~~~~~~~~~ button.c:1223:53: error: too many arguments to function 'mbcsCharClass'; expected 0, have 1 1223 | && class == mbcsCharClass (ptr)); | ^~~~~~~~~~~~~ ~~~ button.c:125:12: note: declared here 125 | static int mbcsCharClass (); | ^~~~~~~~~~~~~ button.c: In function 'mbcsCharClass': button.c:1313:12: warning: old-style function definition [-Wold-style-definition] 1313 | static int mbcsCharClass (ptr) | ^~~~~~~~~~~~~ button.c: In function 'TrackText': button.c:1393:13: error: too many arguments to function 'ReHiliteText'; expected 0, have 4 1393 | ReHiliteText(old_startrow, old_startcol, old_endrow, old_endcol); | ^~~~~~~~~~~~ ~~~~~~~~~~~~ button.c:71:13: note: declared here 71 | static void ReHiliteText(); | ^~~~~~~~~~~~ button.c:1394:13: error: too many arguments to function 'ReHiliteText'; expected 0, have 4 1394 | ReHiliteText(frow, fcol, trow, tcol); | ^~~~~~~~~~~~ ~~~~ button.c:71:13: note: declared here 71 | static void ReHiliteText(); | ^~~~~~~~~~~~ button.c:1398:21: error: too many arguments to function 'ReHiliteText'; expected 0, have 4 1398 | ReHiliteText(frow, fcol, old_startrow, old_startcol); | ^~~~~~~~~~~~ ~~~~ button.c:71:13: note: declared here 71 | static void ReHiliteText(); | ^~~~~~~~~~~~ button.c:1401:21: error: too many arguments to function 'ReHiliteText'; expected 0, have 4 1401 | ReHiliteText(old_startrow, old_startcol, frow, fcol); | ^~~~~~~~~~~~ ~~~~~~~~~~~~ button.c:71:13: note: declared here 71 | static void ReHiliteText(); | ^~~~~~~~~~~~ button.c:1405:21: error: too many arguments to function 'ReHiliteText'; expected 0, have 4 1405 | ReHiliteText(old_endrow, old_endcol, trow, tcol); | ^~~~~~~~~~~~ ~~~~~~~~~~ button.c:71:13: note: declared here 71 | static void ReHiliteText(); | ^~~~~~~~~~~~ button.c:1408:21: error: too many arguments to function 'ReHiliteText'; expected 0, have 4 1408 | ReHiliteText(trow, tcol, old_endrow, old_endcol); | ^~~~~~~~~~~~ ~~~~ button.c:71:13: note: declared here 71 | static void ReHiliteText(); | ^~~~~~~~~~~~ button.c: In function 'ReHiliteText': button.c:1416:1: warning: old-style function definition [-Wold-style-definition] 1416 | ReHiliteText(frow, fcol, trow, tcol) | ^~~~~~~~~~~~ button.c:1439:21: error: implicit declaration of function 'ScrnRefresh' [-Wimplicit-function-declaration] 1439 | ScrnRefresh(screen, frow, fcol, 1, i, True); | ^~~~~~~~~~~ button.c: In function 'SaltTextAway': button.c:1455:1: warning: old-style function definition [-Wold-style-definition] 1455 | SaltTextAway(crow, ccol, row, col, params, num_params) | ^~~~~~~~~~~~ button.c:1489:32: error: too many arguments to function 'Length'; expected 0, have 4 1489 | if ( row == crow ) j = Length(screen, crow, ccol, col); | ^~~~~~ ~~~~~~ button.c:74:12: note: declared here 74 | static int Length(); | ^~~~~~ button.c:1491:22: error: too many arguments to function 'Length'; expected 0, have 4 1491 | j += Length(screen, crow, ccol, screen->max_col) + 1; | ^~~~~~ ~~~~~~ button.c:74:12: note: declared here 74 | static int Length(); | ^~~~~~ button.c:1493:30: error: too many arguments to function 'Length'; expected 0, have 4 1493 | j += Length(screen, i, 0, screen->max_col) + 1; | ^~~~~~ ~~~~~~ button.c:74:12: note: declared here 74 | static int Length(); | ^~~~~~ button.c:1495:30: error: too many arguments to function 'Length'; expected 0, have 4 1495 | j += Length(screen, row, 0, col); | ^~~~~~ ~~~~~~ button.c:74:12: note: declared here 74 | static int Length(); | ^~~~~~ button.c:1503:17: error: implicit declaration of function 'SysError' [-Wimplicit-function-declaration] 1503 | SysError(ERROR_BMALLOC2); | ^~~~~~~~ button.c:1522:33: error: too many arguments to function 'SaveText'; expected 0, have 6 1522 | if ( row == crow ) lp = SaveText(screen, row, ccol, col, lp, &eol); | ^~~~~~~~ ~~~~~~ button.c:76:14: note: declared here 76 | static Ichr *SaveText(); | ^~~~~~~~ button.c:1524:22: error: too many arguments to function 'SaveText'; expected 0, have 6 1524 | lp = SaveText(screen, crow, ccol, screen->max_col, lp, &eol); | ^~~~~~~~ ~~~~~~ button.c:76:14: note: declared here 76 | static Ichr *SaveText(); | ^~~~~~~~ button.c:1535:30: error: too many arguments to function 'SaveText'; expected 0, have 6 1535 | lp = SaveText(screen, i, 0, screen->max_col, lp, &eol); | ^~~~~~~~ ~~~~~~ button.c:76:14: note: declared here 76 | static Ichr *SaveText(); | ^~~~~~~~ button.c:1547:30: error: too many arguments to function 'SaveText'; expected 0, have 6 1547 | lp = SaveText(screen, row, 0, col, lp, &eol); | ^~~~~~~~ ~~~~~~ button.c:76:14: note: declared here 76 | static Ichr *SaveText(); | ^~~~~~~~ button.c:1557:9: error: too many arguments to function '_OwnSelection'; expected 0, have 3 1557 | _OwnSelection(term, params, num_params); | ^~~~~~~~~~~~~ ~~~~ button.c:1452:13: note: declared here 1452 | static void _OwnSelection(); | ^~~~~~~~~~~~~ button.c: In function 'ConvertSelection': button.c:1560:16: warning: old-style function definition [-Wold-style-definition] 1560 | static Boolean ConvertSelection(w, selection, target, | ^~~~~~~~~~~~~~~~ button.c:1603:23: error: implicit declaration of function 'pasteCStoUTF8' [-Wimplicit-function-declaration] 1603 | *length = pasteCStoUTF8(xterm->screen.selection, NULL); | ^~~~~~~~~~~~~ button.c:1608:23: error: implicit declaration of function 'convCStoCT' [-Wimplicit-function-declaration] 1608 | *length = convCStoCT(xterm->screen.selection, NULL); | ^~~~~~~~~~ button.c:1613:23: error: implicit declaration of function 'convCStoLatin1' [-Wimplicit-function-declaration] 1613 | *length = convCStoLatin1(xterm->screen.selection, NULL); | ^~~~~~~~~~~~~~ button.c: In function 'LoseSelection': button.c:1673:13: warning: old-style function definition [-Wold-style-definition] 1673 | static void LoseSelection(w, selection) | ^~~~~~~~~~~~~ button.c: In function '_OwnSelection': button.c:1725:13: warning: old-style function definition [-Wold-style-definition] 1725 | static void _OwnSelection(termw, selections, count) | ^~~~~~~~~~~~~ button.c: At top level: button.c:1812:1: error: return type defaults to 'int' [-Wimplicit-int] 1812 | DisownSelection(termw) | ^~~~~~~~~~~~~~~ button.c: In function 'DisownSelection': button.c:1812:1: warning: old-style function definition [-Wold-style-definition] button.c: In function 'Length': button.c:1845:1: warning: old-style function definition [-Wold-style-definition] 1845 | Length(screen, row, scol, ecol) | ^~~~~~ button.c: In function 'SaveText': button.c:1862:1: warning: old-style function definition [-Wold-style-definition] 1862 | SaveText(screen, row, scol, ecol, lp, eol) | ^~~~~~~~ button.c:1884:13: error: too many arguments to function 'Length'; expected 0, have 4 1884 | i = Length(screen, row, scol, ecol); | ^~~~~~ ~~~~~~ button.c:1845:1: note: declared here 1845 | Length(screen, row, scol, ecol) | ^~~~~~ button.c:1887:20: error: implicit declaration of function 'ScrnGetAttributes' [-Wimplicit-function-declaration] 1887 | if(ScrnGetAttributes(screen, row + screen->topline, 0, &attr, 1) == 1) { | ^~~~~~~~~~~~~~~~~ button.c: In function 'EditorButton': button.c:1927:1: warning: old-style function definition [-Wold-style-definition] 1927 | EditorButton(event) | ^~~~~~~~~~~~ button.c: In function 'HandleSecure': button.c:1983:6: warning: old-style function definition [-Wold-style-definition] 1983 | void HandleSecure(w, event, params, param_count) | ^~~~~~~~~~~~ button.c:1997:5: error: too many arguments to function 'DoSecureKeyboard'; expected 0, have 1 1997 | DoSecureKeyboard (time); | ^~~~~~~~~~~~~~~~ ~~~~ button.c:47:13: note: declared here 47 | extern void DoSecureKeyboard(); | ^~~~~~~~~~~~~~~~ *** [button.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/x11/kterm/work/kterm-6.2.0 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/x11/kterm/work/kterm-6.2.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/kterm *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/kterm