Deutsch English Français Italiano |
<v2bptb$36ei8$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?B?QW5kcsOpIEcuIElzYWFr?= <agisaak@gm.invalid> Newsgroups: comp.theory Subject: Re: Every D(D) simulated by H presents non-halting behavior to H ### Date: Sat, 18 May 2024 20:58:50 -0600 Organization: Christians and Atheists United Against Creeping Agnosticism Lines: 62 Message-ID: <v2bptb$36ei8$1@dont-email.me> References: <v18e32$1vbql$1@dont-email.me> <v1gid8$4ilc$1@dont-email.me> <v1h9eu$9faf$1@dont-email.me> <v1iqli$nsva$1@dont-email.me> <v1ln3c$vfh$1@news.muc.de> <v1s6e6$397iq$2@dont-email.me> <v1slmi$3cjtp$1@dont-email.me> <v1t8tt$3gu9t$3@dont-email.me> <v1vc8j$3jmr$1@dont-email.me> <v1vsru$7eqc$1@dont-email.me> <v21r4i$otc2$2@dont-email.me> <v22k4b$umr4$1@dont-email.me> <v24oah$1h4u3$1@dont-email.me> <v256fc$1kais$1@dont-email.me> <v25bf0$ecc$1@news.muc.de> <v25crp$1lmq1$1@dont-email.me> <v28d3q$nic$1@news.muc.de> <v28njc$2dp3s$1@dont-email.me> <v28odm$2dlle$1@dont-email.me> <v28sg6$2ehk3$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 19 May 2024 04:58:52 +0200 (CEST) Injection-Info: dont-email.me; posting-host="fb8ed7e2e51387280dbb2f7e6a8a2238"; logging-data="3357256"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/uZ8CrDHuefcaYVh/Beu0" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:Wyu7EmIck0J4kd7glJLWE72sUpE= In-Reply-To: <v28sg6$2ehk3$1@dont-email.me> Content-Language: en-US Bytes: 3601 On 2024-05-17 18:24, olcott wrote: > On 5/17/2024 6:15 PM, André G. Isaak wrote: >> On 2024-05-17 17:00, olcott wrote: >>> On 5/17/2024 3:02 PM, Alan Mackenzie wrote: >> >>>> That "program" doesn't compile. It's ill-formed. >>> >>> This does compile under C17 and C11 >>> with Microsoft Visual Studio 2022 >> > >>> *Maybe you forgot to take the line numbers out* >>> *Maybe you forgot to take the line numbers out* >>> *Maybe you forgot to take the line numbers out* >>> *Maybe you forgot to take the line numbers out* >>> >>> typedef int (*ptr)(); >>> int H(ptr P, ptr I); >> >> But that's not the code you provide in your numerous previous posts >> where you insist on >> >> int H(ptr x, ptr x); >> >> Maybe when people point out that there is an error you should actually >> proofread what you wrote. >> >> [remaining code deleted]. >> >> André >> > > *Whoops my mistake* > *Whoops my mistake* > *Whoops my mistake* > *Whoops my mistake* > > Thanks for your review. > > I couldn't see my mistake when I tried to compile it > so I used an old trick, refactor from working code. > I still didn't see my mistake, yet got it to compile. You're missing the point. This error had been pointed out to you multiple times by multiple posters. Alan even pointed out the *specific* compiler errors which it generated under GCC. Yet you refused to correct it for weeks on end, insisting that everyone else was wrong. A competent C programmer wouldn't have run into this issue since they would have declared the function as something like: int H(ptr programDescription, ptr programInput); // no silly x and y Yet you continue to question everyone else's 'C-credentials' when you are the one making very basic errors. That hardly inspires confidence in anything else you might say about C. André -- To email remove 'invalid' & replace 'gm' with well known Google mail service.