SHARE
TWEET

Untitled

a guest Apr 24th, 2019 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ./test.c:98:101: error: passing argument 2 of ‘gtk_container_add’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  2.  gtk_container_add(GTK_CONTAINER(metaprog_instance_1408056545511792641_junction_3644609089020270593),metaprog_instance_6228826942671882241_junction_2912004240142012417);
  3.                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4. In file included from /usr/include/gtk-3.0/gtk/gtkbin.h:33:0,
  5.                  from /usr/include/gtk-3.0/gtk/gtkwindow.h:35,
  6.                  from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
  7.                  from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
  8.                  from /usr/include/gtk-3.0/gtk/gtk.h:31,
  9.                  from ./test.c:5:
  10. /usr/include/gtk-3.0/gtk/gtkcontainer.h:148:9: note: expected ‘GtkWidget * {aka struct _GtkWidget *}’ but argument is of type ‘struct <anonymous> *’
  11.  void    gtk_container_add   (GtkContainer    *container,
  12.          ^~~~~~~~~~~~~~~~~
  13. ./test.c:100:21: error: passing argument 1 of ‘gtk_widget_show_all’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  14.  gtk_widget_show_all(metaprog_instance_1408056545511792641_junction_3644609089020270593);
  15.                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  16. In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0,
  17.                  from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
  18.                  from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
  19.                  from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
  20.                  from /usr/include/gtk-3.0/gtk/gtk.h:31,
  21.                  from ./test.c:5:
  22. /usr/include/gtk-3.0/gtk/gtkwidget.h:632:12: note: expected ‘GtkWidget * {aka struct _GtkWidget *}’ but argument is of type ‘struct <anonymous> *’
  23.  void       gtk_widget_show_all            (GtkWidget           *widget);
  24.             ^~~~~~~~~~~~~~~~~~~
  25. cc1: all warnings being treated as errors
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top