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.bugs Subject: bug#70568: 30.0.50; build warnings on 'x86_64-pc-linux-gnu' Date: Sat, 27 Apr 2024 12:37:45 +0300 Message-ID: <86bk5vw3h2.fsf@gnu.org> References: <44d83703-e398-468b-a336-2e019984b2d0@orange.fr> 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="14693"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70568@debbugs.gnu.org To: David Ponce , Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 27 11:39:07 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1s0eWR-0003bH-AZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Apr 2024 11:39:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0eW7-0002T9-IQ; Sat, 27 Apr 2024 05:38: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 1s0eW5-0002Sg-Ie for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2024 05:38:45 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s0eW5-0006go-AY for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2024 05:38:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s0eWN-0002Qi-Vq for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2024 05:39:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Apr 2024 09:39:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70568 X-GNU-PR-Package: emacs Original-Received: via spool by 70568-submit@debbugs.gnu.org id=B70568.17142106988755 (code B ref 70568); Sat, 27 Apr 2024 09:39:03 +0000 Original-Received: (at 70568) by debbugs.gnu.org; 27 Apr 2024 09:38:18 +0000 Original-Received: from localhost ([127.0.0.1]:38941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0eVb-0002Gp-Rd for submit@debbugs.gnu.org; Sat, 27 Apr 2024 05:38:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0eVZ-0002FC-NZ for 70568@debbugs.gnu.org; Sat, 27 Apr 2024 05:38:15 -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 1s0eVA-0006Uu-L0; Sat, 27 Apr 2024 05:37:48 -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=p5bY+tNQSiJz+754VwQKyxZHmLEpbmLYu/OBBJCEpas=; b=l0oNYjTtyJkv5uTFwhNP QxbLr/czbmdBABnvtW8y4pZnMBcLqhrI+W/g5Mm/sgDl0LEZWp1Q1+jTgTxazWr3zqQhWBgb36tED PWP9Ka11aMt3rO8bFR9E8svTmc2fpKH/QSyA04K+Ieg6mx43HwUjece9Iy2xyDhcOZJ8VTVNJQbf1 9Zi+b4/iEgAJybjRrqjV4bGL7VYesPjgT6knarvhoTTkbGb/xKhDrIQsEktvuFx0WyDB3//e2NvNB mk1CPRGIchkEB9Vq64sYEtMHXvkTaVx5qtgyWCDRkecfIIBiyXrzyIwK0n0cv/N7orA2CLXqGaWYF SgTFr6Q9wbV7zA==; In-Reply-To: <44d83703-e398-468b-a336-2e019984b2d0@orange.fr> (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284030 Archived-At: > Date: Thu, 25 Apr 2024 17:11:54 +0200 > From: David Ponce via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Hello, > > When I build Emacs configured for 'x86_64-pc-linux-gnu' on Fedora 39 with gcc 13.2.1 > the below warnings are reported: > > > 1) ./configure --with-x-toolkit=lucid --with-native-compilation=no > > .. > CC xterm.o > xterm.c: In function ‘x_alloc_nearest_color_1’: > xterm.c:9374:27: warning: potential null pointer dereference [-Wnull-dereference] > 9374 | if (dpyinfo->visual_info.class == DirectColor) > | ~~~~~~~~~~~~~~~~~~~~^~~~~~ > xterm.c:9374:27: warning: potential null pointer dereference [-Wnull-dereference] > ... > CC eval.o > In file included from eval.c:25: > lisp.h: In function ‘internal_lisp_condition_case’: > lisp.h:1129:15: warning: variable ‘sym’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] > 1129 | Lisp_Object sym = XSYMBOL_WITH_POS (a)->sym; > | ^~~ > eval.c:1413:43: warning: argument ‘var’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] > 1413 | internal_lisp_condition_case (Lisp_Object var, Lisp_Object bodyform, > | ~~~~~~~~~~~~^~~ > ... > > 2) ./configure --with-x-toolkit=gtk3 --with-cairo-xcb --with-native-compilation=no > > ... > CC eval.o > In file included from eval.c:25: > lisp.h: In function ‘internal_lisp_condition_case’: > lisp.h:1129:15: warning: variable ‘sym’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] > 1129 | Lisp_Object sym = XSYMBOL_WITH_POS (a)->sym; > | ^~~ > eval.c:1413:43: warning: argument ‘var’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] > 1413 | internal_lisp_condition_case (Lisp_Object var, Lisp_Object bodyform, > | ~~~~~~~~~~~~^~~ > ... > > > In both cases (Lucid, gtk3) the reported warnings don't seem to affect run. > Thanks Paul, are those real warnings, or just false alarms?