[
https://issues.apache.org/jira/browse/THRIFT-1578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
José Antonio Santos updated THRIFT-1578:
----------------------------------------
Environment:
When generating code for a struct that conatains an enumerated, the generated
code does not compile.
Problematic thrift file looks like this:
{code}
enum ExampleEnum {
FIRST,
SECOND,
}
struct ExampleStruct {
1: required set<ExampleEnum> enumValue
}
{code}
was:
When generating code for a struct that conatains an enumerated, the generated
code does not compile.
Problematic thrift file looks like this:
enum ExampleEnum {
FIRST,
SECOND,
}
struct ExampleStruct {
1: required set<ExampleEnum> enumValue
}
> C_GLib generated code does not compile
> --------------------------------------
>
> Key: THRIFT-1578
> URL: https://issues.apache.org/jira/browse/THRIFT-1578
> Project: Thrift
> Issue Type: Bug
> Components: C glib - Compiler
> Affects Versions: 0.8, 0.9
> Environment: When generating code for a struct that conatains an
> enumerated, the generated code does not compile.
> Problematic thrift file looks like this:
> {code}
> enum ExampleEnum {
> FIRST,
> SECOND,
> }
> struct ExampleStruct {
> 1: required set<ExampleEnum> enumValue
> }
> {code}
> Reporter: José Antonio Santos
> Labels: patch
> Fix For: 0.8, 0.9
>
> Attachments: thrift-1578-c_glib_generator.patch
>
>
> The problem is that the type name and the variable name does not have an
> empty space between them.
--
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