RE: [gtkmm] Build problems with gtkmm-2.3.1



Yes, patches welcome. Here are some clues:
http://bugzilla.gnome.org/show_bug.cgi?id=129210

Murray Cumming
www.murrayc.com
murrayc usa net

> -----Original Message-----
> From: gtkmm-list-admin gnome org 
> [mailto:gtkmm-list-admin gnome org] On Behalf Of Nicholas Piper
> Sent: Sonntag, 14. Dezember 2003 23:37
> To: gtkmm-list gnome org
> Subject: [gtkmm] Build problems with gtkmm-2.3.1
> 
> 
> I can't seem to persuade 2.3.1 to build. I'm currently trying 
> to update libgnomeuimm, so updating all it's dependencies.
> 
> I have gcc version 2.95.3, glibmm-2.3.2 and gtk+-2.3.1.
> 
> In file included from radioaction.cc:3:
> ../../gtk/gtkmm/radioaction.h:100: declaration of `typedef 
> class Gtk::RadioButtonGroup Gtk::RadioAction::Group'
> ../../gtk/gtkmm/radioaction.h:87: conflicts with previous 
> declaration `typedef class Gtk::RadioButtonGroup 
> Gtk::RadioAction::Group'
> 
> So I commented out the one on line 100.
> Then it reaches:
> 
> In file included from ../../gtk/gtkmm/settings.h:30,
>                  from rc.cc:28:
> ../../gtk/gtkmm/toolbar.h:350: ANSI C++ forbids declaration 
> `auto_ptr' with no type
> ../../gtk/gtkmm/toolbar.h:350: template-id 
> `auto_ptr<Gtk::Toolbar_Helpers::ToolList>' used as a declarator
> ../../gtk/gtkmm/toolbar.h:350: parse error before `;'
> ../../gtk/gtkmm/toolbar.h:351: ANSI C++ forbids declaration 
> `tools_proxy_ptr_type' with no type
> ../../gtk/gtkmm/toolbar.h:351: parse error before `;'
> 
> So I added #include <memory> at the top.
> Then it reaches:
> 
> toolbar.cc: In method `class Gtk::Toolbar_Helpers::ToolList & 
> Gtk::Toolbar::tools()':
> toolbar.cc:416: initialization of non-const reference type 
> `class auto_ptr<Gtk::Toolbar_Helpers::ToolList> &'
> toolbar.cc:416: from rvalue of type 
> `auto_ptr<Gtk::Toolbar_Helpers::ToolList>'
> /usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.3/../../../../include/
> g++-3/memory:40: in passing argument 1 of 
> `auto_ptr<Gtk::Toolbar_Helpers::ToolList>::operator 
> =(auto_ptr<Gtk::Toolbar_Helpers::ToolList> &)'
> toolbar.cc: In method `const class 
> Gtk::Toolbar_Helpers::ToolList & Gtk::Toolbar::tools() const':
> toolbar.cc:428: initialization of non-const reference type 
> `class auto_ptr<Gtk::Toolbar_Helpers::ToolList> &'
> toolbar.cc:428: from rvalue of type 
> `auto_ptr<Gtk::Toolbar_Helpers::ToolList>'
> /usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.3/../../../../include/
> g++-3/memory:40: in passing argument 1 of 
> `auto_ptr<Gtk::Toolbar_Helpers::ToolList>::operator 
> =(auto_ptr<Gtk::Toolbar_Helpers::ToolList> &)'
> 
> So I presume something is a bit wrong---I wouldn't expect 
> more than a few changes to be necessary to an (unstable) 
> released tarball.
> 
> Is there possibly something else I have that's out of date?
> 
>  Nick
> 
> -- 
> Part 4 MEng Cybernetics; Reading, UK       http://www.nickpiper.co.uk/
> GPG Encrypted mail welcome!                             1024D/3ED8B27F
> Choose life. Be Vegan :-) Please reduce needless cruelty + 
> suffering ! _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]