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

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

bug#43724: closed (build failure in dbusbind)


From: GNU bug Tracking System
Subject: bug#43724: closed (build failure in dbusbind)
Date: Thu, 01 Oct 2020 08:37:02 +0000

Your message dated Thu, 01 Oct 2020 10:36:35 +0200
with message-id <874knee418.fsf@gmx.de>
and subject line Re: bug#43724: build failure in dbusbind
has caused the debbugs.gnu.org bug report #43724,
regarding build failure in dbusbind
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
43724: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43724
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: build failure in dbusbind Date: Wed, 30 Sep 2020 11:40:12 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Package: emacs
Version: 28.0.50

On CentOS 8.2 with gcc 8.3.1 at a190a446e with --enable-check-lisp-object-type:


dbusbind.c: In function ‘xd_signature’:
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:423:8: note: in expansion of macro ‘XD_NEXT_VALUE’
  elt = XD_NEXT_VALUE (elt);
        ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:226:7: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    : (XD_DBUS_TYPE_P (object)) ? xd_symbol_to_dbus_type (object) \
       ^~~~~~~~~~~~~~
dbusbind.c:434:14: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
    subtype = XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (elt));
              ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:228:8: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    ? ((XD_DBUS_TYPE_P (XCAR (object)))     \
        ^~~~~~~~~~~~~~
dbusbind.c:434:14: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
    subtype = XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (elt));
              ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:435:47: note: in expansion of macro ‘XD_NEXT_VALUE’
    xd_signature (x, subtype, dtype, CAR_SAFE (XD_NEXT_VALUE (elt)));
                                               ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:444:23: note: in expansion of macro ‘XD_NEXT_VALUE’
    Lisp_Object elt1 = XD_NEXT_VALUE (elt);
                       ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:226:7: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    : (XD_DBUS_TYPE_P (object)) ? xd_symbol_to_dbus_type (object) \
       ^~~~~~~~~~~~~~
dbusbind.c:451:19: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
    if (subtype != XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (elt)))
                   ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:228:8: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    ? ((XD_DBUS_TYPE_P (XCAR (object)))     \
        ^~~~~~~~~~~~~~
dbusbind.c:451:19: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
    if (subtype != XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (elt)))
                   ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:453:20: note: in expansion of macro ‘XD_NEXT_VALUE’
    elt = CDR_SAFE (XD_NEXT_VALUE (elt));
                    ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:465:13: note: in expansion of macro ‘XD_NEXT_VALUE’
       elt = XD_NEXT_VALUE (elt);
             ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:226:7: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    : (XD_DBUS_TYPE_P (object)) ? xd_symbol_to_dbus_type (object) \
       ^~~~~~~~~~~~~~
dbusbind.c:467:17: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
       subtype = XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (elt));
                 ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:228:8: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    ? ((XD_DBUS_TYPE_P (XCAR (object)))     \
        ^~~~~~~~~~~~~~
dbusbind.c:467:17: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
       subtype = XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (elt));
                 ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:468:50: note: in expansion of macro ‘XD_NEXT_VALUE’
       xd_signature (x, subtype, dtype, CAR_SAFE (XD_NEXT_VALUE (elt)));
                                                  ^~~~~~~~~~~~~
In file included from dbusbind.c:26:
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
lisp.h:349:39: note: in definition of macro ‘lisp_h_XLI’
 #  define lisp_h_XLI(o) ((EMACS_INT) (o).i)
                                       ^
lisp.h:364:26: note: in expansion of macro ‘XLI’
 #define lisp_h_EQ(x, y) (XLI (x) == XLI (y))
                          ^~~
lisp.h:428:19: note: in expansion of macro ‘lisp_h_EQ’
 # define EQ(x, y) lisp_h_EQ (x, y)
                   ^~~~~~~~~
lisp.h:370:24: note: in expansion of macro ‘EQ’
 #define lisp_h_NILP(x) EQ (x, Qnil)
                        ^~
lisp.h:431:18: note: in expansion of macro ‘lisp_h_NILP’
 # define NILP(x) lisp_h_NILP (x)
                  ^~~~~~~~~~~
dbusbind.c:470:12: note: in expansion of macro ‘NILP’
       if (!NILP (CDR_SAFE (XD_NEXT_VALUE (elt))))
            ^~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:470:28: note: in expansion of macro ‘XD_NEXT_VALUE’
       if (!NILP (CDR_SAFE (XD_NEXT_VALUE (elt))))
                            ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:472:29: note: in expansion of macro ‘XD_NEXT_VALUE’
         CAR_SAFE (CDR_SAFE (XD_NEXT_VALUE (elt))));
                             ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:482:13: note: in expansion of macro ‘XD_NEXT_VALUE’
       elt = XD_NEXT_VALUE (elt);
             ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:226:7: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    : (XD_DBUS_TYPE_P (object)) ? xd_symbol_to_dbus_type (object) \
       ^~~~~~~~~~~~~~
dbusbind.c:490:14: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
    subtype = XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (elt));
              ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:228:8: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    ? ((XD_DBUS_TYPE_P (XCAR (object)))     \
        ^~~~~~~~~~~~~~
dbusbind.c:490:14: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
    subtype = XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (elt));
              ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:491:47: note: in expansion of macro ‘XD_NEXT_VALUE’
    xd_signature (x, subtype, dtype, CAR_SAFE (XD_NEXT_VALUE (elt)));
                                               ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:493:20: note: in expansion of macro ‘XD_NEXT_VALUE’
    elt = CDR_SAFE (XD_NEXT_VALUE (elt));
                    ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:513:13: note: in expansion of macro ‘XD_NEXT_VALUE’
       elt = XD_NEXT_VALUE (elt);
             ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:226:7: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    : (XD_DBUS_TYPE_P (object)) ? xd_symbol_to_dbus_type (object) \
       ^~~~~~~~~~~~~~
dbusbind.c:515:17: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
       subtype = XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (elt));
                 ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:228:8: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    ? ((XD_DBUS_TYPE_P (XCAR (object)))     \
        ^~~~~~~~~~~~~~
dbusbind.c:515:17: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
       subtype = XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (elt));
                 ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:516:50: note: in expansion of macro ‘XD_NEXT_VALUE’
       xd_signature (x, subtype, dtype, CAR_SAFE (XD_NEXT_VALUE (elt)));
                                                  ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:520:51: note: in expansion of macro ‘XD_NEXT_VALUE’
  wrong_type_argument (intern ("D-Bus"), CAR_SAFE (XD_NEXT_VALUE (elt)));
                                                   ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:523:23: note: in expansion of macro ‘XD_NEXT_VALUE’
       elt = CDR_SAFE (XD_NEXT_VALUE (elt));
                       ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:226:7: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    : (XD_DBUS_TYPE_P (object)) ? xd_symbol_to_dbus_type (object) \
       ^~~~~~~~~~~~~~
dbusbind.c:525:17: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
       subtype = XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (elt));
                 ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:228:8: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    ? ((XD_DBUS_TYPE_P (XCAR (object)))     \
        ^~~~~~~~~~~~~~
dbusbind.c:525:17: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
       subtype = XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (elt));
                 ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:526:50: note: in expansion of macro ‘XD_NEXT_VALUE’
       xd_signature (x, subtype, dtype, CAR_SAFE (XD_NEXT_VALUE (elt)));
                                                  ^~~~~~~~~~~~~
In file included from dbusbind.c:26:
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
lisp.h:349:39: note: in definition of macro ‘lisp_h_XLI’
 #  define lisp_h_XLI(o) ((EMACS_INT) (o).i)
                                       ^
lisp.h:364:26: note: in expansion of macro ‘XLI’
 #define lisp_h_EQ(x, y) (XLI (x) == XLI (y))
                          ^~~
lisp.h:428:19: note: in expansion of macro ‘lisp_h_EQ’
 # define EQ(x, y) lisp_h_EQ (x, y)
                   ^~~~~~~~~
lisp.h:370:24: note: in expansion of macro ‘EQ’
 #define lisp_h_NILP(x) EQ (x, Qnil)
                        ^~
lisp.h:431:18: note: in expansion of macro ‘lisp_h_NILP’
 # define NILP(x) lisp_h_NILP (x)
                  ^~~~~~~~~~~
dbusbind.c:529:12: note: in expansion of macro ‘NILP’
       if (!NILP (CDR_SAFE (XD_NEXT_VALUE (elt))))
            ^~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:529:28: note: in expansion of macro ‘XD_NEXT_VALUE’
       if (!NILP (CDR_SAFE (XD_NEXT_VALUE (elt))))
                            ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:531:29: note: in expansion of macro ‘XD_NEXT_VALUE’
         CAR_SAFE (CDR_SAFE (XD_NEXT_VALUE (elt))));
                             ^~~~~~~~~~~~~
dbusbind.c: In function ‘xd_append_arg’:
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:133:24: note: in definition of macro ‘XD_BASIC_DBUS_TYPE’
   (dbus_type_is_valid (type) && dbus_type_is_basic (type))
                        ^~~~
dbusbind.c:226:7: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    : (XD_DBUS_TYPE_P (object)) ? xd_symbol_to_dbus_type (object) \
       ^~~~~~~~~~~~~~
dbusbind.c:747:32: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
       if (!XD_BASIC_DBUS_TYPE (XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (object))))
                                ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:133:24: note: in definition of macro ‘XD_BASIC_DBUS_TYPE’
   (dbus_type_is_valid (type) && dbus_type_is_basic (type))
                        ^~~~
dbusbind.c:228:8: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    ? ((XD_DBUS_TYPE_P (XCAR (object)))     \
        ^~~~~~~~~~~~~~
dbusbind.c:747:32: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
       if (!XD_BASIC_DBUS_TYPE (XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (object))))
                                ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:133:53: note: in definition of macro ‘XD_BASIC_DBUS_TYPE’
   (dbus_type_is_valid (type) && dbus_type_is_basic (type))
                                                     ^~~~
dbusbind.c:226:7: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    : (XD_DBUS_TYPE_P (object)) ? xd_symbol_to_dbus_type (object) \
       ^~~~~~~~~~~~~~
dbusbind.c:747:32: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
       if (!XD_BASIC_DBUS_TYPE (XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (object))))
                                ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:133:53: note: in definition of macro ‘XD_BASIC_DBUS_TYPE’
   (dbus_type_is_valid (type) && dbus_type_is_basic (type))
                                                     ^~~~
dbusbind.c:228:8: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    ? ((XD_DBUS_TYPE_P (XCAR (object)))     \
        ^~~~~~~~~~~~~~
dbusbind.c:747:32: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
       if (!XD_BASIC_DBUS_TYPE (XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (object))))
                                ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:748:11: note: in expansion of macro ‘XD_NEXT_VALUE’
  object = XD_NEXT_VALUE (object);
           ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:226:7: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    : (XD_DBUS_TYPE_P (object)) ? xd_symbol_to_dbus_type (object) \
       ^~~~~~~~~~~~~~
