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

alloca called in protobuf-c.c for required_fields_bitmap #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
My platform doesn't have alloca, this should be changed to the already existing 
DO_ALLOC / FREE macros.

my patch attached. very limited testing on this.

Original issue reported on code.google.com by pier...@gmail.com on 11 May 2011 at 6:23

Attachments:

GoogleCodeExporter commented 8 years ago
Should have mentioned, this is in the 0.15 tag.

Original comment by pier...@gmail.com on 11 May 2011 at 6:23

GoogleCodeExporter commented 8 years ago
I switched strategies slightly for required-field detection (see revision 327), 
so alloca() is no longer needed.

Original comment by lahike...@gmail.com on 2 Nov 2011 at 2:17