emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MPS: dangling markers


From: Eli Zaretskii
Subject: Re: MPS: dangling markers
Date: Sun, 30 Jun 2024 15:49:40 +0300

> From: Ihor Radchenko <yantar92@posteo.net>
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org, Eli
>  Zaretskii <eliz@gnu.org>, eller.helmut@gmail.com
> Date: Sun, 30 Jun 2024 12:38:24 +0000
> 
> Gerd Möllmann <gerd.moellmann@gmail.com> writes:
> 
> > Thanks, Ihor, that looks promising. I've now also pushed a quick and
> > dirty add_marker in O(1), that's why I reverted. to get that on top.
> > Works for me...
> >
> > A comparison of how it feels compared to master would also be interesting.
> 
> igc.c: In function ‘fix_marker_vector’:
> igc.c:1701:34: error: passing argument 1 of ‘NILP’ makes pointer from integer 
> without a cast [-Wint-conversion]
>  1701 |         if (NILP (v->contents[i] && !NILP (old)))
>       |                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
>       |                                  |
>       |                                  int
> In file included from igc.c:31:
> lisp.h:1499:21: note: expected ‘Lisp_Object’ {aka ‘struct Lisp_X *’} but 
> argument is of type ‘int’
>  1499 | (NILP) (Lisp_Object x)
>       |         ~~~~~~~~~~~~^

I think I fixed that.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]