[Bug 268812] x11-toolkits/gtk-sharp20: fix build with clang 15
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-feedback requested: [Bug 268812] x11-toolkits/gtk-sharp20: fix build with clang 15"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268812] x11-toolkits/gtk-sharp20: fix build with clang 15"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268812] x11-toolkits/gtk-sharp20: fix build with clang 15"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268812] x11-toolkits/gtk-sharp20: fix build with clang 15"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268812] x11-toolkits/gtk-sharp20: fix build with clang 15"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 07 Jan 2023 15:06:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268812
Bug ID: 268812
Summary: x11-toolkits/gtk-sharp20: fix build with clang 15
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: mono@FreeBSD.org
Reporter: dim@FreeBSD.org
Flags: maintainer-feedback?(mono@FreeBSD.org)
Assignee: mono@FreeBSD.org
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] = data [i];
^ ~~~~~~~~
This is because gdk_property_get() always returns an array of longs, and these
have to be cast to whatever the desired outcome type is.
--
You are receiving this mail because:
You are the assignee for the bug.