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

cpp:cob_style generates incorrect .tcc file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.2
    • Component/s: C++ - Compiler
    • Labels:
      None
    • Environment:

      Linux gcc

    • Patch Info:
      Patch Available

      Description

      With cob_style switch, thrift compiler generates non-template method definitions into .tcc files, which results in link errors whenever you include a service header from multiple implementation files.

      Moving non-template methods to .cpp file resolves the problem.
      This problem is present only in recent master branch.

      pull request url:
      https://github.com/apache/thrift/pull/118

        Attachments

          Activity

            People

            • Assignee:
              roger Roger Meier
              Reporter:
              nsuke Nobuaki Sukegawa
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: