From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.devel Subject: --enable-check-lisp-object-type lisp.h warnings Date: Fri, 30 Sep 2022 09:16:06 -0700 Message-ID: <87edvskfcp.fsf@melete.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2162"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 30 18:20:08 2022 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 1oeIk9-0000JF-OQ for ged-emacs-devel@m.gmane-mx.org; Fri, 30 Sep 2022 18:20:07 +0200 Original-Received: from localhost ([::1]:58886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeIk8-0005To-4c for ged-emacs-devel@m.gmane-mx.org; Fri, 30 Sep 2022 12:20:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeIgP-0003nC-Qv for emacs-devel@gnu.org; Fri, 30 Sep 2022 12:16:13 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:53841) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeIgO-0007nd-06 for emacs-devel@gnu.org; Fri, 30 Sep 2022 12:16:13 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 310BA5C004E for ; Fri, 30 Sep 2022 12:16:08 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 30 Sep 2022 12:16:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t= 1664554568; x=1664640968; bh=3DnoWHYscvKa5SWM8cncou1p2NODKjN3TsJ RaBbN7/k=; b=FjCBVT/+Lsp8YLupFJuWN2hxq8kSZ0wDotwCkfBZf3Bx+03NdJz 3h9LeXsH9S6lrnObHJiF8xkkklmuaOs+uMYlGGV0+i3zemZNk6eZEl/B5CBKb3K6 7Q5St2A2cuDgqBZZ8w+c9ZDq6gfYeg+de6Y8GG8GPoEKcUX6hCuhFhvXzYXlvjEa i7L9+FyFi1lUTFmYiRTth0ZRXadlIkXZHubSog0el3gEGtq+Otf49IUEkfPJLM29 8vQQ+5LlSrJohCCiufRSuztjUFH3JGeAhV3KH7hO5oHJnE0yC2e4ydoNdnPGmMjT kNoiiWAM17lQNbBdpxqquwmfLyjPNoCpHOQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1664554568; x= 1664640968; bh=3DnoWHYscvKa5SWM8cncou1p2NODKjN3TsJRaBbN7/k=; b=S YOhk00Zpf7EyL8lvtnRQbJ6asrwIysaIl6Ce5hwS0rIYs9LLwqzM+KletubbGxOf x5hTeXTrpZ9NjzAjfLGyeMTuicNFqPUu4RxmjcL6KVrU7Vs0mYMh3nqmWBXRvNES IK6H5fPY4xLkaD6czTlmm7tUvDZym2yWE0p5kTmfeU9ZZfeg7MKEMVcrCp1Imc/Z MSJKqh+W+ncDSU28Qt2B14S29RqjRWwE6QxYN/7q2j8CQevSo2prx5Lx06kWFyVR jAhHbNkM9jnNTCgpoCH7RVm8f7GIjcn5I02utDmFWJzPtABXieNJl6a989RU8c5d LZdr+GOf1kcMKvS3nhahg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeehvddgleekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkfgggtgesthdttddttd ertdenucfhrhhomhepufgvrghnucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhp fihhihhtthhonhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeffgfehgefggfehuedvte fhkedutdfggfdtueekgeektdetffdtgefhvdfgtdejleenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhith htohhnrdhnrghmvg X-ME-Proxy: Feedback-ID: i23c04076:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 30 Sep 2022 12:16:07 -0400 (EDT) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id C9A1D7E513D; Fri, 30 Sep 2022 09:16:06 -0700 (MST) Received-SPF: pass client-ip=66.111.4.28; envelope-from=spwhitton@spwhitton.name; helo=out4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=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: 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" Xref: news.gmane.io gmane.emacs.devel:296528 Archived-At: Hello, There was a thread about this in April but I don't believe any conclusion was reached about these particular warnings: lisp.h:409:38: warning: potential null pointer dereference [-Wnull-dereference] 409 | #define lisp_h_XCAR(c) XCONS (c)->u.s.car | ~~~~~~~~~~~~~~^~~~ lisp.h:1498:10: note: in expansion of macro 'lisp_h_XCAR' 1498 | return lisp_h_XCAR (c); | ^~~~~~~~~~~ lisp.h:409:38: warning: potential null pointer dereference [-Wnull-dereference] 409 | #define lisp_h_XCAR(c) XCONS (c)->u.s.car | ~~~~~~~~~~~~~~^~~~ I hope that it is okay to ask about this again without being able to propose a patch -- does anyone know if these are real bug, or if not, how to silence them? At present I have to mentally subtract 2 from the number of warnings *Compilation* shows, and you know how those of us who have studied Maths at university are with mental arithmetic. -- Sean Whitton