GNOME Bugzilla – Bug 695320
compiling issues
Last modified: 2013-03-07 12:03:59 UTC
was trying to build GTKMM from git repo and iam getting this entry.cc: In static member function 'static void Gtk::Entry_Class::class_init_function(void*, void*)': entry.cc:298:28: error: invalid conversion from 'void (*)(GtkEntry*, GtkMenu*) {aka void (*)(_GtkEntry*, _GtkMenu*)}' to 'void (*)(GtkEntry*, GtkWidget*) {aka void (*)(_GtkEntry*, _GtkWidget*)}' [-fpermissive] entry.cc: In static member function 'static void Gtk::Entry_Class::populate_popup_callback(GtkEntry*, GtkMenu*)': entry.cc:343:37: error: cannot convert 'GtkMenu* {aka _GtkMenu*}' to 'GtkWidget* {aka _GtkWidget*}' in argument passing entry.cc: In member function 'virtual void Gtk::Entry::on_populate_popup(Gtk::Menu*)': entry.cc:1461:64: error: cannot convert 'GtkMenu* {aka _GtkMenu*}' to 'GtkWidget* {aka _GtkWidget*}' in argument passing
*** This bug has been marked as a duplicate of bug 695305 ***
Thanks for the bug report. It's fixed with this commit in gtkmm: https://git.gnome.org/browse/gtkmm/commit/?id=1c3e844a2e2369f73e8afc99a99003da5abbd258 That copes with the small API change in GTK+.