hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3673) libhdfs: fix some compiler warnings
Date Mon, 16 Jul 2012 22:24:35 GMT

    [ https://issues.apache.org/jira/browse/HDFS-3673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13415719#comment-13415719

Colin Patrick McCabe commented on HDFS-3673:

bq. [fs to jFS change]

Using fs in this context generates a type mismatch warning.  This is one of those cases where
we do a type conversion from the publicly exposed (opaque) datatype to the "real" datatype,
in this case simply a JNI pointer.  We don't want to expose the jobject pointer to the library
user, hence the typecasts.

bq. [use z instead of Z]

Good catch.
> libhdfs: fix some compiler warnings
> -----------------------------------
>                 Key: HDFS-3673
>                 URL: https://issues.apache.org/jira/browse/HDFS-3673
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.1.0-alpha
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3673.001.patch
> Fix some compiler warnings.  Some of these are misuses of fprintf (forgetting the FILE*
parameter), const mismatch warnings, format specifier warnings.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message