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 426931 - Incorrect handling of deprecated classes in generate_wrap_init.pl
Incorrect handling of deprecated classes in generate_wrap_init.pl
Status: RESOLVED FIXED
Product: glibmm
Classification: Bindings
Component: general
2.12.x
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2007-04-06 14:07 UTC by Johannes Schmid
Modified: 2007-04-16 16:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix the wrap-init issue (982 bytes, patch)
2007-04-06 14:09 UTC, Johannes Schmid
committed Details | Review

Description Johannes Schmid 2007-04-06 14:07:03 UTC
This causes that any class the includes a deprecated method using #ifndef GTKMM_DISABLE_DEPRECATED will be omitted in wrap_init.cc when build with --disable-deprecated.
Comment 1 Johannes Schmid 2007-04-06 14:09:27 UTC
Created attachment 85903 [details] [review]
Patch to fix the wrap-init issue

This bug changes the behaviour:

_DISABLE_DEPRECATED is no longer used to determine if a class is deprecated instead it is possible to include something like that in the file to show that the class should be ommitted by wrap_init:

// GTKMM_CLASS_DEPRECATED
Comment 2 Murray Cumming 2007-04-07 10:55:59 UTC
Excellent detective work. Please do commit to the stable and trunk branches.
Comment 3 Johannes Schmid 2007-04-09 17:39:22 UTC
Commited to glibmm-2-8, 2-10, 2-12 and HEAD!

I also have build new packages for bora, should I upload them?
Comment 4 Murray Cumming 2007-04-15 12:14:34 UTC
Yes, please.
Comment 5 Murray Cumming 2007-04-16 16:05:58 UTC
I am releasing new tarballs over the next day or so, which should usually be done instead of just releasing debian packages from svn code. If necessary, even just to show the correct version numbers, you might want to recreate the packages again.