[ 
https://issues.apache.org/jira/browse/THRIFT-3921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15881249#comment-15881249
 ] 

ASF GitHub Bot commented on THRIFT-3921:
----------------------------------------

Github user alexandruavadanii commented on the issue:

    https://github.com/apache/thrift/pull/1083
  
    To be honest, my C++ is a bit rusty, I got here indirectly while 
investigating a downstream bug (https://jira.opnfv.org/browse/ARMBAND-224).
    Btw, OS/compiler info: Ubuntu Xenial (16.04) AArch64 - native build on 
armv8 baremetal;
    $ g++ --version
    g++ (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609
    I'll try to look at the code/logs a little, see if I can be of help.


> C++ code should print enums as strings
> --------------------------------------
>
>                 Key: THRIFT-3921
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3921
>             Project: Thrift
>          Issue Type: Improvement
>          Components: C++ - Compiler
>            Reporter: Vivek Jain
>            Assignee: James E. King, III
>             Fix For: 0.11.0
>
>
> THRIFT-2067 added {{operator<<}} to the C++ generated code, which is great, 
> but enums are printed as numbers rather than their string representation. It 
> would be great if the generated code printed them as a string instead. There 
> might be some backwards-compatibility concerns (if users have already defined 
> their own versions, then thrift's version would cause compile errors), not 
> sure how important you guys think those are.
> Other thoughts/concerns? I am willing to work on a patch if no one else is 
> able to work on it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to