[8u] Fix VS2010 build issue in check_code.c

XMLWordPrintable

    • b02
    • x86
    • windows

        JDK 8 code fails to build using VS2010 with errors:
        check_code.c
        d:/a/jdk8u-dev/jdk8u-dev/jdk/jdk/src/share/native/common/check_code.c(1167) : error C2143: syntax error : missing ';' before 'type'
        d:/a/jdk8u-dev/jdk8u-dev/jdk/jdk/src/share/native/common/check_code.c(1168) : error C2065: 'target' : undeclared identifier
        d:/a/jdk8u-dev/jdk8u-dev/jdk/jdk/src/share/native/common/check_code.c(1183) : error C2143: syntax error : missing ';' before 'type'
        d:/a/jdk8u-dev/jdk8u-dev/jdk/jdk/src/share/native/common/check_code.c(1184) : error C2065: 'target' : undeclared identifier
        d:/a/jdk8u-dev/jdk8u-dev/jdk/jdk/src/share/native/common/check_code.c(1222) : error C2143: syntax error : missing ';' before 'type'
        d:/a/jdk8u-dev/jdk8u-dev/jdk/jdk/src/share/native/common/check_code.c(1223) : error C2065: 'jump' : undeclared identifier
        d:/a/jdk8u-dev/jdk8u-dev/jdk/jdk/src/share/native/common/check_code.c(1225) : error C2143: syntax error : missing ';' before 'type'
        d:/a/jdk8u-dev/jdk8u-dev/jdk/jdk/src/share/native/common/check_code.c(1226) : error C2065: 'target' : undeclared identifier
        d:/a/jdk8u-dev/jdk8u-dev/jdk/jdk/src/share/native/common/check_code.c(1228) : error C2065: 'jump' : undeclared identifier
        d:/a/jdk8u-dev/jdk8u-dev/jdk/jdk/src/share/native/common/check_code.c(1229) : error C2065: 'jump' : undeclared identifier
        d:/a/jdk8u-dev/jdk8u-dev/jdk/jdk/src/share/native/common/check_code.c(1231) : error C2065: 'target' : undeclared identifier
        d:/a/jdk8u-dev/jdk8u-dev/jdk/jdk/src/share/native/common/check_code.c(1231) : error C2065: 'jump' : undeclared identifier
        d:/a/jdk8u-dev/jdk8u-dev/jdk/jdk/src/share/native/common/check_code.c(1232) : error C2065: 'target' : undeclared identifier
        d:/a/jdk8u-dev/jdk8u-dev/jdk/jdk/src/share/native/common/check_code.c(1769) : error C2143: syntax error : missing ';' before 'type'
        d:/a/jdk8u-dev/jdk8u-dev/jdk/jdk/src/share/native/common/check_code.c(1770) : error C2065: 'target' : undeclared identifier
        d:/a/jdk8u-dev/jdk8u-dev/jdk/jdk/src/share/native/common/check_code.c(1770) : error C2065: 'target' : undeclared identifier
        d:/a/jdk8u-dev/jdk8u-dev/jdk/jdk/src/share/native/common/check_code.c(1770) : error C2065: 'target' : undeclared identifier

        Issue is JDK 8 only, because newer JDKs require higher version of visual studio.

              Assignee:
              Zdenek Zambersky
              Reporter:
              Zdenek Zambersky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: