Sujet : Re: tcc - first impression. Was: Baby X is bor nagain
De : tr.17687 (at) *nospam* z991.linuxsc.com (Tim Rentsch)
Groupes : comp.lang.cDate : 02. Jul 2024, 14:50:28
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <86r0cbc38b.fsf@linuxsc.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
User-Agent : Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
bart <
bc@freeuk.com> writes:
On 02/07/2024 09:54, Michael S wrote:
>
On Mon, 01 Jul 2024 14:48:30 -0700
Keith Thompson <Keith.S.Thompson+u@gmail.com> wrote:
>
tcc is not advertised to support C17. According to
<https://bellard.org/tcc/>, "TCC is heading torward full ISOC99
compliance."
>
I didn't say that they advertise C17. However in practice they do
support few C11/C17 features. So why not _Alignof() ?
Considering that tcc already supports old Gnu __alignof__ extension,
adding support for _Alignof() would be very easy for them.
>
_Generics is a very easy feature to implement (I did it in about 40
lines). Probably tcc could have it too with little trouble.
The key point is that tcc does NOT have it. Whether it
easily could or not is irrelevant.