tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] Our __has_include implementation needs a fix


From: Detlef Riekenberg
Subject: [Tinycc-devel] Our __has_include implementation needs a fix
Date: Thu, 4 Aug 2022 13:33:38 +0200

We detect and handle "__has_include" (yeah),
but it's broken (we return always 1)
and we should fix it.

Any ideas?

__has_include was an gcc/clang extension, but it's now a part of C23.
(change accepted in aug/sep 2021)

The support for __has_include is also mentioned in an ISO document:
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2799.pdf

The document named the compiler as tcc (Tiny C compiler),
probably because there is another compiler with the name "tcc" available
from the tendra project: https://github.com/tendra/tendra/tree/main/tcc


--
Bye bye ... Detlef




reply via email to

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