From nobody Sun Dec 22 07:39:23 2024 X-Original-To: x11@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 4YGChq2ncTz5jCTq 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 4YGChp707lz4btM for ; Sun, 22 Dec 2024 07:39:22 +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: in-reply-to:in-reply-to:references:references; bh=ARi6tBXfnJltX8IHpukZN3TXmop3Nm9bPgt0mKCfctE=; b=omIc8q3CpsgU9D7C9YbWQhFz1hE9XtHar05BAxD472yW/kd6Y2PBIDM4eZ4MfTJB5Rw6l8 8UihAU+yOPdfkCuhsk6mRRR1EPda7rHWMXEIwoTkSOn+pjkY07WE2GUZ9h4hDR6yPKDiqY Y9ONT4r6bEDffpkPiPuAQXD1RArCGmw1I31G1hnSBtdLZdtxMx1Zcste7ZRQLjwoALAOcL B/1q6whwTpMJaxkp1WAd911gruC5DpMMBW4yLHpzaCEnCiWWsItf124Ix4el1Yo1lhdxpu mgokqGBefbp2UNAqkbpUCCxxIa5id2TOiDfkxqFcP4uzirBPsG8AzCMsJuRckA== 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=bFWocCcMB7vl2GXb9CMw99LeAJNkfZv2e5oKiO2S7Kj/2f95B26eW3eKVQgJdyJXHH56dV srywMzmn9FUrykEzowvsUeFqUJ4hBavYU0DG5CXjdDWlCwj80qLvR5BboZBKxwj/rtVEN7 tjjT5MXHqJFCr5fzqX34cGMFKhk2EGrcWay4becOfBtvYL2/75OS9CGRCt8aocdGBky8Ao In9W8ejTi+lKJgjduUS0c9iZJQEL3Jo+TIF5aFtUKOXbmJQxvCIICOmtPbrsqWuBYc/9FY mqEhN2gpA7wP2awVEs0+VsP5sxBri36ZNp9ZWF4No0CASQ0j8Y2q/BpcmwPWog== 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 4YGChp6bnzz10VG for ; Sun, 22 Dec 2024 07:39:22 +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 4BM7dMbA039865 for ; Sun, 22 Dec 2024 07:39:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BM7dMlb039864 for x11@FreeBSD.org; Sun, 22 Dec 2024 07:39:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [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-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-x11@freebsd.org Sender: owner-freebsd-x11@FreeBSD.org MIME-Version: 1.0 Bugzilla Automation has asked freebsd-x11 (Nobody) for maintainer-feedback: Bug 283486: x11/libX11: Failed to build using GCC 13 due to '-Werror=3Dmaybe-uninitialized' https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283486 --- Description --- 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; | ^~~~~~