Currently mixing generated .pb.c files from older major series of nanopb can
cause compilation errors.
It would be better to have something like this in pb.h:
#define PB_H_VERSION 30
and in .pb.c:
#if PB_H_VERSION != 30
#error Please regenerate this file with the current version of nanopb.
#endif
Original issue reported on code.google.com by Petteri.Aimonen on 4 Aug 2014 at 4:21
Original issue reported on code.google.com by
Petteri.Aimonen
on 4 Aug 2014 at 4:21