From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: "Final" version of tty child frames Date: Tue, 22 Oct 2024 13:20:10 +0300 Message-ID: <86o73cfnhh.fsf@gnu.org> References: <86wmi0g0x6.fsf@gnu.org> <4a4cb10e-fe30-4830-b5fe-93d075e12479@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31770"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, jared@finder.org, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 22 12:21:33 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t3C16-000808-KE for ged-emacs-devel@m.gmane-mx.org; Tue, 22 Oct 2024 12:21:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3C0N-0006Ce-KC; Tue, 22 Oct 2024 06:20:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3C0M-0006CV-11 for emacs-devel@gnu.org; Tue, 22 Oct 2024 06:20:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3C0K-0005Y0-5x; Tue, 22 Oct 2024 06:20:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=amlvpMrIxLozEGzYDzgIb9OTt672h7aZseBebVql2Js=; b=g2ReyNDfKssWONNkV45Y B0EnTi/CI44o8WhNEpl1IZj2fJAt3wnvYnpui5n8UpGwmiRYuyPXBi3hyORTSlfSlP9nfL7HDlKKu uaQveUedGxawu8D7yMxESduhL23E74EW8GIDP2i2kIT6w6CC/R/IQe2vts9r84yYzr/Y/OJ9H+B1O aJRWuwG4PnDm72wJNvvZVSBe3uaacy7bBDmg1f5E5E8XHd+Bxy1fCkjObLuHVClgfR51SCuLGh5RG 1jcGsDMtIRWynNWHhi7fXuOjxiWZsjX+OYrF2imusk2bRI1yMXUxZ/97ARozlo5U8LovIpYAPMfop fgsaUWB2XQ9m3Q==; In-Reply-To: <4a4cb10e-fe30-4830-b5fe-93d075e12479@gmx.at> (message from martin rudalics on Tue, 22 Oct 2024 11:58:59 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:324727 Archived-At: > Date: Tue, 22 Oct 2024 11:58:59 +0200 > Cc: emacs-devel@gnu.org > From: martin rudalics > > Building complains here as > > In file included from ../../src/term.c:30: > ../../src/lisp.h: In function ‘Ftty_display_pixel_height’: > ../../src/lisp.h:406:24: warning: ‘height’ may be used uninitialized [-Wmaybe-uninitialized] > 406 | XIL ((EMACS_INT) (((EMACS_UINT) (n) << INTTYPEBITS) + Lisp_Int0)) > | ^ > ../../src/term.c:4907:14: note: ‘height’ was declared here > 4907 | int width, height; > | ^~~~~~ > ../../src/lisp.h: In function ‘Ftty_display_pixel_width’: > ../../src/lisp.h:406:24: warning: ‘width’ may be used uninitialized [-Wmaybe-uninitialized] > 406 | XIL ((EMACS_INT) (((EMACS_UINT) (n) << INTTYPEBITS) + Lisp_Int0)) > | ^ > ../../src/term.c:4896:7: note: ‘width’ was declared here > 4896 | int width, height; > | ^~~~~ I attempted to fix this, please see if the warnings are gone.