tinycc-devel
[Top][All Lists]
Advanced

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

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


From: Michael Matz
Subject: Re: [Tinycc-devel] VLA support is not detected with autoconf
Date: Mon, 19 Sep 2022 15:35:55 +0200 (CEST)
User-agent: Alpine 2.21 (LSU 202 2017-01-01)

Hey,

On Sun, 18 Sep 2022, Detlef Riekenberg wrote:


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?

Fixed in mob.


Ciao,
Michael.



reply via email to

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