Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-598

Fails to compile - RESUBSCRIBE_EXCEPTION conflict

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.2.1
    • 4.2.2, 4.3.0
    • hedwig-client
    • None
    • 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).

      Attachments

        1. BOOKKEEPER-598.patch
          1 kB
          Matthew Farrellee

        Activity

          People

            farrellee Matthew Farrellee
            farrellee Matthew Farrellee
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: