After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 695320 - compiling issues
compiling issues
Status: RESOLVED DUPLICATE of bug 695305
Product: gtkmm
Classification: Bindings
Component: build
3.7.x
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2013-03-06 20:02 UTC by mussadek
Modified: 2013-03-07 12:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description mussadek 2013-03-06 20:02:00 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
Comment 1 Murray Cumming 2013-03-07 10:29:41 UTC

*** This bug has been marked as a duplicate of bug 695305 ***
Comment 2 Murray Cumming 2013-03-07 12:03:59 UTC
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+.