Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.theory Subject: Re: Incorrect requirements --- Computing the mapping from the input to HHH(DD) Date: Thu, 08 May 2025 22:18:16 -0700 Organization: None to speak of Lines: 29 Message-ID: <87jz6qbbvr.fsf@nosuchdomain.example.com> References: <87msbmeo3b.fsf@nosuchdomain.example.com> <87ecwyekg2.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Fri, 09 May 2025 07:18:22 +0200 (CEST) Injection-Info: dont-email.me; posting-host="302a6dd640940106301f9e87fdade96e"; logging-data="2680540"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Ys52sGmHyB8rrv5RRkdHa" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:SzPaNlJ1txSO1GY8jDPBYzbzybc= sha1:MbSMhmLFYfRIoBwR4XtDduLzi2Q= Xref: csiph.com comp.theory:118110 Richard Heathfield writes: > On 09/05/2025 00:53, olcott wrote: >> On 5/8/2025 6:45 PM, Keith Thompson wrote: [...] >>> I have no particular problem with that, but your failure to correct >>> a number of C errors in your code is odd. >> As I already proved Microsoft reported no such errors. > > That's tantamount to a claim of a bug in your compiler. Conforming C > compilers are /required/ to report syntax errors. Meh. Most C compilers, certainly including gcc, clang, and Microsoft's C compiler, are not conforming by default. In fact, I don't know of any that are. I consider this unfortunate, but it means that if you want a conforming C compiler, you need to use apply additional options ("-std=cNN -pedantic" for gcc and clang, and something else for Microsoft's compiler). The problem, of course, is that different C compilers in their default modes are lax in different ways, so an error that compiler X ignores by default might become fatal when you use compiler Y. [...] -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */