Re:Squashing my dumb bugs and why I log build IDs
by aslatter on Sunday August 10, 2025 @10:39PM
(#44860333)
tcc version 0.9.28rc returns "1", whatever that means.
[ Parent
| on HN ]
Re:Squashing my dumb bugs and why I log build IDs
by kelnos on Sunday August 10, 2025 @11:27PM
(#44860552)
Pretty 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.
Re:Squashing my dumb bugs and why I log build IDs
by mananaysiempre on Tuesday August 12, 2025 @01:08AM
(#44872610)
That’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.