You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Peng Futian (Created) (JIRA)" <ji...@apache.org> on 2011/10/22 04:16:32 UTC

[jira] [Created] (ZOOKEEPER-1240) Compiler issue with redhat linux

Compiler issue with redhat linux
--------------------------------

                 Key: ZOOKEEPER-1240
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1240
             Project: ZooKeeper
          Issue Type: Bug
          Components: c client
    Affects Versions: 3.3.3
         Environment: Linux phy 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)

            Reporter: Peng Futian
            Priority: Minor
             Fix For: 3.3.4


When I compile zookeeper c client in my project, there are some error:
../../../include/zookeeper/recordio.h:70: error:expected unqualified-id before '__extension__'
../../../include/zookeeper/recordio.h:70: error:expected `)' before '__extension__'
../../.. /include/zookeeper/recordio.h:70: error:expected unqualified-id before ')' token


--
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

       

[jira] [Commented] (ZOOKEEPER-1240) Compiler issue with redhat linux

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13134868#comment-13134868 ] 

Hadoop QA commented on ZOOKEEPER-1240:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12500278/ZOOKEEPER-1240.patch
  against trunk revision 1188523.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/653//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/653//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/653//console

This message is automatically generated.
                
> Compiler issue with redhat linux
> --------------------------------
>
>                 Key: ZOOKEEPER-1240
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1240
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.3.3
>         Environment: Linux phy 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
>            Reporter: Peng Futian
>            Assignee: Peng Futian
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.3.4, 3.5.0, 3.4.1
>
>         Attachments: ZOOKEEPER-1240.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When I compile zookeeper c client in my project, there are some error:
> ../../../include/zookeeper/recordio.h:70: error:expected unqualified-id before '__extension__'
> ../../../include/zookeeper/recordio.h:70: error:expected `)' before '__extension__'
> ../../.. /include/zookeeper/recordio.h:70: error:expected unqualified-id before ')' token

--
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

       

[jira] [Updated] (ZOOKEEPER-1240) Compiler issue with redhat linux

Posted by "Peng Futian (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peng Futian updated ZOOKEEPER-1240:
-----------------------------------

    Attachment: ZOOKEEPER-1240.patch

fix compile error under RedHat Linux
                
> Compiler issue with redhat linux
> --------------------------------
>
>                 Key: ZOOKEEPER-1240
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1240
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.3.3
>         Environment: Linux phy 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
>            Reporter: Peng Futian
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.3.4
>
>         Attachments: ZOOKEEPER-1240.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When I compile zookeeper c client in my project, there are some error:
> ../../../include/zookeeper/recordio.h:70: error:expected unqualified-id before '__extension__'
> ../../../include/zookeeper/recordio.h:70: error:expected `)' before '__extension__'
> ../../.. /include/zookeeper/recordio.h:70: error:expected unqualified-id before ')' token

--
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

       

[jira] [Updated] (ZOOKEEPER-1240) Compiler issue with redhat linux

Posted by "Mahadev konar (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar updated ZOOKEEPER-1240:
-------------------------------------

    Fix Version/s:     (was: 3.4.3)
                   3.4.4

Peng,
 Could you please re upload the patch with a license grant?
                
> Compiler issue with redhat linux
> --------------------------------
>
>                 Key: ZOOKEEPER-1240
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1240
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.3.3
>         Environment: Linux phy 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
>            Reporter: Peng Futian
>            Assignee: Peng Futian
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.5.0, 3.4.4
>
>         Attachments: ZOOKEEPER-1240.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When I compile zookeeper c client in my project, there are some error:
> ../../../include/zookeeper/recordio.h:70: error:expected unqualified-id before '__extension__'
> ../../../include/zookeeper/recordio.h:70: error:expected `)' before '__extension__'
> ../../.. /include/zookeeper/recordio.h:70: error:expected unqualified-id before ')' token

--
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

       

[jira] [Commented] (ZOOKEEPER-1240) Compiler issue with redhat linux

Posted by "Mahadev konar (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133847#comment-13133847 ] 

Mahadev konar commented on ZOOKEEPER-1240:
------------------------------------------

Peng, 
 You seem to have closed the jira again? Take a look at how to contribute, on the https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute for guidance on how to upload/review/get it committed.
                
