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

java/management native code compiler warnings

    Details

      Description

      Compiler warnings:

      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/java/java.lang.management/management/obj_gO/FileSystemImpl.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/java.lang.management/management/obj_gO/FileSystemImpl.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/java.lang.management/management/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/sun/management -I../../../src/share/native/common -I../../../src/windows/native/common -I../../../src/share/native/java/lang/management -I../../../src/windows/native/java/lang/management -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/java.lang.management/management/obj_gO/FileSystemImpl.obj ../../../src/windows/native/sun/management/FileSystemImpl.c
      FileSystemImpl.c
      ../../../src/windows/native/sun/management/FileSystemImpl.c(96) : 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'

      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/java/java.lang.management/management/obj_gO/Flag.pdb -FmC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/java.lang.management/management/obj_gO/Flag.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/java.lang.management/management/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/sun/management -I../../../src/share/native/common -I../../../src/windows/native/common -I../../../src/share/native/java/lang/management -I../../../src/windows/native/java/lang/management -c -FoC:/BUILD_~1/jdk7/build/windows-i586/../windows-i586-fastdebug/tmp/java/java.lang.management/management/obj_gO/Flag.obj ../../../src/share/native/sun/management/Flag.c
      Flag.c
      ../../../src/share/native/sun/management/Flag.c(111) : warning C4013: 'memset' undefined; assuming extern returning int
      ../../../src/share/native/sun/management/Flag.c(83) : warning C4101: 'errmsg' : unreferenced local variable


      Solaris:

      /localtools/i586/SUNWspro/SS12u1/bin/cc -g -xO2 -L/BUILD_AREA/jdk7/build/solaris-i586/../solaris-i586-fastdebug/tmp/java/java.lang.management/management/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/java.lang.management/management/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/sun/management -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/lang/management -I../../../src/solaris/native/java/lang/management -c -o /BUILD_AREA/jdk7/build/solaris-i586/../solaris-i586-fastdebug/tmp/java/java.lang.management/management/obj_gO/Flag.o ../../../src/share/native/sun/management/Flag.c
      "../../../src/share/native/sun/management/Flag.c", line 111: warning: implicitly declaring function to return int: memset()


      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/java.lang.management/management/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/sun/management -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/lang/management -I../../../src/solaris/native/java/lang/management -c -o /BUILD_AREA/jdk7/build/linux-i586/../linux-i586-fastdebug/tmp/java/java.lang.management/management/obj_gO/GarbageCollectorImpl.o ../../../src/share/native/sun/management/GarbageCollectorImpl.c
      ../../../src/share/native/sun/management/Flag.c: In function 'Java_sun_management_Flag_getFlags':
      ../../../src/share/native/sun/management/Flag.c:111: warning: implicit declaration of function 'memset'
      ../../../src/share/native/sun/management/Flag.c:111: warning: incompatible implicit declaration of built-in function 'memset'

        Attachments

          Activity

            People

            • Assignee:
              asapre Amit Sapre
              Reporter:
              ohair Kelly Ohair (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: