Re: [Lcms-user] Build warnings on OSX / clang
An ICC-based CMM for color management
Brought to you by:
mm2
From: Martí M. <mar...@li...> - 2017-08-22 08:11:33
|
Fixed by https://github.com/mm2/Little-CMS/commit/7e32c6fcb930754406f1174591dee85627eb0030 Thank you Marti On 8/9/2017 3:17 PM, Philip Race wrote: > [RESEND] > > I submitted the current git repo state into the JDK build system and > GCC 4.82 (if I believe our logging) > did not like these lines for .. the reason it states .. > /sjdk/src/java.desktop/share/native/liblcms/cmsopt.c:1550:48: error: > signed and unsigned type in conditional expression [-Werror=sign-compare] > ri = (l1 < 0) ? 0 : ((l1 > 16384) ? 16384U : l1); > ^ > /s/jdk/src/java.desktop/share/native/liblcms/cmsopt.c:1551:48: error: > signed and unsigned type in conditional expression [-Werror=sign-compare] > gi = (l2 < 0) ? 0 : ((l2 > 16384) ? 16384U : l2); > ^ > /s/jdk/src/java.desktop/share/native/liblcms/cmsopt.c:1552:48: error: > signed and unsigned type in conditional expression [-Werror=sign-compare] > bi = (l3 < 0) ? 0 : ((l3 > 16384) ? 16384U : l3); > > -phil. > > |