[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
- Broken dbusbind.c,
John Yates <=
- Re: Broken dbusbind.c, Lars Ingebrigtsen, 2020/12/28
- Re: Broken dbusbind.c, John Yates, 2020/12/28
- Re: Broken dbusbind.c, Michael Albinus, 2020/12/29
- Re: Broken dbusbind.c, Michael Albinus, 2020/12/30
- Re: Broken dbusbind.c, John Yates, 2020/12/30
- Re: Broken dbusbind.c, Michael Albinus, 2020/12/31
- Re: Broken dbusbind.c, John Yates, 2020/12/31