5 ms·
tcc version 0.9.28rc returns "1", whatever that means.
by aslatter 1y ago
tcc version 0.9.28rc returns "1", whatever that means.
- kelnos 1y agoPretty sure that means that tcc at least believes it is a C99 (or later) compiler; if it conformed to an earlier spec it (probably?) would have considered the inner `enum { C99 = 0 }` definition to be still in scope, and the return value would be 0. I think.
- mananaysiempre 1y agoThat’s correct. I did check before posting that TCC 0.9.27 on Godbolt returned zero here, but I didn’t look beyond that. Evidently things have changed since that release.