D-Bus C++ dbusxx-xml2cpp compiler
glenn.schmottlach at harman.com
Wed Apr 22 10:33:50 PDT 2009
Hi Markus -
If I recall this bug was fixed in the "unofficial" variant:
git clone git://gitorious.org/dbus-cplusplus/mainline.git
Also, there exists another branch here that doesn't exhibit this bug
As you can see the D-Bus C++ binding has more or less forked into three
branches. The "official" branch (as stated in the D-Bus bindings page)
is probably the oldest and suffering the most from bit-rot.
From: dbus-bounces at lists.freedesktop.org
[mailto:dbus-bounces at lists.freedesktop.org] On Behalf Of Markus Kohler
Sent: Wednesday, April 22, 2009 6:46 AM
To: dbus at lists.freedesktop.org
Subject: D-Bus C++ dbusxx-xml2cpp compiler
I found in the introspect that using a struct in struct lets
dbusxx-xml2cpp compiler generate uncompilable code. E. g.
<property name="x" type="(qq(qq))" access="readwrite"/> would
generate in the adapter interface something like:
::DBus::PropertyAdaptor< ::DBus::Struct< uint16_t, uint16_t,
::DBus::Struct< uint16_t, uint16_t >, > > x;
The g++ compiler would not like ">, > >"
Work around is not to use the last component for struct in struct, i.e.
use (q(qq)q) or ((qq)qq) instead.
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to which they
If you have received this email in error please notify the originator of
This footer also confirms that this email message has been scanned for
the presence of computer viruses.
Any views expressed in this message are those of the individual sender,
except where the sender specifies and with authority, states them to be
the views of Microsol.
If you have received this mail in error you are requested to e-mail us
(info at microsol.ie) or by telephoning Microsol on +353 14153700.
Please Visit our website at
This email has been scanned for all viruses.
dbus mailing list
dbus at lists.freedesktop.org
More information about the dbus