SHARE
TWEET

Untitled

a guest May 12th, 2018 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. :graphics:linkLinuxGlassGlass
  2. :graphics:ccLinuxGlassGlassgtk2/home/ty/jdkbuild/rt10/rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_window_ime.cpp: In member function ‘virtual void WindowContextBase::enableOrResetIME()’:
  3. /home/ty/jdkbuild/rt10/rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_window_ime.cpp:236:66: error: cast between incompatible function types from ‘int (*)(XIM, XPointer, XPointer)’ {aka ‘int (*)(_XIM*, char*, char*)’} to ‘XIMProc’ {aka ‘void (*)(_XIM*, char*, char*)’} [-Werror=cast-function-type]
  4.          XIMCallback startCallback = {(XPointer) jview, (XIMProc) im_preedit_start};
  5.                                                                   ^~~~~~~~~~~~~~~~
  6. /home/ty/jdkbuild/rt10/rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_dnd.cpp: In function ‘void process_dnd_source_mouse_release(GdkWindow*, GdkEventButton*)’:
  7. /home/ty/jdkbuild/rt10/rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_dnd.cpp:827:44: error: cast between incompatible function types from ‘gboolean (*)()’ {aka ‘int (*)()’} to ‘GSourceFunc’ {aka ‘int (*)(void*)’} [-Werror=cast-function-type]
  8.          gdk_threads_add_idle((GSourceFunc) dnd_finish_callback, NULL);
  9.                                             ^~~~~~~~~~~~~~~~~~~
  10. /home/ty/jdkbuild/rt10/rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_dnd.cpp: In function ‘void process_dnd_source_drop_finished(GdkWindow*, GdkEventDND*)’:
  11. /home/ty/jdkbuild/rt10/rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_dnd.cpp:939:40: error: cast between incompatible function types from ‘gboolean (*)()’ {aka ‘int (*)()’} to ‘GSourceFunc’ {aka ‘int (*)(void*)’} [-Werror=cast-function-type]
  12.      gdk_threads_add_idle((GSourceFunc) dnd_finish_callback, NULL);
  13.                                         ^~~~~~~~~~~~~~~~~~~
  14. /home/ty/jdkbuild/rt10/rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_dnd.cpp: In static member function ‘static GdkPixbuf* DragView::get_drag_image(gboolean*, gint*, gint*)’:
  15. /home/ty/jdkbuild/rt10/rt/modules/javafx.graphics/src/main/native-glass/gtk/glass_dnd.cpp:1116:71: error: cast between incompatible function types from ‘void (*)(gpointer)’ {aka ‘void (*)(void*)’} to ‘GdkPixbufDestroyNotify’ {aka ‘void (*)(unsigned char*, void*)’} [-Werror=cast-function-type]
  16.                                  w, h, w * 4, (GdkPixbufDestroyNotify) g_free, NULL);
  17.                                                                        ^~~~~~
  18. cc1plus: all warnings being treated as errors
  19. cc1plus: all warnings being treated as errors
  20.  FAILED
  21.  
  22. FAILURE: Build failed with an exception.
  23.  
  24. * What went wrong:
  25. Execution failed for task ':graphics:ccLinuxGlassGlassgtk2'.
  26. > java.util.concurrent.ExecutionException: org.gradle.process.internal.ExecException: Process 'command 'gcc'' finished with non-zero exit value 1
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
 
Top