Build failure on windows 'freetypeScaler.c'

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Fri Dec 18 13:28:44 UTC 2015


On 2015-12-18 14:16, Boaz Nahum wrote:
> Hi
>
> Lately, I have this error:
>
> f:/Dev/JDKBuild/valhalla/jdk/src/java.desktop/share/native/libfontmanager/freetypeScaler.c(106)
> : error C2220: warning treated as error - no 'object' file generated
> f:/Dev/JDKBuild/valhalla/jdk/src/java.desktop/share/native/libfontmanager/freetypeScaler.c(106)
> : warning C4101: 'stream' : unreferenced local variable
>
> I comment out:
>
> static void freeNativeResources(JNIEnv *env, FTScalerInfo* scalerInfo) {

This is a know problem which is fixed by JDK-8139803.

/Magnus


More information about the valhalla-dev mailing list