Warnings from the C compiler.

Bug #1098777 reported by Robert Bruce Park
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libfriends
Triaged
Medium
Ken VanDine

Bug Description

So, I'm seeing lots of C warnings that I have no idea what to do about. Here are some examples:

account.c: In function 'friends_account_get_color':
account.c:233:2: warning: 'ag_account_get_value' is deprecated (declared at /usr/include/libaccounts-glib/ag-account.h:113): Use 'ag_account_get_variant' instead [-Wdeprecated-declarations]
account.c: In function 'friends_account_set_color':
account.c:261:3: warning: 'ag_account_set_value' is deprecated (declared at /usr/include/libaccounts-glib/ag-account.h:116): Use 'ag_account_set_variant' instead [-Wdeprecated-declarations]
account.c: In function 'friends_account_get_send_enabled':
account.c:314:2: warning: 'ag_account_get_value' is deprecated (declared at /usr/include/libaccounts-glib/ag-account.h:113): Use 'ag_account_get_variant' instead [-Wdeprecated-declarations]
account.c: In function 'friends_account_set_send_enabled':
account.c:368:3: warning: 'ag_account_set_value' is deprecated (declared at /usr/include/libaccounts-glib/ag-account.h:116): Use 'ag_account_set_variant' instead [-Wdeprecated-declarations]

I went to the place in the Vala that defines the function that would be compiled into friends_account_get_color and I see that it calls [gs]et_value, tried changing it to [gs]et_variant, only to get a compiler error that that doesn't exist. So I don't really know what to do with this... C compiler says the functions are deprecated, but the suggested replacement doesn't seem to exist in Vala. Perhaps this is a bug with the vala compiler? ;-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.