WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xengine-1.0.1nb4 clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I./X11 -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c xengine.c xengine.c:42:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int xengine.c:50:14: warning: incompatible function pointer types initializing 'XtActionProc' (aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)') with an expression of type 'XtCallbackProc' (aka 'void (*)(struct _WidgetRec *, void *, void *)') [-Wincompatible-function-pointer-types] {"expose", (XtCallbackProc) redraw_callback}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xengine.c:84:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit(0); ^ xengine.c:84:5: note: include the header or explicitly provide a declaration for 'exit' xengine.c:168:18: warning: incompatible function pointer types passing 'XtTimerCallbackProc ()' (aka 'void (*())(void *, unsigned long *)') to parameter of type 'XtTimerCallbackProc' (aka 'void (*)(void *, unsigned long *)') [-Wincompatible-function-pointer-types] XtAddTimeOut(1, Cycle, NULL); ^~~~~ /Users/pbulk/build/benchmarks/xengine/work/.buildlink/include/X11/Intrinsic.h:992:35: note: passing argument to parameter here XtTimerCallbackProc /* proc */, ^ xengine.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ xengine.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] redraw_callback(w, event, params, nparams) ^ xengine.c:32:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] XtCallbackProc redraw_callback(); ^ xengine.c:190:1: warning: non-void function does not return a value [-Wreturn-type] } ^ xengine.c:220:18: warning: incompatible function pointer types passing 'XtTimerCallbackProc ()' (aka 'void (*())(void *, unsigned long *)') to parameter of type 'XtTimerCallbackProc' (aka 'void (*)(void *, unsigned long *)') [-Wincompatible-function-pointer-types] XtAddTimeOut(1, Cycle, NULL); ^~~~~ /Users/pbulk/build/benchmarks/xengine/work/.buildlink/include/X11/Intrinsic.h:992:35: note: passing argument to parameter here XtTimerCallbackProc /* proc */, ^ xengine.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Cycle(client_data, id) ^ xengine.c:221:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 11 warnings generated. rm -f xengine._man if test -z "" ; then cd `dirname xengine` && ln -s `basename xengine.man` `basename xengine._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < xengine.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >xengine._man; fi rm -f xengine clang -o xengine -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib xengine.o -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXext -lX11 -lm ld: warning: ignoring duplicate libraries: '-lICE', '-lSM', '-lX11', '-lXext', '-lXt'