[ https://issues.apache.org/jira/browse/THRIFT-5418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer resolved THRIFT-5418. -------------------------------- Fix Version/s: 0.16.0 Assignee: Mario Emmenlauer Resolution: Fixed https://github.com/apache/thrift/commit/d3f13f0907dda34dff1ecc7dd7bc4fec2b26f168 > 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 > Assignee: Mario Emmenlauer > Priority: Major > Fix For: 0.16.0 > > Time Spent: 50m > Remaining Estimate: 0h > > 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)