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

Sijie Guo commented on BOOKKEEPER-598:
--------------------------------------

yes. I think this issue is introduced when fixing BOOKKEEPER-55. the fix is 
only made in java client, not in cpp client. after that issue, we don't have 
any fixes on cpp client, so it is difficult to find this issue. I am thinking 
we need to build cpp client and run its tests on precommit build, otherwise we 
could not guarantee the quality of cpp client.
                
> Fails to compile - RESUBSCRIBE_EXCEPTION conflict
> -------------------------------------------------
>
>                 Key: BOOKKEEPER-598
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-598
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: hedwig-client
>    Affects Versions: 4.2.1, 4.3.0
>         Environment: Fedora 17 w/ gcc version 4.7.2 20120921
>            Reporter: Matthew Farrellee
>         Attachments: BOOKKEEPER-598.patch
>
>
> 0. cd hedwig-client/src/main/cpp
> 1. autoreconf -fi
> 2. ./configure
> 3. make
> (3) fails with subscriberimpl.cpp:150:48: error: no match for 'operator==' in 
> '(Hedwig::StatusCode)407u == *(const 
> std::type_info*)(*(exception.std::exception::_vptr.exception + -8u))'
> The static const RESUBSCRIBE_EXCEPTION is conflicting with an enum from 
> hedwig-client/src/main/cpp/inc/hedwig/protocol.h (line 153 
> RESUBSCRIBE_EXCEPTION = 407).

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

Reply via email to