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

Prism fails to compile with VS 2010

XMLWordPrintable

    • b115
    • 9

      After the fix for JDK-8154256

      We still allow developer builds to work with VS2010, so this needs to be fixed (or else the fix for JDK-8154256 will need to be backed out).

      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(178) : error C2275: 'jint' : illegal use of this type as an expression
              C:/java/jdk-9/include/win32\jni_md.h(33) : see declaration of 'jint'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(178) : error C2146: syntax error : missing ';' before identifier 'bounds'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(178) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(178) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(179) : error C2275: 'Transformer' : illegal use of this type as an expression
              rt\modules\graphics\src\main\native-prism\Transformer.h(45) : see declaration of 'Transformer'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(179) : error C2146: syntax error : missing ';' before identifier 'transformer'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(179) : error C2065: 'transformer' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(180) : error C2275: 'Renderer' : illegal use of this type as an expression
              rt\modules\graphics\src\main\native-prism\Renderer.h(98) : see declaration of 'Renderer'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(180) : error C2146: syntax error : missing ';' before identifier 'renderer'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(180) : error C2065: 'renderer' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(181) : error C2275: 'PathConsumer' : illegal use of this type as an expression
              rt\modules\graphics\src\main\native-prism\PathConsumer.h(35) : see declaration of 'PathConsumer'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(181) : error C2065: 'consumer' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(182) : error C2143: syntax error : missing ';' before 'type'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(183) : error C2275: 'jint' : illegal use of this type as an expression
              C:/java/jdk-9/include/win32\jni_md.h(33) : see declaration of 'jint'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(183) : error C2146: syntax error : missing ';' before identifier 'coordSize'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(183) : error C2065: 'coordSize' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(192) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(192) : warning C4047: 'function' : 'jint *' differs in levels of indirection from 'int'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(192) : warning C4024: 'function through pointer' : different types for formal and actual parameter 5
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(193) : error C2065: 'coordSize' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(194) : error C2065: 'renderer' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(194) : warning C4133: 'function' : incompatible types - from 'int *' to 'Renderer *'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(195) : error C2065: 'renderer' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(195) : warning C4133: 'function' : incompatible types - from 'int *' to 'Renderer *'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(196) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(196) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(196) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(196) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(196) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(196) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(196) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(196) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(196) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(196) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(196) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(196) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(197) : error C2198: 'Renderer_reset' : too few arguments for call
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(198) : error C2065: 'consumer' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(198) : error C2065: 'transformer' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(198) : warning C4133: 'function' : incompatible types - from 'int *' to 'Transformer *'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(198) : error C2065: 'renderer' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(198) : error C2224: left of '.consumer' must have struct/union type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(199) : error C2440: 'function' : cannot convert from 'jdouble' to 'PathConsumer *'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(199) : warning C4024: 'Transformer_init' : different types for formal and actual parameter 2
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(199) : error C2198: 'Transformer_init' : too few arguments for call
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(199) : warning C4047: '=' : 'int' differs in levels of indirection from 'PathConsumer *'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(200) : error C2065: 'failure' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(200) : error C2065: 'consumer' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(200) : warning C4047: 'function' : 'PathConsumer *' differs in levels of indirection from 'int'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(200) : warning C4024: 'feedConsumer' : different types for formal and actual parameter 2
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(201) : error C2065: 'coordSize' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(201) : warning C4047: '=' : 'int' differs in levels of indirection from 'char *'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(202) : error C2065: 'failure' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(202) : warning C4047: '==' : 'int' differs in levels of indirection from 'void *'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(203) : error C2065: 'renderer' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(203) : warning C4133: 'function' : incompatible types - from 'int *' to 'Renderer *'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(203) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(203) : warning C4047: 'function' : 'jint *' differs in levels of indirection from 'int'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(203) : warning C4024: 'Renderer_getOutputBounds' : different types for formal and actual parameter 2
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(204) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(204) : warning C4047: 'function' : 'const jint *' differs in levels of indirection from 'int'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(204) : warning C4024: 'function through pointer' : different types for formal and actual parameter 5
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(205) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(205) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(205) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(205) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(205) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(205) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(205) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(205) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(207) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(207) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(208) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(208) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(209) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(209) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(209) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(209) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(210) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(210) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(210) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(210) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(212) : warning C4047: 'initializing' : 'jint' differs in levels of indirection from 'void *'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(218) : error C2065: 'renderer' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(218) : warning C4133: 'function' : incompatible types - from 'int *' to 'Renderer *'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(223) : error C2065: 'failure' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(223) : error C2100: illegal indirection
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(224) : error C2065: 'failure' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(224) : error C2100: illegal indirection
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(225) : error C2065: 'failure' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(225) : warning C4047: 'function' : 'char *' differs in levels of indirection from 'int'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(225) : warning C4024: 'Throw' : different types for formal and actual parameter 3
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(227) : error C2065: 'failure' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(227) : warning C4047: 'function' : 'char *' differs in levels of indirection from 'int'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(227) : warning C4024: 'Throw' : different types for formal and actual parameter 3
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(230) : error C2065: 'renderer' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(230) : warning C4133: 'function' : incompatible types - from 'int *' to 'Renderer *'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(248) : error C2275: 'jint' : illegal use of this type as an expression
              C:/java/jdk-9/include/win32\jni_md.h(33) : see declaration of 'jint'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(248) : error C2146: syntax error : missing ';' before identifier 'bounds'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(248) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(248) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(249) : error C2275: 'Stroker' : illegal use of this type as an expression
              rt\modules\graphics\src\main\native-prism\Stroker.h(103) : see declaration of 'Stroker'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(249) : error C2146: syntax error : missing ';' before identifier 'stroker'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(249) : error C2065: 'stroker' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(250) : error C2275: 'Dasher' : illegal use of this type as an expression
              rt\modules\graphics\src\main\native-prism\Dasher.h(128) : see declaration of 'Dasher'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(250) : error C2146: syntax error : missing ';' before identifier 'dasher'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(250) : error C2065: 'dasher' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(251) : error C2275: 'Renderer' : illegal use of this type as an expression
              rt\modules\graphics\src\main\native-prism\Renderer.h(98) : see declaration of 'Renderer'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(251) : error C2146: syntax error : missing ';' before identifier 'renderer'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(251) : error C2065: 'renderer' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(252) : error C2275: 'Transformer' : illegal use of this type as an expression
              rt\modules\graphics\src\main\native-prism\Transformer.h(45) : see declaration of 'Transformer'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(252) : error C2146: syntax error : missing ';' before identifier 'transformer'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(252) : error C2065: 'transformer' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(253) : error C2275: 'PathConsumer' : illegal use of this type as an expression
              rt\modules\graphics\src\main\native-prism\PathConsumer.h(35) : see declaration of 'PathConsumer'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(253) : error C2065: 'consumer' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(254) : error C2275: 'jint' : illegal use of this type as an expression
              C:/java/jdk-9/include/win32\jni_md.h(33) : see declaration of 'jint'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(254) : error C2146: syntax error : missing ';' before identifier 'coordSize'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(254) : error C2065: 'coordSize' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(255) : error C2275: 'jfloat' : illegal use of this type as an expression
              C:/java/jdk-9/include\jni.h(60) : see declaration of 'jfloat'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(255) : error C2065: 'dashes' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(256) : error C2143: syntax error : missing ';' before 'type'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(265) : error C2065: 'bounds' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(265) : warning C4047: 'function' : 'jint *' differs in levels of indirection from 'int'
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(265) : warning C4024: 'function through pointer' : different types for formal and actual parameter 5
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(266) : error C2065: 'coordSize' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(267) : error C2065: 'renderer' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\NativePiscesRasterizer.c(267) : fatal error C1003: error count exceeds 100; stopping compilation
      Curve.c
      Renderer.c
      Transformer.c
      rt\modules\graphics\src\main\native-prism\Renderer.c(627) : error C2275: 'jint' : illegal use of this type as an expression
              C:/java/jdk-9/include/win32\jni_md.h(33) : see declaration of 'jint'
      rt\modules\graphics\src\main\native-prism\Renderer.c(627) : error C2146: syntax error : missing ';' before identifier 'w'
      rt\modules\graphics\src\main\native-prism\Renderer.c(627) : error C2065: 'w' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\Renderer.c(628) : error C2275: 'jint' : illegal use of this type as an expression
              C:/java/jdk-9/include/win32\jni_md.h(33) : see declaration of 'jint'
      rt\modules\graphics\src\main\native-prism\Renderer.c(628) : error C2146: syntax error : missing ';' before identifier 'off'
      rt\modules\graphics\src\main\native-prism\Renderer.c(628) : error C2065: 'off' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\Renderer.c(628) : error C2065: 'w' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\Renderer.c(629) : error C2275: 'jbyte' : illegal use of this type as an expression
              C:/java/jdk-9/include/win32\jni_md.h(35) : see declaration of 'jbyte'
      rt\modules\graphics\src\main\native-prism\Renderer.c(629) : error C2065: 'out' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\Renderer.c(630) : error C2275: 'jint' : illegal use of this type as an expression
              C:/java/jdk-9/include/win32\jni_md.h(33) : see declaration of 'jint'
      rt\modules\graphics\src\main\native-prism\Renderer.c(630) : error C2146: syntax error : missing ';' before identifier 'a'
      rt\modules\graphics\src\main\native-prism\Renderer.c(630) : error C2065: 'a' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\Renderer.c(631) : error C2275: 'jint' : illegal use of this type as an expression
              C:/java/jdk-9/include/win32\jni_md.h(33) : see declaration of 'jint'
      rt\modules\graphics\src\main\native-prism\Renderer.c(631) : error C2146: syntax error : missing ';' before identifier 'i'
      rt\modules\graphics\src\main\native-prism\Renderer.c(631) : error C2065: 'i' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\Renderer.c(632) : error C2065: 'i' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\Renderer.c(632) : error C2065: 'i' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\Renderer.c(632) : error C2065: 'w' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\Renderer.c(632) : error C2065: 'i' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\Renderer.c(633) : error C2065: 'a' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\Renderer.c(633) : error C2065: 'i' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\Renderer.c(634) : error C2065: 'i' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\Renderer.c(635) : error C2065: 'out' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\Renderer.c(635) : error C2065: 'off' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\Renderer.c(635) : error C2065: 'i' : undeclared identifier
      rt\modules\graphics\src\main\native-prism\Renderer.c(635) : error C2109: subscript requires array or pointer type
      rt\modules\graphics\src\main\native-prism\Renderer.c(635) : error C2065: 'a' : undeclared identifier
      :graphics:ccWinPrism FAILED

            ddhill David Hill (Inactive)
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: