-
Bug
-
Resolution: Fixed
-
P3
-
jfx11, jfx12, 8
-
Linux with GCC 8
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8217433 | 8u212 | Pankaj Bansal | P3 | Resolved | Fixed | b03 |
JDK-8216505 | jfx11.0.2 | Pankaj Bansal | P3 | Resolved | Fixed |
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};
^~~~~~~~~~~~~~~~
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};
^~~~~~~~~~~~~~~~
- backported by
-
JDK-8216505 JavaFX build fails on Linux with gcc8
- Resolved
-
JDK-8217433 JavaFX build fails on Linux with gcc8
- Resolved
- links to