Date: Mon, 29 May 2023 17:52:12 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271711] lang/sbcl: fix build with clang 16 Message-ID: <bug-271711-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271711 Bug ID: 271711 Summary: lang/sbcl: fix build with clang 16 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: krion@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: krion@FreeBSD.org Flags: maintainer-feedback?(krion@FreeBSD.org) Clang 16 has a new error about incompatible function types, which shows up when building lang/sbcl: bsd-os.c:285:50: error: incompatible function pointer types passing '__siginfohandler_t *' (aka 'void (*)(int, struct __siginfo *, void *)') to parameter of type 'interrupt_handler_t' (aka 'void (*)(int, struct __siginf= o *, struct __ucontext *)') [-Wincompati (__siginfohandler_t *) ^~~~~~~~~~~~~~~~~~~~~~ ./interrupt.h:123:64: note: passing argument to parameter 'handler' here extern void ll_install_handler(int signal, interrupt_handler_t handler); ^ Indeed the __siginfohandler_t type is incompatible, but that is caused by the cast itself, which does not seem to be good for anything. Remove it, so the mismatch is gone. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271711-7788>