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 661335 - Make deprecation warnings opt-in
Make deprecation warnings opt-in
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on: 624001
Blocks: 661344
 
 
Reported: 2011-10-09 19:40 UTC by Matthias Clasen
Modified: 2011-10-11 17:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make deprecation warnings opt-in (39.94 KB, patch)
2011-10-09 19:40 UTC, Matthias Clasen
none Details | Review

Description Matthias Clasen 2011-10-09 19:40:29 UTC
This commit changes things so that we only make the compiler
generate deprecation warnings if GLIB_ENABLE_DEPRECATION_WARNINGS
is defined.
Comment 1 Matthias Clasen 2011-10-09 19:40:31 UTC
Created attachment 198667 [details] [review]
Make deprecation warnings opt-in
Comment 2 Matthias Clasen 2011-10-09 21:52:22 UTC
This will let people opt out of deprecations on a per-module basis.
Unfortunately, this currently makes gtk-doc fall over.