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

FFI_GO_CLOSURES macro not defined but required for zero build on Mac OS X

XMLWordPrintable

    • b18
    • aarch64
    • os_x

        Building the zero variant of the JVM causes the compiler to emit warnings as the `FFI_GO_CLOSURES` macro is not defined:
        ```
        In file included from ..../cpu/zero/globalDefinitions_zero.hpp:37:
        /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/ffi/ffi.h:483:20: error: expected value in expression
        #if FFI_GO_CLOSURES
        ```
        This only happens for the zero variant, as other variants do not use the ffi header.

              jbechberger Johannes Bechberger
              jbechberger Johannes Bechberger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: