From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Ponce via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70568: 30.0.50; build warnings on 'x86_64-pc-linux-gnu' Date: Thu, 25 Apr 2024 17:11:54 +0200 Message-ID: <44d83703-e398-468b-a336-2e019984b2d0@orange.fr> Reply-To: David Ponce Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20811"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: 70568@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 25 17:13:03 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 1s00mU-0005HH-Hj for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Apr 2024 17:13:02 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s00mI-000677-UQ; Thu, 25 Apr 2024 11:12:50 -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 1s00mH-00066x-Cq for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2024 11:12:49 -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 1s00mH-0001TP-3j for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2024 11:12:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s00mY-0007ZP-Js for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2024 11:13:06 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Ponce Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Apr 2024 15:13:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70568 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171405795228697 (code B ref -1); Thu, 25 Apr 2024 15:13:05 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Apr 2024 15:12:32 +0000 Original-Received: from localhost ([127.0.0.1]:32859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s00lz-0007Sc-6i for submit@debbugs.gnu.org; Thu, 25 Apr 2024 11:12:31 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:33540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s00lv-0007RG-Km for submit@debbugs.gnu.org; Thu, 25 Apr 2024 11:12:29 -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 1s00lW-0004mo-Hr for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2024 11:12:02 -0400 Original-Received: from smtp-71.smtpout.orange.fr ([80.12.242.71] helo=msa.smtpout.orange.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s00lU-0001LQ-2Z for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2024 11:12:02 -0400 Original-Received: from [192.168.1.15] ([2.7.71.181]) by smtp.orange.fr with ESMTPA id 00lOsdAIbUMqY00lOs8U2h; Thu, 25 Apr 2024 17:11:54 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.fr; s=t20230301; t=1714057914; bh=cfa6yy5CBcUIS9eGb180JRWTi0DO/vh/xCUITNX4ysA=; h=Message-ID:Date:MIME-Version:From:Subject:To; b=UQ8tq3YPkbAv8UaL7u9lrRtR58Iy9726EHk454atlYEzmJ6r/exCrgJb5U7DIT9db qEzpIG/sQ7WrPYy9vs0GkaUpkdK2fR3FKt56xLFOfOiQdJ8mdhjolex/B2JnOqbTfh 74/fvymA6F+5tiANUL9yxbHiWDDVx6Vu2IRBbjwaEnBs0VHdnNXAffiZLX/DULOa7G 2SQGlGZom3B2b4srokC8E629CAXyiUQ37UrUIBG1kyPh4Rk+yOuVGMMN7eNM2M3bir HMD+w3wvhGhWPvnwkAQp+YBGKmPwr2gfTcthdTvXpjV+ALQQGlHQpdyNScUPrXfA0n BemWyLY5aoiOA== X-ME-Helo: [192.168.1.15] X-ME-Auth: ZGFfdmlkQHdhbmFkb28uZnI= X-ME-Date: Thu, 25 Apr 2024 17:11:54 +0200 X-ME-IP: 2.7.71.181 Content-Language: fr, en-US Received-SPF: pass client-ip=80.12.242.71; envelope-from=da_vid@orange.fr; helo=msa.smtpout.orange.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:283946 Archived-At: 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