[Bug 272209] x11/xdm: error: incompatible function pointer types (LLVM16)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 25 Jun 2023 17:37:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272209

            Bug ID: 272209
           Summary: x11/xdm: error: incompatible function pointer types
                    (LLVM16)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: ohartmann@walstatt.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@FreeBSD.org

Host: FreeBSD 14.0-CURRENT #2 main-n263789-f190c36b5d45: Sun Jun 25 14:46:00
CEST 2023 amd64

Compiling x11/xdm fails with the following error:

[...]
greet.c:451:20: error: incompatible function pointer types assigning to 'void
(*)(void)' from 'int (*)(void)' [-Wincompatible-function-pointer-types]
    __xdm_setgrent = dlfuncs->_setgrent;
                   ^ ~~~~~~~~~~~~~~~~~~
1 error generated.
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.