tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] VLA support is not detected with autoconf


From: Detlef Riekenberg
Subject: [Tinycc-devel] VLA support is not detected with autoconf
Date: Sun, 18 Sep 2022 02:58:29 +0200

tcc can't compile the attached VLA check (gcc works)
and configure adds "#define __STDC_NO_VLA__ 1" to config.h

The code was generated using the autoconf macro "AC_C_VARARRAYS".

console output:
tcc -std=c11  vla_conftest.c -c
vla_conftest.c:30: error: constant expression expected


Any ideas, how to fix that?

(Link does not work: n is not available)


--
Bye bye ... Detlef

Attachment: vla_conftest.c
Description: Text document


reply via email to

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