On 07.02.14 13:41, "Dmitri Gribenko" <griboz...@gmail.com> wrote:


>On Fri, Feb 7, 2014 at 12:22 PM, Thomas Engelmeier
><tengelme...@blackberry.com> wrote:
>> typedef struct {
>>  unsigned size;
>>  char mem[1];
>> } My_MemoryBlockHeader_t;
>
>'mem' should be aligned at least as strictly as the maximum-aligned on
>the platform.

Thanks, that + using size_t instead of unsigned int fixed the exception!


_______________________________________________
cfe-users mailing list
cfe-users@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users

Reply via email to