Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-920

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5
    • 0.5
    • C++ - Library, Test Suite
    • None
    • 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));
      

      Attachments

        Activity

          People

            roger Roger Meier
            roger Roger Meier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: