WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xmailwatcher-1.6nb3 clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c xmailwatcher.c xmailwatcher.c:168:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int xmailwatcher.c:332:13: warning: passing arguments to 'timedRescan' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] timedRescan(NULL, NULL); ^ xmailwatcher.c:168: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) ^ xmailwatcher.c:341: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 iconCallback(w, client_data, call_data) ^ xmailwatcher.c:153: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 iconCallback(); ^ xmailwatcher.c:376:4: warning: call to undeclared function 'ctime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ctime(&time)); ^ xmailwatcher.c:376:4: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] ctime(&time)); ^~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ xmailwatcher.c:376:4: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] ctime(&time)); ^~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ xmailwatcher.c:447:17: warning: call to undeclared function 'ctime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] timedScan, ctime(&lastTime)); ^ xmailwatcher.c:447:17: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] timedScan, ctime(&lastTime)); ^~~~~~~~~~~~~~~~ xmailwatcher.c:454:17: warning: call to undeclared function 'ctime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] timedScan, ctime(&sb.st_mtime)); ^ xmailwatcher.c:454:17: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] timedScan, ctime(&sb.st_mtime)); ^~~~~~~~~~~~~~~~~~~ xmailwatcher.c:470:27: warning: call to undeclared function 'ctime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] timedScan, haveMail, ctime(&lastTime)); ^ xmailwatcher.c:470:27: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] timedScan, haveMail, ctime(&lastTime)); ^~~~~~~~~~~~~~~~ xmailwatcher.c:476:14: warning: call to undeclared function 'ctime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] mapped, ctime(&sb.st_mtime)); ^ xmailwatcher.c:475:17: warning: format specifies type 'unsigned int' but the argument has type 'time_t' (aka 'long') [-Wformat] timedScan, lastTime, sb.st_mtime, ^~~~~~~~ xmailwatcher.c:475:27: warning: format specifies type 'unsigned int' but the argument has type '__darwin_time_t' (aka 'long') [-Wformat] timedScan, lastTime, sb.st_mtime, ^~~~~~~~~~~ xmailwatcher.c:476:14: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] mapped, ctime(&sb.st_mtime)); ^~~~~~~~~~~~~~~~~~~ xmailwatcher.c:414: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 rescanMailbox(timedScan) ^ xmailwatcher.c:540: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 timedRescan(d, t) ^ xmailwatcher.c:150:6: 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] void timedRescan(); ^ xmailwatcher.c:549: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 listEvent(w, cd, e, ctd) ^ xmailwatcher.c:151:6: 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] void listEvent(); ^ xmailwatcher.c:575: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 iconEvent(w, cd, e, ctd) ^ xmailwatcher.c:152:6: 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] void iconEvent(); ^ 25 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c box.c box.c:151:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (a = index(from, '(')) a++; ~~^~~~~~~~~~~~~~~~~~ box.c:151:8: note: place parentheses around the assignment to silence this warning if (a = index(from, '(')) a++; ^ ( ) box.c:151:8: note: use '==' to turn this assignment into an equality comparison if (a = index(from, '(')) a++; ^ == box.c:153:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (b = index(a, ')')) *b = '\0'; ~~^~~~~~~~~~~~~~~ box.c:153:8: note: place parentheses around the assignment to silence this warning if (b = index(a, ')')) *b = '\0'; ^ ( ) box.c:153:8: note: use '==' to turn this assignment into an equality comparison if (b = index(a, ')')) *b = '\0'; ^ == box.c:155:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (b = index(a, '<')) *b = '\0'; ~~^~~~~~~~~~~~~~~ box.c:155:8: note: place parentheses around the assignment to silence this warning if (b = index(a, '<')) *b = '\0'; ^ ( ) box.c:155:8: note: use '==' to turn this assignment into an equality comparison if (b = index(a, '<')) *b = '\0'; ^ == box.c:162:7: warning: call to undeclared library function 'isgraph' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (isgraph(*b)) break; ^ box.c:162:7: note: include the header or explicitly provide a declaration for 'isgraph' box.c:171:9: warning: call to undeclared library function 'isalpha' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while (isalpha(*line)) { ^ box.c:171:9: note: include the header or explicitly provide a declaration for 'isalpha' box.c:172:11: warning: call to undeclared library function 'tolower' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] *line = tolower(*line); ^ box.c:172:11: note: include the header or explicitly provide a declaration for 'tolower' box.c:205:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] TERMINATE(from) ^~~~~~~~~~~~~~~ box.c:188:42: note: expanded from macro 'TERMINATE' #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; ~~^~~~~~~~~~~~~~~~ box.c:205:5: note: place parentheses around the assignment to silence this warning box.c:188:42: note: expanded from macro 'TERMINATE' #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; ^ box.c:205:5: note: use '==' to turn this assignment into an equality comparison box.c:188:42: note: expanded from macro 'TERMINATE' #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; ^ box.c:209:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] TERMINATE(subj) ^~~~~~~~~~~~~~~ box.c:188:42: note: expanded from macro 'TERMINATE' #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; ~~^~~~~~~~~~~~~~~~ box.c:209:5: note: place parentheses around the assignment to silence this warning box.c:188:42: note: expanded from macro 'TERMINATE' #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; ^ box.c:209:5: note: use '==' to turn this assignment into an equality comparison box.c:188:42: note: expanded from macro 'TERMINATE' #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; ^ box.c:261:3: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free((char *)namelist[i]); ^ box.c:261:3: note: include the header or explicitly provide a declaration for 'free' box.c:371:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] TERMINATE(from); ^~~~~~~~~~~~~~~ box.c:314:42: note: expanded from macro 'TERMINATE' #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; ~~^~~~~~~~~~~~~~~~ box.c:371:4: note: place parentheses around the assignment to silence this warning box.c:314:42: note: expanded from macro 'TERMINATE' #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; ^ box.c:371:4: note: use '==' to turn this assignment into an equality comparison box.c:314:42: note: expanded from macro 'TERMINATE' #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; ^ box.c:376:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] TERMINATE(subj); ^~~~~~~~~~~~~~~ box.c:314:42: note: expanded from macro 'TERMINATE' #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; ~~^~~~~~~~~~~~~~~~ box.c:376:4: note: place parentheses around the assignment to silence this warning box.c:314:42: note: expanded from macro 'TERMINATE' #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; ^ box.c:376:4: note: use '==' to turn this assignment into an equality comparison box.c:314:42: note: expanded from macro 'TERMINATE' #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; ^ 11 warnings generated. rm -f xmailwatcher._man if test -z "" ; then cd `dirname xmailwatcher` && ln -s `basename xmailwatcher.man` `basename xmailwatcher._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" < xmailwatcher.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/\@\@$/\/' >xmailwatcher._man; fi rm -f xmailwatcher clang -o xmailwatcher -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib xmailwatcher.o box.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11