Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./test.c:98:101: error: passing argument 2 of ‘gtk_container_add’ from incompatible pointer type [-Werror=incompatible-pointer-types]
- gtk_container_add(GTK_CONTAINER(metaprog_instance_1408056545511792641_junction_3644609089020270593),metaprog_instance_6228826942671882241_junction_2912004240142012417);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/gtk-3.0/gtk/gtkbin.h:33:0,
- from /usr/include/gtk-3.0/gtk/gtkwindow.h:35,
- from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
- from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
- from /usr/include/gtk-3.0/gtk/gtk.h:31,
- from ./test.c:5:
- /usr/include/gtk-3.0/gtk/gtkcontainer.h:148:9: note: expected ‘GtkWidget * {aka struct _GtkWidget *}’ but argument is of type ‘struct <anonymous> *’
- void gtk_container_add (GtkContainer *container,
- ^~~~~~~~~~~~~~~~~
- ./test.c:100:21: error: passing argument 1 of ‘gtk_widget_show_all’ from incompatible pointer type [-Werror=incompatible-pointer-types]
- gtk_widget_show_all(metaprog_instance_1408056545511792641_junction_3644609089020270593);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0,
- from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
- from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
- from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
- from /usr/include/gtk-3.0/gtk/gtk.h:31,
- from ./test.c:5:
- /usr/include/gtk-3.0/gtk/gtkwidget.h:632:12: note: expected ‘GtkWidget * {aka struct _GtkWidget *}’ but argument is of type ‘struct <anonymous> *’
- void gtk_widget_show_all (GtkWidget *widget);
- ^~~~~~~~~~~~~~~~~~~
- cc1: all warnings being treated as errors
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement