I am porting code that use VLA (variable length array). VLA is an array whose length is determined at run time (instead of at compile time). VLA are part of C99. It is similar to malloc & free but it is handled by compiler.
So I have checked C99 under settings -> Language settings. That solve compile time error.
Now I'm stuck with linker error:
Link Error : Undefined : "__vla_alloc"
Link Error : Undefined : "__vla_free"
Do I miss an include ? Do I need to add a library ? Do I need to implement __vla_alloc and __vla_free myself ?
Need help
BTW I'm using Codewarrior 7.1 on MCF52235