=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/xautolock", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xautolock-1.15nb3 --- xautolock.o --- --- xautolock._man --- --- xautolock.o --- 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 -DHasVoidSignalReturn -DHasVFork -DHasScreenSaver -I/opt/pkg/include -c xautolock.c --- xautolock._man --- rm -f xautolock._man if test -z "" ; then cd `dirname xautolock` && ln -s `basename xautolock.man` `basename xautolock._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" < xautolock.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/\@\@$/\/' >xautolock._man; fi --- xautolock.o --- xautolock.c:760:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | static Boolean GetInteger (arg, in) | ^ xautolock.c:611:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 611 | static Boolean GetInteger PP((String, Int*)); | ^ xautolock.c:779:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | static Boolean GetPositive (arg, pos) | ^ xautolock.c:612:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 612 | static Boolean GetPositive PP((String, Int*)); | ^ xautolock.c:809:9: warning: passing arguments to 'Usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | Usage (EXIT_SUCCESS); | ^ xautolock.c:804:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | static Boolean HelpAction (d, arg) | ^ xautolock.c:586:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 586 | static Boolean HelpAction PP((Display*, String)); | ^ xautolock.c:817:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | static Boolean VersionAction (d, arg) | ^ xautolock.c:587:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 587 | static Boolean VersionAction PP((Display*, String)); | ^ xautolock.c:831:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | static Boolean LockerAction (d, arg) | ^ xautolock.c:588:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 588 | static Boolean LockerAction PP((Display*, String)); | ^ xautolock.c:842:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | static Boolean NowLockerAction (d, arg) | ^ xautolock.c:589:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 589 | static Boolean NowLockerAction PP((Display*, String)); | ^ xautolock.c:853:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | static Boolean KillerAction (d, arg) | ^ xautolock.c:590:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 590 | static Boolean KillerAction PP((Display*, String)); | ^ xautolock.c:865:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | static Boolean NotifierAction (d, arg) | ^ xautolock.c:591:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 591 | static Boolean NotifierAction PP((Display*, String)); | ^ xautolock.c:877:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 877 | static Boolean CornersAction (d, arg) | ^ xautolock.c:592:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 592 | static Boolean CornersAction PP((Display*, String)); | ^ xautolock.c:912:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | static Boolean CornerSizeAction (d, arg) | ^ xautolock.c:593:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 593 | static Boolean CornerSizeAction PP((Display*, String)); | ^ xautolock.c:922:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | static Boolean CornerDelayAction (d, arg) | ^ xautolock.c:594:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 594 | static Boolean CornerDelayAction PP((Display*, String)); | ^ xautolock.c:940:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | static Boolean CornerReDelayAction (d, arg) | ^ xautolock.c:595:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 595 | static Boolean CornerReDelayAction PP((Display*, String)); | ^ xautolock.c:959:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | static Boolean LockTimeAction (d, arg) | ^ xautolock.c:596:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 596 | static Boolean LockTimeAction PP((Display*, String)); | ^ xautolock.c:977:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | static Boolean KillTimeAction (d, arg) | ^ xautolock.c:597:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 597 | static Boolean KillTimeAction PP((Display*, String)); | ^ xautolock.c:996:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | static Boolean NotifyAction (d, arg) | ^ xautolock.c:598:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 598 | static Boolean NotifyAction PP((Display*, String)); | ^ xautolock.c:1013:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | static Boolean BellAction (d, arg) | ^ xautolock.c:599:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 599 | static Boolean BellAction PP((Display*, String)); | ^ xautolock.c:1024:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | static Boolean SecureAction (d, arg) | ^ xautolock.c:600:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 600 | static Boolean SecureAction PP((Display*, String)); | ^ xautolock.c:1035:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | static Boolean DisableAction (d, arg) | ^ xautolock.c:602:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 602 | static Boolean DisableAction PP((Display*, String)); | ^ xautolock.c:1047:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1047 | static Boolean EnableAction (d, arg) | ^ xautolock.c:601:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 601 | static Boolean EnableAction PP((Display*, String)); | ^ xautolock.c:1059:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | static Boolean ToggleAction (d, arg) | ^ xautolock.c:603:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 603 | static Boolean ToggleAction PP((Display*, String)); | ^ xautolock.c:1071:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | static Boolean ExitAction (d, arg) | ^ xautolock.c:604:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 604 | static Boolean ExitAction PP((Display*, String)); | ^ xautolock.c:1083:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | static Boolean LockNowAction (d, arg) | ^ xautolock.c:605:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 605 | static Boolean LockNowAction PP((Display*, String)); | ^ xautolock.c:1095:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | static Boolean UnlockNowAction (d, arg) | ^ xautolock.c:606:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 606 | static Boolean UnlockNowAction PP((Display*, String)); | ^ xautolock.c:1107:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1107 | static Boolean ResetSaverAction (d, arg) | ^ xautolock.c:607:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 607 | static Boolean ResetSaverAction PP((Display*, String)); | ^ xautolock.c:1118:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1118 | static Boolean NoCloseOutAction (d, arg) | ^ xautolock.c:608:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 608 | static Boolean NoCloseOutAction PP((Display*, String)); | ^ xautolock.c:1129:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | static Boolean NoCloseErrAction (d, arg) | ^ xautolock.c:609:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 609 | static Boolean NoCloseErrAction PP((Display*, String)); | ^ xautolock.c:1140:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1140 | static Boolean NoCloseAction (d, arg) | ^ xautolock.c:610:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 610 | static Boolean NoCloseAction PP((Display*, String)); | ^ xautolock.c:1157:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | static Void LockTimeChecker (d) | ^ xautolock.c:617:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 617 | static Void LockTimeChecker PP((Display*)); | ^ xautolock.c:1177:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | static Void KillTimeChecker (d) | ^ xautolock.c:618:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 618 | static Void KillTimeChecker PP((Display*)); | ^ xautolock.c:1203:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1203 | static Void LockerChecker (d) | ^ xautolock.c:613:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 613 | static Void LockerChecker PP((Display*)); | ^ xautolock.c:1230:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | static Void NowLockerChecker (d) | ^ xautolock.c:614:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 614 | static Void NowLockerChecker PP((Display*)); | ^ xautolock.c:1257:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | static Void NotifierChecker (d) | ^ xautolock.c:616:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 616 | static Void NotifierChecker PP((Display*)); | ^ xautolock.c:1287:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | static Void KillerChecker (d) | ^ xautolock.c:615:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 615 | static Void KillerChecker PP((Display*)); | ^ xautolock.c:1310:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1310 | static Void NotifyChecker (d) | ^ xautolock.c:619:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 619 | static Void NotifyChecker PP((Display*)); | ^ xautolock.c:1338:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1338 | static Void BellChecker (d) | ^ xautolock.c:622:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 622 | static Void BellChecker PP((Display*)); | ^ xautolock.c:1366:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | static Void CornerSizeChecker (d) | ^ xautolock.c:620:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 620 | static Void CornerSizeChecker PP((Display*)); | ^ xautolock.c:1394:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1394 | static Void CornerReDelayChecker (d) | ^ xautolock.c:621:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 621 | static Void CornerReDelayChecker PP((Display*)); | ^ xautolock.c:1410:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | static Void Usage (exit_code) | ^ xautolock.c:570:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 570 | static Void Usage PP((Int)); | ^ xautolock.c:1628:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1628 | if (!(*(options[j].action)) (d, value.addr)) | ^ xautolock.c:1637:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | if (!(*(options[j].action)) (d, value.addr)) | ^ xautolock.c:1650:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1650 | && !(*(options[j].action)) (d, value.addr)) | ^ xautolock.c:1666:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1666 | (*(options[j].checker)) (d); | ^ xautolock.c:1506:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1506 | static Void ProcessOpts (d, argc, argv) | ^ xautolock.c:585:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 585 | static Void ProcessOpts PP((Display*, Int, String*)); | ^ xautolock.c:1719:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1719 | static Void AddToQueue (queue, window) | ^ xautolock.c:576:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 576 | static Void AddToQueue PP((Queue, Window)); | ^ xautolock.c:1758:18: warning: passing arguments to 'SelectEvents' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1758 | SelectEvents (d, current->window, False); | ^ xautolock.c:1742:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1742 | static Void ProcessQueue (queue, d, age) | ^ xautolock.c:577:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 577 | static Void ProcessQueue PP((Queue, Display*, time_t)); | ^ xautolock.c:1777:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1777 | static Void ProcessEvents (d, queue) | ^ xautolock.c:574:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 574 | static Void ProcessEvents PP((Display*, Queue)); | ^ xautolock.c:1830:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1830 | static Void QueryIdleTime (d, use_xidle) | ^ xautolock.c:572:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 572 | static Void QueryIdleTime PP((Display*, Bool)); | ^ xautolock.c:1871:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1871 | static Void QueryPointer (d) | ^ xautolock.c:573:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 573 | static Void QueryPointer PP((Display*)); | ^ xautolock.c:2156:28: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 2156 | switch (locker_pid = vfork ()) | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ xautolock.c:2002:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2002 | static Void EvaluateTriggers (d) | ^ xautolock.c:571:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 571 | static Void EvaluateTriggers PP((Display*)); | ^ xautolock.c:2255:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2255 | static Int CatchFalseAlarm (d, event) | ^ xautolock.c:584:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 584 | static Int CatchFalseAlarm PP((Display*, XErrorEvent)); | ^ xautolock.c:2376:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2376 | static Void GetAtoms (d) | ^ xautolock.c:2403:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2403 | static Void LookForMessages (d) | ^ xautolock.c:2478:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2478 | static Void CheckConnectionAndSendMessage (d) | ^ xautolock.c:579:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 579 | static Void CheckConnectionAndSendMessage | ^ xautolock.c:2588:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2588 | static Void SelectEvents (d, window, substructure_only) | ^ xautolock.c:578:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 578 | static Void SelectEvents PP((Display*, Window, Boolean)); | ^ xautolock.c:2675:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2675 | Int Main (argc, argv) | ^ xautolock.c:452:36: note: expanded from macro 'Main' 452 | #define Main main | ^ 106 warnings generated. --- xautolock --- rm -f xautolock clang -o xautolock -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib xautolock.o -lXss -lXext -lX11