"jr" <cre### [at] gmailcom> wrote:
> one hack-ish workaround could be to separate out the operations, ie in C I might
> do something like:
>
> size_t const n = strlen(Get_Token_String(...));
> char tmp_compound[4 + n] = {'\0'};
So instead of this:
char tmp_compound[4+strlen(Get_Token_String(CYLINDER_TOKEN))];
....and after adding the same include in parser_strings.cpp, I used:
const ssize_t n = strlen(Get_Token_String(CYLINDER_TOKEN));
char tmp_compound[4 + n];
And still error messages from the same line not eval to const also tried with
const int n = strlen(Get_Token_String(CYLINDER_TOKEN));
Post a reply to this message
|