You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mnemonic.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/26 20:09:20 UTC
[jira] [Commented] (MNEMONIC-114) nvml-vmem-service compilation
warnings
[ https://issues.apache.org/jira/browse/MNEMONIC-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15524045#comment-15524045 ]
ASF GitHub Bot commented on MNEMONIC-114:
-----------------------------------------
GitHub user ssimons0814 opened a pull request:
https://github.com/apache/incubator-mnemonic/pull/23
MNEMONIC-114: nvml-vmem-service compilation warnings
There is still a warning for "Java_org_apache_mnemonic_service_memoryservice_internal_VMemServiceImpl_nretrieveSize" when I change null to 0L. Will update the NewDirectByteBuffer to GetDirectBufferAddress.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ssimons0814/incubator-mnemonic master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-mnemonic/pull/23.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #23
----
commit 39f8c457506339ff0ebbfd844fd5883f17f41cdf
Author: Li Shen <sh...@gmail.com>
Date: 2016-09-26T20:04:24Z
MNEMONIC-114: nvml-vmem-service compilation warnings
----
> nvml-vmem-service compilation warnings
> --------------------------------------
>
> Key: MNEMONIC-114
> URL: https://issues.apache.org/jira/browse/MNEMONIC-114
> Project: Mnemonic
> Issue Type: Bug
> Components: Memory-Service
> Affects Versions: 0.3.0-incubating
> Reporter: Wang, Gang
> Assignee: Li Shen
> Fix For: 0.3.0-incubating
>
>
> There are some warnings while compiling the sub-module mnemonic-nvml-vmem-service as follows
> -----------------
> [exec] /home/wg/workspace/incubator-mnemonic/mnemonic-memory-services/mnemonic-nvml-vmem-service/src/main/native/org_apache_mnemonic_service_memoryservice_internal_VMemServiceImpl.c: In function ‘Java_org_apache_mnemonic_service_memoryservice_internal_VMemServiceImpl_nretrieveSize’:
> [exec] /home/wg/workspace/incubator-mnemonic/mnemonic-memory-services/mnemonic-nvml-vmem-service/src/main/native/org_apache_mnemonic_service_memoryservice_internal_VMemServiceImpl.c:116: warning: assignment makes integer from pointer without a cast
> [exec] /home/wg/workspace/incubator-mnemonic/mnemonic-memory-services/mnemonic-nvml-vmem-service/src/main/native/org_apache_mnemonic_service_memoryservice_internal_VMemServiceImpl.c: In function ‘Java_org_apache_mnemonic_service_memoryservice_internal_VMemServiceImpl_ngetBaseAddress’:
> [exec] /home/wg/workspace/incubator-mnemonic/mnemonic-memory-services/mnemonic-nvml-vmem-service/src/main/native/org_apache_mnemonic_service_memoryservice_internal_VMemServiceImpl.c:194: warning: implicit declaration of function ‘b_addr’
> [exec] /home/wg/workspace/incubator-mnemonic/mnemonic-memory-services/mnemonic-nvml-vmem-service/src/main/native/org_apache_mnemonic_service_memoryservice_internal_VMemServiceImpl.c: In function ‘Java_org_apache_mnemonic_service_memoryservice_internal_VMemServiceImpl_nhandlerCapacity’:
> [exec] /home/wg/workspace/incubator-mnemonic/mnemonic-memory-services/mnemonic-nvml-vmem-service/src/main/native/org_apache_mnemonic_service_memoryservice_internal_VMemServiceImpl.c:186: warning: control reaches end of non-void function
> [exec] /home/wg/workspace/incubator-mnemonic/mnemonic-memory-services/mnemonic-nvml-vmem-service/src/main/native/org_apache_mnemonic_service_memoryservice_internal_VMemServiceImpl.c: In function ‘Java_org_apache_mnemonic_service_memoryservice_internal_VMemServiceImpl_ngetHandler’:
> [exec] /home/wg/workspace/incubator-mnemonic/mnemonic-memory-services/mnemonic-nvml-vmem-service/src/main/native/org_apache_mnemonic_service_memoryservice_internal_VMemServiceImpl.c:180: warning: control reaches end of non-void function
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)