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

cpp:cob_style generates incorrect .tcc file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.2
    • C++ - Compiler
    • None
    • Linux gcc

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: