<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 7, 2022, at 3:41 AM, Thomas Stuefe <<a href="mailto:stuefe@openjdk.org" class="">stuefe@openjdk.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""><span class="Apple-converted-space"> </span>am surprised this even builds.</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""></div></blockquote><br class=""></div><div>It builds for me…</div><div><br class=""></div><div>* Toolchain:      clang (clang/LLVM from Xcode 14.1)</div><div><br class=""></div><div>With the exception of these errors in cmstypes.c</div><div><br class=""></div><div>/Users/mjh/Documents/GitHub/jdk/src/java.desktop/share/native/liblcms/cmstypes.c:3441:132: error: parameter 'SizeOfTag' set but not used [-Werror,-Wunused-but-set-parameter]<br class="">void *Type_ProfileSequenceId_Read(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, cmsUInt32Number* nItems, cmsUInt32Number SizeOfTag)<br class="">                                                                                                                                   ^<br class="">/Users/mjh/Documents/GitHub/jdk/src/java.desktop/share/native/liblcms/cmstypes.c:5137:125: error: parameter 'SizeOfTag' set but not used [-Werror,-Wunused-but-set-parameter]<br class="">void *Type_Dictionary_Read(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, cmsUInt32Number* nItems, cmsUInt32Number SizeOfTag)<br class="">                                                                                                                            ^<br class="">2 errors generated.<br class=""><br class=""></div><div>I had seen this sometime back. The same workaround of adding…</div><div><br class=""></div><div>cmsUNUSED_PARAMETER(SizeOfTag);    // mjh</div><div><br class=""></div><div>To the two methods, which I had noticed included elsewhere in the code, still appears to work.</div><div><br class=""></div><div>I first noticed the sprintf issue in later releases of Xcode 13. It isn’t just Xcode 14.</div><br class=""></body></html>