maintainer-feedback requested: [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
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-feedback:
Bug 272209: x11/xdm: error: incompatible function pointer types (LLVM16)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272209



--- Description ---
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