=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/time/xchrono", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xchrono-19900813nb2 --- xchrono.o --- --- MultiClock.o --- --- xchrono.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -I. -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c xchrono.c --- MultiClock.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -I. -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c MultiClock.c --- xchrono.o --- xchrono.c:45:13: warning: conflicting types for built-in function 'exit'; expected 'void(int)' [-Wbuiltin-declaration-mismatch] 45 | extern void exit(); | ^~~~ xchrono.c:44:1: note: 'exit' is declared in header '' 43 | #include "clmask.bit" +++ |+#include 44 | xchrono.c:197: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] 197 | { "quit", quit }, | ^~~~ xchrono.c:197:17: note: (near initialization for 'xclock_actions[0].proc') xchrono.c:46:13: note: 'quit' declared here 46 | static void quit(); | ^~~~ xchrono.c:205:1: error: return type defaults to 'int' [-Wimplicit-int] 205 | Syntax(call) | ^~~~~~ xchrono.c: In function 'Syntax': xchrono.c:205:1: warning: old-style function definition [-Wold-style-definition] xchrono.c:218:9: error: too many arguments to function 'exit'; expected 0, have 1 218 | exit(1); | ^~~~ ~ xchrono.c:45:13: note: declared here 45 | extern void exit(); | ^~~~ xchrono.c: In function 'main': xchrono.c:233:5: warning: old-style function definition [-Wold-style-definition] 233 | int main(argc, argv) | ^~~~ xchrono.c:286:52: error: implicit declaration of function 'getenv' [-Wimplicit-function-declaration] 286 | clockArgs[TIMEZONE_ARG].value = (XtArgVal) getenv("TZ"); | ^~~~~~ xchrono.c:286:52: note: 'getenv' is defined in header ''; this is probably fixable by adding '#include ' xchrono.c:392:5: error: too many arguments to function 'SetClockUpdateInterval'; expected 0, have 1 392 | SetClockUpdateInterval (resource.updateInterval); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ In file included from xchrono.c:40: MultiClock.h:91:13: note: declared here 91 | extern void SetClockUpdateInterval(/* int interval */); | ^~~~~~~~~~~~~~~~~~~~~~ xchrono.c: In function 'quit': xchrono.c:403:13: warning: old-style function definition [-Wold-style-definition] 403 | static void quit (w, event, params, num_params) | ^~~~ xchrono.c:415:5: error: too many arguments to function 'exit'; expected 0, have 1 415 | exit (0); | ^~~~ ~ xchrono.c:45:13: note: declared here 45 | extern void exit(); | ^~~~ --- MultiClock.o --- MultiClock.c:39:8: error: type defaults to 'int' in declaration of 'erase_hands' [-Wimplicit-int] 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~ MultiClock.c:39:23: error: type defaults to 'int' in declaration of 'xchrono_round' [-Wimplicit-int] 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~~~ MultiClock.c:114:41: error: initialization of 'void (*)(struct _WidgetClassRec *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 114 | /* class_part_initialize */ ClassPartInitialize, | ^~~~~~~~~~~~~~~~~~~ MultiClock.c:114:41: note: (near initialization for 'clockClassRec.core_class.class_part_initialize') MultiClock.c:104:32: note: 'ClassPartInitialize' declared here 104 | static void ClassInitialize(), ClassPartInitialize(); | ^~~~~~~~~~~~~~~~~~~ MultiClock.c:116:41: error: initialization of 'void (*)(struct _WidgetRec *, struct _WidgetRec *, struct *, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, struct _WidgetRec *, struct *, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 116 | /* initialize */ Initialize, | ^~~~~~~~~~ MultiClock.c:116:41: note: (near initialization for 'clockClassRec.core_class.initialize') MultiClock.c:105:13: note: 'Initialize' declared here 105 | static void Initialize(), Realize(), Destroy(), Resize(), Redisplay(); | ^~~~~~~~~~ MultiClock.c:118:41: error: initialization of 'void (*)(struct _WidgetRec *, XtValueMask *, XSetWindowAttributes *)' {aka 'void (*)(struct _WidgetRec *, long unsigned int *, XSetWindowAttributes *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 118 | /* realize */ Realize, | ^~~~~~~ MultiClock.c:118:41: note: (near initialization for 'clockClassRec.core_class.realize') MultiClock.c:105:27: note: 'Realize' declared here 105 | static void Initialize(), Realize(), Destroy(), Resize(), Redisplay(); | ^~~~~~~ MultiClock.c:123:41: error: initialization of 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 123 | /* xrm_class */ NULL, | ^~~~ MultiClock.c:123:41: note: (near initialization for 'clockClassRec.core_class.xrm_class') MultiClock.c:128:41: error: initialization of 'void (*)(struct _WidgetRec *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 128 | /* destroy */ Destroy, | ^~~~~~~ MultiClock.c:128:41: note: (near initialization for 'clockClassRec.core_class.destroy') MultiClock.c:105:38: note: 'Destroy' declared here 105 | static void Initialize(), Realize(), Destroy(), Resize(), Redisplay(); | ^~~~~~~ MultiClock.c:129:41: error: initialization of 'void (*)(struct _WidgetRec *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 129 | /* resize */ Resize, | ^~~~~~ MultiClock.c:129:41: note: (near initialization for 'clockClassRec.core_class.resize') MultiClock.c:105:49: note: 'Resize' declared here 105 | static void Initialize(), Realize(), Destroy(), Resize(), Redisplay(); | ^~~~~~ MultiClock.c:130:41: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, struct _XRegion *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, struct _XRegion *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 130 | /* expose */ Redisplay, | ^~~~~~~~~ MultiClock.c:130:41: note: (near initialization for 'clockClassRec.core_class.expose') MultiClock.c:105:59: note: 'Redisplay' declared here 105 | static void Initialize(), Realize(), Destroy(), Resize(), Redisplay(); | ^~~~~~~~~ MultiClock.c:131:41: error: initialization of 'Boolean (*)(struct _WidgetRec *, struct _WidgetRec *, struct _WidgetRec *, struct *, Cardinal *)' {aka 'char (*)(struct _WidgetRec *, struct _WidgetRec *, struct _WidgetRec *, struct *, unsigned int *)'} from incompatible pointer type 'Boolean (*)(void)' {aka 'char (*)(void)'} [-Wincompatible-pointer-types] 131 | /* set_values */ SetValues, | ^~~~~~~~~ MultiClock.c:131:41: note: (near initialization for 'clockClassRec.core_class.set_values') MultiClock.c:106:16: note: 'SetValues' declared here 106 | static Boolean SetValues(); | ^~~~~~~~~ MultiClock.c: In function 'addClockToList': MultiClock.c:174:13: warning: old-style function definition [-Wold-style-definition] 174 | static void addClockToList (cw) | ^~~~~~~~~~~~~~ MultiClock.c:189:53: error: passing argument 2 of 'XtAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] 189 | XtAddTimeOut(ClassField(updateInterval)*1000, updateClocks, NULL); | ^~~~~~~~~~~~ | | | void (*)(void) In file included from /home/pbulk/work/time/xchrono/work/.buildlink/include/X11/IntrinsicP.h:51, from MultiClock.c:32: /home/pbulk/work/time/xchrono/work/.buildlink/include/X11/Intrinsic.h:992:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (*)(void)' 992 | XtTimerCallbackProc /* proc */, | ^~~~~~~~~~~~~~~~~~~ MultiClock.c:38:26: note: 'updateClocks' declared here 38 | static void clock_tic(), updateClocks(), DrawHand(), DrawSecond(), SetSeg(), DrawClockFace(); | ^~~~~~~~~~~~ /home/pbulk/work/time/xchrono/work/.buildlink/include/X11/Intrinsic.h:318:16: note: 'XtTimerCallbackProc' declared here 318 | typedef void (*XtTimerCallbackProc)( | ^~~~~~~~~~~~~~~~~~~ MultiClock.c: In function 'removeClockFromList': MultiClock.c:194:13: warning: old-style function definition [-Wold-style-definition] 194 | static void removeClockFromList (cw) | ^~~~~~~~~~~~~~~~~~~ MultiClock.c: In function 'SetClockUpdateInterval': MultiClock.c:213:6: warning: old-style function definition [-Wold-style-definition] 213 | void SetClockUpdateInterval (interval) | ^~~~~~~~~~~~~~~~~~~~~~ MultiClock.c:213:6: error: type of 'interval' defaults to 'int' [-Wimplicit-int] MultiClock.c:214:1: error: number of arguments doesn't match prototype 214 | { | ^ In file included from MultiClockP.h:34, from MultiClock.c:34: MultiClock.h:91:13: error: prototype declaration 91 | extern void SetClockUpdateInterval(/* int interval */); | ^~~~~~~~~~~~~~~~~~~~~~ MultiClock.c:220:7: error: too many arguments to function 'updateClocks'; expected 0, have 2 220 | updateClocks ((Widget) NULL, 0); | ^~~~~~~~~~~~ MultiClock.c:38:26: note: declared here 38 | static void clock_tic(), updateClocks(), DrawHand(), DrawSecond(), SetSeg(), DrawClockFace(); | ^~~~~~~~~~~~ MultiClock.c: In function 'Initialize': MultiClock.c:225:13: warning: old-style function definition [-Wold-style-definition] 225 | static void Initialize (request, new) | ^~~~~~~~~~ MultiClock.c:242:23: error: conflicting types for 'localtime'; have 'struct tm *(void)' 242 | struct tm tm, *localtime(); | ^~~~~~~~~ In file included from /usr/include/time.h:40, from /usr/include/sys/time.h:490, from /usr/include/sys/select.h:53, from /usr/include/sys/types.h:687, from /home/pbulk/work/time/xchrono/work/.buildlink/include/X11/Xlib.h:38, from MultiClock.c:30: /usr/include/iso/time_iso.h:98:19: note: previous declaration of 'localtime' with type 'struct tm *(const time_t *)' {aka 'struct tm *(const long int *)'} 98 | extern struct tm *localtime(const time_t *); | ^~~~~~~~~ MultiClock.c:245:14: error: too many arguments to function 'localtime'; expected 0, have 1 245 | tm = *localtime(&time_value); | ^~~~~~~~~ ~~~~~~~~~~~ MultiClock.c:242:23: note: declared here 242 | struct tm tm, *localtime(); | ^~~~~~~~~ MultiClock.c: In function 'Realize': MultiClock.c:310:13: warning: old-style function definition [-Wold-style-definition] 310 | static void Realize (gw, valueMask, attrs) | ^~~~~~~ MultiClock.c:330:6: error: too many arguments to function 'Resize'; expected 0, have 1 330 | Resize(gw); | ^~~~~~ ~~ MultiClock.c:105:49: note: declared here 105 | static void Initialize(), Realize(), Destroy(), Resize(), Redisplay(); | ^~~~~~ MultiClock.c: In function 'Destroy': MultiClock.c:333:13: warning: old-style function definition [-Wold-style-definition] 333 | static void Destroy (gw) | ^~~~~~~ MultiClock.c: In function 'Resize': MultiClock.c:345:13: warning: old-style function definition [-Wold-style-definition] 345 | static void Resize (gw) | ^~~~~~ MultiClock.c: In function 'Redisplay': MultiClock.c:370:13: warning: old-style function definition [-Wold-style-definition] 370 | static void Redisplay (gw, event, region) | ^~~~~~~~~ MultiClock.c:378:13: error: too many arguments to function 'erase_hands'; expected 0, have 2 378 | erase_hands (w, (struct tm *) 0); | ^~~~~~~~~~~ ~ MultiClock.c:39:8: note: declared here 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~ MultiClock.c:379:9: error: too many arguments to function 'DrawClockFace'; expected 0, have 1 379 | DrawClockFace(w); | ^~~~~~~~~~~~~ ~ MultiClock.c:38:78: note: declared here 38 | static void clock_tic(), updateClocks(), DrawHand(), DrawSecond(), SetSeg(), DrawClockFace(); | ^~~~~~~~~~~~~ MultiClock.c:383:5: error: too many arguments to function 'updateClocks'; expected 0, have 2 383 | updateClocks (w, 0); | ^~~~~~~~~~~~ ~ MultiClock.c:38:26: note: declared here 38 | static void clock_tic(), updateClocks(), DrawHand(), DrawSecond(), SetSeg(), DrawClockFace(); | ^~~~~~~~~~~~ MultiClock.c: In function 'updateClocks': MultiClock.c:390:13: warning: old-style function definition [-Wold-style-definition] 390 | static void updateClocks (client_data, id) | ^~~~~~~~~~~~ MultiClock.c:397:17: error: too many arguments to function 'getenv'; expected 0, have 1 397 | char *tzenv = getenv("TZ"); | ^~~~~~ ~~~~ MultiClock.c:388:14: note: declared here 388 | extern char *getenv(); | ^~~~~~ MultiClock.c:407:56: error: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] 407 | ClassField(updateInterval)*1000, updateClocks, NULL ); | ^~~~~~~~~~~~ | | | void (*)(void) /home/pbulk/work/time/xchrono/work/.buildlink/include/X11/Intrinsic.h:999:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (*)(void)' 999 | XtTimerCallbackProc /* proc */, | ^~~~~~~~~~~~~~~~~~~ MultiClock.c:390:13: note: 'updateClocks' declared here 390 | static void updateClocks (client_data, id) | ^~~~~~~~~~~~ /home/pbulk/work/time/xchrono/work/.buildlink/include/X11/Intrinsic.h:318:16: note: 'XtTimerCallbackProc' declared here 318 | typedef void (*XtTimerCallbackProc)( | ^~~~~~~~~~~~~~~~~~~ MultiClock.c:426:13: error: implicit declaration of function 'putenv'; did you mean 'getenv'? [-Wimplicit-function-declaration] 426 | putenv (tzEnviron); | ^~~~~~ | getenv MultiClock.c:429:17: error: too many arguments to function 'localtime'; expected 0, have 1 429 | tm = *localtime(&time_value); | ^~~~~~~~~ ~~~~~~~~~~~ MultiClock.c:398:14: note: declared here 398 | struct tm *localtime(); | ^~~~~~~~~ MultiClock.c:430:11: error: too many arguments to function 'clock_tic'; expected 0, have 2 430 | clock_tic (*list, tm); | ^~~~~~~~~ ~~~~~ MultiClock.c:38:13: note: declared here 38 | static void clock_tic(), updateClocks(), DrawHand(), DrawSecond(), SetSeg(), DrawClockFace(); | ^~~~~~~~~ MultiClock.c:441:8: error: implicit declaration of function 'tzsetwall' [-Wimplicit-function-declaration] 441 | else tzsetwall(); | ^~~~~~~~~ MultiClock.c: In function 'clock_tic': MultiClock.c:447:13: warning: old-style function definition [-Wold-style-definition] 447 | static void clock_tic(w, tm) | ^~~~~~~~~ --- xchrono.o --- *** [xchrono.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/time/xchrono/work/xchrono --- MultiClock.o --- MultiClock.c:542:25: error: too many arguments to function 'erase_hands'; expected 0, have 2 542 | erase_hands (w, &tm); | ^~~~~~~~~~~ ~ MultiClock.c:39:8: note: declared here 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~ MultiClock.c:555:29: error: too many arguments to function 'DrawHand'; expected 0, have 4 555 | DrawHand(w, | ^~~~~~~~ ~ MultiClock.c:38:42: note: declared here 38 | static void clock_tic(), updateClocks(), DrawHand(), DrawSecond(), SetSeg(), DrawClockFace(); | ^~~~~~~~ MultiClock.c:570:29: error: too many arguments to function 'DrawHand'; expected 0, have 4 570 | DrawHand(w, | ^~~~~~~~ ~ MultiClock.c:38:42: note: declared here 38 | static void clock_tic(), updateClocks(), DrawHand(), DrawSecond(), SetSeg(), DrawClockFace(); | ^~~~~~~~ MultiClock.c:592:29: error: too many arguments to function 'DrawSecond'; expected 0, have 5 592 | DrawSecond(w, | ^~~~~~~~~~ ~ MultiClock.c:38:54: note: declared here 38 | static void clock_tic(), updateClocks(), DrawHand(), DrawSecond(), SetSeg(), DrawClockFace(); | ^~~~~~~~~~ MultiClock.c: At top level: MultiClock.c:617:8: error: return type defaults to 'int' [-Wimplicit-int] 617 | static erase_hands (w, tm) | ^~~~~~~~~~~ MultiClock.c: In function 'erase_hands': MultiClock.c:617:8: warning: old-style function definition [-Wold-style-definition] MultiClock.c: In function 'DrawLine': MultiClock.c:686:13: warning: old-style function definition [-Wold-style-definition] 686 | static void DrawLine(w, blank_length, length, fraction_of_a_circle) | ^~~~~~~~ MultiClock.c:694:16: warning: conflicting types for built-in function 'cos'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 694 | double cos(); | ^~~ MultiClock.c:37:1: note: 'cos' is declared in header '' 36 | #include +++ |+#include 37 | #include MultiClock.c:695:16: warning: conflicting types for built-in function 'sin'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 695 | double sin(); | ^~~ MultiClock.c:695:16: note: 'sin' is declared in header '' MultiClock.c:708:20: error: too many arguments to function 'cos'; expected 0, have 1 708 | cosangle = cos(angle); | ^~~ ~~~~~ MultiClock.c:694:16: note: declared here 694 | double cos(); | ^~~ MultiClock.c:709:20: error: too many arguments to function 'sin'; expected 0, have 1 709 | sinangle = sin(angle); | ^~~ ~~~~~ MultiClock.c:695:16: note: declared here 695 | double sin(); | ^~~ MultiClock.c:716:9: error: too many arguments to function 'SetSeg'; expected 0, have 5 716 | SetSeg(w, x1, y1, x2, y2); | ^~~~~~ ~ MultiClock.c:38:68: note: declared here 38 | static void clock_tic(), updateClocks(), DrawHand(), DrawSecond(), SetSeg(), DrawClockFace(); | ^~~~~~ MultiClock.c: In function 'DrawHand': MultiClock.c:728:13: warning: old-style function definition [-Wold-style-definition] 728 | static void DrawHand(w, length, width, fraction_of_a_circle) | ^~~~~~~~ MultiClock.c:750:20: error: too many arguments to function 'cos'; expected 0, have 1 750 | cosangle = cos(angle); | ^~~ ~~~~~ MultiClock.c:737:16: note: declared here 737 | double cos(); | ^~~ MultiClock.c:751:20: error: too many arguments to function 'sin'; expected 0, have 1 751 | sinangle = sin(angle); | ^~~ ~~~~~ MultiClock.c:738:16: note: declared here 738 | double sin(); | ^~~ MultiClock.c:764:39: error: too many arguments to function 'xchrono_round'; expected 0, have 1 764 | x = w->clock.centerX + xchrono_round(length * sinangle), | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ MultiClock.c:39:23: note: declared here 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~~~ MultiClock.c:765:39: error: too many arguments to function 'xchrono_round'; expected 0, have 1 765 | y = w->clock.centerY - xchrono_round(length * cosangle), | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ MultiClock.c:39:23: note: declared here 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~~~ MultiClock.c:766:40: error: too many arguments to function 'xchrono_round'; expected 0, have 1 766 | x1 = w->clock.centerX - xchrono_round(ws + wc), | ^~~~~~~~~~~~~ ~~~~~~~ MultiClock.c:39:23: note: declared here 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~~~ MultiClock.c:767:40: error: too many arguments to function 'xchrono_round'; expected 0, have 1 767 | y1 = w->clock.centerY + xchrono_round(wc - ws)); /* 1 ---- 2 */ | ^~~~~~~~~~~~~ ~~~~~~~ MultiClock.c:39:23: note: declared here 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~~~ MultiClock.c:763:9: error: too many arguments to function 'SetSeg'; expected 0, have 5 763 | SetSeg(w, | ^~~~~~ ~ MultiClock.c:38:68: note: declared here 38 | static void clock_tic(), updateClocks(), DrawHand(), DrawSecond(), SetSeg(), DrawClockFace(); | ^~~~~~ MultiClock.c:770:40: error: too many arguments to function 'xchrono_round'; expected 0, have 1 770 | x2 = w->clock.centerX - xchrono_round(ws - wc), | ^~~~~~~~~~~~~ ~~~~~~~ MultiClock.c:39:23: note: declared here 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~~~ MultiClock.c:771:40: error: too many arguments to function 'xchrono_round'; expected 0, have 1 771 | y2 = w->clock.centerY + xchrono_round(wc + ws)); /* 2 ----- 3 */ | ^~~~~~~~~~~~~ ~~~~~~~ MultiClock.c:39:23: note: declared here 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~~~ MultiClock.c:769:9: error: too many arguments to function 'SetSeg'; expected 0, have 5 769 | SetSeg(w, x1, y1, | ^~~~~~ ~ MultiClock.c:38:68: note: declared here 38 | static void clock_tic(), updateClocks(), DrawHand(), DrawSecond(), SetSeg(), DrawClockFace(); | ^~~~~~ MultiClock.c:773:9: error: too many arguments to function 'SetSeg'; expected 0, have 5 773 | SetSeg(w, x2, y2, x, y); /* 3 ----- 1(4) */ | ^~~~~~ ~ MultiClock.c:38:68: note: declared here 38 | static void clock_tic(), updateClocks(), DrawHand(), DrawSecond(), SetSeg(), DrawClockFace(); | ^~~~~~ MultiClock.c: In function 'DrawSecond': MultiClock.c:786:13: warning: old-style function definition [-Wold-style-definition] 786 | static void DrawSecond(w, length, width, offset, fraction_of_a_circle) | ^~~~~~~~~~ MultiClock.c:809:20: error: too many arguments to function 'cos'; expected 0, have 1 809 | cosangle = cos(angle); | ^~~ ~~~~~ MultiClock.c:796:16: note: declared here 796 | double cos(); | ^~~ MultiClock.c:810:20: error: too many arguments to function 'sin'; expected 0, have 1 810 | sinangle = sin(angle); | ^~~ ~~~~~ MultiClock.c:797:16: note: declared here 797 | double sin(); | ^~~ MultiClock.c:838:39: error: too many arguments to function 'xchrono_round'; expected 0, have 1 838 | x = w->clock.centerX + xchrono_round(length * sinangle), | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ MultiClock.c:39:23: note: declared here 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~~~ MultiClock.c:839:39: error: too many arguments to function 'xchrono_round'; expected 0, have 1 839 | y = w->clock.centerY - xchrono_round(length * cosangle), | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ MultiClock.c:39:23: note: declared here 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~~~ MultiClock.c:840:35: error: too many arguments to function 'xchrono_round'; expected 0, have 1 840 | w->clock.centerX + xchrono_round(ms - wc), | ^~~~~~~~~~~~~ ~~~~~~~ MultiClock.c:39:23: note: declared here 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~~~ MultiClock.c:841:35: error: too many arguments to function 'xchrono_round'; expected 0, have 1 841 | w->clock.centerY - xchrono_round(mc + ws) ); | ^~~~~~~~~~~~~ ~~~~~~~ MultiClock.c:39:23: note: declared here 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~~~ MultiClock.c:837:9: error: too many arguments to function 'SetSeg'; expected 0, have 5 837 | SetSeg(w, | ^~~~~~ ~ MultiClock.c:38:68: note: declared here 38 | static void clock_tic(), updateClocks(), DrawHand(), DrawSecond(), SetSeg(), DrawClockFace(); | ^~~~~~ MultiClock.c:842:38: error: too many arguments to function 'xchrono_round'; expected 0, have 1 842 | SetSeg(w, w->clock.centerX + xchrono_round(offset *sinangle), | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ MultiClock.c:39:23: note: declared here 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~~~ MultiClock.c:843:35: error: too many arguments to function 'xchrono_round'; expected 0, have 1 843 | w->clock.centerY - xchrono_round(offset * cosangle), /* 2-----3 */ | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ MultiClock.c:39:23: note: declared here 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~~~ MultiClock.c:844:35: error: too many arguments to function 'xchrono_round'; expected 0, have 1 844 | w->clock.centerX + xchrono_round(ms + wc), | ^~~~~~~~~~~~~ ~~~~~~~ MultiClock.c:39:23: note: declared here 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~~~ MultiClock.c:845:35: error: too many arguments to function 'xchrono_round'; expected 0, have 1 845 | w->clock.centerY - xchrono_round(mc - ws)); | ^~~~~~~~~~~~~ ~~~~~~~ MultiClock.c:39:23: note: declared here 39 | static erase_hands(), xchrono_round(); | ^~~~~~~~~~~~~ MultiClock.c:842:9: error: too many arguments to function 'SetSeg'; expected 0, have 5 842 | SetSeg(w, w->clock.centerX + xchrono_round(offset *sinangle), | ^~~~~~ ~ MultiClock.c:38:68: note: declared here 38 | static void clock_tic(), updateClocks(), DrawHand(), DrawSecond(), SetSeg(), DrawClockFace(); | ^~~~~~ MultiClock.c: In function 'SetSeg': MultiClock.c:851:13: warning: old-style function definition [-Wold-style-definition] 851 | static void SetSeg(w, x1, y1, x2, y2) | ^~~~~~ MultiClock.c: In function 'DrawClockFace': MultiClock.c:866:13: warning: old-style function definition [-Wold-style-definition] 866 | static void DrawClockFace(w) | ^~~~~~~~~~~~~ MultiClock.c: In function 'xchrono_round': MultiClock.c:890:12: warning: old-style function definition [-Wold-style-definition] 890 | static int xchrono_round(x) | ^~~~~~~~~~~~~ MultiClock.c: In function 'SetValues': MultiClock.c:897:16: warning: old-style function definition [-Wold-style-definition] 897 | static Boolean SetValues (gcurrent, grequest, gnew) | ^~~~~~~~~ *** [MultiClock.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/time/xchrono/work/xchrono bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/time/xchrono/work/xchrono *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/time/xchrono *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/time/xchrono