From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.bugs Subject: bug#21953: Eliminate warnings in the emacs-25 release branch Date: Wed, 18 Nov 2015 18:06:34 -0800 Message-ID: References: <081tbn5g02.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447898922 16131 80.91.229.3 (19 Nov 2015 02:08:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Nov 2015 02:08:42 +0000 (UTC) Cc: Richard Stallman , 21953@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 19 03:08:25 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZzEe6-0003WR-Tl for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Nov 2015 03:08:23 +0100 Original-Received: from localhost ([::1]:39160 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzEe6-0003y1-Ex for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Nov 2015 21:08:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzEdx-0003tY-6l for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2015 21:08:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzEdn-0000iu-Vb for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2015 21:08:13 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzEdn-0000if-Oz for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2015 21:08:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZzEdn-0000Cj-Bf for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2015 21:08:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: John Wiegley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Nov 2015 02:08:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21953 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21953-submit@debbugs.gnu.org id=B21953.1447898841674 (code B ref 21953); Thu, 19 Nov 2015 02:08:03 +0000 Original-Received: (at 21953) by debbugs.gnu.org; 19 Nov 2015 02:07:21 +0000 Original-Received: from localhost ([127.0.0.1]:43922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzEd6-0000Aj-N5 for submit@debbugs.gnu.org; Wed, 18 Nov 2015 21:07:20 -0500 Original-Received: from mail-pa0-f48.google.com ([209.85.220.48]:36543) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzEcU-00008i-N0 for 21953@debbugs.gnu.org; Wed, 18 Nov 2015 21:07:01 -0500 Original-Received: by pacdm15 with SMTP id dm15so63647763pac.3 for <21953@debbugs.gnu.org>; Wed, 18 Nov 2015 18:06:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version:content-type; bh=tlrJ5sX7S8vePgTaw+H3cPS5B0nEKb5Wch5C/ogUdkM=; b=b24yPZoCREyhOzlOzHCt57QHE0kAiKIB5Kb+afwLUpNocrVxP6dL/gzhplKLKJxkdt wnXD6MKavBc3bRiEk68C5HcZF0rLrTs/8gU8Gc94DJzfKC1PXCJNCpGpfHJZbGcVJRMW fDKt9EQufmoAg1RQbv/0q/8N0S14/8liONizHcojGwHh+Af+IvOfDebYGUWu7OsrG2j+ eT7cDJLB/QUnjZCpNYkVGX63RRIWP5aSMdrvjdWJOE6JQl90exknFd4kMVzQw8FO0YKg ctnwbvKzJumtp//0A+CNDr0K6YK+r0jltY/poNvB+oHG4YQJt5RE9xjElDpAUp7wX+vH PQFQ== X-Received: by 10.68.165.97 with SMTP id yx1mr6831940pbb.55.1447898801788; Wed, 18 Nov 2015 18:06:41 -0800 (PST) Original-Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id hy1sm6639262pbb.63.2015.11.18.18.06.39 (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 18 Nov 2015 18:06:39 -0800 (PST) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id 563D9109F5D0C; Wed, 18 Nov 2015 18:06:39 -0800 (PST) In-Reply-To: <081tbn5g02.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 18 Nov 2015 13:17:33 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108898 Archived-At: >>>>> Glenn Morris writes: > Sorry, but I have to say that I think this goal is firstly unachievable, and > secondly won't make the release any better. In fact probably the opposite, > by distracting from more important issues. I've never worked on a project where getting to warning free was not both achievable, and a good idea. For example, at one point the Borland C++ compiler had over 4,000 warnings. As such, every one of them was completely ignored. Later on, after much effort, we reduced that number to zero. While doing so, we discovered that a crash bug we'd been working for _days_ was loudly pointed out to us by the compiler in that same set of warnings. Had the warnings been "real" to us, it would have saved days of developer time, on several occasions. It's worth the effort. Having enough warnings that they no longer warn of anything is pretty much the same as turning them off. That's why I don't accept the "it's too hard" argument. If it adds another month or two to our release cycle, so be it. Emacs 25.1 is the time to get them under control. Some warnings are not wise to fix, and these should be silenced; but such decisions should be made either by class within a package, or individually. John