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 665905 - PATCH: fix including rsvg.h always causing a deprecation warning
PATCH: fix including rsvg.h always causing a deprecation warning
Status: RESOLVED FIXED
Product: librsvg
Classification: Core
Component: general
2.35.x
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2011-12-10 09:00 UTC by Hans de Goede
Modified: 2011-12-10 20:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
PATCH: fix including rsvg.h always causing a deprecation warning (1018 bytes, patch)
2011-12-10 09:00 UTC, Hans de Goede
none Details | Review

Description Hans de Goede 2011-12-10 09:00:54 UTC
Created attachment 203181 [details] [review]
PATCH: fix including rsvg.h always causing a deprecation warning

Before this patch rsvg.h marks the RsvgSizeFunc *type* as deprecated, and
then uses it to declare other deprecated functions, causing gcc to always
emit a depecrated warning as soon as rsvg.h is included. This breaks
compilation of apps which compile with -Werror.