[ https://issues.apache.org/jira/browse/THRIFT-5418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17363612#comment-17363612 ]
Martin Hejnfelt commented on THRIFT-5418: ----------------------------------------- I can confirm this as I just ran into this upgrading to 0.14.1. I tried looking into the mentioned pull, "reversed" it (by simply setting the has_members_ to true by default) and it worked again. I guess this would need to be looked into, and the commit made a bit more "embracing". > C++: to_string and ostream operator not generated always generated > ------------------------------------------------------------------ > > Key: THRIFT-5418 > URL: https://issues.apache.org/jira/browse/THRIFT-5418 > Project: Thrift > Issue Type: Bug > Affects Versions: 0.14.0, 0.14.1 > Reporter: Kurt Johnson > Priority: Major > > If a thrift file only contains an enum then the c++ source file "*_types.cpp" > are not created. This means that the predefined to_string and ostream > operator << methods do not have an implementation. > > I suspect that this bug was introduced by > [https://github.com/apache/thrift/pull/2095] > -- This message was sent by Atlassian Jira (v8.3.4#803005)