You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Xavier Lepaul (JIRA)" <ji...@apache.org> on 2011/04/18 20:36:05 UTC

[jira] [Updated] (THRIFT-1139) C++ compilation of classes generated for an enum

     [ https://issues.apache.org/jira/browse/THRIFT-1139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Lepaul updated THRIFT-1139:
----------------------------------

    Attachment: thrift-1139.patch

> C++ compilation of classes generated for an enum
> ------------------------------------------------
>
>                 Key: THRIFT-1139
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1139
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.6
>         Environment: OS : Windows XP, Compiler/IDE : Visual Studio 2008
>            Reporter: Xavier Lepaul
>            Priority: Minor
>         Attachments: thrift-1139.patch
>
>
> 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|https://issues.apache.org/jira/browse/THRIFT-1031?focusedCommentId=13017019&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13017019].
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira