Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jan 2023 15:06:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        mono@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 268812] x11-toolkits/gtk-sharp20: fix build with clang 15
Message-ID:  <bug-268812-23699-vS3Ziy9nF3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268812-23699@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268812-23699@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-mono (Nobody)
<mono@FreeBSD.org> for maintainer-feedback:
Bug 268812: x11-toolkits/gtk-sharp20: fix build with clang 15
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268812



--- Description ---
During an exp-run for llvm 15 (see bug 265425), it turned out that
x11-toolkits/gtk-sharp20 failed to build with clang 15:

  windowmanager.c:113:12: error: incompatible integer to pointer conversion
assigning to 'gpointer' (aka 'void *') from 'long' [-Wint-conversion]
		  list [i] =3D data [i];
			   ^ ~~~~~~~~

This is because gdk_property_get() always returns an array of longs, and th=
ese
have to be cast to whatever the desired outcome type is.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268812-23699-vS3Ziy9nF3>