mlot / nanopb

Automatically exported from code.google.com/p/nanopb
zlib License
0 stars 0 forks source link

Wrong encoded size #define generated for oneof message #141

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile the attached oneof.proto
2. Observe that in oneof.pb.h topMessage_size is 32
3. Remove OneOfMessage definition
4. Observe that the size is now correct 70

Original issue reported on code.google.com by Petteri.Aimonen on 23 Jan 2015 at 6:57

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was updated by revision d32d04ba1011.

Original comment by Petteri.Aimonen on 23 Jan 2015 at 7:32

GoogleCodeExporter commented 9 years ago
Fix released in nanopb-0.3.2.

Original comment by Petteri.Aimonen on 24 Jan 2015 at 3:53