Thu 02 Feb 2006 04:24:54 PM UTC, comment #1:
So I changed
sigc::mem_fun(m_load_plugin_window, &LoadPluginWindow::present));
to
sigc::mem_fun(m_load_plugin_window, &Gtk::Window::present));
like adviced on IRC and now:
PatchWindow.cpp: In constructor `OmGtk::PatchWindow::PatchWindow(GtkWindow*, const Glib::RefPtr<Gnome::Glade::Xml>&)':
PatchWindow.cpp:108: error: call of overloaded `mem_fun(OmGtk::LoadPluginWindow*&, <unknown type>)' is ambiguous
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: candidates are: sigc::bound_mem_functor0<T_return, T_obj>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: sigc::mem_fun(T_obj, T_return (T_obj2::)()) [with T_return = void, T_obj =
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: OmGtk::LoadPluginWindow, T_obj2 = Gtk::Window]
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5453: note: sigc::bound_mem_functor0<T_return, T_obj>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5453: note: sigc::mem_fun(T_obj&, T_return (T_obj2::*)()) [with T_return = void, T_obj =
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5453: note: OmGtk::LoadPluginWindow*, T_obj2 = Gtk::Window]
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: sigc::bound_mem_functor1<T_return, T_obj, T_arg1>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: sigc::mem_fun(T_obj, T_return (T_obj2::)(T_arg1)) [with T_arg1 = guint32,
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: T_return = void, T_obj = OmGtk::LoadPluginWindow, T_obj2 = Gtk::Window]
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5477: note: sigc::bound_mem_functor1<T_return, T_obj, T_arg1>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5477: note: sigc::mem_fun(T_obj&, T_return (T_obj2::*)(T_arg1)) [with T_arg1 = guint32,
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5477: note: T_return = void, T_obj = OmGtk::LoadPluginWindow*, T_obj2 = Gtk::Window]
PatchWindow.cpp:110: error: call of overloaded `mem_fun(OmGtk::NewSubpatchWindow*&, <unknown type>)' is ambiguous
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: candidates are: sigc::bound_mem_functor0<T_return, T_obj>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: sigc::mem_fun(T_obj, T_return (T_obj2::)()) [with T_return = void, T_obj =
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: OmGtk::NewSubpatchWindow, T_obj2 = Gtk::Window]
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5453: note: sigc::bound_mem_functor0<T_return, T_obj>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5453: note: sigc::mem_fun(T_obj&, T_return (T_obj2::*)()) [with T_return = void, T_obj =
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5453: note: OmGtk::NewSubpatchWindow*, T_obj2 = Gtk::Window]
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: sigc::bound_mem_functor1<T_return, T_obj, T_arg1>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: sigc::mem_fun(T_obj, T_return (T_obj2::)(T_arg1)) [with T_arg1 = guint32,
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: T_return = void, T_obj = OmGtk::NewSubpatchWindow, T_obj2 = Gtk::Window]
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5477: note: sigc::bound_mem_functor1<T_return, T_obj, T_arg1>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5477: note: sigc::mem_fun(T_obj&, T_return (T_obj2::*)(T_arg1)) [with T_arg1 = guint32,
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5477: note: T_return = void, T_obj = OmGtk::NewSubpatchWindow*, T_obj2 = Gtk::Window]
PatchWindow.cpp:112: error: call of overloaded `mem_fun(OmGtk::LoadSubpatchWindow*&, <unknown type>)' is ambiguous
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: candidates are: sigc::bound_mem_functor0<T_return, T_obj>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: sigc::mem_fun(T_obj, T_return (T_obj2::)()) [with T_return = void, T_obj =
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: OmGtk::LoadSubpatchWindow, T_obj2 = Gtk::Window]
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5453: note: sigc::bound_mem_functor0<T_return, T_obj>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5453: note: sigc::mem_fun(T_obj&, T_return (T_obj2::*)()) [with T_return = void, T_obj =
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5453: note: OmGtk::LoadSubpatchWindow*, T_obj2 = Gtk::Window]
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: sigc::bound_mem_functor1<T_return, T_obj, T_arg1>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: sigc::mem_fun(T_obj, T_return (T_obj2::)(T_arg1)) [with T_arg1 = guint32,
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: T_return = void, T_obj = OmGtk::LoadSubpatchWindow, T_obj2 = Gtk::Window]
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5477: note: sigc::bound_mem_functor1<T_return, T_obj, T_arg1>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5477: note: sigc::mem_fun(T_obj&, T_return (T_obj2::*)(T_arg1)) [with T_arg1 = guint32,
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5477: note: T_return = void, T_obj = OmGtk::LoadSubpatchWindow*, T_obj2 = Gtk::Window]
PatchWindow.cpp:114: error: call of overloaded `mem_fun(OmGtk::MessagesWindow*, <unknown type>)' is ambiguous
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: candidates are: sigc::bound_mem_functor0<T_return, T_obj>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: sigc::mem_fun(T_obj, T_return (T_obj2::)()) [with T_return = void, T_obj =
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: OmGtk::MessagesWindow, T_obj2 = Gtk::Window]
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: sigc::bound_mem_functor1<T_return, T_obj, T_arg1>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: sigc::mem_fun(T_obj, T_return (T_obj2::)(T_arg1)) [with T_arg1 = guint32,
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: T_return = void, T_obj = OmGtk::MessagesWindow, T_obj2 = Gtk::Window]
PatchWindow.cpp:116: error: call of overloaded `mem_fun(OmGtk::PatchTreeWindow*, <unknown type>)' is ambiguous
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: candidates are: sigc::bound_mem_functor0<T_return, T_obj>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: sigc::mem_fun(T_obj, T_return (T_obj2::)()) [with T_return = void, T_obj =
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: OmGtk::PatchTreeWindow, T_obj2 = Gtk::Window]
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: sigc::bound_mem_functor1<T_return, T_obj, T_arg1>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: sigc::mem_fun(T_obj, T_return (T_obj2::)(T_arg1)) [with T_arg1 = guint32,
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: T_return = void, T_obj = OmGtk::PatchTreeWindow, T_obj2 = Gtk::Window]
PatchWindow.cpp:118: error: call of overloaded `mem_fun(Gtk::Dialog*, <unknown type>)' is ambiguous
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: candidates are: sigc::bound_mem_functor0<T_return, T_obj>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: sigc::mem_fun(T_obj, T_return (T_obj2::)()) [with T_return = void, T_obj =
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5441: note: Gtk::Dialog, T_obj2 = Gtk::Window]
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: sigc::bound_mem_functor1<T_return, T_obj, T_arg1>
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: sigc::mem_fun(T_obj, T_return (T_obj2::)(T_arg1)) [with T_arg1 = guint32,
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:5465: note: T_return = void, T_obj = Gtk::Dialog, T_obj2 = Gtk::Window]
make[4]: *** [PatchWindow.o] Error 1
|