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 159597 - Lots of C-style casts
Lots of C-style casts
Status: RESOLVED FIXED
Product: libsigc++
Classification: Bindings
Component: general
unspecified
Other All
: Normal trivial
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2004-11-26 22:22 UTC by Fredrik Arnerup
Modified: 2005-01-18 16:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Replaced all old-style-casts (10.02 KB, patch)
2005-01-11 18:07 UTC, Fredrik Arnerup
none Details | Review

Description Fredrik Arnerup 2004-11-26 22:22:25 UTC
Many gtkmm, glibmm and libsigc++ headers use C-style casts.
If you compile with -Wold-style-cast (which I like to do) you are showered in
warning messages.
Comment 1 Murray Cumming 2004-11-28 15:39:41 UTC
This sounds simple, but not very important. A patch would be welcome:
http://www.gtkmm.org/bugs.shtml#CreatingPatches
Comment 2 Murray Cumming 2005-01-11 13:28:33 UTC
Unless you provide a patch, I will close this.
Comment 3 Fredrik Arnerup 2005-01-11 18:05:48 UTC
Here is a patch for sigc++. Compiles and passes the tests with gcc 3.4.3.
Comment 4 Fredrik Arnerup 2005-01-11 18:07:51 UTC
Created attachment 35841 [details] [review]
Replaced all old-style-casts
Comment 5 Murray Cumming 2005-01-18 16:58:51 UTC
Thanks. Well done. Applied. Please remember to patch the ChangeLog in future.