Thrift
  1. Thrift
  2. THRIFT-920

C++ Test and Tutorial does not compile anymore due to the change within Enum handling

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.5
    • Component/s: C++ - Library, Test Suite
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      This patch changes the following files, to support the new more powerful enumeration handling introduced since 0.4.0

      M      test/cpp/Thrift-test.mk
      M      test/cpp/src/TestClient.cpp
      M      test/cpp/src/TestServer.cpp
      M      tutorial/cpp/CppClient.cpp
      M      tutorial/cpp/CppServer.cpp
      

      changes e.g.

      -    crazy.userMap.insert(make_pair(EIGHT, 8));
      +    crazy.userMap.insert(make_pair(Numberz::EIGHT, 8));
      

        Activity

        Roger Meier created issue -
        Roger Meier made changes -
        Field Original Value New Value
        Attachment THRIFT-920_cpp_fix_enum_change_on_test_and_tutorial.patch [ 12455583 ]
        Roger Meier made changes -
        Fix Version/s 0.5 [ 12315235 ]
        Christian Lavoie made changes -
        Attachment v2-thrift-fix-cpp-test.patch [ 12455616 ]
        Roger Meier made changes -
        Bryan Duxbury made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Roger Meier [ roger.meier ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Roger Meier
            Reporter:
            Roger Meier
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development