[
https://issues.apache.org/jira/browse/THRIFT-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
José Antonio Santos updated THRIFT-1582:
----------------------------------------
Attachment: second.thrift
firstTest.thrift
Thrift files that causes the error
> Bad includes of nested thrift files in c_glib
> ---------------------------------------------
>
> Key: THRIFT-1582
> URL: https://issues.apache.org/jira/browse/THRIFT-1582
> Project: Thrift
> Issue Type: Bug
> Components: C glib - Compiler
> Affects Versions: 0.8, 0.9
> Environment: When trying to compile the attached files the generated
> code does not compile.
> Reporter: José Antonio Santos
> Labels: patch
> Fix For: 0.8, 0.9
>
> Attachments: firstTest.thrift, second.thrift
>
>
> The generated code of the header looks like
> {code:title=second_types.h}
> ...
> /* other thrift includes */
> #include "firstTest_types.h"
> ...
> {code}
> But should look like:
> {code:title=second_types.h}
> ...
> /* other thrift includes */
> #include "first_test_types.h"
> ...
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira