bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#43724: build failure in dbusbind


From: Robert Pluim
Subject: bug#43724: build failure in dbusbind
Date: Thu, 01 Oct 2020 10:49:06 +0200

>>>>> On Thu, 01 Oct 2020 10:36:35 +0200, Michael Albinus 
>>>>> <michael.albinus@gmx.de> said:

    Michael> Lars Ingebrigtsen <larsi@gnus.org> writes:
    >> Glenn Morris <rgm@gnu.org> writes:
    >> 
    >>> On CentOS 8.2 with gcc 8.3.1 at a190a446e with
    >>> --enable-check-lisp-object-type:
    >> 
    >> Just a data point -- this also fails for me on Debian bullseye with
    >> 
    >> gcc version 10.2.0 (Debian 10.2.0-6)

    Michael> Same error happens here when configuring Emacs with
    Michael> --enable-check-lisp-object-type. So I've reverted my last change, 
using
    Michael> SYMBOLP instead of Fkeywordp. Closing the bug.

    Michael> But I must admit that I don't understand why Fkeywordp triggers 
that
    Michael> error.

    Michael> Best regards, Michael.

>From lisp.h

/* A Lisp_Object is a tagged pointer or integer.  Ordinarily it is a
   Lisp_Word.  However, if CHECK_LISP_OBJECT_TYPE, it is a wrapper
   around Lisp_Word, to help catch thinkos like 'Lisp_Object x = 0;'.

which means you should be using the NILP macro rather than checking
the return value of Fkeywordp directly, I think.

Robert
-- 





reply via email to

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