[Bug 283540] x11/libXext: Failed to build using GCC 13 due to '-Werror=maybe-uninitialized'

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

            Bug ID: 283540
           Summary: x11/libXext: Failed to build using GCC 13 due to
                    '-Werror=maybe-uninitialized'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])

Building with GCC 13.3 (lang/gcc13 13.3.0) fails with:

In function 'StuffToWire',
    inlined from 'XagCreateEmbeddedApplicationGroup' at XAppgroup.c:195:5:
XAppgroup.c:146:18: error: 'stuff.black_pixel' may be used uninitialized
[-Werror=maybe-uninitialized]
  146 |         *value++ = stuff->black_pixel;
      |         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
XAppgroup.c: In function 'XagCreateEmbeddedApplicationGroup':
XAppgroup.c:171:21: note: 'stuff.black_pixel' was declared here
  171 |     struct xagstuff stuff;
      |                     ^~~~~
In function 'StuffToWire',
    inlined from 'XagCreateEmbeddedApplicationGroup' at XAppgroup.c:195:5:
XAppgroup.c:149:18: error: 'stuff.white_pixel' may be used uninitialized
[-Werror=maybe-uninitialized]
  149 |         *value++ = stuff->white_pixel;
      |         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
XAppgroup.c: In function 'XagCreateEmbeddedApplicationGroup':
XAppgroup.c:171:21: note: 'stuff.white_pixel' was declared here
  171 |     struct xagstuff stuff;
      |                     ^~~~~

-- 
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.