tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Support for VLA in function prototype


From: ntysdd
Subject: [Tinycc-devel] Support for VLA in function prototype
Date: Fri, 12 Aug 2022 08:38:17 +0800

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"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]