Build failure on windows 'freetypeScaler.c'

Boaz Nahum boaznahum at gmail.com
Fri Dec 18 13:16:50 UTC 2015


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) {
//    void *stream;


And now it works.

Thx
Boaz



More information about the build-dev mailing list