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

Type cast warnings in our C++ code

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.15
    • Component/s: REEF Bridge, REEF.NET
    • Labels:
      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

          There are no Sub-Tasks for this issue.

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: