aakash-sahai / nanopb

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

Some characters in filename break #ifndef #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Filenames such as foo-bar.proto will cause generator to put #ifdef 
__FOO-BAR_PB_H__ in the header. Compilation of this fails with:

bc-alltypes.pb.h:2:15: error: extra tokens at end of #ifndef directive [-Werror]

Original issue reported on code.google.com by Petteri.Aimonen on 13 Jan 2013 at 4:39

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

Original comment by Petteri.Aimonen on 7 Feb 2013 at 3:40

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

Original comment by Petteri.Aimonen on 13 Feb 2013 at 7:19