From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#21953: Eliminate warnings in the emacs-25 release branch Date: Fri, 20 Nov 2015 01:26:47 +0100 Message-ID: References: <081tbn5g02.fsf@fencepost.gnu.org> <564E0708.8090600@yandex.ru> <83a8q998oe.fsf@gnu.org> <8337w191ny.fsf@gnu.org> <83twoh7lwl.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113fafd2a7bc1b0524edf07d X-Trace: ger.gmane.org 1447979305 13979 80.91.229.3 (20 Nov 2015 00:28:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2015 00:28:25 +0000 (UTC) Cc: John Wiegley , dgutov@yandex.ru, Richard Stallman , 21953@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 20 01:28:11 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 1ZzZYg-0006ly-TS for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Nov 2015 01:28:11 +0100 Original-Received: from localhost ([::1]:44732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzZYf-0001gz-Sh for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Nov 2015 19:28:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzZYc-0001gu-8R for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2015 19:28:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzZYY-0005Lz-78 for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2015 19:28:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzZYY-0005Lp-3l for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2015 19:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZzZYX-0007Bx-Nk for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2015 19:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Nov 2015 00:28:01 +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.144797925127583 (code B ref 21953); Fri, 20 Nov 2015 00:28:01 +0000 Original-Received: (at 21953) by debbugs.gnu.org; 20 Nov 2015 00:27:31 +0000 Original-Received: from localhost ([127.0.0.1]:45346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzZY2-0007Ap-Li for submit@debbugs.gnu.org; Thu, 19 Nov 2015 19:27:30 -0500 Original-Received: from mail-lf0-f42.google.com ([209.85.215.42]:32801) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzZXz-0007Af-Qp for 21953@debbugs.gnu.org; Thu, 19 Nov 2015 19:27:28 -0500 Original-Received: by lfaz4 with SMTP id z4so59197576lfa.0 for <21953@debbugs.gnu.org>; Thu, 19 Nov 2015 16:27:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=j59CdVE1raSWoKZNdWpKTbpKO1kzH0wjs0ri2BZz9D0=; b=JXVNfUUKn527lTZDTWmuFWlH2CpKD4sTBqAN6QmGsRhRksJhKIPdGOA3asQ7dvWg/Y Wno/Zn0axoJ2De61JaFg+UUgbCHe70q+qMr1oHnf5loDrBWrj8rnvjcqar1Ka3RzteIe 5j5wzkvra5B8WiMVSbt+nO2njO97s3ixA0B4PJpjsAF+zZc5mFcBU27yGXyuGr3wSpMl Ui0LB/3yEHgHMetxqi0mmv01HEHCo4POhWrqacleyU3Dt35/WvmfD6aOedp3dQv30sQf uJ/tiaq/nzF7c3Sq903SpsKbqTAVW6JK+P2+mpsXyvgrqybtX/IzI+8E2bIs1S+H1cwb 9Wng== X-Received: by 10.25.134.134 with SMTP id i128mr4593195lfd.103.1447979246924; Thu, 19 Nov 2015 16:27:26 -0800 (PST) Original-Received: by 10.25.21.198 with HTTP; Thu, 19 Nov 2015 16:26:47 -0800 (PST) In-Reply-To: <83twoh7lwl.fsf@gnu.org> 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:108942 Archived-At: --001a113fafd2a7bc1b0524edf07d Content-Type: text/plain; charset=UTF-8 On Thu, Nov 19, 2015 at 9:51 PM, Eli Zaretskii wrote: > I routinely examine these warnings, usually when I add some > significant new code, and each time I find the warnings to be false > alarms. The problem with fixing them is that either you need to > sprinkle ugly casts everywhere, or you start changing declarations, > and that spreads warnings like cancer through all the related code, > and you end up changing too much, or hit a brick wall and use casts > again. So I normally fix low-hanging fruit, and leave the rest for a > rainy day. I do the same. There are quite a few that I've looked at, and decided they were false alarms, or the fix was ugly. --001a113fafd2a7bc1b0524edf07d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Thu, Nov 19, 2015 at 9:51 PM, Eli Zaretskii <= ;eliz@gnu.org> wrote:

&g= t; I routinely examine these warnings, usually when I add some
> sign= ificant new code, and each time I find the warnings to be false
> ala= rms.=C2=A0 The problem with fixing them is that either you need to
> = sprinkle ugly casts everywhere, or you start changing declarations,
>= and that spreads warnings like cancer through all the related code,
>= ; and you end up changing too much, or hit a brick wall and use casts
&g= t; again.=C2=A0 So I normally fix low-hanging fruit, and leave the rest for= a
> rainy day.

I do the same. There are quite a fe= w that I've looked at, and decided they were false alarms, or the fix w= as ugly.

--001a113fafd2a7bc1b0524edf07d--