GTKMM 2.4.0 and GCC 3.4 fails with this error: ================================ _InputIterator, _InputIterator) [with _InputIterator = Glib::Container_Helpers::SListHandleIterator<Glib::Container_Helpers::TypeTraits<Glib::RefPtr<Gdk::Display> > >, _Tp = Glib::RefPtr<Gdk::Display>, _Alloc = std::allocator<Glib::RefPtr<Gdk::Display> >]' /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/include/g++-v3/bits/stl_list.h:531: instantiated from `std::list<_Tp, _Alloc>::list(_InputIterator, _InputIterator, const typename std::_List_base<_Tp, _Alloc>::allocator_type&) [with _InputIterator = Glib::Container_Helpers::SListHandleIterator<Glib::Container_Helpers::TypeTraits<Glib::RefPtr<Gdk::Display> > >, _Tp = Glib::RefPtr<Gdk::Display>, _Alloc = std::allocator<Glib::RefPtr<Gdk::Display> >]' /usr/include/glibmm-2.4/glibmm/slisthandle.h:351: instantiated from `Glib::SListHandle<T, Tr>::operator std::list<U, std::allocator<_Tp1> >() const [with U = Glib::RefPtr<Gdk::Display>, T = Glib::RefPtr<Gdk::Display>, Tr = Glib::Container_Helpers::TypeTraits<Glib::RefPtr<Gdk::Display> >]' example_change_display.cc:219: instantiated from here /usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:205: error: cannot convert `GdkDisplay*' to `GObject*' for argument `1' to `Glib::RefPtr<Glib::Object> Glib::wrap(GObject*, bool)' make[3]: *** [example_change_display.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/gtkmm-2.4.0/work/gtkmm-2.4.0/demos/gtk-demo' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gtkmm-2.4.0/work/gtkmm-2.4.0/demos' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtkmm-2.4.0/work/gtkmm-2.4.0' make: *** [all] Error 2 !!! ERROR: dev-cpp/gtkmm-2.4.0 failed. !!! Function gnome2_src_compile, Line 39, Exitcode 2 !!! compile failure GTKMM 2.2.10 also craps out (not same error tho) Reproducible: Always Steps to Reproduce: 1. emerge gcc 3.4 2. recompile glibc with gcc 3.4 3. ACCEPT_KEYWORDS="~x86" emerge gtkmm (should try to emerge gtkmm-2.4.0) Actual Results: GTKMM 2.4.0 and GCC 3.4 fails with this error: ================================ _InputIterator, _InputIterator) [with _InputIterator = Glib::Container_Helpers::SListHandleIterator<Glib::Container_Helpers::TypeTraits<Glib::RefPtr<Gdk::Display> > >, _Tp = Glib::RefPtr<Gdk::Display>, _Alloc = std::allocator<Glib::RefPtr<Gdk::Display> >]' /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/include/g++-v3/bits/stl_list.h:531: instantiated from `std::list<_Tp, _Alloc>::list(_InputIterator, _InputIterator, const typename std::_List_base<_Tp, _Alloc>::allocator_type&) [with _InputIterator = Glib::Container_Helpers::SListHandleIterator<Glib::Container_Helpers::TypeTraits<Glib::RefPtr<Gdk::Display> > >, _Tp = Glib::RefPtr<Gdk::Display>, _Alloc = std::allocator<Glib::RefPtr<Gdk::Display> >]' /usr/include/glibmm-2.4/glibmm/slisthandle.h:351: instantiated from `Glib::SListHandle<T, Tr>::operator std::list<U, std::allocator<_Tp1> >() const [with U = Glib::RefPtr<Gdk::Display>, T = Glib::RefPtr<Gdk::Display>, Tr = Glib::Container_Helpers::TypeTraits<Glib::RefPtr<Gdk::Display> >]' example_change_display.cc:219: instantiated from here /usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:205: error: cannot convert `GdkDisplay*' to `GObject*' for argument `1' to `Glib::RefPtr<Glib::Object> Glib::wrap(GObject*, bool)' make[3]: *** [example_change_display.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/gtkmm-2.4.0/work/gtkmm-2.4.0/demos/gtk-demo' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gtkmm-2.4.0/work/gtkmm-2.4.0/demos' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtkmm-2.4.0/work/gtkmm-2.4.0' make: *** [all] Error 2 !!! ERROR: dev-cpp/gtkmm-2.4.0 failed. !!! Function gnome2_src_compile, Line 39, Exitcode 2 !!! compile failure Expected Results: clean compile so i can finish emerging k3b
we have no gtkmm 2.4.0 in the tree