GNOME Bugzilla – Bug 159597
Lots of C-style casts
Last modified: 2005-01-18 16:58:51 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.
This sounds simple, but not very important. A patch would be welcome: http://www.gtkmm.org/bugs.shtml#CreatingPatches
Unless you provide a patch, I will close this.
Here is a patch for sigc++. Compiles and passes the tests with gcc 3.4.3.
Created attachment 35841 [details] [review] Replaced all old-style-casts
Thanks. Well done. Applied. Please remember to patch the ChangeLog in future.