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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: