Sujet : Re: tcc - first impression. Was: Baby X is bor nagain
De : jameskuyper (at) *nospam* alumni.caltech.edu (James Kuyper)
Groupes : comp.lang.cDate : 02. Jul 2024, 16:50:18
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v617jq$1mg5i$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
User-Agent : Mozilla Thunderbird
On 7/2/24 04: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.
They're still working on C99 compliance. If I had any interest in using
tcc (which I don't), I'd want them to finish C99 before going on to
other things, no matter how easy those other things are. Exception: some
features added in C99 were made optional in later standards. Unless tcc
already supports those features, they don't need to, and even if they do
plan to, they should make implementing them a low priority compared to
getting the rest of C99 implemented.