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

fix warnings on prism-es2-native (mac)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • 8
    • javafx

      fix the following warnings:

      src/GLContext.c:1066:16: warning: extra tokens at end of #ifndef directive [-Wextra-tokens]
      #ifndef IS_EGL #RT-25058

      fix warnings on prism-es2-native (mac)
      src/GLPixelFormat.c:43:31: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
          memset(pfInfo, 0, sizeof (pfInfo));
                 ~~~~~~ ^~~~~~

            fheidric Felipe Heidrich (Inactive)
            fheidric Felipe Heidrich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: