[ https://issues.apache.org/jira/browse/DAEMON-463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17845282#comment-17845282 ]
Michael Osipov commented on DAEMON-463: --------------------------------------- Looking at the definition of {{siginfo_t}} from https://pubs.opengroup.org/onlinepubs/009696699/basedefs/signal.h.html we already use {{si_pid}} from the extended runtime code, so maybe it is already safe to use it? > Daemon fails to build on macOS with XCode 15.3 > ---------------------------------------------- > > Key: DAEMON-463 > URL: https://issues.apache.org/jira/browse/DAEMON-463 > Project: Commons Daemon > Issue Type: Bug > Components: Jsvc > Affects Versions: 1.3.4 > Environment: > Clang: 15.0.0 build 1500 > macOS: 14.4.1-arm64 > CLT: 15.3.0.0.1.1708646388 > Xcode: 15.3 > Rosetta 2: false > Reporter: Sean Molenaar > Priority: Major > > When building jsvc on macOS with XCode 15.3 (for Homebrew), the build fails > with the following error: > > {code:java} > jsvc-unix.c:1311:20: error: incompatible function pointer types assigning to > 'void (*)(int)' from 'void (int, siginfo_t *, void *)' (aka 'void (int, > struct __siginfo *, void *)') [-Wincompatible-function-pointer-types] 90 > act.sa_handler = controller; 91 ^ ~~~~~~~~~~ {code} > > For more details see: > https://github.com/Homebrew/homebrew-core/actions/runs/8967899390/job/24626304630 > -- This message was sent by Atlassian Jira (v8.20.10#820010)