From nobody Sun Dec 22 07:39:23 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YGChq56zzz5jCnc for ; Sun, 22 Dec 2024 07:39:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YGChq27mZz4btN for ; Sun, 22 Dec 2024 07:39:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734853163; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8dPpjT+0lAFYiaUxdyQIKsaRUNVCC4pWV14RN9SCa8Y=; b=M8tA17Hg6/ZCsdbEB91KHTb8pFx0XnD07HGpSTvI1QaAcgrI4K5Ck3P2795w7Hy7j023AO 0zwuuvNgFQ8sdpstjPcDIwGV5va+l8ffWg+P5+WAoZZ/zdz51z5Tp4wCal2P1umaw9HaZg gj9PtasMYje4VXjwo2AxWdvz4URp7FO2KJ3TDrEMZaCRPkegBy7/oJuOj4f019uNgU42le Txk6QO8wOe5lFyi2ezs7o6qPIo1syDIxttg1TFaQhbk4RR4VVLdhpLwXO3sCRanaiVg74h 2Y5pROo61mXSAPptdepHJ3o13KMwHJds9+B3c5z8XdHKnSjCKTGGsXZeY2FliA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734853163; a=rsa-sha256; cv=none; b=ktks1jzkydOHvBfpS9LTNQwXihLlcaERJOlbzYxZs3+ptmHDjYWonD3LMli3yQtKSOEDN/ mMA5YhlOu5XCQUQjODm5rC5bgjeqE+sdasH/CX7hxkzb0fzinvPaQG1Av/wyr9x1QkyUYI WnDwqw+R0CKqf+8nclSjGbkZpntIyov9dqnp0iXoPK2suABOeZooSqP+Zd5S5APDqplLj4 gasjRVdn2eAGvuSjQOiVGRubE1TQbLvTYU7996Qwlnp1jSwLEYtCQJqanIOf/ayCT/JtDa iviLYh5IPcbsSEMyQF745un2b8VOV4lMCiBZv8rNT8ZlSwGHsp7hMjiYoPyqWQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YGChq1cr3zypS for ; Sun, 22 Dec 2024 07:39:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BM7dNU3039873 for ; Sun, 22 Dec 2024 07:39:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BM7dNYl039872 for ports-bugs@FreeBSD.org; Sun, 22 Dec 2024 07:39:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 283486] x11/libX11: Failed to build using GCC 13 due to '-Werror=maybe-uninitialized' Date: Sun, 22 Dec 2024 07:39:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: msl0000023508@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.mimetype attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283486 Bug ID: 283486 Summary: x11/libX11: 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) Attachment #256036 text/plain mime type: Created attachment 256036 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D256036&action= =3Dedit x11/libX11/files/patch-src-Font.c Building with GCC 13.3 (lang/gcc13 13.3.0) fails with: ../include/X11/Xlibint.h:680:34: error: 'nbytes' may be used uninitialized [-Werror=3Dmaybe-uninitialized] 680 | #define _XRead16(dpy, data, len) _XRead((dpy), (char *)(data), (len= )) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~ Font.c:283:9: note: in expansion of macro '_XRead16' 283 | _XRead16 (dpy, (char *)fs->per_char, nbytes); | ^~~~~~~~ Font.c:190:19: note: 'nbytes' was declared here 190 | unsigned long nbytes; | ^~~~~~ --=20 You are receiving this mail because: You are the assignee for the bug.=