[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
vla_conftest.c
Description: Text document
- [Tinycc-devel] VLA support is not detected with autoconf,
Detlef Riekenberg <=