Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5418

C++ to_string and ostream operator not always generated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.0, 0.14.1
    • 0.16.0
    • C++ - Compiler
    • None

    Description

      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

       

      Attachments

        Issue Links

          Activity

            People

              emmenlau Mario Emmenlauer
              kurt_8888 Kurt Johnson
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m