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

JavaFX build fails on Linux with gcc8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • jfx12
    • jfx11, jfx12, 8
    • javafx
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: