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

SA Build warnings from VS2010 compiler

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 7
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      When building with VS2010 on windows, warnings errors during thje build may need to be investigated. Not urgent.

      set INCLUDE=C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/INCLUDE;C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/ATLMFC/INCLUDE;C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/include;
      cl.exe @.\nm21A0.tmp
      cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
      cl : Command line warning D9002 : ignoring unknown option '/YX'
      sawindbg.cpp
      C:\temp\jprt\P1\B\165012.jprtadm\source/agent/src/os/win32/windbg/sawindbg.cpp(249) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
              C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/INCLUDE\string.h(105) : see declaration of 'strcpy'
      C:\temp\jprt\P1\B\165012.jprtadm\source/agent/src/os/win32/windbg/sawindbg.cpp(256) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
              C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/INCLUDE\string.h(110) : see declaration of 'strcat'
      set LIB=C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/LIB/amd64;C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/ATLMFC/LIB/amd64;C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/lib/x64;
      link.exe /out:sawindbg.dll /DLL sawindbg.obj dbgeng.lib /manifest /nologo /subsystem:console /map /debug /machine:AMD64
         Creating library sawindbg.lib and object sawindbg.exp
      set INCLUDE=C:/Program Files/Microsoft Visual Studio 10.0/VC/INCLUDE;C:/Program Files/Microsoft Visual Studio 10.0/VC/ATLMFC/INCLUDE;C:/Program Files/Microsoft SDKs/Windows/v7.0A/include;
      cl.exe @.\nm1377.tmp
      cl : Command line warning D9035 : option 'GZ' has been deprecated and will be removed in a future release
      cl : Command line warning D9036 : use 'RTC1' instead of 'GZ'
      cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
      cl : Command line warning D9002 : ignoring unknown option '/YX'
      sawindbg.cpp
      c:\temp\jprt\p1\b\165012.jprtadm\source\agent\src\os\win32\windbg\sawindbg.cpp(249) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
              c:\program files\microsoft visual studio 10.0\vc\include\string.h(105) : see declaration of 'strcpy'
      c:\temp\jprt\p1\b\165012.jprtadm\source\agent\src\os\win32\windbg\sawindbg.cpp(256) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
              c:\program files\microsoft visual studio 10.0\vc\include\string.h(110) : see declaration of 'strcat'
      set LIB=C:/Program Files/Microsoft Visual Studio 10.0/VC/LIB;C:/Program Files/Microsoft Visual Studio 10.0/VC/ATLMFC/LIB;C:/Program Files/Microsoft SDKs/Windows/v7.0A/lib;
      link.exe /out:sawindbg.dll /DLL sawindbg.obj dbgeng.lib /manifest /nologo /subsystem:console /map /debug /machine:I386
         Creating library sawindbg.lib and object sawindbg.exp
      mt.exe /manifest sawindbg.dll.manifest /outputresource:sawindbg.dll;#2
      Microsoft (R) Manifest Tool version 5.2.3790.2076

      Copyright (c) Microsoft Corporation 2005.

      All rights reserved.
      c:\temp\jprt\p1\b\165012.jprtadm\source\agent\src\os\win32\windbg\sawindbg.cpp(249) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
              c:\program files\microsoft visual studio 10.0\vc\include\string.h(105) : see declaration of 'strcpy'
      c:\temp\jprt\p1\b\165012.jprtadm\source\agent\src\os\win32\windbg\sawindbg.cpp(256) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
              c:\program files\microsoft visual studio 10.0\vc\include\string.h(110) : see declaration of 'strcat'
      set LIB=C:/Program Files/Microsoft Visual Studio 10.0/VC/LIB;C:/Program Files/Microsoft Visual Studio 10.0/VC/ATLMFC/LIB;C:/Program Files/Microsoft SDKs/Windows/v7.0A/lib;
      link.exe /out:sawindbg.dll /DLL sawindbg.obj dbgeng.lib /manifest /nologo /subsystem:console /map /debug /machine:I386
         Creating library sawindbg.lib and object sawindbg.exp

        Attachments

          Activity

            People

            • Assignee:
              sballal Sharath Ballal (Inactive)
              Reporter:
              ohair Kelly Ohair (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: