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

Generated error c++ code with -out and include_prefix param

    XMLWordPrintableJSON

    Details

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

      Linux, x86-64

      Description

      thrift -gen cpp:include_prefix -out test_thrift test_thrift/tutorial.thrift

      the files are generated in test_thrift, without the gen-cpp dir
      but the content of generated files are error:

      #include "test_thrift/gen-cpp/Calculator.h"

      the --help said:
      -out dir Set the ouput location for generated files.
      (no gen-* folder will be created)

      So, the 'gen-cpp' should be removed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              chen3feng CHEN Feng
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: