[
https://issues.apache.org/jira/browse/THRIFT-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13604527#comment-13604527
]
CHEN Feng edited comment on THRIFT-1859 at 3/18/13 9:36 AM:
------------------------------------------------------------
t_program::is_out_path_absolute() should be a const finction.
was (Author: chen3feng):
t_program::is_out_path_absolute() should be a const finction.
then 'get_grogram()' can be replaced by 'program'.
> 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
> Attachments:
> thrift-1859-fix-cpp-include-path-when-include-prefix-is-on-and-out-option-is-specified.patch
>
>
> 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