[ 
https://issues.apache.org/jira/browse/THRIFT-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jake Farrell closed THRIFT-1859.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0

Modified patch to fix const error and committed.
                
> 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
>             Fix For: 1.0
>
>         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

Reply via email to