You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Ryan Haswell (JIRA)" <ji...@apache.org> on 2012/09/28 01:39:07 UTC

[jira] [Created] (THRIFT-1705) Unable to compile Thrift Enum in MSVC++

Ryan Haswell created THRIFT-1705:
------------------------------------

             Summary: Unable to compile Thrift Enum in MSVC++
                 Key: THRIFT-1705
                 URL: https://issues.apache.org/jira/browse/THRIFT-1705
             Project: Thrift
          Issue Type: Bug
          Components: C++ - Library
    Affects Versions: 0.8
            Reporter: Ryan Haswell
         Attachments: Thrift.h

Files generated by thrift files with an Enum in them will not compile using Microsoft Visual Studio C++.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (THRIFT-1705) Unable to compile Thrift Enum in MSVC++

Posted by "Henrique Mendonca (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henrique Mendonca closed THRIFT-1705.
-------------------------------------

    
> Unable to compile Thrift Enum in MSVC++
> ---------------------------------------
>
>                 Key: THRIFT-1705
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1705
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.8
>            Reporter: Ryan Haswell
>              Labels: patch
>         Attachments: Thrift.h
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Files generated by thrift files with an Enum in them will not compile using Microsoft Visual Studio C++.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (THRIFT-1705) Unable to compile Thrift Enum in MSVC++

Posted by "Ryan Haswell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Haswell updated THRIFT-1705:
---------------------------------

    Attachment: Thrift.h

Adding a == operator to the TEnumIterator class allows the code to compile. Haven't fully tested but should work fine.
                
> Unable to compile Thrift Enum in MSVC++
> ---------------------------------------
>
>                 Key: THRIFT-1705
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1705
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.8
>            Reporter: Ryan Haswell
>              Labels: patch
>         Attachments: Thrift.h
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Files generated by thrift files with an Enum in them will not compile using Microsoft Visual Studio C++.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (THRIFT-1705) Unable to compile Thrift Enum in MSVC++

Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Meier resolved THRIFT-1705.
---------------------------------

    Resolution: Cannot Reproduce
    
> Unable to compile Thrift Enum in MSVC++
> ---------------------------------------
>
>                 Key: THRIFT-1705
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1705
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.8
>            Reporter: Ryan Haswell
>              Labels: patch
>         Attachments: Thrift.h
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Files generated by thrift files with an Enum in them will not compile using Microsoft Visual Studio C++.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (THRIFT-1705) Unable to compile Thrift Enum in MSVC++

Posted by "Ryan Haswell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465225#comment-13465225 ] 

Ryan Haswell edited comment on THRIFT-1705 at 9/28/12 10:44 AM:
----------------------------------------------------------------

Adding a == operator to the TEnumIterator class allows the code to compile. I did this in the attached and updated Thrift.h file. Haven't fully tested but should work fine.
                
      was (Author: ryandh):
    Adding a == operator to the TEnumIterator class allows the code to compile. Haven't fully tested but should work fine.
                  
> Unable to compile Thrift Enum in MSVC++
> ---------------------------------------
>
>                 Key: THRIFT-1705
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1705
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.8
>            Reporter: Ryan Haswell
>              Labels: patch
>         Attachments: Thrift.h
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Files generated by thrift files with an Enum in them will not compile using Microsoft Visual Studio C++.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira