=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xp", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xp-1.2b10nb4 --- xp.man --- --- xp.o --- --- xp.man --- sed -e "s;XAPPLOADDIR;/opt/pkg/lib/X11/app-defaults;" xp.man --- xp.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHASVFORK -I/opt/pkg/include -c xp.c --- text.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHASVFORK -I/opt/pkg/include -c text.c --- xp.o --- xp.c:198:21: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 198 | "Previous", Previous, | ^~~~~~~~ xp.c:198:21: note: (near initialization for 'actionTable[0].proc') xp.c:190:49: note: 'Previous' declared here 190 | static void Quit(), Help(), Dismiss(), Next(), Previous(), Split(), Flip(), | ^~~~~~~~ xp.c:199:17: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 199 | "Next", Next, | ^~~~ xp.c:199:17: note: (near initialization for 'actionTable[1].proc') xp.c:190:41: note: 'Next' declared here 190 | static void Quit(), Help(), Dismiss(), Next(), Previous(), Split(), Flip(), | ^~~~ xp.c:200:17: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 200 | "Cmnd", Cmnd, | ^~~~ xp.c:200:17: note: (near initialization for 'actionTable[2].proc') xp.c:191:57: note: 'Cmnd' declared here 191 | WrapMenuSelect(), FilesMenuSelect(), CmndsMenuSelect(), Cmnd(), KeyRedirect(), | ^~~~ xp.c:201:24: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 201 | "KeyRedirect", KeyRedirect, | ^~~~~~~~~~~ xp.c:201:24: note: (near initialization for 'actionTable[3].proc') xp.c:191:65: note: 'KeyRedirect' declared here 191 | WrapMenuSelect(), FilesMenuSelect(), CmndsMenuSelect(), Cmnd(), KeyRedirect(), | ^~~~~~~~~~~ xp.c:202:23: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 202 | "AdjustGrip", AdjustGrip, | ^~~~~~~~~~ xp.c:202:23: note: (near initialization for 'actionTable[4].proc') xp.c:193:1: note: 'AdjustGrip' declared here 193 | AdjustGrip(), ErrorDismiss(), DoubleClick(), SetCmndTarget(); | ^~~~~~~~~~ xp.c:203:24: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 203 | "DoubleClick", DoubleClick, | ^~~~~~~~~~~ xp.c:203:24: note: (near initialization for 'actionTable[5].proc') xp.c:193:31: note: 'DoubleClick' declared here 193 | AdjustGrip(), ErrorDismiss(), DoubleClick(), SetCmndTarget(); | ^~~~~~~~~~~ xp.c:204:26: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 204 | "SetCmndTarget", SetCmndTarget, | ^~~~~~~~~~~~~ xp.c:204:26: note: (near initialization for 'actionTable[6].proc') xp.c:193:46: note: 'SetCmndTarget' declared here 193 | AdjustGrip(), ErrorDismiss(), DoubleClick(), SetCmndTarget(); | ^~~~~~~~~~~~~ xp.c: In function 'wtote': xp.c:256:1: warning: old-style function definition [-Wold-style-definition] 256 | wtote(w) | ^~~~~ xp.c: In function 'ErrorDismiss': xp.c:277:1: warning: old-style function definition [-Wold-style-definition] 277 | ErrorDismiss(widget,w,client_data) | ^~~~~~~~~~~~ xp.c: In function 'xperror': xp.c:290:1: warning: old-style function definition [-Wold-style-definition] 290 | xperror(message) | ^~~~~~~ --- text.o --- text.c: In function 'setinsertionpoint': text.c:54:1: warning: old-style function definition [-Wold-style-definition] 54 | setinsertionpoint(text,newpos) | ^~~~~~~~~~~~~~~~~ text.c:57:1: error: number of arguments doesn't match prototype 57 | { | ^ --- xp.o --- xp.c:321:50: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 321 | XtAddCallback (errordismiss,XtNcallback, ErrorDismiss, NULL); | ^~~~~~~~~~~~ | | | void (*)(void) --- text.o --- In file included from text.c:41: text.h:33:6: error: prototype declaration 33 | void setinsertionpoint(); | ^~~~~~~~~~~~~~~~~ --- xp.o --- In file included from /home/pbulk/work/x11/xp/work/.buildlink/include/X11/IntrinsicP.h:51, from xp.c:47: /home/pbulk/work/x11/xp/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 */, | ^~~~~~~~~~~~~~ xp.c:277:1: note: 'ErrorDismiss' declared here 277 | ErrorDismiss(widget,w,client_data) | ^~~~~~~~~~~~ /home/pbulk/work/x11/xp/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ xp.c: In function 'strippath': xp.c:369:1: warning: old-style function definition [-Wold-style-definition] 369 | strippath(p) | ^~~~~~~~~ xp.c: In function 'maketitle': xp.c:389:1: warning: old-style function definition [-Wold-style-definition] 389 | maketitle(filename, mess) | ^~~~~~~~~ --- text.o --- text.c: In function 'GotoLine': text.c:104:1: warning: old-style function definition [-Wold-style-definition] 104 | GotoLine(text, line) | ^~~~~~~~ --- xp.o --- xp.c: In function 'newfile': xp.c:432:1: warning: old-style function definition [-Wold-style-definition] 432 | newfile(file,data, size) | ^~~~~~~ --- text.o --- text.c:114:5: error: too many arguments to function 'setinsertionpoint'; expected 0, have 2 114 | setinsertionpoint(text,target); | ^~~~~~~~~~~~~~~~~ ~~~~ text.c:54:1: note: declared here 54 | setinsertionpoint(text,newpos) | ^~~~~~~~~~~~~~~~~ text.c: In function 'Where': text.c:119:1: warning: old-style function definition [-Wold-style-definition] 119 | Where(ed) | ^~~~~ --- xp.o --- xp.c:452:40: error: too many arguments to function 'readfile'; expected 0, have 2 452 | textmainextra.data = data ? data : readfile(file_name(file),&size); | ^~~~~~~~ xp.c:439:18: note: declared here 439 | extern char* readfile(); | ^~~~~~~~ xp.c:458:9: error: too many arguments to function 'setinsertionpoint'; expected 0, have 2 458 | setinsertionpoint(textmain,curpos); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~ In file included from xp.c:71: text.h:33:6: note: declared here 33 | void setinsertionpoint(); | ^~~~~~~~~~~~~~~~~ --- text.o --- text.c: In function 'getsink': text.c:146:8: warning: old-style function definition [-Wold-style-definition] 146 | Widget getsink(text) | ^~~~~~~ text.c:148:1: error: number of arguments doesn't match prototype 148 | { | ^ text.h:34:8: error: prototype declaration 34 | Widget getsink(); | ^~~~~~~ text.c: In function 'SetSelection': text.c:159:6: warning: old-style function definition [-Wold-style-definition] 159 | void SetSelection(text, from, to, after) | ^~~~~~~~~~~~ text.c:163:1: error: number of arguments doesn't match prototype 163 | { | ^ text.h:31:6: error: prototype declaration 31 | void SetSelection(); | ^~~~~~~~~~~~ --- xp.o --- xp.c: In function 'GeometryPos': xp.c:486:1: warning: old-style function definition [-Wold-style-definition] 486 | GeometryPos(geometrySpec) | ^~~~~~~~~~~ --- text.o --- text.c:175:5: error: too many arguments to function 'setinsertionpoint'; expected 0, have 2 175 | setinsertionpoint(text, after ? to : from); | ^~~~~~~~~~~~~~~~~ ~~~~ text.c:54:1: note: declared here 54 | setinsertionpoint(text,newpos) | ^~~~~~~~~~~~~~~~~ text.c: In function 'outputselection': text.c:185:1: warning: old-style function definition [-Wold-style-definition] 185 | outputselection(text,file,data) | ^~~~~~~~~~~~~~~ --- xp.o --- xp.c: In function 'getsizeof': xp.c:516:1: warning: old-style function definition [-Wold-style-definition] 516 | getsizeof (columns, rows, widget, width, height) | ^~~~~~~~~ xp.c:519:1: error: number of arguments doesn't match prototype 519 | { | ^ text.h:29:6: error: prototype declaration 29 | void getsizeof(); | ^~~~~~~~~ xp.c: In function 'setwmhints': xp.c:547:1: warning: old-style function definition [-Wold-style-definition] 547 | setwmhints(shell,text) | ^~~~~~~~~~ xp.c:549:1: error: number of arguments doesn't match prototype 549 | { | ^ text.h:30:6: error: prototype declaration 30 | void setwmhints(); | ^~~~~~~~~~ xp.c: At top level: xp.c:626:1: error: return type defaults to 'int' [-Wimplicit-int] 626 | main (argc, argv) | ^~~~ xp.c: In function 'main': xp.c:626:1: warning: old-style function definition [-Wold-style-definition] xp.c:649:16: error: too many arguments to function 'readfile'; expected 0, have 2 649 | filedata = readfile(argc > 1 ? argv[1] : "-", &size); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ --- text.o --- text.c:195:9: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 195 | write(fileno(file),data + from,length); | ^~~~~ | fwrite --- xp.o --- xp.c:630:18: note: declared here 630 | extern char* readfile(); | ^~~~~~~~ xp.c:724:5: error: too many arguments to function 'makewidgets'; expected 0, have 2 724 | makewidgets(top, !use_stdin); | ^~~~~~~~~~~ ~~~ xp.c:637:10: note: declared here 637 | void makewidgets(); | ^~~~~~~~~~~ xp.c:735:9: error: too many arguments to function 'getsizeof'; expected 0, have 5 735 | getsizeof(columns,rows,textmain,&textwidth,&textheight); | ^~~~~~~~~ ~~~~~~~ xp.c:516:1: note: declared here 516 | getsizeof (columns, rows, widget, width, height) | ^~~~~~~~~ xp.c:756:5: error: too many arguments to function 'setwmhints'; expected 0, have 2 756 | setwmhints(top,textmain); | ^~~~~~~~~~ ~~~ xp.c:547:1: note: declared here 547 | setwmhints(shell,text) | ^~~~~~~~~~ xp.c:762:5: error: implicit declaration of function 'redirect'; did you mean 'KeyRedirect'? [-Wimplicit-function-declaration] 762 | redirect(); | ^~~~~~~~ | KeyRedirect xp.c:765:9: error: too many arguments to function 'Cmnd'; expected 0, have 4 765 | Cmnd(textinput, (XEvent *)NULL, (String *)NULL, 0); | ^~~~ ~~~~~~~~~ xp.c:191:57: note: declared here 191 | WrapMenuSelect(), FilesMenuSelect(), CmndsMenuSelect(), Cmnd(), KeyRedirect(), | ^~~~ xp.c: In function 'makewidgets': xp.c:637:10: warning: old-style function definition [-Wold-style-definition] 637 | void makewidgets(); | ^~~~~~~~~~~ xp.c:778:1: error: number of arguments doesn't match prototype 778 | { | ^ xp.c:637:10: error: prototype declaration 637 | void makewidgets(); | ^~~~~~~~~~~ xp.c:834:64: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 834 | XtAddCallback(entry, XtNcallback, FilesMenuSelect, (XtPointer)i); | ^ xp.c:834:47: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 834 | XtAddCallback(entry, XtNcallback, FilesMenuSelect, (XtPointer)i); | ^~~~~~~~~~~~~~~ | | | void (*)(void) /home/pbulk/work/x11/xp/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 */, | ^~~~~~~~~~~~~~ xp.c:191:19: note: 'FilesMenuSelect' declared here 191 | WrapMenuSelect(), FilesMenuSelect(), CmndsMenuSelect(), Cmnd(), KeyRedirect(), | ^~~~~~~~~~~~~~~ /home/pbulk/work/x11/xp/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ xp.c:865:43: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 865 | XtAddCallback(entry, XtNcallback, WrapMenuSelect, NULL); | ^~~~~~~~~~~~~~ | | | void (*)(void) /home/pbulk/work/x11/xp/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 */, | ^~~~~~~~~~~~~~ xp.c:191:1: note: 'WrapMenuSelect' declared here 191 | WrapMenuSelect(), FilesMenuSelect(), CmndsMenuSelect(), Cmnd(), KeyRedirect(), | ^~~~~~~~~~~~~~ /home/pbulk/work/x11/xp/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ xp.c:910:41: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 910 | XtAddCallback(hscroll, XtNcallback, Hscroll,NULL); | ^~~~~~~ | | | void (*)(void) /home/pbulk/work/x11/xp/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 */, | ^~~~~~~~~~~~~~ xp.c:192:75: note: 'Hscroll' declared here 192 | Searchwrap(), SearchMany(), CaseSens(), ShortName(), Quiet(), AutoExec(), Hscroll(), | ^~~~~~~ /home/pbulk/work/x11/xp/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ xp.c:911:38: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 911 | XtAddCallback(swrap, XtNcallback,Searchwrap,NULL); | ^~~~~~~~~~ | | | void (*)(void) /home/pbulk/work/x11/xp/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 */, | ^~~~~~~~~~~~~~ xp.c:192:1: note: 'Searchwrap' declared here 192 | Searchwrap(), SearchMany(), CaseSens(), ShortName(), Quiet(), AutoExec(), Hscroll(), | ^~~~~~~~~~ /home/pbulk/work/x11/xp/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ xp.c:912:43: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 912 | XtAddCallback(searchmany, XtNcallback,SearchMany,NULL); | ^~~~~~~~~~ | | | void (*)(void) /home/pbulk/work/x11/xp/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 */, | ^~~~~~~~~~~~~~ xp.c:192:15: note: 'SearchMany' declared here 192 | Searchwrap(), SearchMany(), CaseSens(), ShortName(), Quiet(), AutoExec(), Hscroll(), | ^~~~~~~~~~ /home/pbulk/work/x11/xp/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ xp.c:913:41: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 913 | XtAddCallback(casesens, XtNcallback,CaseSens,NULL); | ^~~~~~~~ | | | void (*)(void) /home/pbulk/work/x11/xp/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 */, | ^~~~~~~~~~~~~~ xp.c:192:29: note: 'CaseSens' declared here 192 | Searchwrap(), SearchMany(), CaseSens(), ShortName(), Quiet(), AutoExec(), Hscroll(), | ^~~~~~~~ /home/pbulk/work/x11/xp/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ xp.c:914:43: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 914 | XtAddCallback(shortname, XtNcallback, ShortName, NULL); | ^~~~~~~~~ | | | void (*)(void) /home/pbulk/work/x11/xp/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 */, | ^~~~~~~~~~~~~~ xp.c:192:41: note: 'ShortName' declared here 192 | Searchwrap(), SearchMany(), CaseSens(), ShortName(), Quiet(), AutoExec(), Hscroll(), | ^~~~~~~~~ /home/pbulk/work/x11/xp/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ xp.c:915:39: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 915 | XtAddCallback(quiet, XtNcallback, Quiet, NULL); | ^~~~~ | | | void (*)(void) /home/pbulk/work/x11/xp/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 */, | ^~~~~~~~~~~~~~ xp.c:192:54: note: 'Quiet' declared here 192 | Searchwrap(), SearchMany(), CaseSens(), ShortName(), Quiet(), AutoExec(), Hscroll(), | ^~~~~ /home/pbulk/work/x11/xp/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ xp.c:916:42: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 916 | XtAddCallback(autoexec, XtNcallback, AutoExec, NULL); | ^~~~~~~~ | | | void (*)(void) /home/pbulk/work/x11/xp/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 */, | ^~~~~~~~~~~~~~ xp.c:192:63: note: 'AutoExec' declared here 192 | Searchwrap(), SearchMany(), CaseSens(), ShortName(), Quiet(), AutoExec(), Hscroll(), | ^~~~~~~~ /home/pbulk/work/x11/xp/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ xp.c:942:39: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 942 | XtAddCallback (quit, XtNcallback, Quit, NULL); | ^~~~ | | | void (*)(void) /home/pbulk/work/x11/xp/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 */, | ^~~~~~~~~~~~~~ xp.c:190:13: note: 'Quit' declared here 190 | static void Quit(), Help(), Dismiss(), Next(), Previous(), Split(), Flip(), | ^~~~ /home/pbulk/work/x11/xp/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ xp.c:943:39: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 943 | XtAddCallback (help, XtNcallback, Help, NULL); | ^~~~ | | | void (*)(void) /home/pbulk/work/x11/xp/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 */, | ^~~~~~~~~~~~~~ xp.c:190:21: note: 'Help' declared here 190 | static void Quit(), Help(), Dismiss(), Next(), Previous(), Split(), Flip(), | ^~~~ /home/pbulk/work/x11/xp/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ xp.c:944:40: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 944 | XtAddCallback (split, XtNcallback, Split, NULL); | ^~~~~ | | | void (*)(void) /home/pbulk/work/x11/xp/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 */, | ^~~~~~~~~~~~~~ xp.c:190:62: note: 'Split' declared here 190 | static void Quit(), Help(), Dismiss(), Next(), Previous(), Split(), Flip(), | ^~~~~ /home/pbulk/work/x11/xp/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ xp.c:945:39: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 945 | XtAddCallback (flip, XtNcallback, Flip, NULL); | ^~~~ | | | void (*)(void) /home/pbulk/work/x11/xp/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 */, | ^~~~~~~~~~~~~~ xp.c:190:71: note: 'Flip' declared here 190 | static void Quit(), Help(), Dismiss(), Next(), Previous(), Split(), Flip(), | ^~~~ /home/pbulk/work/x11/xp/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ xp.c: In function 'makecmndsmenu': xp.c:1005:61: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1005 | XtAddCallback(entry,XtNcallback,CmndsMenuSelect,(XtPointer)i); | ^ xp.c:1005:45: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 1005 | XtAddCallback(entry,XtNcallback,CmndsMenuSelect,(XtPointer)i); | ^~~~~~~~~~~~~~~ | | | void (*)(void) /home/pbulk/work/x11/xp/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 */, | ^~~~~~~~~~~~~~ xp.c:191:38: note: 'CmndsMenuSelect' declared here 191 | WrapMenuSelect(), FilesMenuSelect(), CmndsMenuSelect(), Cmnd(), KeyRedirect(), | ^~~~~~~~~~~~~~~ /home/pbulk/work/x11/xp/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ xp.c: In function 'Quit': xp.c:1014:1: warning: old-style function definition [-Wold-style-definition] 1014 | Quit(w, client_data, call_data) | ^~~~ xp.c: In function 'Next': xp.c:1032:1: warning: old-style function definition [-Wold-style-definition] 1032 | Next(w, event,params,num_params) | ^~~~ xp.c: In function 'Previous': xp.c:1056:1: warning: old-style function definition [-Wold-style-definition] 1056 | Previous(w, event,params,num_params) | ^~~~~~~~ xp.c: In function 'Split': xp.c:1094:1: warning: old-style function definition [-Wold-style-definition] 1094 | Split(w, client_data, call_data) | ^~~~~ xp.c:1128:36: error: too many arguments to function 'getsink'; expected 0, have 1 1128 | XawTextSinkGetCursorBounds(getsink(textmain),&curloc); | ^~~~~~~ ~~~~~~~~ text.h:34:8: note: declared here 34 | Widget getsink(); | ^~~~~~~ xp.c:1162:9: error: too many arguments to function 'Flip'; expected 0, have 3 1162 | Flip(w, client_data, call_data); /* keep top window */ | ^~~~ ~ xp.c:190:71: note: declared here 190 | static void Quit(), Help(), Dismiss(), Next(), Previous(), Split(), Flip(), | ^~~~ xp.c:1173:5: error: too many arguments to function 'setwmhints'; expected 0, have 2 1173 | setwmhints(top,textmain); | ^~~~~~~~~~ ~~~ xp.c:547:1: note: declared here 547 | setwmhints(shell,text) | ^~~~~~~~~~ xp.c: In function 'Flip': xp.c:1188:1: warning: old-style function definition [-Wold-style-definition] 1188 | Flip(w, client_data, call_data) | ^~~~ xp.c: In function 'WrapMenuSelect': xp.c:1273:1: warning: old-style function definition [-Wold-style-definition] 1273 | WrapMenuSelect(w, junk, garbage) | ^~~~~~~~~~~~~~ xp.c: In function 'Searchwrap': xp.c:1310:1: warning: old-style function definition [-Wold-style-definition] 1310 | Searchwrap(w, client_data, garbage) | ^~~~~~~~~~ xp.c: In function 'SearchMany': xp.c:1328:1: warning: old-style function definition [-Wold-style-definition] 1328 | SearchMany(w, dummy, garbage) | ^~~~~~~~~~ xp.c: In function 'CaseSens': xp.c:1346:1: warning: old-style function definition [-Wold-style-definition] 1346 | CaseSens(w, dummy, garbage) | ^~~~~~~~ xp.c: In function 'ShortName': xp.c:1364:1: warning: old-style function definition [-Wold-style-definition] 1364 | ShortName(w, dummy, garbage) | ^~~~~~~~~ xp.c: In function 'Quiet': xp.c:1389:1: warning: old-style function definition [-Wold-style-definition] 1389 | Quiet(w, dummy, garbage) | ^~~~~ xp.c: In function 'AutoExec': xp.c:1406:1: warning: old-style function definition [-Wold-style-definition] 1406 | AutoExec(w, dummy, garbage) | ^~~~~~~~ xp.c: In function 'Hscroll': xp.c:1423:1: warning: old-style function definition [-Wold-style-definition] 1423 | Hscroll(w, dummy, garbage) | ^~~~~~~ xp.c:1441:3: error: too many arguments to function 'setwmhints'; expected 0, have 2 1441 | setwmhints(top,textmain); | ^~~~~~~~~~ ~~~ xp.c:547:1: note: declared here 547 | setwmhints(shell,text) | ^~~~~~~~~~ xp.c: In function 'FilesMenuSelect': xp.c:1457:1: warning: old-style function definition [-Wold-style-definition] 1457 | FilesMenuSelect(w, client_data, garbage) | ^~~~~~~~~~~~~~~ xp.c:1462:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1462 | newfile((int)client_data, NULL,0); | ^ xp.c: In function 'CmndsMenuSelect': xp.c:1477:1: warning: old-style function definition [-Wold-style-definition] 1477 | CmndsMenuSelect(w, client_data, call_data) | ^~~~~~~~~~~~~~~ xp.c:1481:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1481 | int i = (int) client_data; | ^ xp.c:1488:10: error: too many arguments to function 'Cmnd'; expected 0, have 4 1488 | Cmnd(textinput, (XEvent *)NULL, (String *)NULL, 0); | ^~~~ ~~~~~~~~~ xp.c:191:57: note: declared here 191 | WrapMenuSelect(), FilesMenuSelect(), CmndsMenuSelect(), Cmnd(), KeyRedirect(), | ^~~~ xp.c: In function 'KeyRedirect': xp.c:1495:1: warning: old-style function definition [-Wold-style-definition] 1495 | KeyRedirect(w, event,params,num_params) | ^~~~~~~~~~~ xp.c: In function 'SetCmndTarget': xp.c:1507:1: warning: old-style function definition [-Wold-style-definition] 1507 | SetCmndTarget(w, event,params,num_params) | ^~~~~~~~~~~~~ xp.c: In function 'DoubleClick': xp.c:1549:1: warning: old-style function definition [-Wold-style-definition] 1549 | DoubleClick(w, event,params,num_params) | ^~~~~~~~~~~ xp.c:1601:13: error: too many arguments to function 'SetSelection'; expected 0, have 3 1601 | SetSelection(w,curpos,(XawTextPosition)(s-1 - textra->data)); | ^~~~~~~~~~~~ ~ text.h:31:6: note: declared here 31 | void SetSelection(); | ^~~~~~~~~~~~ xp.c:1626:14: error: too many arguments to function 'SetSelection'; expected 0, have 3 1626 | SetSelection(w,(XawTextPosition)(s+2 - textra->data),curpos | ^~~~~~~~~~~~ ~ text.h:31:6: note: declared here 31 | void SetSelection(); | ^~~~~~~~~~~~ xp.c:1640:5: error: too many arguments to function 'SetSelection'; expected 0, have 3 1640 | SetSelection(w,(XawTextPosition)(starts - textra->data), | ^~~~~~~~~~~~ ~ text.h:31:6: note: declared here 31 | void SetSelection(); | ^~~~~~~~~~~~ xp.c: At top level: xp.c:1648:8: error: type defaults to 'int' in declaration of 'validAction' [-Wimplicit-int] 1648 | static validAction; | ^~~~~~~~~~~ xp.c: In function 'TrapWarningMsgss': xp.c:1652:1: warning: old-style function definition [-Wold-style-definition] 1652 | TrapWarningMsgss(name, type, class, defaultp, params, num_params) | ^~~~~~~~~~~~~~~~ xp.c: In function 'TrapWarnings': xp.c:1661:1: warning: old-style function definition [-Wold-style-definition] 1661 | TrapWarnings(message) | ^~~~~~~~~~~~ xp.c: In function 'Cmnd': xp.c:1682:1: warning: old-style function definition [-Wold-style-definition] 1682 | Cmnd(w, event,params,num_params) | ^~~~ xp.c:1714:17: error: too many arguments to function 'linesearch'; expected 0, have 2 1714 | s = linesearch(te->data,atoi(userdata)); | ^~~~~~~~~~ ~~~~~~~~ xp.c:1689:11: note: declared here 1689 | char *linesearch(); | ^~~~~~~~~~ xp.c:1716:14: error: too many arguments to function 'setinsertionpoint'; expected 0, have 2 1716 | setinsertionpoint(te->widget,(XawTextPosition)(s - te->data)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~ text.h:33:6: note: declared here 33 | void setinsertionpoint(); | ^~~~~~~~~~~~~~~~~ xp.c:1717:14: error: too many arguments to function 'DoubleClick'; expected 0, have 4 1717 | DoubleClick(te->widget,NULL,NULL,0); | ^~~~~~~~~~~ ~~~~~~~~~~ xp.c:1549:1: note: declared here 1549 | DoubleClick(w, event,params,num_params) | ^~~~~~~~~~~ xp.c:1727:9: error: too many arguments to function 'shellr'; expected 0, have 3 1727 | shellr(te,uptr+1,FALSE); | ^~~~~~ ~~ xp.c:1678:13: note: declared here 1678 | static void shellr(); | ^~~~~~ xp.c:1730:9: error: too many arguments to function 'shellr'; expected 0, have 3 1730 | shellr(te,uptr+1,TRUE); | ^~~~~~ ~~ xp.c:1678:13: note: declared here 1678 | static void shellr(); | ^~~~~~ xp.c:1734:17: error: too many arguments to function 'shellr'; expected 0, have 3 1734 | shellr(te,uptr+1,FALSE); | ^~~~~~ ~~ xp.c:1678:13: note: declared here 1678 | static void shellr(); | ^~~~~~ xp.c:1736:17: error: too many arguments to function 'SetSelection'; expected 0, have 4 1736 | SetSelection(te->widget,(XawTextPosition)0, | ^~~~~~~~~~~~ ~~~~~~~~~~ text.h:31:6: note: declared here 31 | void SetSelection(); | ^~~~~~~~~~~~ --- text.o --- *** [text.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/x11/xp/work/xp-1.2b10 --- xp.o --- xp.c:1753:14: error: implicit declaration of function 'mysystem'; did you mean 'system'? [-Wimplicit-function-declaration] 1753 | if (mysystem(cmndbuf,file_name(te->file)) < 0) | ^~~~~~~~ | system xp.c:1760:35: error: too many arguments to function 'lastlinesearch'; expected 0, have 2 1760 | (XawTextPosition)(lastlinesearch(te->data,te->size) - te->data)); | ^~~~~~~~~~~~~~ ~~~~~~~~ xp.c:1690:11: note: declared here 1690 | char *lastlinesearch(); | ^~~~~~~~~~~~~~ xp.c:1783:39: error: implicit declaration of function 'Where' [-Wimplicit-function-declaration] 1783 | sprintf(cmndbuf,"%d", Where(te->widget)); | ^~~~~ xp.c:1800:27: error: too many arguments to function 'linesearch'; expected 0, have 2 1800 | linesearch(te->data, Where(te->widget) + relative) | ^~~~~~~~~~ ~~~~~~~~ xp.c:1689:11: note: declared here 1689 | char *linesearch(); | ^~~~~~~~~~ xp.c:1801:27: error: too many arguments to function 'linesearch'; expected 0, have 2 1801 | : linesearch(te->data, Where(te->widget) -relative); | ^~~~~~~~~~ ~~~~~~~~ xp.c:1689:11: note: declared here 1689 | char *linesearch(); | ^~~~~~~~~~ xp.c:1804:25: error: too many arguments to function 'DoubleClick'; expected 0, have 4 1804 | DoubleClick(te->widget,NULL,NULL,0); | ^~~~~~~~~~~ ~~~~~~~~~~ xp.c:1549:1: note: declared here 1549 | DoubleClick(w, event,params,num_params) | ^~~~~~~~~~~ xp.c:1842:21: error: too many arguments to function 'readfile'; expected 0, have 2 1842 | data = readfile(file_name(i), &size); | ^~~~~~~~ xp.c:1816:22: note: declared here 1816 | extern char* readfile(); | ^~~~~~~~ xp.c:1849:15: error: implicit declaration of function 'regsearch'; did you mean 'bsearch'? [-Wimplicit-function-declaration] 1849 | if (regsearch(data, data+startpos, uptr+1,TRUE, | ^~~~~~~~~ | bsearch xp.c:1871:29: error: too many arguments to function 'readfile'; expected 0, have 2 1871 | data = readfile(file_name(i), &size); | ^~~~~~~~ xp.c:1816:22: note: declared here 1816 | extern char* readfile(); | ^~~~~~~~ xp.c:1892:12: error: too many arguments to function 'SetSelection'; expected 0, have 4 1892 | SetSelection(te->widget,(XawTextPosition)(startmatch - te->data), | ^~~~~~~~~~~~ ~~~~~~~~~~ text.h:31:6: note: declared here 31 | void SetSelection(); | ^~~~~~~~~~~~ xp.c:1919:21: error: too many arguments to function 'readfile'; expected 0, have 2 1919 | data = readfile(file_name(i), &size); | ^~~~~~~~ xp.c:1902:22: note: declared here 1902 | extern char* readfile(); | ^~~~~~~~ xp.c:1949:29: error: too many arguments to function 'readfile'; expected 0, have 2 1949 | data = readfile(file_name(i), &size); | ^~~~~~~~ xp.c:1902:22: note: declared here 1902 | extern char* readfile(); | ^~~~~~~~ xp.c:1969:12: error: too many arguments to function 'SetSelection'; expected 0, have 4 1969 | SetSelection(te->widget,(XawTextPosition)(startmatch - te->data), | ^~~~~~~~~~~~ ~~~~~~~~~~ text.h:31:6: note: declared here 31 | void SetSelection(); | ^~~~~~~~~~~~ xp.c: In function 'Help': xp.c:2025:1: warning: old-style function definition [-Wold-style-definition] 2025 | Help(widget,w,client_data) | ^~~~ xp.c:2051:54: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 2051 | XtAddCallback (helpdismiss, XtNcallback, Dismiss, NULL); | ^~~~~~~ | | | void (*)(void) /home/pbulk/work/x11/xp/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 */, | ^~~~~~~~~~~~~~ xp.c:190:29: note: 'Dismiss' declared here 190 | static void Quit(), Help(), Dismiss(), Next(), Previous(), Split(), Flip(), | ^~~~~~~ /home/pbulk/work/x11/xp/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ xp.c: In function 'Dismiss': xp.c:2059:13: warning: old-style function definition [-Wold-style-definition] 2059 | static void Dismiss(widget,w,client_data) | ^~~~~~~ xp.c: In function 'AdjustGrip': xp.c:2068:1: warning: old-style function definition [-Wold-style-definition] 2068 | AdjustGrip(w, event,params,num_params) | ^~~~~~~~~~ xp.c: In function 'shellr': xp.c:2113:1: warning: old-style function definition [-Wold-style-definition] 2113 | shellr(target,cmndptr,selection) | ^~~~~~ xp.c:2143:28: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 2143 | sigint = signal(SIGINT, SIG_IGN); | ^ xp.c:2144:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] 2144 | sigquit = signal(SIGQUIT, SIG_IGN); | ^ xp.c:2148:25: error: too many arguments to function 'mypopen'; expected 0, have 2 2148 | if ( (fout = mypopen(cmndbuf,file_name(target->file)) ) == NULL) | ^~~~~~~ ~~~~~~~ xp.c:2118:25: note: declared here 2118 | FILE *fout, *mypopen(); | ^~~~~~~ xp.c:2152:21: error: implicit declaration of function 'outputselection'; did you mean 'XtNselection'? [-Wimplicit-function-declaration] 2152 | outputselection(target->widget,fout,target->data); | ^~~~~~~~~~~~~~~ | XtNselection xp.c:2156:46: error: implicit declaration of function 'mypclose'; did you mean 'pclose'? [-Wimplicit-function-declaration] 2156 | background ? fclose(fout) : mypclose(fout); | ^~~~~~~~ | pclose xp.c:2159:31: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 2159 | signal(SIGINT, sigint); | ^~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from xp.c:37: /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); | ^~~~~~~~~~~~~ xp.c:2160:32: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 2160 | signal(SIGQUIT, sigquit); | ^~~~~~~ | | | void (*)(void) /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); | ^~~~~~~~~~~~~ xp.c: In function 'Do_stderr': xp.c:2172:1: warning: old-style function definition [-Wold-style-definition] 2172 | Do_stderr(client_data, source, id) | ^~~~~~~~~ xp.c:2177:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2177 | int fd = (int)client_data; | ^ xp.c: At top level: xp.c:2198:1: error: return type defaults to 'int' [-Wimplicit-int] 2198 | redirect() | ^~~~~~~~ xp.c: In function 'redirect': xp.c:2208:96: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2208 | XtAppAddInput(app,stderr_pipe[0],(XtPointer)(XtInputReadMask|XtInputExceptMask), Do_stderr,(XtPointer)stderr_pipe[0]); | ^ *** [xp.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/x11/xp/work/xp-1.2b10 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/x11/xp/work/xp-1.2b10 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xp *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xp