Matthew Farrellee created BOOKKEEPER-598:
--------------------------------------------

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


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