Bookkeeper
  1. Bookkeeper
  2. BOOKKEEPER-598

Fails to compile - RESUBSCRIBE_EXCEPTION conflict

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.1
    • Fix Version/s: 4.2.2, 4.3.0
    • Component/s: hedwig-client
    • Labels:
      None
    • Environment:

      Fedora 17 w/ gcc version 4.7.2 20120921

      Description

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

      1. BOOKKEEPER-598.patch
        1 kB
        Matthew Farrellee

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Matthew Farrellee
            Reporter:
            Matthew Farrellee
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development