c23 is stricter than previous standards Reproducible: Always Actual Results: base/fm-dummy-monitor.c:48:22: error: assignment to 'gboolean (*)(GFileMonitor *)' {aka 'int (*)(struct _GFileMonitor *)'} from incompatible pointer type 'gboolean (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 48 | fm_class->cancel = cancel; | ^ build is successful with CFLAGS="${CFLAGS} -std=gnu17"
Created attachment 910440 [details] emerge --info
Created attachment 910441 [details] build fail log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de9c0194f3adc413f96a64d072ea3a7a1dd6b1d9 commit de9c0194f3adc413f96a64d072ea3a7a1dd6b1d9 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-24 21:03:14 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-24 21:03:14 +0000 x11-libs/libfm: build w/ -std=gnu17 It's on life-support upstream, really. Closes: https://bugs.gentoo.org/944077 Signed-off-by: Sam James <sam@gentoo.org> x11-libs/libfm/libfm-1.3.2-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)