You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2016/02/19 21:46:18 UTC

[jira] [Closed] (THRIFT-3648) Union in c++ doesn't work

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

Jens Geyer closed THRIFT-3648.
------------------------------
    Resolution: Duplicate

Sorry, didn't see that ticket. Closing as duplicate because all the details are in THRIFT-3650.

> Union in c++ doesn't work
> -------------------------
>
>                 Key: THRIFT-3648
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3648
>             Project: Thrift
>          Issue Type: Bug
>    Affects Versions: 0.9.3
>         Environment: ubuntu gnu/linux 4.2, with boost 1.57
>            Reporter: Enrique Fynn
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> The simple code that was supposed to work is in https://github.com/enriquefynn/union_thrift
> I also believe that setting a field should automatically flag the isset for the field true as if I use a struct instead of union
> Even setting all the fields of isset to false, in the server I see all the fields setted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)