=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/devel/xxgdb", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xxgdb-1.12nb2 --- calldbx.o --- --- command.o --- --- calldbx.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 -DSYSV -DSVR4 -DSUNOS4 -DGDB -DCREATE_IO_WINDOW -g -c calldbx.c --- command.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 -DSYSV -DSVR4 -DSUNOS4 -DGDB -DCREATE_IO_WINDOW -g -c command.c --- calldbx.o --- calldbx.c: In function 'open_slave': calldbx.c:160:12: warning: old-style function definition [-Wold-style-definition] 160 | static int open_slave(master) | ^~~~~~~~~~ calldbx.c:170:18: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 170 | if(((handler = signal(SIGCHLD, SIG_DFL)) != SIG_ERR) && | ^ calldbx.c:170:46: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 170 | if(((handler = signal(SIGCHLD, SIG_DFL)) != SIG_ERR) && | ^~ calldbx.c:172:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 172 | (signal(SIGCHLD, handler) == SIG_DFL) && | ^~~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from calldbx.c:89: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ calldbx.c: In function 'calldbx': calldbx.c:238:6: warning: old-style function definition [-Wold-style-definition] 238 | void calldbx(argc, argv) | ^~~~~~~ calldbx.c:241:1: error: number of arguments doesn't match prototype 241 | { | ^ In file included from calldbx.c:76: global.h:89:25: error: prototype declaration 89 | extern void calldbx(); /* fork child, exec dbx */ | ^~~~~~~ calldbx.c:316:36: error: passing argument 4 of 'XtAppAddInput' from incompatible pointer type [-Wincompatible-pointer-types] 316 | read_dbx, NULL); | ^~~~~~~~ | | | void (*)(void) In file included from /home/pbulk/work/devel/xxgdb/work/.buildlink/include/X11/IntrinsicP.h:51, from defs.h:71, from global.h:66: /home/pbulk/work/devel/xxgdb/work/.buildlink/include/X11/Intrinsic.h:1018:5: note: expected 'XtInputCallbackProc' {aka 'void (*)(void *, int *, long unsigned int *)'} but argument is of type 'void (*)(void)' 1018 | XtInputCallbackProc /* proc */, | ^~~~~~~~~~~~~~~~~~~ global.h:109:25: note: 'read_dbx' declared here 109 | extern void read_dbx(); /* get data from dbx */ | ^~~~~~~~ /home/pbulk/work/devel/xxgdb/work/.buildlink/include/X11/Intrinsic.h:323:16: note: 'XtInputCallbackProc' declared here 323 | typedef void (*XtInputCallbackProc)( | ^~~~~~~~~~~~~~~~~~~ --- command.o --- command.c: In function 'ButtonSet': command.c:119:13: warning: old-style function definition [-Wold-style-definition] 119 | static void ButtonSet(w, event, params, num_params) | ^~~~~~~~~ command.c: In function 'DoIt': command.c:131:13: warning: old-style function definition [-Wold-style-definition] 131 | static void DoIt (w, command, call_data) | ^~~~ command.c:137:5: error: too many arguments to function 'send_command'; expected 0, have 1 137 | send_command(command); | ^~~~~~~~~~~~ ~~~~~~~ In file included from command.c:98: global.h:94:25: note: declared here 94 | extern void send_command(); | ^~~~~~~~~~~~ command.c:138:5: error: too many arguments to function 'AppendDialogText'; expected 0, have 1 138 | AppendDialogText(command); | ^~~~~~~~~~~~~~~~ ~~~~~~~ global.h:118:25: note: declared here 118 | extern void AppendDialogText(); /* append text to buffer */ | ^~~~~~~~~~~~~~~~ command.c: In function 'Break': command.c:169:13: warning: old-style function definition [-Wold-style-definition] 169 | static void Break(w, client_data, call_data) | ^~~~~ command.c:196:32: error: too many arguments to function 'TextPositionToLine'; expected 0, have 1 196 | line = TextPositionToLine(pos); | ^~~~~~~~~~~~~~~~~~ ~~~ global.h:181:25: note: declared here 181 | extern int TextPositionToLine(); /* convert line # to text pos */ | ^~~~~~~~~~~~~~~~~~ command.c:201:25: error: too many arguments to function 'UpdateMessageWindow'; expected 0, have 2 201 | UpdateMessageWindow(BREAK_HELP, NULL); | ^~~~~~~~~~~~~~~~~~~ global.h:192:25: note: declared here 192 | extern void UpdateMessageWindow(); /* update xdbx message */ | ^~~~~~~~~~~~~~~~~~~ command.c:202:25: error: too many arguments to function 'bell'; expected 0, have 1 202 | bell(0); | ^~~~ ~ global.h:184:25: note: declared here 184 | extern void bell(); /* sound bell */ | ^~~~ command.c:207:5: error: too many arguments to function 'send_command'; expected 0, have 1 207 | send_command(command); | ^~~~~~~~~~~~ ~~~~~~~ global.h:94:25: note: declared here 94 | extern void send_command(); | ^~~~~~~~~~~~ command.c:208:5: error: too many arguments to function 'AppendDialogText'; expected 0, have 1 208 | AppendDialogText(command); | ^~~~~~~~~~~~~~~~ ~~~~~~~ global.h:118:25: note: declared here 118 | extern void AppendDialogText(); /* append text to buffer */ | ^~~~~~~~~~~~~~~~ command.c: In function 'Delete': command.c:262:13: warning: old-style function definition [-Wold-style-definition] 262 | static void Delete(w, client_data, call_data) | ^~~~~~ command.c:274:9: error: too many arguments to function 'send_command'; expected 0, have 1 274 | send_command(command); | ^~~~~~~~~~~~ ~~~~~~~ global.h:94:25: note: declared here 94 | extern void send_command(); | ^~~~~~~~~~~~ command.c:275:9: error: too many arguments to function 'AppendDialogText'; expected 0, have 1 275 | AppendDialogText(command); | ^~~~~~~~~~~~~~~~ ~~~~~~~ global.h:118:25: note: declared here 118 | extern void AppendDialogText(); /* append text to buffer */ | ^~~~~~~~~~~~~~~~ command.c:285:16: error: too many arguments to function 'TextPositionToLine'; expected 0, have 1 285 | line = TextPositionToLine(pos); | ^~~~~~~~~~~~~~~~~~ ~~~ global.h:181:25: note: declared here 181 | extern int TextPositionToLine(); /* convert line # to text pos */ | ^~~~~~~~~~~~~~~~~~ command.c:286:24: error: too many arguments to function 'LineToStop_no'; expected 0, have 1 286 | if ((stop_no = LineToStop_no(line))) { | ^~~~~~~~~~~~~ ~~~~ global.h:182:25: note: declared here 182 | extern int LineToStop_no(); /* convert line # to stop # */ | ^~~~~~~~~~~~~ command.c:288:13: error: too many arguments to function 'send_command'; expected 0, have 1 288 | send_command(command); | ^~~~~~~~~~~~ ~~~~~~~ global.h:94:25: note: declared here 94 | extern void send_command(); | ^~~~~~~~~~~~ command.c:289:13: error: too many arguments to function 'AppendDialogText'; expected 0, have 1 289 | AppendDialogText(command); | ^~~~~~~~~~~~~~~~ ~~~~~~~ global.h:118:25: note: declared here 118 | extern void AppendDialogText(); /* append text to buffer */ | ^~~~~~~~~~~~~~~~ command.c:296:5: error: too many arguments to function 'UpdateMessageWindow'; expected 0, have 2 296 | UpdateMessageWindow(DELETE_HELP, NULL); | ^~~~~~~~~~~~~~~~~~~ global.h:192:25: note: declared here 192 | extern void UpdateMessageWindow(); /* update xdbx message */ | ^~~~~~~~~~~~~~~~~~~ command.c:297:5: error: too many arguments to function 'bell'; expected 0, have 1 297 | bell(0); | ^~~~ ~ global.h:184:25: note: declared here 184 | extern void bell(); /* sound bell */ | ^~~~ command.c: In function 'Print': command.c:301:13: warning: old-style function definition [-Wold-style-definition] 301 | static void Print(w, client_data, call_data) | ^~~~~ command.c:313:9: error: too many arguments to function 'UpdateMessageWindow'; expected 0, have 2 313 | UpdateMessageWindow(PRINT_HELP, NULL); | ^~~~~~~~~~~~~~~~~~~ global.h:192:25: note: declared here 192 | extern void UpdateMessageWindow(); /* update xdbx message */ | ^~~~~~~~~~~~~~~~~~~ command.c:314:9: error: too many arguments to function 'bell'; expected 0, have 1 314 | bell(0); | ^~~~ ~ global.h:184:25: note: declared here 184 | extern void bell(); /* sound bell */ | ^~~~ command.c:321:5: error: too many arguments to function 'send_command'; expected 0, have 1 321 | send_command(command); | ^~~~~~~~~~~~ ~~~~~~~ global.h:94:25: note: declared here 94 | extern void send_command(); | ^~~~~~~~~~~~ command.c:325:5: error: too many arguments to function 'AppendDialogText'; expected 0, have 1 325 | AppendDialogText(command); | ^~~~~~~~~~~~~~~~ ~~~~~~~ global.h:118:25: note: declared here 118 | extern void AppendDialogText(); /* append text to buffer */ | ^~~~~~~~~~~~~~~~ command.c: In function 'Interrupt': command.c:358:13: warning: old-style function definition [-Wold-style-definition] 358 | static void Interrupt(w, client_data, call_data) | ^~~~~~~~~ command.c: In function 'EdCallback': command.c:368:13: warning: old-style function definition [-Wold-style-definition] 368 | static void EdCallback(w, client_data, call_data) | ^~~~~~~~~~ command.c: In function 'Quit': command.c:381:6: warning: old-style function definition [-Wold-style-definition] 381 | void Quit(w, client_data, call_data) | ^~~~ command.c:392:5: error: too many arguments to function 'write_dbx'; expected 0, have 1 392 | write_dbx("quit\n"); | ^~~~~~~~~ ~~~~~~~~ global.h:110:25: note: declared here 110 | extern void write_dbx(); /* send data to dbx */ | ^~~~~~~~~ command.c: In function 'Display_': command.c:409:13: warning: old-style function definition [-Wold-style-definition] 409 | static void Display_(w, client_data, call_data) | ^~~~~~~~ command.c:419:5: error: too many arguments to function 'send_command'; expected 0, have 1 419 | send_command(command); | ^~~~~~~~~~~~ ~~~~~~~ global.h:94:25: note: declared here 94 | extern void send_command(); | ^~~~~~~~~~~~ command.c:420:5: error: too many arguments to function 'AppendDialogText'; expected 0, have 1 420 | AppendDialogText(command); | ^~~~~~~~~~~~~~~~ ~~~~~~~ global.h:118:25: note: declared here 118 | extern void AppendDialogText(); /* append text to buffer */ | ^~~~~~~~~~~~~~~~ command.c: In function 'Undisplay': command.c:455:13: warning: old-style function definition [-Wold-style-definition] 455 | static void Undisplay(w, client_data, call_data) | ^~~~~~~~~ command.c:470:25: error: too many arguments to function 'UpdateMessageWindow'; expected 0, have 2 470 | UpdateMessageWindow(UNDISPLAY_HELP, NULL); | ^~~~~~~~~~~~~~~~~~~ global.h:192:25: note: declared here 192 | extern void UpdateMessageWindow(); /* update xdbx message */ | ^~~~~~~~~~~~~~~~~~~ command.c:471:25: error: too many arguments to function 'bell'; expected 0, have 1 471 | bell(0); | ^~~~ ~ global.h:184:25: note: declared here 184 | extern void bell(); /* sound bell */ | ^~~~ command.c:479:9: error: too many arguments to function 'send_command'; expected 0, have 1 479 | send_command(command); | ^~~~~~~~~~~~ ~~~~~~~ global.h:94:25: note: declared here 94 | extern void send_command(); | ^~~~~~~~~~~~ command.c:480:9: error: too many arguments to function 'AppendDialogText'; expected 0, have 1 480 | AppendDialogText(command); | ^~~~~~~~~~~~~~~~ ~~~~~~~ global.h:118:25: note: declared here 118 | extern void AppendDialogText(); /* append text to buffer */ | ^~~~~~~~~~~~~~~~ command.c: In function 'forwardSearch': command.c:539:12: warning: old-style function definition [-Wold-style-definition] 539 | static int forwardSearch(text, startpos, searchstring, left, right) | ^~~~~~~~~~~~~ command.c: In function 'reverseSearch': command.c:582:12: warning: old-style function definition [-Wold-style-definition] 582 | static int reverseSearch(text, startpos, searchstring, left, right) | ^~~~~~~~~~~~~ command.c: In function 'PopupSearch': command.c:622:6: warning: old-style function definition [-Wold-style-definition] 622 | void PopupSearch(w, client_data, call_data) | ^~~~~~~~~~~ command.c:633:9: error: too many arguments to function 'UpdateMessageWindow'; expected 0, have 2 633 | UpdateMessageWindow(SEARCH_HELP, NULL); | ^~~~~~~~~~~~~~~~~~~ global.h:192:25: note: declared here 192 | extern void UpdateMessageWindow(); /* update xdbx message */ | ^~~~~~~~~~~~~~~~~~~ command.c:634:9: error: too many arguments to function 'bell'; expected 0, have 1 634 | bell(0); | ^~~~ ~ global.h:184:25: note: declared here 184 | extern void bell(); /* sound bell */ | ^~~~ command.c: In function 'Search': command.c:660:13: warning: old-style function definition [-Wold-style-definition] 660 | static void Search(w, direction, call_data) | ^~~~~~ command.c:673:13: error: too many arguments to function 'UpdateMessageWindow'; expected 0, have 2 673 | UpdateMessageWindow("No search string selected", NULL); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ global.h:192:25: note: declared here 192 | extern void UpdateMessageWindow(); /* update xdbx message */ | ^~~~~~~~~~~~~~~~~~~ command.c:674:13: error: too many arguments to function 'bell'; expected 0, have 1 674 | bell(0); | ^~~~ ~ global.h:184:25: note: declared here 184 | extern void bell(); /* sound bell */ | ^~~~ command.c:684:20: error: too many arguments to function 'TextPositionToLine'; expected 0, have 1 684 | AdjustText(TextPositionToLine(left)); | ^~~~~~~~~~~~~~~~~~ ~~~~ global.h:181:25: note: declared here 181 | extern int TextPositionToLine(); /* convert line # to text pos */ | ^~~~~~~~~~~~~~~~~~ command.c:684:9: error: too many arguments to function 'AdjustText'; expected 0, have 1 684 | AdjustText(TextPositionToLine(left)); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ global.h:127:25: note: declared here 127 | extern void AdjustText(); /* adjust display position */ | ^~~~~~~~~~ command.c:690:13: error: too many arguments to function 'UpdateMessageWindow'; expected 0, have 2 690 | UpdateMessageWindow("String not found", NULL); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ global.h:192:25: note: declared here 192 | extern void UpdateMessageWindow(); /* update xdbx message */ | ^~~~~~~~~~~~~~~~~~~ command.c:692:13: error: too many arguments to function 'UpdateMessageWindow'; expected 0, have 2 692 | UpdateMessageWindow("String not found", NULL); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ global.h:192:25: note: declared here 192 | extern void UpdateMessageWindow(); /* update xdbx message */ | ^~~~~~~~~~~~~~~~~~~ command.c:695:13: error: too many arguments to function 'UpdateMessageWindow'; expected 0, have 2 695 | UpdateMessageWindow("xxgdb error: illegal search direction", NULL); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ global.h:192:25: note: declared here 192 | extern void UpdateMessageWindow(); /* update xdbx message */ | ^~~~~~~~~~~~~~~~~~~ command.c:699:9: error: too many arguments to function 'bell'; expected 0, have 1 699 | bell(0); | ^~~~ ~ global.h:184:25: note: declared here 184 | extern void bell(); /* sound bell */ | ^~~~ command.c: In function 'DoneSearch': command.c:704:13: warning: old-style function definition [-Wold-style-definition] 704 | static void DoneSearch(w, client_data, call_data) | ^~~~~~~~~~ command.c: In function 'Activate': command.c:713:13: warning: old-style function definition [-Wold-style-definition] 713 | static void Activate(w, event, params, num_params) | ^~~~~~~~ command.c: In function 'CreateSearchPopup': command.c:750:5: error: too many arguments to function 'AddButton'; expected 0, have 4 750 | AddButton(searchPopup, "<<", Search, (XtPointer) REVERSE); | ^~~~~~~~~ ~~~~~~~~~~~ command.c:107:17: note: declared here 107 | static Widget AddButton(); | ^~~~~~~~~ command.c:751:5: error: too many arguments to function 'AddButton'; expected 0, have 4 751 | AddButton(searchPopup, ">>", Search, (XtPointer) FORWARD); | ^~~~~~~~~ ~~~~~~~~~~~ command.c:107:17: note: declared here 107 | static Widget AddButton(); | ^~~~~~~~~ command.c:752:5: error: too many arguments to function 'AddButton'; expected 0, have 4 752 | AddButton(searchPopup, "DONE", DoneSearch, (XtPointer)searchPopupShell); | ^~~~~~~~~ ~~~~~~~~~~~ command.c:107:17: note: declared here 107 | static Widget AddButton(); | ^~~~~~~~~ command.c: In function 'AddButton': command.c:761:15: warning: old-style function definition [-Wold-style-definition] 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:792:40: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 792 | XtAddCallback(button, XtNcallback, function, client_data); | ^~~~~~~~ | | | void (*)(void) In file included from /home/pbulk/work/devel/xxgdb/work/.buildlink/include/X11/IntrinsicP.h:51, from defs.h:71, from global.h:66: /home/pbulk/work/devel/xxgdb/work/.buildlink/include/X11/Intrinsic.h:1256:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(void)' 1256 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ /home/pbulk/work/devel/xxgdb/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ command.c: In function 'CreateButtons': command.c:798:13: warning: old-style function definition [-Wold-style-definition] 798 | static void CreateButtons (parent) | ^~~~~~~~~~~~~ command.c:804:19: error: too many arguments to function 'AddButton'; expected 0, have 4 804 | button[i++] = AddButton (parent, "run", DoIt, "run\n"); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:805:19: error: too many arguments to function 'AddButton'; expected 0, have 4 805 | button[i++] = AddButton (parent, "cont", DoIt, "cont\n"); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:806:19: error: too many arguments to function 'AddButton'; expected 0, have 4 806 | button[i++] = AddButton (parent, "next", DoIt, "next\n"); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:807:19: error: too many arguments to function 'AddButton'; expected 0, have 4 807 | button[i++] = AddButton (parent, "step", DoIt, "step\n"); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:808:19: error: too many arguments to function 'AddButton'; expected 0, have 4 808 | button[i++] = AddButton (parent, "finish", DoIt, "finish\n"); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:809:19: error: too many arguments to function 'AddButton'; expected 0, have 4 809 | button[i++] = AddButton (parent, "break", Break, "break"); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:810:19: error: too many arguments to function 'AddButton'; expected 0, have 4 810 | button[i++] = AddButton (parent, "tbreak", Break, "tbreak"); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:811:19: error: too many arguments to function 'AddButton'; expected 0, have 4 811 | button[i++] = AddButton (parent, "delete", Delete, NULL); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:812:19: error: too many arguments to function 'AddButton'; expected 0, have 4 812 | button[i++] = AddButton (parent, "up", DoIt, "up\n"); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:813:19: error: too many arguments to function 'AddButton'; expected 0, have 4 813 | button[i++] = AddButton (parent, "down", DoIt, "down\n"); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:814:19: error: too many arguments to function 'AddButton'; expected 0, have 4 814 | button[i++] = AddButton (parent, "print", Print, (XtPointer)0); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:815:19: error: too many arguments to function 'AddButton'; expected 0, have 4 815 | button[i++] = AddButton (parent, "print *", Print, (XtPointer)1); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:816:19: error: too many arguments to function 'AddButton'; expected 0, have 4 816 | button[i++] = AddButton (parent, "display", Display_, NULL); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:817:19: error: too many arguments to function 'AddButton'; expected 0, have 4 817 | button[i++] = AddButton (parent, "undisplay", Undisplay, NULL); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:818:19: error: too many arguments to function 'AddButton'; expected 0, have 4 818 | button[i++] = AddButton (parent, "show display", DoIt, "info display\n"); /* AJK */ | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:819:19: error: too many arguments to function 'AddButton'; expected 0, have 4 819 | button[i++] = AddButton (parent, "args", DoIt, "info args\n"); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:820:19: error: too many arguments to function 'AddButton'; expected 0, have 4 820 | button[i++] = AddButton (parent, "locals", DoIt, "info locals\n"); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:821:19: error: too many arguments to function 'AddButton'; expected 0, have 4 821 | button[i++] = AddButton (parent, "stack", DoIt, "info stack\n"); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:823:19: error: too many arguments to function 'AddButton'; expected 0, have 4 823 | button[i++] = AddButton (parent, "edit", EdCallback, NULL); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:825:19: error: too many arguments to function 'AddButton'; expected 0, have 4 825 | button[i++] = AddButton (parent, "search", PopupSearch, NULL); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:826:19: error: too many arguments to function 'AddButton'; expected 0, have 4 826 | button[i++] = AddButton (parent, "interrupt", Interrupt, NULL); /* DH */ | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:827:19: error: too many arguments to function 'AddButton'; expected 0, have 4 827 | button[i++] = AddButton (parent, "file", File, NULL); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:828:19: error: too many arguments to function 'AddButton'; expected 0, have 4 828 | button[i++] = AddButton (parent, "show brkpts", DoIt, "info breakpoints\n"); /* AJK */ | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:829:19: error: too many arguments to function 'AddButton'; expected 0, have 4 829 | button[i++] = AddButton (parent, "yes", DoIt, "y\n"); /* AJK */ | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:830:19: error: too many arguments to function 'AddButton'; expected 0, have 4 830 | button[i++] = AddButton (parent, "no", DoIt, "n\n"); /* AJK */ | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c:831:19: error: too many arguments to function 'AddButton'; expected 0, have 4 831 | button[i++] = AddButton (parent, "quit", Quit, NULL); | ^~~~~~~~~ ~~~~~~ command.c:761:15: note: declared here 761 | static Widget AddButton(parent, name, function, client_data) | ^~~~~~~~~ command.c: In function 'CreateCommandPanel': command.c:880:6: warning: old-style function definition [-Wold-style-definition] 880 | void CreateCommandPanel(parent) | ^~~~~~~~~~~~~~~~~~ command.c:882:1: error: number of arguments doesn't match prototype 882 | { | ^ global.h:93:25: error: prototype declaration 93 | extern void CreateCommandPanel(); | ^~~~~~~~~~~~~~~~~~ command.c: In function 'send_command': command.c:905:6: warning: old-style function definition [-Wold-style-definition] 905 | void send_command(command) | ^~~~~~~~~~~~ command.c:907:1: error: number of arguments doesn't match prototype 907 | { | ^ global.h:94:25: error: prototype declaration 94 | extern void send_command(); | ^~~~~~~~~~~~ command.c: In function 'insert_command': command.c:966:6: warning: old-style function definition [-Wold-style-definition] 966 | void insert_command(command) | ^~~~~~~~~~~~~~ command.c:968:1: error: number of arguments doesn't match prototype 968 | { | ^ global.h:96:25: error: prototype declaration 96 | extern void insert_command(); | ^~~~~~~~~~~~~~ *** [command.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/devel/xxgdb/work/xxgdb-1.12 --- calldbx.o --- *** [calldbx.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/devel/xxgdb/work/xxgdb-1.12 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/devel/xxgdb/work/xxgdb-1.12 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/xxgdb *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/xxgdb