Chen Feng, I did a quick try to reproduce that on Windows but couldn't, but maybe I missed something. Can yo provide a patch? There's an "how to contribute" on the Thrift web site.
Thanks a lot, Jens ________________________________ Von: CHEN Feng (JIRA) Gesendet: 22.02.2013 07:06 An: dev@thrift.apache.org Betreff: [jira] [Updated] (THRIFT-1859) Generated error c++ code with -out and include_prefix param [ https://issues.apache.org/jira/browse/THRIFT-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] CHEN Feng updated THRIFT-1859: ------------------------------ Component/s: (was: Compiler (General)) > 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 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) -- 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