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

C++ compilation of classes generated for an enum

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.6
    • None
    • C++ - Library
    • None
    • OS : Windows XP, Compiler/IDE : Visual Studio 2008

    Description

      When using the patches from either THRIFT-1123 or THRIFT-1031, I get a compilation error when compiling the class generated for an enum type. The details are available in this comment.

      I found that making apache::Thrift::TEnumIterator extend std::iterator<std::forward_iterator_tag, std::pair<int, const char*> > solve the issue, but I'm not able to test it on other platforms.

      Attachments

        1. thrift-1139.patch
          0.5 kB
          Xavier Lepaul

        Activity

          People

            xavier.lepaul Xavier Lepaul
            xavier.lepaul Xavier Lepaul
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: