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

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

XMLWordPrintable

    • b17
    • x86_64
    • windows_2012
    • Not verified

        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'

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

                Created:
                Updated:
                Resolved: