Re: [gtkmm] Problem compiling gtkmm cvs



On Tue, 2004-02-17 at 15:22, Alberto Paro wrote:
> Alberto Paro wrote:
> 
> > colorselection.cc: In member function `void
> >   Gtk::ColorSelection::set_current_color(const Gdk::Color&)':
> > colorselection.cc:305: error: invalid conversion from `const
> > GdkColor*' to `
> >   GdkColor*'
> > colorselection.cc: In member function `void
> >   Gtk::ColorSelection::set_previous_color(const Gdk::Color&)':
> > colorselection.cc:320: error: invalid conversion from `const
> > GdkColor*' to `
> >   GdkColor*'
> > make[5]: *** [colorselection.lo] Error 1
> > make[5]: Leaving directory `/home/gnome/gtkmm/gtk/gtkmm'
> 
> To temporary bypass the compilation problem, I've modified  the functions 
> that return these errors adding a cast "(GdkColor*)"

gtkmm cvs tracks GTK+ cvs. You need to update GTK+ from cvs - they added
some consts to the function parameters.

-- 
Murray Cumming
www.murrayc.com
murrayc murrayc com




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