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

2022-09-19 Thread Michael Matz
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:

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

2022-09-17 Thread Detlef Riekenberg
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, ho