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

JavaFX build fails on Linux with gcc8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8, openjfx11, openjfx12
    • Fix Version/s: openjfx12
    • Component/s: javafx
    • Labels:
    • Environment:

      Linux with GCC 8

      Backports

        Description

        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};
                                                                          ^~~~~~~~~~~~~~~~

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pbansal Pankaj Bansal
                  Reporter:
                  kcr Kevin Rushforth
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: