[ https://issues.apache.org/jira/browse/THRIFT-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
CHEN Feng updated THRIFT-1859: ------------------------------ 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. was: 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) > Generated error c++ code with -out and include_prefix param > ----------------------------------------------------------- > > Key: THRIFT-1859 > URL: https://issues.apache.org/jira/browse/THRIFT-1859 > Project: Thrift > Issue Type: Bug > Components: C++ - Compiler > Affects Versions: 0.9 > Environment: Linux, x86-64 > Reporter: CHEN Feng > Priority: Critical > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira