emacs-devel
[Top][All Lists]
Advanced

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

Broken dbusbind.c


From: John Yates
Subject: Broken dbusbind.c
Date: Mon, 28 Dec 2020 12:50:07 -0500

I am trying to build the last tip.  I get compile errors in dbusbind.c.
The culprit is a broken macro definition:

/* Check whether TYPE is a basic DBusType.  */
#ifdef HAVE_DBUS_TYPE_IS_VALID
#define XD_BASIC_DBUS_TYPE(type) \
  (dbus_type_is_valid (type) && dbus_type_is_basic (type))
#else
#define XD_BASIC_DBUS_TYPE(type) \  <<<< definition must be a single
logical line
  ((type == DBUS_TYPE_BYTE) \
   || (type == DBUS_TYPE_BOOLEAN) \
   || (type == DBUS_TYPE_INT16) \
   || (type == DBUS_TYPE_UINT16) \
   || (type == DBUS_TYPE_INT32) \
   || (type == DBUS_TYPE_UINT32) \
   || (type == DBUS_TYPE_INT64) \
   || (type == DBUS_TYPE_UINT64) \
   || (type == DBUS_TYPE_DOUBLE) \
   || (type == DBUS_TYPE_STRING) \
   || (type == DBUS_TYPE_OBJECT_PATH) \
   || (type == DBUS_TYPE_SIGNATURE) \
#ifdef DBUS_TYPE_UNIX_FD             <<<< Oops!
   || (type == DBUS_TYPE_UNIX_FD) \
#endif
   )
#endif



reply via email to

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