WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xmailbox-2.5nb3 clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/usr/include/X11 -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNO_AUDIO -I/opt/pkg/include -c Mailbox.c Mailbox.c:267:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static GC get_mailbox_gc (w) ^ Mailbox.c:308:12: warning: passing arguments to 'CloseDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CloseDown (w, 1); ^ Mailbox.c:325:13: warning: passing arguments to 'CloseDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CloseDown (w, 1); ^ Mailbox.c:328:43: warning: passing arguments to 'GetMailFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!w->mailbox.filename) GetMailFile (w); ^ Mailbox.c:336:46: warning: passing arguments to 'ReadIconFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (w->mailbox.mail_xpmfile) ReadIconFile(w, True); ^ Mailbox.c:337:59: warning: passing arguments to 'DefaultXpmImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (w->mailbox.full[0].xpmimg == None) DefaultXpmImage(w, True); ^ Mailbox.c:340:48: warning: passing arguments to 'ReadIconFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (w->mailbox.nomail_xpmfile) ReadIconFile(w, False); ^ Mailbox.c:341:57: warning: passing arguments to 'DefaultXpmImage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (w->mailbox.empty.xpmimg == None) DefaultXpmImage(w, False); ^ Mailbox.c:290:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Initialize (request, new) ^ Mailbox.c:214:13: 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] static void Initialize(), Realize(), Destroy(), Redisplay(); ^ Mailbox.c:371:19: warning: passing arguments to 'check_mailbox' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_mailbox (w, TRUE, FALSE, TRUE); /* redraw, no reset */ ^ Mailbox.c:361:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Set (gw, event, params, nparams) ^ Mailbox.c:161:22: 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] static void Check(), Set(), Unset(), Ack(); ^ Mailbox.c:390:16: warning: passing arguments to 'check_mailbox' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_mailbox (w, TRUE, TRUE, TRUE); /* redraw, reset */ ^ Mailbox.c:382:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Ack (gw, event, params, nparams) ^ Mailbox.c:161:38: 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] static void Check(), Set(), Unset(), Ack(); ^ Mailbox.c:408:16: warning: passing arguments to 'check_mailbox' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_mailbox (w, TRUE, TRUE, FALSE); /* redraw, reset */ ^ Mailbox.c:400:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Unset (gw, event, params, nparams) ^ Mailbox.c:161:29: 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] static void Check(), Set(), Unset(), Ack(); ^ Mailbox.c:427:19: warning: passing arguments to 'check_mailbox' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_mailbox (w, TRUE, FALSE, TRUE); /* redraw, no reset */ ^ Mailbox.c:419:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Check (gw, event, params, nparams) ^ Mailbox.c:161:13: 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] static void Check(), Set(), Unset(), Ack(); ^ Mailbox.c:440:16: warning: passing arguments to 'redraw_mailbox' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] redraw_mailbox(w); ^ Mailbox.c:434:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void clock_tic_anim (client_data, id) ^ Mailbox.c:459:19: warning: passing arguments to 'check_mailbox' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_mailbox (w, FALSE, FALSE, TRUE); /* no redraw, no reset */ ^ Mailbox.c:453:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void clock_tic (client_data, id) ^ Mailbox.c:513:19: warning: passing arguments to 'check_mailbox' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_mailbox (w, TRUE, FALSE, TRUE); ^ Mailbox.c:472:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Realize (gw, valuemaskp, attr) ^ Mailbox.c:214:27: 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] static void Initialize(), Realize(), Destroy(), Redisplay(); ^ Mailbox.c:519:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Destroy (gw) ^ Mailbox.c:214:38: 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] static void Initialize(), Realize(), Destroy(), Redisplay(); ^ Mailbox.c:548:19: warning: passing arguments to 'check_mailbox' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_mailbox (w, TRUE, FALSE, TRUE); ^ Mailbox.c:543:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Redisplay (gw) ^ Mailbox.c:214:49: 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] static void Initialize(), Realize(), Destroy(), Redisplay(); ^ Mailbox.c:616:13: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] pid = fork(); ^ Mailbox.c:619: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); ^ Mailbox.c:619:5: note: include the header or explicitly provide a declaration for '_exit' Mailbox.c:634:11: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] beep(w); ^ Mailbox.c:639:35: warning: passing arguments to 'redraw_mailbox' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (force_redraw) redraw_mailbox (w); ^ Mailbox.c:552:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void check_mailbox (w, force_redraw, reset, ackonly) ^ Mailbox.c:213:13: 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] static void check_mailbox(), redraw_mailbox(), beep(); ^ Mailbox.c:663:33: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] struct passwd *pw = getpwuid (getuid ()); ^ Mailbox.c:668:17: warning: passing arguments to 'CloseDown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CloseDown (w, 1); ^ Mailbox.c:647:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void GetMailFile (w) ^ Mailbox.c:212:13: 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] static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage(); ^ Mailbox.c:680:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void CloseDown (w, status) ^ Mailbox.c:212:28: 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] static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage(); ^ Mailbox.c:695:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ReadIconFile (w, flag) ^ Mailbox.c:212:41: 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] static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage(); ^ Mailbox.c:756:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void DefaultXpmImage(w, flag) ^ Mailbox.c:212:57: 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] static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage(); ^ Mailbox.c:798:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean SetValues (gcurrent, grequest, gnew) ^ Mailbox.c:215:16: 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] static Boolean SetValues(); ^ Mailbox.c:886:30: warning: for loop has empty body [-Wempty-body] parent = XtParent(parent)); ^ Mailbox.c:886:30: note: put the semicolon on a separate line to silence this warning Mailbox.c:822:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void redraw_mailbox (w) ^ Mailbox.c:213:30: 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] static void check_mailbox(), redraw_mailbox(), beep(); ^ Mailbox.c:931:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void beep (w) ^ Mailbox.c:213:48: 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] static void check_mailbox(), redraw_mailbox(), beep(); ^ 57 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/usr/include/X11 -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNO_AUDIO -I/opt/pkg/include -c xmailbox.c xmailbox.c:76:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main (argc, argv) ^ xmailbox.c:76:1: note: change return type to 'int' void main (argc, argv) ^~~~ int xmailbox.c:81:22: warning: variable 'w' set but not used [-Wunused-but-set-variable] Widget toplevel, w; ^ xmailbox.c:76:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void main (argc, argv) ^ xmailbox.c:107:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void quit (w, event, params, num_params) ^ xmailbox.c:40:13: 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] static void quit(); ^ 5 warnings generated. rm -f xmailbox._man if test -z "" ; then cd `dirname xmailbox` && ln -s `basename xmailbox.man` `basename xmailbox._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" < xmailbox.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/\@\@$/\/' >xmailbox._man; fi rm -f xmailbox clang -o xmailbox -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib Mailbox.o xmailbox.o -L/usr/X11/lib -lXpm -lXext -lX11 -lXaw -lXt -lSM -lICE -lXmu -lXt -lSM -lICE -lXext -lX11 ld: warning: ignoring duplicate libraries: '-lICE', '-lSM', '-lX11', '-lXext', '-lXt'