Closed GoogleCodeExporter closed 9 years ago
Hmm, usually GCC inserts extra instructions to access unaligned data when
__attribute__((packed)) is used.
But I will add a compilation option. Not sure about rearranging fields, it is
more logical in current order.
Original comment by Petteri.Aimonen
on 9 Dec 2014 at 3:54
This issue was updated by revision cfc517f36b32.
Original comment by Petteri.Aimonen
on 22 Dec 2014 at 6:53
Added compilation option "PB_NO_PACKED_STRUCTS". Default is off, because
suddenly increasing RAM usage would cause trouble for existing applications.
Original comment by Petteri.Aimonen
on 22 Dec 2014 at 6:54
Fix released in nanopb-0.3.2.
Original comment by Petteri.Aimonen
on 24 Jan 2015 at 3:53
Original issue reported on code.google.com by
philip.l...@gmail.com
on 9 Dec 2014 at 9:42Attachments: