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

(launcher) compiler warnings in jli native code

XMLWordPrintable

    • b118
    • generic
    • generic
    • Not verified

      Windows:

      C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl -Od -Zi -nologo /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/jli/obj_gO/java.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/jli/obj_gO/java.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/java/jli/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/bin -I../../../src/windows/bin -I../../../src/share/native/java/util/zip/zlib-1.2.3 -DLIBARCHNAME='"i386"' -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/jli/obj_gO/java.obj ../../../src/share/bin/java.c
      java.c
      ../../../src/share/bin/java.c(358) : warning C4101: 'mainClassName' : unreferenced local variable
      ../../../src/share/bin/java.c(886) : warning C4996: 'putenv': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _putenv. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\stdlib.h(869) : see declaration of 'putenv'
      ../../../src/share/bin/java.c(892) : warning C4996: 'putenv': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _putenv. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\stdlib.h(869) : see declaration of 'putenv'
      ../../../src/share/bin/java.c(972) : warning C4996: 'putenv': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _putenv. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\stdlib.h(869) : see declaration of 'putenv'

      C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl -Od -Zi -nologo /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/jli/obj_gO/java_md.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/jli/obj_gO/java_md.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/java/jli/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/bin -I../../../src/windows/bin -I../../../src/share/native/java/util/zip/zlib-1.2.3 -DLIBARCHNAME='"i386"' -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/jli/obj_gO/java_md.obj ../../../src/windows/bin/java_md.c
      java_md.c
      ../../../src/windows/bin/java_md.c(207) : warning C4047: '==' : 'int' differs in levels of indirection from 'void *'
      ../../../src/windows/bin/java_md.c(848) : warning C4996: 'strnicmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strnicmp. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\string.h(248) : see declaration of 'strnicmp'

      C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl -Od -Zi -nologo /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/jli/obj_gO/parse_manifest.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/jli/obj_gO/parse_manifest.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/java/jli/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/bin -I../../../src/windows/bin -I../../../src/share/native/java/util/zip/zlib-1.2.3 -DLIBARCHNAME='"i386"' -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/jli/obj_gO/parse_manifest.obj ../../../src/share/bin/parse_manifest.c
      parse_manifest.c
      ../../../src/share/bin/parse_manifest.c(64) : warning C4996: 'lseek': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _lseek. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(310) : see declaration of 'lseek'
      ../../../src/share/bin/parse_manifest.c(68) : warning C4996: 'read': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _read. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(313) : see declaration of 'read'
      ../../../src/share/bin/parse_manifest.c(141) : warning C4996: 'lseek': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _lseek. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(310) : see declaration of 'lseek'
      ../../../src/share/bin/parse_manifest.c(143) : warning C4996: 'read': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _read. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(313) : see declaration of 'read'
      ../../../src/share/bin/parse_manifest.c(154) : warning C4996: 'lseek': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _lseek. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(310) : see declaration of 'lseek'
      ../../../src/share/bin/parse_manifest.c(157) : warning C4996: 'lseek': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _lseek. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(310) : see declaration of 'lseek'
      ../../../src/share/bin/parse_manifest.c(161) : warning C4996: 'read': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _read. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(313) : see declaration of 'read'
      ../../../src/share/bin/parse_manifest.c(270) : warning C4996: 'lseek': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _lseek. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(310) : see declaration of 'lseek'
      ../../../src/share/bin/parse_manifest.c(274) : warning C4996: 'read': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _read. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(313) : see declaration of 'read'
      ../../../src/share/bin/parse_manifest.c(296) : warning C4996: 'read': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _read. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(313) : see declaration of 'read'
      ../../../src/share/bin/parse_manifest.c(308) : warning C4996: 'read': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _read. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(313) : see declaration of 'read'
      ../../../src/share/bin/parse_manifest.c(322) : warning C4996: 'lseek': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _lseek. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(310) : see declaration of 'lseek'
      ../../../src/share/bin/parse_manifest.c(326) : warning C4996: 'read': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _read. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(313) : see declaration of 'read'
      ../../../src/share/bin/parse_manifest.c(493) : warning C4996: 'open': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _open. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(312) : see declaration of 'open'
      ../../../src/share/bin/parse_manifest.c(502) : warning C4996: 'close': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _close. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(302) : see declaration of 'close'
      ../../../src/share/bin/parse_manifest.c(507) : warning C4996: 'close': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _close. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(302) : see declaration of 'close'
      ../../../src/share/bin/parse_manifest.c(512) : warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\string.h(246) : see declaration of 'stricmp'
      ../../../src/share/bin/parse_manifest.c(514) : warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\string.h(246) : see declaration of 'stricmp'
      ../../../src/share/bin/parse_manifest.c(516) : warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\string.h(246) : see declaration of 'stricmp'
      ../../../src/share/bin/parse_manifest.c(518) : warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\string.h(246) : see declaration of 'stricmp'
      ../../../src/share/bin/parse_manifest.c(519) : warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\string.h(246) : see declaration of 'stricmp'
      ../../../src/share/bin/parse_manifest.c(521) : warning C4996: 'stricmp': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\string.h(246) : see declaration of 'stricmp'
      ../../../src/share/bin/parse_manifest.c(525) : warning C4996: 'close': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _close. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(302) : see declaration of 'close'
      ../../../src/share/bin/parse_manifest.c(546) : warning C4996: 'open': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _open. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(312) : see declaration of 'open'
      ../../../src/share/bin/parse_manifest.c(550) : warning C4996: 'close': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _close. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(302) : see declaration of 'close'
      ../../../src/share/bin/parse_manifest.c(589) : warning C4996: 'open': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _open. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(312) : see declaration of 'open'
      ../../../src/share/bin/parse_manifest.c(593) : warning C4996: 'close': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _close. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(302) : see declaration of 'close'
      ../../../src/share/bin/parse_manifest.c(599) : warning C4996: 'close': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _close. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(302) : see declaration of 'close'
      ../../../src/share/bin/parse_manifest.c(608) : warning C4996: 'close': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _close. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\io.h(302) : see declaration of 'close'

      C:/PROGRA~1/MICROS~2.0/Common7/Tools/../../Vc/Bin/cl -Od -Zi -nologo /D _STATIC_CPPLIB -Zc:wchar_t- -FdC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/jli/obj_gO/jli_util.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/jli/obj_gO/jli_util.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/java/jli/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/bin -I../../../src/windows/bin -I../../../src/share/native/java/util/zip/zlib-1.2.3 -DLIBARCHNAME='"i386"' -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/jli/obj_gO/jli_util.obj ../../../src/share/bin/jli_util.c
      jli_util.c
      ../../../src/share/bin/jli_util.c(69) : warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
              C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\string.h(238) : see declaration of 'strdup'
      Compiler warnings in the native code of the java/jli part of the build.

      Linux:

      /usr/bin/gcc -g -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN -DDEBUG -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/java/jli/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/bin -I../../../src/solaris/bin -I../../../src/share/native/java/util/zip/zlib-1.2.3 -DLIBARCHNAME='"i386"' -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/java/jli/obj_gO/java_md.o ../../../src/solaris/bin/java_md.c
      ../../../src/solaris/bin/java_md.c: In function 'LocateJRE':
      ../../../src/solaris/bin/java_md.c:871: warning: cast from pointer to integer of different size
      /usr/bin/gcc -g -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN -DDEBUG -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/java/jli/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/bin -I../../../src/solaris/bin -I../../../src/share/native/java/util/zip/zlib-1.2.3 -DLIBARCHNAME='"i386"' -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/java/jli/obj_gO/parse_manifest.o ../../../src/share/bin/parse_manifest.c
      ../../../src/share/bin/parse_manifest.c: In function 'find_file':
      ../../../src/share/bin/parse_manifest.c:320: warning: comparison between signed and unsigned


      Solaris:

      /localtools/i586/SUNWspro/SS12u1/bin/cc -g -xO2 -L/BUILD_AREA/jdk7/build/solaris-i586/../solaris-i586-fastdebug/tmp/java/jli/obj_gO -xc99=%none -xCC -errshort=tags -Xa -v -mt -xstrconst -W0,-noglobal -m32 -erroff=E_BAD_PRAGMA_PACK_VALUE -KPIC -DDEBUG -D__solaris__ -Di586 -DcpuIntel -D_LITTLE_ENDIAN= -Di386 -DTRACING -DMACRO_MEMSYS_OPS -DBREAKPTS -I. -I/BUILD_AREA/jdk7/build/solaris-i586/../solaris-i586-fastdebug/tmp/java/jli/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/bin -I../../../src/solaris/bin -I../../../src/share/native/java/util/zip/zlib-1.2.3 -DLIBARCHNAME='"i386"' -DLIBARCH32NAME='"i386"' -DLIBARCH64NAME='"amd64"' -c -o /BUILD_AREA/jdk7/build/solaris-i586/../solaris-i586-fastdebug/tmp/java/jli/obj_gO/zcrc32.o ../../../src/share/native/java/util/zip/zlib-1.2.3/zcrc32.c
      "../../../src/share/native/java/util/zip/zlib-1.2.3/zcrc32.c", line 409: warning: constant promoted to unsigned long

      /localtools/i586/SUNWspro/SS12u1/bin/cc -g -xO2 -L/BUILD_AREA/jdk7/build/solaris-i586/../solaris-i586-fastdebug/tmp/java/jli/obj_gO -xc99=%none -xCC -errshort=tags -Xa -v -mt -xstrconst -W0,-noglobal -m32 -erroff=E_BAD_PRAGMA_PACK_VALUE -KPIC -DDEBUG -D__solaris__ -Di586 -DcpuIntel -D_LITTLE_ENDIAN= -Di386 -DTRACING -DMACRO_MEMSYS_OPS -DBREAKPTS -I. -I/BUILD_AREA/jdk7/build/solaris-i586/../solaris-i586-fastdebug/tmp/java/jli/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/bin -I../../../src/solaris/bin -I../../../src/share/native/java/util/zip/zlib-1.2.3 -DLIBARCHNAME='"i386"' -DLIBARCH32NAME='"i386"' -DLIBARCH64NAME='"amd64"' -c -o /BUILD_AREA/jdk7/build/solaris-i586/../solaris-i586-fastdebug/tmp/java/jli/obj_gO/ergo_i586.o ../../../src/solaris/bin/ergo_i586.c
      "../../../src/solaris/bin/ergo_i586.c", line 60: warning: asm() statement disables optimization within function

            ksrini Kumar Srinivasan
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: