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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.9
    • 0.9.1
    • C++ - Compiler
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: