Date: Fri, 03 May 2024 00:25:08 +0000 From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 278706] multimedia/vlc: fix build with FREERDP option ON: incompatible function pointer types Message-ID: <bug-278706-12827@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278706 Bug ID: 278706 Summary: multimedia/vlc: fix build with FREERDP option ON: incompatible function pointer types Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: multimedia@FreeBSD.org Reporter: vvd@FreeBSD.org Assignee: multimedia@FreeBSD.org Flags: maintainer-feedback?(multimedia@FreeBSD.org) Attachment #250338 maintainer-approval? Flags: Flags: maintainer-feedback? Created attachment 250338 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=250338&action=edit fix build with FREERDP option ON Build log: access/rdp.c:238:39: error: incompatible function pointer types assigning to 'pDesktopResize' (aka 'int (*)(struct rdp_context *)') from 'void (rdpContext *)' (aka 'void (struct rdp_context *)') [-Wincompatible-function-pointer-types] 238 | p_instance->update->DesktopResize = desktopResizeHandler; | ^ ~~~~~~~~~~~~~~~~~~~~ access/rdp.c:239:36: error: incompatible function pointer types assigning to 'pBeginPaint' (aka 'int (*)(struct rdp_context *)') from 'void (rdpContext *)' (aka 'void (struct rdp_context *)') [-Wincompatible-function-pointer-types] 239 | p_instance->update->BeginPaint = beginPaintHandler; | ^ ~~~~~~~~~~~~~~~~~ access/rdp.c:240:34: error: incompatible function pointer types assigning to 'pEndPaint' (aka 'int (*)(struct rdp_context *)') from 'void (rdpContext *)' (aka 'void (struct rdp_context *)') [-Wincompatible-function-pointer-types] 240 | p_instance->update->EndPaint = endPaintHandler; | ^ ~~~~~~~~~~~~~~~ access/rdp.c:427:35: error: incompatible function pointer types assigning to 'pPreConnect' (aka 'int (*)(struct rdp_freerdp *)') from 'bool (freerdp *)' (aka 'bool (struct rdp_freerdp *)') [-Wincompatible-function-pointer-types] 427 | p_sys->p_instance->PreConnect = preConnectHandler; | ^ ~~~~~~~~~~~~~~~~~ access/rdp.c:428:36: error: incompatible function pointer types assigning to 'pPostConnect' (aka 'int (*)(struct rdp_freerdp *)') from 'bool (freerdp *)' (aka 'bool (struct rdp_freerdp *)') [-Wincompatible-function-pointer-types] 428 | p_sys->p_instance->PostConnect = postConnectHandler; | ^ ~~~~~~~~~~~~~~~~~~ access/rdp.c:429:37: error: incompatible function pointer types assigning to 'pAuthenticate' (aka 'int (*)(struct rdp_freerdp *, char **, char **, char **)') from 'bool (freerdp *, char **, char **, char **)' (aka 'bool (struct rdp_freerdp *, char **, char **, char **)') [-Wincompatible-function-pointer-types] 429 | p_sys->p_instance->Authenticate = authenticateHandler; | ^ ~~~~~~~~~~~~~~~~~~~ Can be "fixed" with "CFLAGS=-Wno-error=incompatible-function-pointer-types". -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278706-12827>
