You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Kurt Johnson (Jira)" <ji...@apache.org> on 2021/05/21 18:18:00 UTC

[jira] [Created] (THRIFT-5418) C++: to_string and ostream operator not generated always generated

Kurt Johnson created THRIFT-5418:
------------------------------------

             Summary: 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.1, 0.14.0
            Reporter: Kurt Johnson


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)