It appears some compilers behave non-standard when given an const integer as array declarator expression.
Yup, precisely. AvgetCC is an example.
Also my ICE doesn't correctly understand "const", hence its parser is set to ignore (skip token).
I don't use "const" in none of my projects.
Even if you look at the source code of big and complex projects like the firmware of my industrial embroidery machine, you won't find any "const".
"const" is banned from my C-coding style, and I tend to use the linker_script to specifically allocate constant variables in the RO session, hence again, I don't need "const".
---
Anyway, yesterday I rewrote the whole C source in a clean way.
No more "const", no more "VLA". Thins are clean, debugged through an automatic test-case plan, all is fine like it should be.
For me: VLA is banned from my C-coding style.
( I am a weird C programmer, I know
)