iamandi / nanopb

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

Add example on setting the compile time options #76

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Compile time options like PB_FIELD_32BIT are usually set on the compiler 
command line. However, in some IDEs this may not be straightforward to do.

The options can equally well be set in the top of pb.h, but it has to come 
before the other definitions.

There could be commented example definitions there so that it is easy to see 
what can be modified and where.

Original issue reported on code.google.com by Petteri.Aimonen on 24 May 2013 at 4:16

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

Original comment by Petteri.Aimonen on 6 Jul 2013 at 1:18

GoogleCodeExporter commented 9 years ago
Fix included in nanopb-0.2.2

Original comment by Petteri.Aimonen on 18 Aug 2013 at 7:17