dbus-glib: attempting port from 0.20
Gareth Foster
earthworm at planetearthworm.com
Mon Dec 18 15:37:09 PST 2006
> Nasty. Well, yes, the errors are easy to fix with a couple of
> reinterpret_cast hacks, but it does say "do not edit" at the top ... oh
> well.
>
Maybe not so easy. Fixed the local ones, but you've got the same errors
all over the dbus-glib headers themselves ...
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h: In function ‘void
org_freedesktop_DBus_Introspectable_introspect_async_callback(DBusGProxy*, DBusGProxyCall*, void*)’:
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h:28: error: invalid
conversion from ‘void*’ to ‘DBusGAsyncData*’
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h: In function ‘void
org_freedesktop_DBus_request_name_async_callback(DBusGProxy*,
DBusGProxyCall*, void*)’:
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h:71: error: invalid
conversion from ‘void*’ to ‘DBusGAsyncData*’
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h: In function ‘void
org_freedesktop_DBus_release_name_async_callback(DBusGProxy*,
DBusGProxyCall*, void*)’:
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h:109: error: invalid
conversion from ‘void*’ to ‘DBusGAsyncData*’
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h: In function ‘void
org_freedesktop_DBus_start_service_by_name_async_callback(DBusGProxy*,
DBusGProxyCall*, void*)’:
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h:147: error: invalid
conversion from ‘void*’ to ‘DBusGAsyncData*’
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h: In function ‘void
org_freedesktop_DBus_hello_async_callback(DBusGProxy*, DBusGProxyCall*,
void*)’:
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h:185: error: invalid
conversion from ‘void*’ to ‘DBusGAsyncData*’
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h: In function ‘void
org_freedesktop_DBus_name_has_owner_async_callback(DBusGProxy*,
DBusGProxyCall*, void*)’:
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h:223: error: invalid
conversion from ‘void*’ to ‘DBusGAsyncData*’
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h: In function ‘void
org_freedesktop_DBus_list_names_async_callback(DBusGProxy*,
DBusGProxyCall*, void*)’:
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h:261: error: invalid
conversion from ‘void*’ to ‘DBusGAsyncData*’
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h: In function ‘void
org_freedesktop_DBus_add_match_async_callback(DBusGProxy*,
DBusGProxyCall*, void*)’:
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h:299: error: invalid
conversion from ‘void*’ to ‘DBusGAsyncData*’
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h: In function ‘void
org_freedesktop_DBus_remove_match_async_callback(DBusGProxy*,
DBusGProxyCall*, void*)’:
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h:336: error: invalid
conversion from ‘void*’ to ‘DBusGAsyncData*’
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h: In function ‘void
org_freedesktop_DBus_get_name_owner_async_callback(DBusGProxy*,
DBusGProxyCall*, void*)’:
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h:373: error: invalid
conversion from ‘void*’ to ‘DBusGAsyncData*’
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h: In function ‘void
org_freedesktop_DBus_list_queued_owners_async_callback(DBusGProxy*,
DBusGProxyCall*, void*)’:
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h:411: error: invalid
conversion from ‘void*’ to ‘DBusGAsyncData*’
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h: In function ‘void
org_freedesktop_DBus_get_connection_unix_user_async_callback(DBusGProxy*, DBusGProxyCall*, void*)’:
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h:449: error: invalid
conversion from ‘void*’ to ‘DBusGAsyncData*’
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h: In function ‘void
org_freedesktop_DBus_get_connection_unix_process_id_async_callback(DBusGProxy*, DBusGProxyCall*, void*)’:
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h:487: error: invalid
conversion from ‘void*’ to ‘DBusGAsyncData*’
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h: In function ‘void
org_freedesktop_DBus_get_connection_se_linux_security_context_async_callback(DBusGProxy*, DBusGProxyCall*, void*)’:
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h:525: error: invalid
conversion from ‘void*’ to ‘DBusGAsyncData*’
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h: In function ‘void
org_freedesktop_DBus_reload_config_async_callback(DBusGProxy*,
DBusGProxyCall*, void*)’:
/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h:563: error: invalid
conversion from ‘void*’ to ‘DBusGAsyncData*’
Sort it out yer bloody C coding cowboys :)
Seriously though, will this be able to be fixed and pushed as a release?
Its fairly serious isn't it?
Cheers all,
Gaz
More information about the dbus
mailing list