Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8211280

JavaFX build fails on Linux with gcc8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jfx12
    • jfx11, jfx12, 8
    • javafx
    • Linux with GCC 8

        The following compilation error occurs when using GCC 8 to compile JavaFX:

        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]
                 XIMCallback startCallback = {(XPointer) jview, (XIMProc) im_preedit_start};
                                                                          ^~~~~~~~~~~~~~~~

              pbansal Pankaj Bansal (Inactive)
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: