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

Xcode 14.0 fails to build jdk on m1 macos

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 11, 17, 19, 20
    • client-libs
    • 2d
    • In Review
    • os_x

      Using Xcode 14.0 to build openjdk results in this error:

      Creating support/modules_libs/java.desktop/libosx.dylib from 1 file(s)
      jdk/src/java.desktop/share/native/liblcms/cmstypes.c:3441:132: error: parameter 'SizeOfTag' set but not used [-Werror,-Wunused-but-set-parameter]
      void *Type_ProfileSequenceId_Read(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, cmsUInt32Number* nItems, cmsUInt32Number SizeOfTag)
                                                                                                                                         ^
      jdk/src/java.desktop/share/native/liblcms/cmstypes.c:5137:125: error: parameter 'SizeOfTag' set but not used [-Werror,-Wunused-but-set-parameter]
      void *Type_Dictionary_Read(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, cmsUInt32Number* nItems, cmsUInt32Number SizeOfTag)

            vkempik Vladimir Kempik
            vkempik Vladimir Kempik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: