Path: csiph.com!news.mixmin.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Cake - C23 to C99 transpiler Date: Wed, 07 Sep 2022 10:28:49 -0700 Organization: None to speak of Lines: 26 Message-ID: <877d2fksa6.fsf@nosuchdomain.example.com> References: <836c6515-87f5-42b2-98b0-8308173a9120n@googlegroups.com> <8735d39ou5.fsf@bsb.me.uk> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: reader01.eternal-september.org; posting-host="bc7833fb769b687d38f5573002b0bd37"; logging-data="307871"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194PbKeHT1REb2ZF1Nhk/11" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:q2QOCfljEDRvL6eoUJLx9CnbqMg= sha1:ekl7BK8MR2vMZeuJjpqLVYHUzqM= Xref: csiph.com comp.lang.c:167530 Bart writes: > On 07/09/2022 16:38, Ben Bacarisse wrote: >> Bart writes: >>> The main limitation of tcc (a significant one for me) is that it >>> doesn't support '$' in identifiers; most C compilers do. Which means >>> taking account of that in code generators. >> -fdollars-in-identifiers works for me. > > What a strange thing to have as an option (and an odd thing to have as > an essential requirement in the build instructions for your app). > > Just supporting '$' anyway would be a one-line change in the tcc > source code (although that only fixed my copy of it when I tried it). Sure, it would be easy to implement it. That's not the issue. Supporting '$' in identifiers is an extension. The C standard doesn't even mention it as a common extension. (I don't think I've ever used it other than in a tiny test program or on VMS.) And you want to remove the ability to warn about it? -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Working, but not speaking, for Philips void Void(void) { Void(); } /* The recursive call of the void */