[ https://issues.apache.org/jira/browse/THRIFT-5418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17477045#comment-17477045 ]
Dirk Sandbrink commented on THRIFT-5418: ---------------------------------------- I can confirm this issue for 0.15.0 as well. > C++ to_string and ostream operator not always generated > ------------------------------------------------------- > > Key: THRIFT-5418 > URL: https://issues.apache.org/jira/browse/THRIFT-5418 > Project: Thrift > Issue Type: Bug > Components: C++ - Compiler > 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.20.1#820001)