Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.8.2
-
None
-
None
-
Linux
Description
AVRO for C fails to compile.
Could be duplicate of AVRO-778
First instance of failure (of many) occures in avro_schema_to_header :
static int avro_schema_to_header(avro_schema_t schema, specific_ctx * ctx)
{
size_t i;
FILE *fp = ctx->header;
indent(ctx, fp);
ctx->depth++;
if (is_avro_primitive(schema) && !ctx->name) {
<function continues....>
ctx has no member name.
The definition of the struct above is :
enum specific_state {
START_STATE,
};
typedef enum specific_state specific_state;
struct specific_ctx {
FILE *header;
FILE *source;
int depth;
specific_state state;
};
typedef struct specific_ctx specific_ctx;
So every instance of ctx->name fails.....
Attachments
Issue Links
- relates to
-
AVRO-778 C: avrocc schema-specific compiler
- Open