Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186377 - dev-cpp/gtkmm-2.2.12 fails with gcc-4.2 due to gtkmm-2.2.12-gcc41.patch
Summary: dev-cpp/gtkmm-2.2.12 fails with gcc-4.2 due to gtkmm-2.2.12-gcc41.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: GNOME C++ Bindings Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 187950 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-23 20:54 UTC by Christoph Gysin
Modified: 2008-04-12 15:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Gysin 2007-07-23 20:54:58 UTC
When using gcc-4.2 gtkmm-2.2.12 fails like this:

notebook.cc: In static member function 'static void Gtk::Notebook_Class::class_init_function(void*, void*)':
notebook.cc:684: error: invalid conversion from 'gboolean (*)(GtkNotebook*, gint)' to 'void (*)(GtkNotebook*, gint)'

Searching bugzilla brings up bug #164997, where Ryan Hill added a patch for gcc-4.1. Removing the patch makes it work again with gcc-4.2.


Reproducible: Always

Steps to Reproduce:
1. switch to gcc-4.2
2. emerge gtkmm-2.2.12
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-06 21:13:23 UTC
*** Bug 187950 has been marked as a duplicate of this bug. ***
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2008-04-12 15:23:14 UTC
gtkmm-2.12.1 is now stable on all arches and works fine with gcc 4.2.

Closing. Thanks