JDK-8146098 : Visual Studio build fails after SA restructure
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-12-23
  • Updated: 2016-01-28
  • Resolved: 2015-12-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b103Fixed
Related Reports
Relates :  
Description
  sawindbg.cpp
..\..\src\jdk.hotspot.agent\windows\native\libsaproc\sawindbg.cpp(31): error C2220: warning treated as error - no 'object' file generated [c:\source\jdk9-rt\hotspot\build\vs-amd64\jvm.vcxproj]
..\..\src\jdk.hotspot.agent\windows\native\libsaproc\sawindbg.cpp(31): warning C4627: '#include "sun_jvm_hotspot_debugger_windbg_WindbgDebuggerLocal.h"': skipped when looking for precompiled header use [c:\source\jdk9-rt\hotspot\build\vs-amd64\jvm.vcxproj]
          Add directive to 'precompiled.hpp' or rebuild precompiled header
..\..\src\jdk.hotspot.agent\windows\native\libsaproc\sawindbg.cpp(34): warning C4627: '#include "sun_jvm_hotspot_debugger_x86_X86ThreadContext.h"': skipped when looking for precompiled header use [c:\source\jdk9-rt\hotspot\build\vs-amd64\jvm.vcxproj]
          Add directive to 'precompiled.hpp' or rebuild precompiled header
..\..\src\jdk.hotspot.agent\windows\native\libsaproc\sawindbg.cpp(37): warning C4627: '#include "sun_jvm_hotspot_debugger_amd64_AMD64ThreadContext.h"': skipped when looking for precompiled header use [c:\source\jdk9-rt\hotspot\build\vs-amd64\jvm.vcxproj]
          Add directive to 'precompiled.hpp' or rebuild precompiled header
..\..\src\jdk.hotspot.agent\windows\native\libsaproc\sawindbg.cpp(38): warning C4005: 'NPRGREG' : macro redefinition [c:\source\jdk9-rt\hotspot\build\vs-amd64\jvm.vcxproj]
          ..\..\src\jdk.hotspot.agent\windows\native\libsaproc\sawindbg.cpp(35) : see previous definition of 'NPRGREG'
..\..\src\jdk.hotspot.agent\windows\native\libsaproc\sawindbg.cpp(51): warning C4627: '#include <dbgeng.h>': skipped when looking for precompiled header use [c:\source\jdk9-rt\hotspot\build\vs-amd64\jvm.vcxproj]
          Add directive to 'precompiled.hpp' or rebuild precompiled header
..\..\src\jdk.hotspot.agent\windows\native\libsaproc\sawindbg.cpp(52): warning C4627: '#include <dbghelp.h>': skipped when looking for precompiled header use [c:\source\jdk9-rt\hotspot\build\vs-amd64\jvm.vcxproj]
          Add directive to 'precompiled.hpp' or rebuild precompiled header
..\..\src\jdk.hotspot.agent\windows\native\libsaproc\sawindbg.cpp(537): warning C4005: 'REG_INDEX' : macro redefinition [c:\source\jdk9-rt\hotspot\build\vs-amd64\jvm.vcxproj]
          ..\..\src\jdk.hotspot.agent\windows\native\libsaproc\sawindbg.cpp(505) : see previous definition of 'REG_INDEX'