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

dcpr native code compiler warnings

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b138
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      Compiler warnings on native code:

      Linux:

      /usr/bin/gcc -g -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN -DDEBUG -DLOGGING -DARCH='"i586"' -Di586 -DLINUX -DRELEASE='"1.7.0-ea-fastdebug"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -I. -I/BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.dc/dcpr/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/sun/dc -I../../../src/solaris/native/sun/dc -I../../../src/closed/share/native/sun/dc/doe -I../../../src/closed/share/native/sun/dc/path -I../../../src/closed/share/native/sun/dc/pr -I../../../src/closed/share/native/sun/dc/util -I../../../src/share/native/sun/java2d/pipe -I../../../src/solaris/native/sun/java2d -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/dcPathFiller.o ../../../src/closed/share/native/sun/dc/pr/dcPathFiller.c
      ../../../src/closed/share/native/sun/dc/pr/dcPathFiller.c: In function 'processToRunsArc1':
      ../../../src/closed/share/native/sun/dc/pr/dcPathFiller.c:603: warning: comparison between signed and unsigned
      ../../../src/closed/share/native/sun/dc/pr/dcPathFiller.c:603: warning: comparison between signed and unsigned


      Windows:

      C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl -Od -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/dcPool.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/dcPool.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE -DDEBUG -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86 -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/windows/native/common -I../../../src/share/native/sun/dc -I../../../src/windows/native/sun/dc -I../../../src/closed/share/native/sun/dc/doe -I../../../src/closed/share/native/sun/dc/path -I../../../src/closed/share/native/sun/dc/pr -I../../../src/closed/share/native/sun/dc/util -I../../../src/share/native/sun/java2d/pipe -I../../../src/windows/native/sun/java2d -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/dcPool.obj ../../../src/closed/share/native/sun/dc/util/dcPool.c
      dcPool.c
      ../../../src/closed/share/native/sun/dc/util/dcPool.c(260) : warning C4244: '=' : conversion from 'double' to 'f32', possible loss of data
      ../../../src/closed/share/native/sun/dc/util/dcPool.c(261) : warning C4244: '=' : conversion from 'double' to 'ixx', possible loss of data
      ../../../src/closed/share/native/sun/dc/util/dcPool.c(303) : warning C4244: 'initializing' : conversion from 'double' to 'ixx', possible loss of data
      ../../../src/closed/share/native/sun/dc/util/dcPool.c(304) : warning C4244: 'initializing' : conversion from 'double' to 'ixx', possible loss of data
      ../../../src/closed/share/native/sun/dc/util/dcPool.c(305) : warning C4244: 'initializing' : conversion from 'double' to 'ixx', possible loss of data

      C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl -Od -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/dcPathStore.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/dcPathStore.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE -DDEBUG -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86 -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/windows/native/common -I../../../src/share/native/sun/dc -I../../../src/windows/native/sun/dc -I../../../src/closed/share/native/sun/dc/doe -I../../../src/closed/share/native/sun/dc/path -I../../../src/closed/share/native/sun/dc/pr -I../../../src/closed/share/native/sun/dc/util -I../../../src/share/native/sun/java2d/pipe -I../../../src/windows/native/sun/java2d -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/dcPathStore.obj ../../../src/closed/share/native/sun/dc/path/dcPathStore.c
      dcPathStore.c
      ../../../src/closed/share/native/sun/dc/path/dcPathStore.c(795) : warning C4305: '=' : truncation from 'double' to 'f32'
      ../../../src/closed/share/native/sun/dc/path/dcPathStore.c(796) : warning C4305: '=' : truncation from 'double' to 'f32'

      C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl -Od -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/PathFiller.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/PathFiller.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE -DDEBUG -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86 -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/windows/native/common -I../../../src/share/native/sun/dc -I../../../src/windows/native/sun/dc -I../../../src/closed/share/native/sun/dc/doe -I../../../src/closed/share/native/sun/dc/path -I../../../src/closed/share/native/sun/dc/pr -I../../../src/closed/share/native/sun/dc/util -I../../../src/share/native/sun/java2d/pipe -I../../../src/windows/native/sun/java2d -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/PathFiller.obj ../../../src/closed/share/native/sun/dc/pr/PathFiller.c
      PathFiller.c
      ../../../src/closed/share/native/sun/dc/pr/PathFiller.c(468) : warning C4101: 'fid' : unreferenced local variable

      C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl -Od -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/PathDasher.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/PathDasher.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE -DDEBUG -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86 -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/windows/native/common -I../../../src/share/native/sun/dc -I../../../src/windows/native/sun/dc -I../../../src/closed/share/native/sun/dc/doe -I../../../src/closed/share/native/sun/dc/path -I../../../src/closed/share/native/sun/dc/pr -I../../../src/closed/share/native/sun/dc/util -I../../../src/share/native/sun/java2d/pipe -I../../../src/windows/native/sun/java2d -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/PathDasher.obj ../../../src/closed/share/native/sun/dc/pr/PathDasher.c
      PathDasher.c
      ../../../src/closed/share/native/sun/dc/pr/PathDasher.c(418) : warning C4101: 'fid' : unreferenced local variable

      C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl -Od -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/PathStroker.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/PathStroker.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE -DDEBUG -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86 -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/windows/native/common -I../../../src/share/native/sun/dc -I../../../src/windows/native/sun/dc -I../../../src/closed/share/native/sun/dc/doe -I../../../src/closed/share/native/sun/dc/path -I../../../src/closed/share/native/sun/dc/pr -I../../../src/closed/share/native/sun/dc/util -I../../../src/share/native/sun/java2d/pipe -I../../../src/windows/native/sun/java2d -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/PathStroker.obj ../../../src/closed/share/native/sun/dc/pr/PathStroker.c
      PathStroker.c
      ../../../src/closed/share/native/sun/dc/pr/PathStroker.c(512) : warning C4101: 'fid' : unreferenced local variable
      ../../../src/closed/share/native/sun/dc/pr/PathStroker.c(576) : warning C4101: 'mid' : unreferenced local variable
      ../../../src/closed/share/native/sun/dc/pr/PathStroker.c(575) : warning C4101: 'fid' : unreferenced local variable
      ../../../src/closed/share/native/sun/dc/pr/PathStroker.c(574) : warning C4101: 'cls' : unreferenced local variable

      C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl -Od -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/dcLLFillerS.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/dcLLFillerS.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE -DDEBUG -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86 -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/windows/native/common -I../../../src/share/native/sun/dc -I../../../src/windows/native/sun/dc -I../../../src/closed/share/native/sun/dc/doe -I../../../src/closed/share/native/sun/dc/path -I../../../src/closed/share/native/sun/dc/pr -I../../../src/closed/share/native/sun/dc/util -I../../../src/share/native/sun/java2d/pipe -I../../../src/windows/native/sun/java2d -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/dcLLFillerS.obj ../../../src/closed/share/native/sun/dc/pr/dcLLFillerS.c
      dcLLFillerS.c
      ../../../src/closed/share/native/sun/dc/pr/dcLLFillerS.c(952) : warning C4101: 'f' : unreferenced local variable

      C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl -Od -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/dcPathFiller.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/dcPathFiller.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE -DDEBUG -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86 -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/windows/native/common -I../../../src/share/native/sun/dc -I../../../src/windows/native/sun/dc -I../../../src/closed/share/native/sun/dc/doe -I../../../src/closed/share/native/sun/dc/path -I../../../src/closed/share/native/sun/dc/pr -I../../../src/closed/share/native/sun/dc/util -I../../../src/share/native/sun/java2d/pipe -I../../../src/windows/native/sun/java2d -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/dcPathFiller.obj ../../../src/closed/share/native/sun/dc/pr/dcPathFiller.c
      dcPathFiller.c
      ../../../src/closed/share/native/sun/dc/pr/dcPathFiller.c(551) : warning C4244: '=' : conversion from 'f32' to 'i32', possible loss of data
      ../../../src/closed/share/native/sun/dc/pr/dcPathFiller.c(563) : warning C4244: '=' : conversion from 'f32' to 'i32', possible loss of data
      ../../../src/closed/share/native/sun/dc/pr/dcPathFiller.c(585) : warning C4244: '=' : conversion from 'double' to 'f32', possible loss of data
      ../../../src/closed/share/native/sun/dc/pr/dcPathFiller.c(586) : warning C4244: '=' : conversion from 'double' to 'f32', possible loss of data
      ../../../src/closed/share/native/sun/dc/pr/dcPathFiller.c(603) : warning C4018: '<=' : signed/unsigned mismatch
      ../../../src/closed/share/native/sun/dc/pr/dcPathFiller.c(603) : warning C4018: '<' : signed/unsigned mismatch
      ../../../src/closed/share/native/sun/dc/pr/dcPathFiller.c(1892) : warning C4244: '=' : conversion from 'double' to 'f32', possible loss of data
      ../../../src/closed/share/native/sun/dc/pr/dcPathFiller.c(1894) : warning C4244: '=' : conversion from 'double' to 'f32', possible loss of data
      ../../../src/closed/share/native/sun/dc/pr/dcPathFiller.c(1901) : warning C4244: '=' : conversion from 'double' to 'f32', possible loss of data
      ../../../src/closed/share/native/sun/dc/pr/dcPathFiller.c(1903) : warning C4244: '=' : conversion from 'double' to 'f32', possible loss of data

      C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl -Od -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/dcPathStroker.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/dcPathStroker.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE -DDEBUG -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86 -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/windows/native/common -I../../../src/share/native/sun/dc -I../../../src/windows/native/sun/dc -I../../../src/closed/share/native/sun/dc/doe -I../../../src/closed/share/native/sun/dc/path -I../../../src/closed/share/native/sun/dc/pr -I../../../src/closed/share/native/sun/dc/util -I../../../src/share/native/sun/java2d/pipe -I../../../src/windows/native/sun/java2d -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/dcPathStroker.obj ../../../src/closed/share/native/sun/dc/pr/dcPathStroker.c
      dcPathStroker.c
      ../../../src/closed/share/native/sun/dc/pr/dcPathStroker.c(223) : warning C4101: 'tmp' : unreferenced local variable
      ../../../src/closed/share/native/sun/dc/pr/dcPathStroker.c(234) : warning C4101: 'tmp' : unreferenced local variable
      ../../../src/closed/share/native/sun/dc/pr/dcPathStroker.c(246) : warning C4101: 'tmp' : unreferenced local variable

      C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl -Od -Zi -nologo -MD /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/angles.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/angles.map -wd4800 -W3 -D _CRT_SECURE_NO_DEPRECATE -DDEBUG -DLOGGING -DWIN32 -DIAL -D_LITTLE_ENDIAN -D_X86_ -Dx86 -DWIN32_LEAN_AND_MEAN -I. -IC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/windows/native/common -I../../../src/share/native/sun/dc -I../../../src/windows/native/sun/dc -I../../../src/closed/share/native/sun/dc/doe -I../../../src/closed/share/native/sun/dc/path -I../../../src/closed/share/native/sun/dc/pr -I../../../src/closed/share/native/sun/dc/util -I../../../src/share/native/sun/java2d/pipe -I../../../src/windows/native/sun/java2d -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/sun/sun.dc/dcpr/obj_gO/angles.obj ../../../src/closed/share/native/sun/dc/pr/angles.c
      angles.c
      ../../../src/closed/share/native/sun/dc/pr/angles.c(30) : warning C4305: 'initializing' : truncation from 'double' to 'f32'

        Attachments

          Activity

            People

            • Assignee:
              bae Andrew Brygin
              Reporter:
              ohair Kelly Ohair (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: