Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8224111

[Windows x86 32 bit]: Build warning with Visual Studio 2017

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 11
    • hotspot
    • None
    • windows

      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.

            mdoerr Martin Doerr
            mdoerr Martin Doerr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: