[Top][All Lists]

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

[Tinycc-devel] C99 static array indices in function args

From: foobar
Subject: [Tinycc-devel] C99 static array indices in function args
Date: Tue, 19 Dec 2017 22:10:46 +0000

tcc chokes on encountering a function definition like

void foo(char bar[static 16]) { ... }


are there plans to support this feature ?

i think basically tcc could just ignore the static or const keyword there
and treat it as if the declaration was:

void foo(char bar[16]) { ... }

(the feature is described in the C11 specs in §, § part 7, but 
IIRC it's also in C99)

reply via email to

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