tcc chokes on encountering a function definition like

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

https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/rzarg/static_array_index.htm

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 §6.7.6.2, §6.7.6.3 part 7, but 
IIRC it's also in C99)

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to