unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: mwd@md5i.com, luangruo@yahoo.com, emacs-devel@gnu.org
Subject: Re: Warning in svg_load_image
Date: Thu, 24 Feb 2022 08:53:39 +0200	[thread overview]
Message-ID: <83fso8sqks.fsf@gnu.org> (raw)
In-Reply-To: <87wnhlry4o.fsf@igel.home> (message from Andreas Schwab on Wed, 23 Feb 2022 23:55:51 +0100)

> From: Andreas Schwab <schwab@linux-m68k.org>
> Cc: Michael Welsh Duggan <mwd@md5i.com>,  luangruo@yahoo.com,
>   emacs-devel@gnu.org
> Date: Wed, 23 Feb 2022 23:55:51 +0100
> 
> On Feb 23 2022, Eli Zaretskii wrote:
> 
> > If the compiler doesn't understand that the value is being limited to
> > a maximum of 5 digits, then it shouldn't attempt to emit such
> > "helpful" warnings.
> 
> Have you tried using the assume macro?

No, I haven't.  I thought about eassert, but rejected the idea,
because aborting a session due to this insignificant issue sounds too
much.  eassume has the same basic problem, so I'm not sure it is a
good idea, either.

Thanks.



  reply	other threads:[~2022-02-24  6:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87ilt8hcz4.fsf.ref@yahoo.com>
2022-02-21  7:53 ` Warning in svg_load_image Po Lu
2022-02-21 13:26   ` Eli Zaretskii
2022-02-21 13:37     ` Po Lu
2022-02-21 13:51       ` Eli Zaretskii
2022-02-22  3:53         ` Po Lu
2022-02-22 12:32           ` Eli Zaretskii
2022-02-22 12:45             ` Andreas Schwab
2022-02-22 13:02             ` Po Lu
2022-02-23 17:11         ` Michael Welsh Duggan
2022-02-23 17:37           ` Eli Zaretskii
2022-02-23 21:58             ` Michael Welsh Duggan
2022-02-24  6:47               ` Eli Zaretskii
2022-02-23 22:55             ` Andreas Schwab
2022-02-24  6:53               ` Eli Zaretskii [this message]
     [not found]         ` <87pmndmrsz.fsf@md5i.com>
2022-02-24  0:50           ` Po Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83fso8sqks.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=mwd@md5i.com \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).