(%:BUILD/gtkmm-2.4.0/demos/gtk-demo) make
if i686-pld-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gdk -I../../gtk 
-I../../gtk   -I../../gtk -I../../gdk   -I../../gdk -I../../pango -I../../pango 
-I../../atk   -I../../atk -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include 
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include 
-I/usr/include/freetype2      -O2 -march=i686 -Wall -MT example_change_display.o -MD 
-MP -MF ".deps/example_change_display.Tpo" -c -o example_change_display.o 
example_change_display.cc; \
then mv -f ".deps/example_change_display.Tpo" ".deps/example_change_display.Po"; else 
rm -f ".deps/example_change_display.Tpo"; exit 1; fi
/usr/include/glibmm-2.4/glibmm/containerhandle_shared.h: In static member function 
`static Glib::RefPtr<T_CppObject> 
Glib::Container_Helpers::TypeTraits<Glib::RefPtr<T_CppObject> >::to_cpp_type(typename 
T::BaseObjectType*) [with T = Gdk::Display]':
/usr/include/glibmm-2.4/glibmm/slisthandle.h:229:   instantiated from `typename 
Glib::Container_Helpers::SListHandleIterator<Tr>::value_type 
Glib::Container_Helpers::SListHandleIterator<Tr>::operator*() const [with Tr = 
Glib::Container_Helpers::TypeTraits<Glib::RefPtr<Gdk::Display> >]'
/usr/lib/gcc/i686-pld-linux/3.4.0/../../../../include/c++/3.4.0/bits/stl_list.h:1139:  
 instantiated from `void std::list<_Tp, 
_Alloc>::_M_insert_dispatch(std::_List_iterator<_Tp>, _InputIterator, _InputIterator, 
__false_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/lib/gcc/i686-pld-linux/3.4.0/../../../../include/c++/3.4.0/bits/stl_list.h:852:   
instantiated from `void std::list<_Tp, _Alloc>::insert(std::_List_iterator<_Tp>, 
_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-pld-linux/3.4.0/../../../../include/c++/3.4.0/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: *** [example_change_display.o] Błąd 1

Kto wie co tu jest źle ?
-- 
Artur Frysiak
http://www.pld-linux.org/

_______________________________________________________
złota zasada - kto się nie zna, niech się nie wypowiada

Odpowiedź listem elektroniczym