D-Bus C++ dbusxx-xml2cpp compiler

Markus Kohler MarkusK at microsol.ie
Wed Apr 22 03:45:41 PDT 2009


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.

Markus

_______________________________________________________________________

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed.

If you have received this email in error please notify the originator of the message. 
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
http://www.microsol.com

_______________________________________________________________________

This email has been scanned for all viruses.
_______________________________________________________________________


More information about the dbus mailing list