[ardour-dev] beta29 under fc4t3, gcc4

Fernando Lopez-Lezcano nando at ccrma.Stanford.EDU
Thu Jun 2 20:05:32 PDT 2005


On Mon, 2005-05-30 at 17:40, Fernando Lopez-Lezcano wrote:
> Hi all, there was a message a while back stating that ardour would build
> with gcc 4 but I'm not having any luck (in a preliminary build on Fedora
> Core 4 test3). The compiler is:
> 
> # g++ --version
> g++ (GCC) 4.0.0 20050423 (Red Hat 4.0.0-2)
> 
> I'm getting this error:
> 
> libs/gtkmm/src/gtk--/clist.cc: In member function
> 'Gtk::CList_Helpers::Cell Gtk::CList::cell(gint, gint)':
> libs/gtkmm/src/gtk--/clist.h:92: error:
> 'Gtk::CList_Helpers::Cell::Cell(GtkCList*, gint, gint)' is protected

This one I could fix by mindlessly moving the function or whatever to
the public section of the class. 

> libs/gtkmm/src/gtk--/clist.cc:125: error: within this context
> libs/gtkmm/src/gtk--/clist.cc: In member function 'const
> Gtk::CList_Helpers::Cell Gtk::CList::cell(gint, gint) const':
> libs/gtkmm/src/gtk--/clist.h:92: error:
> 'Gtk::CList_Helpers::Cell::Cell(GtkCList*, gint, gint)' is protected
> libs/gtkmm/src/gtk--/clist.cc:130: error: within this context

> libs/gtkmm/src/gtk--/clist.cc: In member function 'void
> Gtk::CList_Helpers::RowList::erase(Gtk::CList_Helpers::RowIterator,
> Gtk::CList_Helpers::RowIterator)':
> libs/gtkmm/src/gtk--/clist.cc:927: warning: statement has no effect
> libs/gtkmm/src/gtk--/clist.cc: At global scope:
> libs/gtkmm/src/gtk--/clist.cc:970: error: prototype for
> 'Gtk::CList_Helpers::Freeze::Freeze(Gtk::CList_Helpers::CList&)' does
> not match any in class 'Gtk::CList_Helpers::Freeze'
> libs/gtkmm/src/gtk--/clist.h:63: error: candidates are:
> Gtk::CList_Helpers::Freeze::Freeze(const Gtk::CList_Helpers::Freeze&)
> libs/gtkmm/src/gtk--/clist.h:66: error:                
> Gtk::CList_Helpers::Freeze::Freeze(Gtk::CList&)
> libs/gtkmm/src/gtk--/clist.cc: In constructor
> 'Gtk::CList_Helpers::Freeze::Freeze(Gtk::CList_Helpers::CList&)':
> libs/gtkmm/src/gtk--/clist.cc:971: error: cannot convert
> 'Gtk::CList_Helpers::CList*' to 'Gtk::CList*' in initialization
> scons: *** [libs/gtkmm/src/gtk--/clist.o] Error 1
> scons: building terminated because of errors.
> error: Bad exit status from /var/tmp/rpm-tmp.15352 (%build)

As for the Freeze thing, I have no idea. Rats, in my free time I should
really learn C++[*], I've heard it is really really easy :-)

I have not checked but this is probably gtk-- 1.2.10 or similar, maybe
it is time to move to 2.x? For a couple of Fedora releases I've had
problems building it with the new gcc's but for this one I have not been
able to find someone hitting the same problem. If it is not found on
ggogle it surely didn't happen, right? :-)

-- Fernando

[*] in past lives I was good with Objective C.... different animals...





More information about the Ardour-Dev mailing list