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 680143 - Slightly wrong error message about replacing soup_message_headers_get
Slightly wrong error message about replacing soup_message_headers_get
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
unspecified
Other Linux
: Normal trivial
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2012-07-18 06:19 UTC by Chris Fahlman
Modified: 2012-07-18 12:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chris Fahlman 2012-07-18 06:19:24 UTC
Consider this commit message,

commit de81cbb8d0913119ea514b5214f60f81656b29f4
Author: Dan Winship <danw@gnome.org>
Date:   Sun Apr 19 10:40:41 2009 -0400

    Mark soup_message_headers_get() deprecated
    
    (in favor of soup_message_headers_get_one() and _get_list())


However, the error message actually printed when compiling a program using this particular libsoup deprecated declaration, is, for example:

   error: 'soup_message_headers_get' is deprecated (declared at xyz): Use 'soup_message_headers_get_one or soup_message_headers_get_one' instead


\\\\

see soup-message-headers.h
Comment 1 Dan Winship 2012-07-18 12:36:29 UTC
oops. thanks.