Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Sep 2022 09:34:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 266195] x11-drivers/xf86-video-vmware: 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]
Message-ID:  <bug-266195-7141-nwYBoms433@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266195-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-266195-7141@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-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-feedback:
Bug 266195: x11-drivers/xf86-video-vmware: vmwgfx_tex_video.c:240:20: error:
the comparison will always evaluate as 'true' for the address of 'yuv' will
never be NULL [-Werror=3Daddress]
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266195



--- Description ---
Updating GCC_DEFAULT from GCC 11 to GCC 12 is blocked by the fact that buil=
ding
this port with GCC 12 on i386 fails.

The error message is the following:


vmwgfx_tex_video.c: In function 'stop_video':=09=09=09=09=20=20=20=20=20=20=
=20

vmwgfx_tex_video.c:240:20: error: the comparison will always evaluate as 't=
rue'
for the address of 'yuv' will never be NULL [-Werror=3Daddress]=09=09=20=20=
=20=20=20=20=20

  240 | 	       if (priv->yuv[i]) {=09=09=09=09=20=20=20=20=20=20=20

      | 		   ^~~~


Please see also the log in the URL field. This URL might be useful to solve=
 the
issue: http://gcc.gnu.org/gcc-12/porting_to.html .



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266195-7141-nwYBoms433>