Re: [gtkmm] Problem compiling gtkmm cvs



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*)"

Hi,
   Alberto



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