digideskio / protobuf-c

Automatically exported from code.google.com/p/protobuf-c
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Pedantic doesn't like comma at end of enum #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Generate code via protoc-c using any valid proto file with an enum defined.

What is the expected output? What do you see instead?
Enums contain a comma after every entry.  Having a comma at the end of the
last value in the enum causes a pedantic warning.

What version of the product are you using? On what operating system?
0.2

Please provide any additional information below.

Original issue reported on code.google.com by AdamJMo...@gmail.com on 27 Aug 2008 at 5:10

GoogleCodeExporter commented 8 years ago
ok, this is fixed in subversion, and will be included in the 0.3 release.

Original comment by lahike...@gmail.com on 28 Aug 2008 at 6:09