hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4484) libwebhdfs compilation broken with gcc 4.6.2
Date Wed, 13 Mar 2013 13:06:14 GMT

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

Hudson commented on HDFS-4484:
------------------------------

Integrated in Hadoop-Hdfs-trunk #1343 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1343/])
    HDFS-4484. libwebhdfs compilation broken with gcc 4.6.2. Contributed by Colin Patrick
McCabe. (Revision 1455782)

     Result = SUCCESS
atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1455782
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/contrib/libwebhdfs/CMakeLists.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/contrib/libwebhdfs/src/test_libwebhdfs_ops.c

                
> libwebhdfs compilation broken with gcc 4.6.2
> --------------------------------------------
>
>                 Key: HDFS-4484
>                 URL: https://issues.apache.org/jira/browse/HDFS-4484
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.0.5-beta
>         Environment: OpenSUSE 12.1, x86_64, gcc 4.6.2
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>             Fix For: 2.0.5-beta
>
>         Attachments: HDFS-4484.001.patch
>
>
> libwebhdfs doesn't compile with gcc 4.6.2.
> {code}
> /home/cmccabe/hadoop1/hadoop-hdfs-project/hadoop-hdfs/src/contrib/libwebhdfs/src/test_libwebhdfs_ops.c:
In function ‘main’:
> /home/cmccabe/hadoop1/hadoop-hdfs-project/hadoop-hdfs/src/contrib/libwebhdfs/src/test_libwebhdfs_ops.c:260:9:
error: ‘for’ loop initial declarations are only allowed in C99 mode
> /home/cmccabe/hadoop1/hadoop-hdfs-project/hadoop-hdfs/src/contrib/libwebhdfs/src/test_libwebhdfs_ops.c:260:9:
note: use option -std=c99 or -std=gnu99 to compile your code
> /home/cmccabe/hadoop1/hadoop-hdfs-project/hadoop-hdfs/src/contrib/libwebhdfs/src/test_libwebhdfs_ops.c:284:13:
warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has
type ‘tOffset’ [-Wformat]
> /home/cmccabe/hadoop1/hadoop-hdfs-project/hadoop-hdfs/src/contrib/libwebhdfs/src/test_libwebhdfs_ops.c:285:13:
warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has
type ‘tOffset’ [-Wformat]
> /home/cmccabe/hadoop1/hadoop-hdfs-project/hadoop-hdfs/src/contrib/libwebhdfs/src/test_libwebhdfs_ops.c:308:17:
warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has
type ‘tOffset’ [-Wformat]
> /home/cmccabe/hadoop1/hadoop-hdfs-project/hadoop-hdfs/src/contrib/libwebhdfs/src/test_libwebhdfs_ops.c:309:17:
warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has
type ‘tOffset’ [-Wformat]
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message