maintainer-approval requested: [Bug 266195] x11-drivers/xf86-video-vmware: Fails to build with GCC 12: vmwgfx_tex_video.c:240:20: error: the comparison will always evaluate as 'true' for the address of 'yuv' will never be NULL [-Werror=address] : [Attachment 237127] require-gcc11

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 06 Oct 2022 20:33:06 UTC
Lorenzo Salvadore <salvadore@freebsd.org> has asked freebsd-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-approval:
Bug 266195: x11-drivers/xf86-video-vmware: Fails to build with GCC 12:
vmwgfx_tex_video.c:240:20: error: the comparison will always evaluate as 'true'
for the address of 'yuv' will never be NULL [-Werror=address]
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266195

Attachment 237127: require-gcc11
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237127&action=edit



--- Comment #2 from Lorenzo Salvadore <salvadore@freebsd.org> ---
Created attachment 237127
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237127&action=edit
require-gcc11

I am uploading a patch to require GCC 11 instead of a generic GCC version so
that the bug does not block the GCC default version update anymore.

Can someone approve it please?