Hi, as well, gtkmm-1.2.10 FTBFS with gcc4.
please apply patch from Daniel Schepler <[EMAIL PROTECTED]> and then these attached patches. thx, \sh -- Stephan Hermann eMail: [EMAIL PROTECTED] JID: [EMAIL PROTECTED] Tel.: +49700sourcecode Skype: s.hermann Blog: http://linux.blogweb.de/
diff -ur gtkmm-1.2.10/src/clist.gen_h gtkmm-1.2.10.patched/src/clist.gen_h
--- gtkmm-1.2.10/src/clist.gen_h 2001-08-16 19:56:49.000000000 +0200
+++ gtkmm-1.2.10.patched/src/clist.gen_h 2005-06-08 22:24:43.916373656 +0200
@@ -59,9 +59,10 @@
class CellIterator;
class Cell
{
+ friend class CList;
+ friend class Row;
+
protected:
- friend class CList;
- friend class Row;
GtkCList *parent_;
GtkCListRow *row__;
@@ -75,13 +76,13 @@
gint get_row_num();
gint get_row_num() const;
- Cell(GtkCList *,GtkCListRow *,gint);
- Cell(GtkCList *,gint,gint);
- Cell();
void redraw();
public:
+ Cell(GtkCList *,GtkCListRow *,gint);
+ Cell(GtkCList *,gint,gint);
+ Cell();
GtkCellType get_type() const;
Gtk::Style* get_style() const;
nstring get_text() const;
diff -ur gtkmm-1.2.10/src/radiobutton.gen_h gtkmm-1.2.10.patched/src/radiobutton.gen_h
--- gtkmm-1.2.10/src/radiobutton.gen_h 2001-08-04 19:36:51.000000000 +0200
+++ gtkmm-1.2.10.patched/src/radiobutton.gen_h 2005-06-08 22:34:40.850625856 +0200
@@ -39,11 +39,12 @@
friend class RadioButton;
GSList *group_;
void* operator new(size_t);
- void add(RadioButton& item);
public:
Group(GSList* group) : group_(group) {}
Group() : group_(0) {}
operator GSList* () const { return group_; }
+ void add(RadioButton& item);
+
};
}
diff -ur gtkmm-1.2.10/src/radiomenuitem.gen_h gtkmm-1.2.10.patched/src/radiomenuitem.gen_h
--- gtkmm-1.2.10/src/radiomenuitem.gen_h 2001-08-04 19:36:51.000000000 +0200
+++ gtkmm-1.2.10.patched/src/radiomenuitem.gen_h 2005-06-08 22:43:06.004830744 +0200
@@ -37,11 +37,12 @@
friend class RadioMenuItem;
GSList *group_;
void* operator new(size_t);
- void add(RadioMenuItem& item);
public:
Group(GSList* group) : group_(group) {}
Group() : group_(0) {}
operator GSList* () const { return group_; }
+ void add(RadioMenuItem& item);
+
};
}
pgpotsjn9axa5.pgp
Description: PGP signature

