[
https://issues.apache.org/jira/browse/THRIFT-5418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17481129#comment-17481129
]
Dirk Sandbrink commented on THRIFT-5418:
----------------------------------------
Should be fixed in 0.16.0, see [THRIFT-5418: Fix missing implementation for
enum
functions|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
> Priority: Major
> 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)