dbusbind.c:768:31: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
        if (CONSP (object) && (XD_OBJECT_TO_DBUS_TYPE (XCAR (object))
                               ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:228:8: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    ? ((XD_DBUS_TYPE_P (XCAR (object)))     \
        ^~~~~~~~~~~~~~
dbusbind.c:768:31: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
        if (CONSP (object) && (XD_OBJECT_TO_DBUS_TYPE (XCAR (object))
                               ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:771:23: note: in expansion of macro ‘XD_NEXT_VALUE’
     Lisp_Object val = XD_NEXT_VALUE (object);
                       ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:226:7: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    : (XD_DBUS_TYPE_P (object)) ? xd_symbol_to_dbus_type (object) \
       ^~~~~~~~~~~~~~
dbusbind.c:782:10: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
          XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (object)),
          ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:228:8: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    ? ((XD_DBUS_TYPE_P (XCAR (object)))     \
        ^~~~~~~~~~~~~~
dbusbind.c:782:10: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
          XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (object)),
          ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:783:27: note: in expansion of macro ‘XD_NEXT_VALUE’
          dtype, CAR_SAFE (XD_NEXT_VALUE (object)));
                           ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:226:7: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    : (XD_DBUS_TYPE_P (object)) ? xd_symbol_to_dbus_type (object) \
       ^~~~~~~~~~~~~~
dbusbind.c:796:29: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
    xd_signature (signature, XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (object)),
                             ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:228:8: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    ? ((XD_DBUS_TYPE_P (XCAR (object)))     \
        ^~~~~~~~~~~~~~
dbusbind.c:796:29: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
    xd_signature (signature, XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (object)),
                             ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:797:21: note: in expansion of macro ‘XD_NEXT_VALUE’
    dtype, CAR_SAFE (XD_NEXT_VALUE (object)));
                     ^~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:226:7: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    : (XD_DBUS_TYPE_P (object)) ? xd_symbol_to_dbus_type (object) \
       ^~~~~~~~~~~~~~
dbusbind.c:820:12: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
    dtype = XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (object));
            ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:228:8: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    ? ((XD_DBUS_TYPE_P (XCAR (object)))     \
        ^~~~~~~~~~~~~~
dbusbind.c:820:12: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
    dtype = XD_OBJECT_TO_DBUS_TYPE (CAR_SAFE (object));
            ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:237:5: note: in expansion of macro ‘XD_DBUS_TYPE_P’
   ((XD_DBUS_TYPE_P (CAR_SAFE (object))) ? CDR_SAFE (object) : object)
     ^~~~~~~~~~~~~~
dbusbind.c:821:13: note: in expansion of macro ‘XD_NEXT_VALUE’
    object = XD_NEXT_VALUE (object);
             ^~~~~~~~~~~~~
dbusbind.c: In function ‘Fdbus__init_bus’:
dbusbind.c:1235:7: error: used struct type value where scalar is required
       ? (void *) XSYMBOL (bus)
       ^
dbusbind.c: In function ‘Fdbus_message_internal’:
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:226:7: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    : (XD_DBUS_TYPE_P (object)) ? xd_symbol_to_dbus_type (object) \
       ^~~~~~~~~~~~~~
dbusbind.c:1504:15: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
       dtype = XD_OBJECT_TO_DBUS_TYPE (args[count]);
               ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:214:3: error: used struct type value where scalar is required
   Fkeywordp (object) && ((xd_symbol_to_dbus_type (object) != 
DBUS_TYPE_INVALID))
   ^~~~~~~~~
dbusbind.c:228:8: note: in expansion of macro ‘XD_DBUS_TYPE_P’
    ? ((XD_DBUS_TYPE_P (XCAR (object)))     \
        ^~~~~~~~~~~~~~
dbusbind.c:1504:15: note: in expansion of macro ‘XD_OBJECT_TO_DBUS_TYPE’
       dtype = XD_OBJECT_TO_DBUS_TYPE (args[count]);
               ^~~~~~~~~~~~~~~~~~~~~~
dbusbind.c:1505:29: error: invalid operands to binary && (have ‘int’ and 
‘Lisp_Object’ {aka ‘struct Lisp_Object’})
       if (count + 1 < nargs && XD_DBUS_TYPE_P (args[count]))
           ~~~~~~~~~~~~~~~~~ ^~
dbusbind.c: In function ‘xd_read_queued_messages’:
dbusbind.c:1800:7: error: used struct type value where scalar is required
  if ((Fkeywordp (key) && XSYMBOL (key) == data)
       ^~~~~~~~~
make[1]: *** [Makefile:401: dbusbind.o] Error 1



--- End Message ---
--- Begin Message --- Subject: Re: bug#43724: build failure in dbusbind Date: Thu, 01 Oct 2020 10:36:35 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
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)

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

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

Best regards, Michael.


--- End Message ---

reply via email to

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