[Bug 283540] x11/libXext: Failed to build using GCC 13 due to '-Werror=maybe-uninitialized'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Dec 2024 06:20:38 UTC
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: x11@FreeBSD.org Reporter: msl0000023508@gmail.com Assignee: x11@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) 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.