[jira] [Resolved] (DAEMON-464) struct sigaction function pointer causes build failures on LLVM 15+

2024-05-15 Thread Mark Thomas (Jira)


 [ 
https://issues.apache.org/jira/browse/DAEMON-464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Thomas resolved DAEMON-464.

Resolution: Duplicate

It would have been sufficient to add a comment to DAEMON-463

> struct sigaction function pointer causes build failures on LLVM 15+
> ---
>
> Key: DAEMON-464
> URL: https://issues.apache.org/jira/browse/DAEMON-464
> Project: Commons Daemon
>  Issue Type: Bug
>  Components: Jsvc
>Affects Versions: 1.3.4
>Reporter: Michael Osipov
>Assignee: Michael Osipov
>Priority: Major
> Fix For: 1.4.0
>
>
> Issue on FreeBSD and macOS:
> {noformat}
> svc-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  ^ ~~ 
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (DAEMON-464) struct sigaction function pointer causes build failures on LLVM 15+

2024-05-14 Thread Mark Thomas (Jira)


 [ 
https://issues.apache.org/jira/browse/DAEMON-464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Thomas resolved DAEMON-464.

Fix Version/s: (was: 1.4.0)
   Resolution: Duplicate

> struct sigaction function pointer causes build failures on LLVM 15+
> ---
>
> Key: DAEMON-464
> URL: https://issues.apache.org/jira/browse/DAEMON-464
> Project: Commons Daemon
>  Issue Type: Bug
>  Components: Jsvc
>Affects Versions: 1.3.4
>Reporter: Michael Osipov
>Assignee: Michael Osipov
>Priority: Major
>
> Issue on FreeBSD and macOS:
> {noformat}
> svc-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  ^ ~~ 
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)