unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Broken dbusbind.c
@ 2020-12-28 17:50 John Yates
  2020-12-29  0:40 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: John Yates @ 2020-12-28 17:50 UTC (permalink / raw)
  To: Emacs developers

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-12-31 16:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-28 17:50 Broken dbusbind.c John Yates
2020-12-29  0:40 ` Lars Ingebrigtsen
2020-12-29  2:57   ` John Yates
2020-12-29 20:20     ` Michael Albinus
2020-12-30  9:52       ` Michael Albinus
2020-12-30 19:15       ` John Yates
2020-12-31  9:00         ` Michael Albinus
2020-12-31 16:04           ` John Yates

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).