mikevoyt / protobuf-embedded-c

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

problematic enum handling #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use nested messages as in provided proto-file
2. Generate c/h-files
3. see that definition of enum is after first use of enum-type in the message 
struct. This generates compiler errors

What is the expected output? What do you see instead?

The enum-definition in h-file should be at beginning of the file, not in the 
middle. 

What version of the product are you using? On what operating system?
Using 1.0M2.jar

Please provide any additional information below.

This effect seems to be active when nested messages are used and the basic 
message contains the enum.

Original issue reported on code.google.com by embed...@xyz.de on 28 Dec 2012 at 9:15

Attachments:

GoogleCodeExporter commented 9 years ago
Attach correct file

Original comment by embed...@xyz.de on 28 Dec 2012 at 9:21

Attachments:

GoogleCodeExporter commented 9 years ago
Issue 19 is already included in Issue 11.

Original comment by nvp...@gmail.com on 23 Jan 2013 at 8:30