hey guys, I am using the tip of Git and attempting to compile for a C55x DSP. I am running into a couple compile errors and have found the source of the issue.<br><br>The errors:<br>"celt.c", line 957: error: declaration may not appear after executable statement in block<br>
<br>as well as<br><br>"celt.c", line 2303: error: declaration may not appear after executable statement in block<br><br>Both of these instances are pointing to the code: <br>"ALLOC_STACK;<br>SAVE_STACK;"<br>
<br>this has to do with the not using VAR_ARRAYS nor USE_ALLOCA, in this scenario the #define's for ALLOC_STACK and SAVE_STACK are:<br><br>#define ALLOC_STACK (global_stack = (global_stack==0) ? celt_alloc_scratch(GLOBAL_STACK_SIZE) : global_stack)<br>
#define SAVE_STACK char *_saved_stack = global_stack;<br><br>so obviously, having the executable of ALLOC_STACK prior to SAVE_STACK won't work.<br><br>not quite sure how to get around this, any ideas?<br><br>thanks<br>
<br>Bob<br>