tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Support for VLA in function prototype


From: Herman ten Brugge
Subject: Re: [Tinycc-devel] Support for VLA in function prototype
Date: Sat, 13 Aug 2022 11:37:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0

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



reply via email to

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