Windows x86 32 bit build stops with warning when using Vistual Studio2017:
src/hotspot/share/classfile/classFileParser.cpp(310): warning C4267: '=': conversion from 'size_t' to 'u2', possible loss of data
make[3]: *** [lib/CompileJvm.gmk:151: /cygdrive/e/priv/openjdk/nb/32bit/output-jdk11-test-fastdebug/hotspot/variant-server/libjvm/objs/classFileParser.obj] Error 1
Workaround: Use configure flag --disable-warnings-as-errors.
src/hotspot/share/classfile/classFileParser.cpp(310): warning C4267: '=': conversion from 'size_t' to 'u2', possible loss of data
make[3]: *** [lib/CompileJvm.gmk:151: /cygdrive/e/priv/openjdk/nb/32bit/output-jdk11-test-fastdebug/hotspot/variant-server/libjvm/objs/classFileParser.obj] Error 1
Workaround: Use configure flag --disable-warnings-as-errors.
- duplicates
-
JDK-8221408 Windows 32bit build build errors/warnings in hotspot
- Resolved