Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Dec 2024 06:20:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 283540] x11/libXext: Failed to build using GCC 13 due to '-Werror=maybe-uninitialized'
Message-ID:  <bug-283540-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283540

            Bug ID: 283540
           Summary: x11/libXext: Failed to build using GCC 13 due to
                    '-Werror=3Dmaybe-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=3Dmaybe-uninitialized]
  146 |         *value++ =3D 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=3Dmaybe-uninitialized]
  149 |         *value++ =3D stuff->white_pixel;
      |         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
XAppgroup.c: In function 'XagCreateEmbeddedApplicationGroup':
XAppgroup.c:171:21: note: 'stuff.white_pixel' was declared here
  171 |     struct xagstuff stuff;
      |                     ^~~~~

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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