> Compiler issue with redhat linux
> --------------------------------
>
>                 Key: ZOOKEEPER-1240
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1240
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.3.3
>         Environment: Linux phy 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
>            Reporter: Peng Futian
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.3.4
>
>         Attachments: ZOOKEEPER-1240.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When I compile zookeeper c client in my project, there are some error:
> ../../../include/zookeeper/recordio.h:70: error:expected unqualified-id before '__extension__'
> ../../../include/zookeeper/recordio.h:70: error:expected `)' before '__extension__'
> ../../.. /include/zookeeper/recordio.h:70: error:expected unqualified-id before ')' token

--
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

       

[jira] [Updated] (ZOOKEEPER-1240) Compiler issue with redhat linux

Posted by "Mahadev konar (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar updated ZOOKEEPER-1240:
-------------------------------------

    Fix Version/s:     (was: 3.4.1)
                   3.4.2

I am taking this out of 3.4.1. If the patch becomes available before I cut a 3.4.1 Ill incorporate it.
                
> Compiler issue with redhat linux
> --------------------------------
>
>                 Key: ZOOKEEPER-1240
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1240
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.3.3
>         Environment: Linux phy 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
>            Reporter: Peng Futian
>            Assignee: Peng Futian
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.5.0, 3.3.5, 3.4.2
>
>         Attachments: ZOOKEEPER-1240.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When I compile zookeeper c client in my project, there are some error:
> ../../../include/zookeeper/recordio.h:70: error:expected unqualified-id before '__extension__'
> ../../../include/zookeeper/recordio.h:70: error:expected `)' before '__extension__'
> ../../.. /include/zookeeper/recordio.h:70: error:expected unqualified-id before ')' token

--
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

       

[jira] [Commented] (ZOOKEEPER-1240) Compiler issue with redhat linux

Posted by "Peng Futian (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133225#comment-13133225 ] 

Peng Futian commented on ZOOKEEPER-1240:
----------------------------------------

Index: src/c/include/recordio.h
===================================================================
--- src/c/include/recordio.h	(修订版 1187635)
+++ src/c/include/recordio.h	(工作拷贝)
@@ -72,9 +72,9 @@
 void close_buffer_iarchive(struct iarchive **ia);
 char *get_buffer(struct oarchive *);
 int get_buffer_len(struct oarchive *);
-
+#ifndef htonll
 int64_t htonll(int64_t v);
-
+#endif
 #ifdef __cplusplus
 }
 #endif

                
> Compiler issue with redhat linux
> --------------------------------
>
>                 Key: ZOOKEEPER-1240
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1240
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.3.3
>         Environment: Linux phy 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
>            Reporter: Peng Futian
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.3.4
>
>         Attachments: ZOOKEEPER-1240.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When I compile zookeeper c client in my project, there are some error:
> ../../../include/zookeeper/recordio.h:70: error:expected unqualified-id before '__extension__'
> ../../../include/zookeeper/recordio.h:70: error:expected `)' before '__extension__'
> ../../.. /include/zookeeper/recordio.h:70: error:expected unqualified-id before ')' token

--
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

       

[jira] [Reopened] (ZOOKEEPER-1240) Compiler issue with redhat linux

Posted by "Peng Futian (Reopened) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peng Futian reopened ZOOKEEPER-1240:
------------------------------------

      Assignee: Mahadev konar

@Mahadev konar, 
I am sorry,Can you help me finished this issue?Thank you very much.
I just want you know there are a issue.
                
> Compiler issue with redhat linux
> --------------------------------
>
>                 Key: ZOOKEEPER-1240
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1240
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.3.3
>         Environment: Linux phy 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
>            Reporter: Peng Futian
>            Assignee: Mahadev konar
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.3.4
>
>         Attachments: ZOOKEEPER-1240.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When I compile zookeeper c client in my project, there are some error:
> ../../../include/zookeeper/recordio.h:70: error:expected unqualified-id before '__extension__'
> ../../../include/zookeeper/recordio.h:70: error:expected `)' before '__extension__'
> ../../.. /include/zookeeper/recordio.h:70: error:expected unqualified-id before ')' token

--
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

       

[jira] [Updated] (ZOOKEEPER-1240) Compiler issue with redhat linux

Posted by "Patrick Hunt (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-1240:
------------------------------------

    Fix Version/s: 3.4.1
                   3.5.0
         Assignee: Peng Futian  (was: Mahadev konar)
    
