On 8/12/22 02:38, ntysdd wrote:
Hi, I find although TCC supports VLA in function body, it doesn't seem to 
support
VLA in function prototype.
example

void f(int n, char ch[n]);

Both gcc and clang compile this fine, while tcc says "error: 'n' undeclared"

Are you using mob "git clone git://repo.or.cz/tinycc.git". This should be fixed.

    Herman

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to