[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]

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266195

            Bug ID: 266195
           Summary: 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]
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: http://pb2.nyi.freebsd.org/data/123i386-default-foo/20
                    22-08-30_08h46m26s/logs/errors/xf86-video-vmware-13.3.
                    0_7.log
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 265948
             Flags: maintainer-feedback?([email protected])
          Assignee: [email protected]

Updating GCC_DEFAULT from GCC 11 to GCC 12 is blocked by the fact that building
this port with GCC 12 on i386 fails.

The error message is the following:


vmwgfx_tex_video.c: In function 'stop_video':                                   
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]                   
  240 |                if (priv->yuv[i]) {                                      
      |                    ^~~~


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 .


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265948
[Bug 265948] [exp-run] Update GCC_DEFAULT from 11 to 12
-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.