Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Index: tools/arg.cpp
--- tools/arg.cpp (revision 213)
+++ tools/arg.cpp (working copy)
@@ -81,7 +81,8 @@
std::string Arg::stubsignature()
- return DBus::signature( type() );
+ //return DBus::signature( type() );
+ return DBus::type_string_from_code( type() );
DBus::Type Arg::type()
Copy link

nburkitt commented Oct 7, 2016

Thanks! Sorry I failed to mention that the problem only affected the tools. I hate when bug reports miss details like that.
So the good news is that the tools now compile (thanks again). The bad news is that I still can't get them to do anything. Both dbus-cxx-introspect and dbus-cxx-xml2cpp produce no output, and never exit.
I was hoping to use dbus-cxx-xml2cpp to give me enough hints to figure out how to send user-defined objects over dbus - something which is not mentioned in any dbus-cxx documentation I've been able to find.
If you can point me in a direction that will help me with that question, the rest of it becomes moot.


Copy link

nburkitt commented Oct 10, 2016

Okay - more good news/bad news. I finally traced the problem to libpopt, which is perfectly happy on my 64-bit development machine, but on my 32-bit target, insists that a char value of 0xff is non-negative. That will be the good news. The bad news (for me, at least) is that there is no information to be gleaned from the XML utilities regarding how to to send user-defined data as a dbus message.
Assuming it's not a state secret - can I have a hint? A clue? The tiniest scrap of documentation on how to accomplish this seemingly fundamental objective? Please?


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment