Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49390 - GTKMM 2.4.0 and GCC 3.4 fails
Summary: GTKMM 2.4.0 and GCC 3.4 fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 48528
  Show dependency tree
 
Reported: 2004-04-29 09:11 UTC by Christopher Gentile
Modified: 2004-04-30 05:41 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 Christopher Gentile 2004-04-29 09:11:13 UTC
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
Comment 1 foser (RETIRED) gentoo-dev 2004-04-30 05:41:22 UTC
we have no gtkmm 2.4.0 in the tree