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

Duplicate definitions in vm/runtime/sharedRuntimeTrans.cpp versus math.h in VS2013

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b17
    • CPU:
      x86_64
    • OS:
      windows_2012
    • Verification:
      Not verified

      Backports

        Description

        When compiling sharedRuntimeTrans.cpp with VS2013:


        C:\jprt\T\P1\053803.tbell\s\hotspot\src\share\vm\runtime\sharedRuntimeTrans.cpp(60) : error C2220: warning treated as error - no 'object' file generated
        C:\jprt\T\P1\053803.tbell\s\hotspot\src\share\vm\runtime\sharedRuntimeTrans.cpp(60) : warning C4273: 'copysign' : inconsistent dll linkage
                C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(483) : see previous definition of 'copysign'
        sharedRuntimeTrig.cpp
        C:\jprt\T\P1\053803.tbell\s\hotspot\src\share\vm\runtime\sharedRuntimeTrans.cpp(91) : warning C4273: 'scalbn' : inconsistent dll linkage
                C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(518) : see previous definition of 'scalbn'

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lfoltan Lois Foltan
                  Reporter:
                  tbell Tim Bell
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: