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

C type error (incompatible function pointer) in X11GLContext.c

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jfx22
    • jfx21
    • javafx
    • None
    • b25
    • generic
    • linux

      In Java_com_sun_prism_es2_X11GLContext_nInitialize, ctxInfo->glXSwapIntervalSGI is assigned the result of a glXGetProcAddress call, but the pointer types are not necessarily compatible (it's void (*) (void) vs int (*) (int) in our builds).

      This causes a build failure with GCC 14 and presumably Clang.

            fweimer Florian Weimer
            fweimer Florian Weimer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: