reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Chung (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (REEF-1333) Type cast warnings in our C++ code
Date Thu, 12 May 2016 23:14:12 GMT

    [ https://issues.apache.org/jira/browse/REEF-1333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15282235#comment-15282235
] 

Andrew Chung commented on REEF-1333:
------------------------------------

[~anicoara] Does the PR alone address all of the type cast warnings? If not, please create
a sub-task under this JIRA detailing the warnings the PR fixes. Take REEF-1334 as an example.
Thanks for the PR! :)

> Type cast warnings in our C++ code
> ----------------------------------
>
>                 Key: REEF-1333
>                 URL: https://issues.apache.org/jira/browse/REEF-1333
>             Project: REEF
>          Issue Type: Bug
>          Components: REEF Bridge, REEF.NET
>            Reporter: Markus Weimer
>            Assignee: Adrian Nicoara
>
> The build currently produces the following warnings, which we should address:
> {noformat}
> "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]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message