Path: ...!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: tcc - first impression. Was: Baby X is bor nagain Date: Tue, 02 Jul 2024 06:50:28 -0700 Organization: A noiseless patient Spider Lines: 21 Message-ID: <86r0cbc38b.fsf@linuxsc.com> References: <20240624160941.0000646a@yahoo.com> <20240624181006.00003b94@yahoo.com> <20240625113616.000075e0@yahoo.com> <87ed8jnbmf.fsf@bsb.me.uk> <867ceadtih.fsf@linuxsc.com> <20240701200924.00003d9a@yahoo.com> <87zfr0wzpt.fsf@nosuchdomain.example.com> <20240702115448.00002025@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Tue, 02 Jul 2024 15:50:28 +0200 (CEST) Injection-Info: dont-email.me; posting-host="a921cf177a5ef0d729c498a18e4544b7"; logging-data="1759734"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+EL8VX8FQgFdIhrZhwTqfGXcvp8t75cd8=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:Bt7SP+SduBVwFSLYT4pdcNx0jFs= sha1:zzaJ9tJget2x+rDQTjjYypSKUi0= Bytes: 2475 bart writes: > On 02/07/2024 09:54, Michael S wrote: > >> On Mon, 01 Jul 2024 14:48:30 -0700 >> Keith Thompson wrote: >> >>> tcc is not advertised to support C17. According to >>> , "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.