Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2023 22:05:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 271057] x11-toolkits/vte3: fix build with clang 16
Message-ID:  <bug-271057-6497-9xulyUjtqL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271057-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271057-6497@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-gnome (Nobody)
<gnome@FreeBSD.org> for maintainer-feedback:
Bug 271057: x11-toolkits/vte3: fix build with clang 16
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271057



--- Description ---
Clang 16 has a new error about integer values being outside the valid
range for enum types, which shows up when building x11-toolkits/vte3:

  ../src/vtepty.cc:577:16: error: integer value 234881535 is outside the va=
lid
range of values [0, 4095] for this enumeration type
[-Wenum-constexpr-conversion]
	  return GSpawnFlags(G_SPAWN_LEAVE_DESCRIPTORS_OPEN |
		 ^

Upstream already noticed this, and committed
https://gitlab.gnome.org/GNOME/vte/-/commit/9b41cd101429 as a fix, so
add this as an additional patch, until the next version is released.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271057-6497-9xulyUjtqL>