> Compiler issue with redhat linux
> --------------------------------
>
>                 Key: ZOOKEEPER-1240
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1240
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.3.3
>         Environment: Linux phy 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
>            Reporter: Peng Futian
>            Assignee: Peng Futian
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.3.4, 3.5.0, 3.4.1
>
>         Attachments: ZOOKEEPER-1240.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When I compile zookeeper c client in my project, there are some error:
> ../../../include/zookeeper/recordio.h:70: error:expected unqualified-id before '__extension__'
> ../../../include/zookeeper/recordio.h:70: error:expected `)' before '__extension__'
> ../../.. /include/zookeeper/recordio.h:70: error:expected unqualified-id before ')' token

--
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

       

[jira] [Updated] (ZOOKEEPER-1240) Compiler issue with redhat linux

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar updated ZOOKEEPER-1240:
-------------------------------------

    Fix Version/s:     (was: 3.4.4)
                   3.4.5

Moving it out, not a critical bugfix.
                
> Compiler issue with redhat linux
> --------------------------------
>
>                 Key: ZOOKEEPER-1240
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1240
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.3.3
>         Environment: Linux phy 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
>            Reporter: Peng Futian
>            Assignee: Peng Futian
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.5.0, 3.4.5
>
>         Attachments: ZOOKEEPER-1240.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When I compile zookeeper c client in my project, there are some error:
> ../../../include/zookeeper/recordio.h:70: error:expected unqualified-id before '__extension__'
> ../../../include/zookeeper/recordio.h:70: error:expected `)' before '__extension__'
> ../../.. /include/zookeeper/recordio.h:70: error:expected unqualified-id before ')' token

--
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

[jira] [Updated] (ZOOKEEPER-1240) Compiler issue with redhat linux

Posted by "Patrick Hunt (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-1240:
------------------------------------

    Fix Version/s:     (was: 3.3.4)
                   3.3.5
    
> Compiler issue with redhat linux
> --------------------------------
>
>                 Key: ZOOKEEPER-1240
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1240
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.3.3
>         Environment: Linux phy 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
>            Reporter: Peng Futian
>            Assignee: Peng Futian
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.5.0, 3.4.1, 3.3.5
>
>         Attachments: ZOOKEEPER-1240.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When I compile zookeeper c client in my project, there are some error:
> ../../../include/zookeeper/recordio.h:70: error:expected unqualified-id before '__extension__'
> ../../../include/zookeeper/recordio.h:70: error:expected `)' before '__extension__'
> ../../.. /include/zookeeper/recordio.h:70: error:expected unqualified-id before ')' token

--
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

       

[jira] [Updated] (ZOOKEEPER-1240) Compiler issue with redhat linux

Posted by "Peng Futian (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peng Futian updated ZOOKEEPER-1240:
-----------------------------------


Index: src/c/include/recordio.h
===================================================================
--- src/c/include/recordio.h	(修订版 1187635)
+++ src/c/include/recordio.h	(工作拷贝)
@@ -72,9 +72,9 @@
 void close_buffer_iarchive(struct iarchive **ia);
 char *get_buffer(struct oarchive *);
 int get_buffer_len(struct oarchive *);
-
+#ifndef htonll
 int64_t htonll(int64_t v);
-
+#endif
 #ifdef __cplusplus
 }
 #endif

                
> Compiler issue with redhat linux
> --------------------------------
>
>                 Key: ZOOKEEPER-1240
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1240
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.3.3
>         Environment: Linux phy 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
>            Reporter: Peng Futian
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.3.4
>
>         Attachments: ZOOKEEPER-1240.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When I compile zookeeper c client in my project, there are some error:
> ../../../include/zookeeper/recordio.h:70: error:expected unqualified-id before '__extension__'
> ../../../include/zookeeper/recordio.h:70: error:expected `)' before '__extension__'
> ../../.. /include/zookeeper/recordio.h:70: error:expected unqualified-id before ')' token

--
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

       

[jira] [Commented] (ZOOKEEPER-1240) Compiler issue with redhat linux

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13165566#comment-13165566 ] 

Hadoop QA commented on ZOOKEEPER-1240:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12500278/ZOOKEEPER-1240.patch
  against trunk revision 1208979.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/818//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/818//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/818//console

This message is automatically generated.
                
> Compiler issue with redhat linux
> --------------------------------
>
>                 Key: ZOOKEEPER-1240
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1240
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.3.3
>         Environment: Linux phy 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)
>            Reporter: Peng Futian
>            Assignee: Peng Futian
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.5.0, 3.4.1, 3.3.5
>
>         Attachments: ZOOKEEPER-1240.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When I compile zookeeper c client in my project, there are some error:
> ../../../include/zookeeper/recordio.h:70: error:expected unqualified-id before '__extension__'
> ../../../include/zookeeper/recordio.h:70: error:expected `)' before '__extension__'
> ../../.. /include/zookeeper/recordio.h:70: error:expected unqualified-id before ')' token

--
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