Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-1333

Type cast warnings in our C++ code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.15
    • REEF Bridge, REEF.NET
    • None

    Description

      The build currently produces the following warnings, which we should address:

      "C:\src\reef\lang\cs\Org.Apache.REEF.sln" (default target) (1) ->
      "C:\src\reef\lang\cs\Org.Apache.REEF.Client\Org.Apache.REEF.Client.csproj" (default target) (15) ->
      "C:\src\reef\lang\cs\Org.Apache.REEF.Bridge\Org.Apache.REEF.Bridge.vcxproj" (default target) (17) ->
      (ClCompile target) ->
        InteropReturnInfo.cpp(76): warning C4311: 'type cast': pointer truncation from 'jobject' to 'int' [C:\src\reef\lang\c
      s\Org.Apache.REEF.Bridge\Org.Apache.REEF.Bridge.vcxproj]
        InteropReturnInfo.cpp(76): warning C4302: 'type cast': truncation from 'jobject' to 'int' [C:\src\reef\lang\cs\Org.Ap
      ache.REEF.Bridge\Org.Apache.REEF.Bridge.vcxproj]
        InteropReturnInfo.cpp(84): warning C4311: 'type cast': pointer truncation from 'jobject' to 'int' [C:\src\reef\lang\c
      s\Org.Apache.REEF.Bridge\Org.Apache.REEF.Bridge.vcxproj]
        InteropReturnInfo.cpp(84): warning C4302: 'type cast': truncation from 'jobject' to 'int' [C:\src\reef\lang\cs\Org.Ap
      ache.REEF.Bridge\Org.Apache.REEF.Bridge.vcxproj]
      

      Attachments

        Issue Links

          Activity

            People

              anicoara Adrian Nicoara
              markus.weimer Markus Weimer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: