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#61730: 30.0.50; Compiler warnings for delq and delete Date: Sat, 25 Feb 2023 15:25:56 +0200 Message-ID: <835ybplvvf.fsf@gnu.org> References: <87ilfsisje.fsf@web.de> <670D8E4A-333D-4E2D-97CC-86728965989D@gmail.com> <83a613np4p.fsf@gnu.org> <87fsavf688.fsf@web.de> <83k006kvv6.fsf@gnu.org> <87k005gbys.fsf@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4706"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mattias.engdegard@gmail.com, 61730@debbugs.gnu.org, rms@gnu.org, monnier@iro.umontreal.ca To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 25 14:27:31 2023 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 1pVuaH-0000xM-RO for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Feb 2023 14:27:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVuZr-0007DE-LE; Sat, 25 Feb 2023 08:27:03 -0500 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 1pVuZq-0007Cg-F5 for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2023 08:27:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVuZq-0000jb-6C for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2023 08:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVuZq-0007Co-1r for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2023 08:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Feb 2023 13:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61730 X-GNU-PR-Package: emacs Original-Received: via spool by 61730-submit@debbugs.gnu.org id=B61730.167733158427652 (code B ref 61730); Sat, 25 Feb 2023 13:27:02 +0000 Original-Received: (at 61730) by debbugs.gnu.org; 25 Feb 2023 13:26:24 +0000 Original-Received: from localhost ([127.0.0.1]:39349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVuZE-0007Bw-6k for submit@debbugs.gnu.org; Sat, 25 Feb 2023 08:26:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVuZC-0007Bj-Or for 61730@debbugs.gnu.org; Sat, 25 Feb 2023 08:26:23 -0500 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 1pVuZ1-0000Vi-Ms; Sat, 25 Feb 2023 08:26:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KvQh4DgC6u/Brg6ODFGlVpm1VHRyjoBMtTZGrGUZNXM=; b=GMXvZbYEgeCI N4SFCsasUUtGf2w8OJjvGNoxgTEHo3aU5azsfbRh5AqCFNIoscQP9yB0lJ7EYl9aWO8Da4FZUjPj6 FEhCILXLGI3b88tK/j74DAgz0rEX2hI07cojGN0LKIbZEobmNbJoTaZogMok+7K1fu0SBy1o+Matt cgJ+TCKpi50erZ8zo5sE+i6y7IoCgktSUcXJ2x6C62yfaFztlmcHFKMFx8IXk3T9l2mteBNqtWpdy rg3ssS97M2LROpYcyzVVM7v3n7Shnzn3tjYev3ALQ2P/VtTu1DYR55Gj1Rsp8v+hKDMjmso4IC6mz uB0ZfTVHzJRKXFYLDCuhag==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVuYj-00048D-FO; Sat, 25 Feb 2023 08:25:57 -0500 In-Reply-To: <87k005gbys.fsf@web.de> (message from Michael Heerdegen on Sat, 25 Feb 2023 13:34:51 +0100) 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:256719 Archived-At: > From: Michael Heerdegen > Cc: rms@gnu.org, mattias.engdegard@gmail.com, 61730@debbugs.gnu.org, > monnier@iro.umontreal.ca > Date: Sat, 25 Feb 2023 13:34:51 +0100 > > Eli Zaretskii writes: > > > In Emacs maintenance and development, the two cases are actually one. > > We rebuild Emacs so frequently that even a "rare" warning appears all > > the time and is annoying. It is not a coincidence that we usually > > don't tolerate warnings during the build of Emacs. > > What's your opinion about the case of non-destructive functions - is it > ok if we would always warn about thrown away return values of calls of > them? What are "non-destructive functions" in this context?