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

VS2010 says _STATIC_CPPLIB is deprecated, may need to change this usage

XMLWordPrintable

    • b06
    • generic
    • generic
    • Not verified

        We used /D _STATIC_CPPLIB to prevent a dependency on the msvcp*.dll file, but with VS2010 it claims to be deprecated which may mean that we need to become dependent on msvcp*.dll??? Or maybe it is not used?
        Same issue in the jdk. We started using this option with VS2003.

        cl.exe /nologo /W3 /WX /Zi /D "_LP64" /D "AMD64" /D "MSC_VER=1600" /MD /D _STATIC_CPPLIB /O2 /Oy- /D "PRODUCT" /D "COMPILER2" /D "HOTSPOT_RELEASE_VERSION=\"19.0-b02-201008071650.jprtadm.hotspot\"" /D "JRE_RELEASE_VERSION=\"1.7.0\"" /D "HOTSPOT_LIB_ARCH=\"amd64\"" /D "HOTSPOT_BUILD_TARGET=\"product\"" /D "HOTSPOT_BUILD_USER=\"jprtadm\"" /D "HOTSPOT_VM_DISTRO=\"OpenJDK\"" /D "WIN32" /D "_WINDOWS" /I "..\generated" /I "..\generated\jvmtifiles" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\c1" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\compiler" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\code" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\interpreter" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\ci" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\classfile" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\gc_implementation\parallelScavenge" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\gc_implementation\shared" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\gc_implementation\parNew" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\gc_implementation\concurrentMarkSweep" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\gc_implementation\g1" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\gc_interface" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\asm" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\memory" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\oops" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\prims" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\runtime" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\services" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\utilities" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\libadt" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\opto" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\os\windows\vm" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\os_cpu\windows_x86\vm" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\cpu\x86\vm" /D "VM_LITTLE_ENDIAN" /D "_JNI_IMPLEMENTATION_" /Fp"vm.pch" /Yc"incls/_precompiled.incl" /c ../generated/_build_pch_file.cpp
        _build_pch_file.cpp
        C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(371) : warning CRT1007: _STATIC_CPPLIB is deprecated
        cl.exe /nologo /W3 /WX /Zi /D "_LP64" /D "AMD64" /D "MSC_VER=1600" /MD /D _STATIC_CPPLIB /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECURE_NO_DEPRECATE /EHsc /MD /D _STATIC_CPPLIB /I "..\generated" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\compiler" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\code" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\interpreter" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\classfile" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\asm" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\memory" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\oops" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\prims" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\runtime" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\utilities" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\libadt" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\opto" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\os\windows\vm" /I "C:\temp\jprt\P1\B\165012.jprtadm\source\src\cpu\x86\vm" /c C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\adlc\main.cpp C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\adlc\adlparse.cpp C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\adlc\archDesc.cpp C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\adlc\arena.cpp C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\adlc\dfa.cpp C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\adlc\dict2.cpp C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\adlc\filebuff.cpp C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\adlc\forms.cpp C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\adlc\formsopt.cpp C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\adlc\formssel.cpp C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\adlc\output_c.cpp C:\temp\jprt\P1\B\165012.jprtadm\source\src\share\vm\adlc\output_h.cpp
        main.cpp
        C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(371) : warning CRT1007: _STATIC_CPPLIB is deprecated
        adlparse.cpp
        C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(371) : warning CRT1007: _STATIC_CPPLIB is deprecated
        archDesc.cpp
        C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(371) : warning CRT1007: _STATIC_CPPLIB is deprecated
        arena.cpp
        C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(371) : warning CRT1007: _STATIC_CPPLIB is deprecated
        dfa.cpp
        C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(371) : warning CRT1007: _STATIC_CPPLIB is deprecated
        dict2.cpp
        C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(371) : warning CRT1007: _STATIC_CPPLIB is deprecated
        filebuff.cpp
        C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(371) : warning CRT1007: _STATIC_CPPLIB is deprecated
        forms.cpp
        C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(371) : warning CRT1007: _STATIC_CPPLIB is deprecated
        formsopt.cpp
        C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(371) : warning CRT1007: _STATIC_CPPLIB is deprecated
        formssel.cpp
        C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(371) : warning CRT1007: _STATIC_CPPLIB is deprecated
        output_c.cpp
        C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(371) : warning CRT1007: _STATIC_CPPLIB is deprecated
        output_h.cpp
        C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(371) : warning CRT1007: _STATIC_CPPLIB is deprecated

              zgu Zhengyu Gu
              ohair Kelly Ohair (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: