Package: gnomemm
Version: 1.2.4-3
Severity: important
Your package fails to build with G++ 4.1. I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.
There are 2 errors. The first one can be fixed with the patch below,
but then there's another error later on:
| c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gnome--\" -I. -I./..
-I.. -I../../src -I../../src -I../../src/gtk-- -I../../gdk--
-I/usr/lib/gtkmm/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -O2
-Wall -Wno-unused -Wp,-MD,.deps/pixmapmenuitem.pp -c pixmapmenuitem.cc -fPIC
-DPIC -o .libs/pixmapmenuitem.lo
| pixmapmenuitem.cc:29: error: definition of 'void
Gtk::Menu_Helpers::PixmapMenuElem::PixmapMenuElem(Gtk::Pixmap&, const
std::string&, const std::string&, Gtk::Menu_Helpers::ItemCallback)' is not in
namespace enclosing 'Gtk::Menu_Helpers::PixmapMenuElem'
| pixmapmenuitem.cc:43: error: definition of 'void
Gtk::Menu_Helpers::PixmapMenuElem::PixmapMenuElem(Gtk::Pixmap&, const
std::string&, const std::string&, Gtk::Menu_Helpers::AccelKey,
Gtk::Menu_Helpers::ItemCallback)' is not in namespace enclosing
'Gtk::Menu_Helpers::PixmapMenuElem'
| pixmapmenuitem.cc:55: error: definition of 'void
Gtk::Menu_Helpers::PixmapMenuElem::PixmapMenuElem(const std::string&, const
std::string&, Gtk::Menu&)' is not in namespace enclosing
'Gtk::Menu_Helpers::PixmapMenuElem'
| pixmapmenuitem.cc:68: error: definition of 'void
Gtk::Menu_Helpers::PixmapMenuElem::PixmapMenuElem(Gtk::Pixmap&, const
std::string&, const std::string&, Gtk::Menu&)' is not in namespace enclosing
'Gtk::Menu_Helpers::PixmapMenuElem'
| pixmapmenuitem.cc:78: error: definition of 'void
Gtk::Menu_Helpers::PixmapMenuElem::create_child_menu_item()' is not in
namespace enclosing 'Gtk::Menu_Helpers::PixmapMenuElem'
| pixmapmenuitem.cc:85: error: definition of 'void
Gtk::Menu_Helpers::PixmapMenuElem::PixmapMenuElem()' is not in namespace
enclosing 'Gtk::Menu_Helpers::PixmapMenuElem'
| make[4]: *** [pixmapmenuitem.lo] Error 1
The first error is:
| app-helper.h:80: error: extra qualification 'Gnome::UI::Info::' on member
'get_widget'
which can be fixed with:
--- ./gnomemm-1.2.4/src/gnome--/app-helper.h~ 2006-03-12 03:11:04.000000000
+0000
+++ ./gnomemm-1.2.4/src/gnome--/app-helper.h 2006-03-12 03:12:07.000000000
+0000
@@ -77,7 +77,7 @@
~Info();
Info& operator =(const Info&);
- Gtk::Widget* Info::get_widget() const;
+ Gtk::Widget* get_widget() const;
Type type() const
{ return Type(GnomeUIInfo::type); }
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]