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 775583 - [Deprecated] is deprecated
[Deprecated] is deprecated
Status: RESOLVED DUPLICATE of bug 773177
Product: vala
Classification: Core
Component: Bindings
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2016-12-03 22:12 UTC by alsoijw
Modified: 2017-01-02 13:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description alsoijw 2016-12-03 22:12:20 UTC
After I build project I get many warnings like this. 
libsoup-2.4.vapi:1146.3-1146.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
Comment 1 Al Thomas 2016-12-04 19:24:03 UTC
As the message says, the [Deprecated] attribute has been changed to the [Version] attribute. The libsoup bindings are automatically generated, using vapigen, and once your distribution starts generating the bindings using a newer vapigen the warnings will disappear. The warning will go because vapigen will using the new attribute. 

This can be seen with the libsoup bindings carried with Vala - https://git.gnome.org/browse/vala/tree/vapi/libsoup-2.4.vapi Be aware that these bindings will be removed from the Vala distribution because they are now distributed upstream as part of libsoup, See https://bugzilla.gnome.org/show_bug.cgi?id=773197

So basically ignore the warnings. Wait for your distribution to update and then the warnings will go.
Comment 2 Al Thomas 2017-01-02 13:14:30 UTC

*** This bug has been marked as a duplicate of bug 773177 ***