benmargolin / protobuf-embedded-c

Automatically exported from code.google.com/p/protobuf-embedded-c
0 stars 0 forks source link

..._is_default_message function generated with error (while include repeated message) #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
When I compile .ptoto file with message that include repeated messages I get 
error.
For example .proto has:
.
.
.
message XYPoint{
    required float time = 1;
    required float amplitude= 2;
}

message XYGraph{
    repeated XYPoint point = 1;
}
.
.
.

What is the expected output? What do you see instead?
I expected to get the following function:
int XYGraph_is_default_message(struct XYGraph *_XYGraph) {
    return 0;
}
BUT, I get:
int XYGraph_is_default_message(struct XYGraph *_XYGraph) {
    return
}

What version of the product are you using? On what operating 
system?EmbeddedProtoBuf version 1.0M4, OS: Windows7 HomePremium 64bit

Please provide any additional information below.

Original issue reported on code.google.com by magnet...@gmail.com on 10 Jun 2013 at 2:40

GoogleCodeExporter commented 9 years ago
Thank you for the feedback. Already fixed this problem reported by issue 43. 

Original comment by nvp...@gmail.com on 11 Jun 2013 at 7:14