After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 627592 - Compiler warnings from generated code: _vala_dbus_register_object defined but not used
Compiler warnings from generated code: _vala_dbus_register_object defined but...
Status: RESOLVED WONTFIX
Product: vala
Classification: Core
Component: D-Bus
0.9.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2010-08-21 20:17 UTC by Ken VanDine
Modified: 2010-10-20 18:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ken VanDine 2010-08-21 20:17:57 UTC
In building libgwibber I get these compiler warnings, from the generated code.  


service.c:223: warning: ‘_vala_dbus_register_object’ defined but not used
  CC     libgwibber_la-accounts.lo
accounts.c: In function ‘_dbus_handle_accounts_interface_updated’:
accounts.c:819: warning: unused variable ‘reply’
accounts.c: In function ‘_dbus_handle_accounts_interface_created’:
accounts.c:836: warning: unused variable ‘reply’
accounts.c: In function ‘_dbus_handle_accounts_interface_deleted’:
accounts.c:853: warning: unused variable ‘reply’
accounts.c: At top level:
accounts.c:189: warning: ‘_vala_dbus_register_object’ defined but not used
  CC     libgwibber_la-urlshorten.lo
urlshorten.c:150: warning: ‘_vala_dbus_register_object’ defined but not used
  CC     libgwibber_la-connection.lo
connection.c: In function ‘_dbus_handle_connection_interface_connection_offline’:
connection.c:480: warning: unused variable ‘reply’
connection.c: In function ‘_dbus_handle_connection_interface_connection_online’:
connection.c:491: warning: unused variable ‘reply’
connection.c: At top level:
connection.c:157: warning: ‘_vala_dbus_register_object’ defined but not used
  CC     libgwibber_la-streams.lo
streams.c:149: warning: ‘_vala_dbus_register_object’ defined but not used
Comment 1 Jürg Billeter 2010-10-20 18:53:11 UTC
Please note that dbus-glib support has been deprecated. You should consider moving to GDBus. It's unlikely that anyone will work on fixing harmless compiler warnings in this area.