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 705959 - souphttpsrc deprecated symbols
souphttpsrc deprecated symbols
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 1.1.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-08-14 05:51 UTC by Edward Hervey
Modified: 2013-08-14 11:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Edward Hervey 2013-08-14 05:51:44 UTC
gstsouphttpsrc.c: In function 'gst_soup_http_src_got_headers_cb':
gstsouphttpsrc.c:752:9: error: 'soup_message_headers_get' is deprecated (declared at /usr/include/libsoup-2.4/libsoup/soup-message-headers.h:40): Use 'soup_message_headers_get_one or soup_message_headers_get_list' instead [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors

With libsoup 2.40.3

I tried using #ifdef soup_message_headers_get_one ... but that didn't work
Comment 1 Tim-Philipp Müller 2013-08-14 11:05:16 UTC
Oh, only saw the bug about it now. Should be fixed already:

 commit 604bfa586ea4bb3ecb3cf3959fe0498c39c8456e
 Author: Tim-Philipp Müller <tim@centricular.net>
 Date:   Wed Aug 14 11:54:19 2013 +0100

    soup: don't use deprecated soup_message_headers_get() API