maintainer-feedback requested: [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/>
Bugzilla Automation <[email protected]> has asked freebsd-x11 (Nobody)
<[email protected]> for maintainer-feedback:
Bug 283540: x11/libXext: Failed to build using GCC 13 due to
'-Werror=maybe-uninitialized'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283540



--- Description ---
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;
      | 		    ^~~~~
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.