Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 453F3E98E for ; Fri, 22 Feb 2013 23:06:14 +0000 (UTC) Received: (qmail 28296 invoked by uid 500); 22 Feb 2013 23:06:13 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 28237 invoked by uid 500); 22 Feb 2013 23:06:13 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 28179 invoked by uid 99); 22 Feb 2013 23:06:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2013 23:06:13 +0000 Date: Fri, 22 Feb 2013 23:06:13 +0000 (UTC) From: "Aaron T. Myers (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-4484) libwebhdfs compilation broken with gcc 4.6.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-4484?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13584= 797#comment-13584797 ]=20 Aaron T. Myers commented on HDFS-4484: -------------------------------------- Sorry - I posted that comment about the patch not applying cleanly to the w= rong JIRA. I meant to say that over on HADOOP-8569. Still, though, I think we should document these dependencies in BUILDING.tx= t. =20 > 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.4-beta > Environment: OpenSUSE 12.1, x86_64, gcc 4.6.2 > Reporter: Colin Patrick McCabe > Assignee: Colin Patrick McCabe > Priority: Minor > 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/libwebh= dfs/src/test_libwebhdfs_ops.c: In function =E2=80=98main=E2=80=99: > /home/cmccabe/hadoop1/hadoop-hdfs-project/hadoop-hdfs/src/contrib/libwebh= dfs/src/test_libwebhdfs_ops.c:260:9: error: =E2=80=98for=E2=80=99 loop init= ial declarations are only allowed in C99 mode > /home/cmccabe/hadoop1/hadoop-hdfs-project/hadoop-hdfs/src/contrib/libwebh= dfs/src/test_libwebhdfs_ops.c:260:9: note: use option -std=3Dc99 or -std=3D= gnu99 to compile your code > /home/cmccabe/hadoop1/hadoop-hdfs-project/hadoop-hdfs/src/contrib/libwebh= dfs/src/test_libwebhdfs_ops.c:284:13: warning: format =E2=80=98%lld=E2=80= =99 expects argument of type =E2=80=98long long int=E2=80=99, but argument = 3 has type =E2=80=98tOffset=E2=80=99 [-Wformat] > /home/cmccabe/hadoop1/hadoop-hdfs-project/hadoop-hdfs/src/contrib/libwebh= dfs/src/test_libwebhdfs_ops.c:285:13: warning: format =E2=80=98%lld=E2=80= =99 expects argument of type =E2=80=98long long int=E2=80=99, but argument = 3 has type =E2=80=98tOffset=E2=80=99 [-Wformat] > /home/cmccabe/hadoop1/hadoop-hdfs-project/hadoop-hdfs/src/contrib/libwebh= dfs/src/test_libwebhdfs_ops.c:308:17: warning: format =E2=80=98%lld=E2=80= =99 expects argument of type =E2=80=98long long int=E2=80=99, but argument = 3 has type =E2=80=98tOffset=E2=80=99 [-Wformat] > /home/cmccabe/hadoop1/hadoop-hdfs-project/hadoop-hdfs/src/contrib/libwebh= dfs/src/test_libwebhdfs_ops.c:309:17: warning: format =E2=80=98%lld=E2=80= =99 expects argument of type =E2=80=98long long int=E2=80=99, but argument = 3 has type =E2=80=98tOffset=E2=80=99 [-Wformat] > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira