Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: James Kuyper Newsgroups: comp.lang.c Subject: Re: Top 10 most common hard skills listed on resumes... Date: Thu, 29 Aug 2024 14:26:02 -0400 Organization: A noiseless patient Spider Lines: 14 Message-ID: References: <92ab79736a70ea1563691d22a9b396a20629d8cf@i2pn2.org> <87r0abzcsj.fsf@bsb.me.uk> <874j75zftu.fsf@bsb.me.uk> <87mskwy9t1.fsf@bsb.me.uk> <875xrkxlgo.fsf@bsb.me.uk> <87o75bwlp8.fsf@bsb.me.uk> <871q27weeh.fsf@bsb.me.uk> <20240829083200.195@kylheku.com> <87v7zjuyd8.fsf@bsb.me.uk> <20240829084851.962@kylheku.com> <87mskvuxe9.fsf@bsb.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Date: Thu, 29 Aug 2024 20:26:02 +0200 (CEST) Injection-Info: dont-email.me; posting-host="164bb8d4946ec6f7bdb100aa8433a65d"; logging-data="76656"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+cRBX2MNqemzeKuCNhlWpTX23QAuVcSds=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:wLmb2AQB0kgIXOxM7UZgpHDr0Ro= In-Reply-To: <87mskvuxe9.fsf@bsb.me.uk> Content-Language: en-US Bytes: 2486 On 8/29/24 12:06, Ben Bacarisse wrote: .... > I can't see what it is you object to in what I wrote. I don't disagree > with anything you are saying (the "correct result" being to reject a > program that has, syntactically, the wrong thing on the left hand side). No - the only requirement is that a diagnostic be produced. A fully conforming implementation of C is allowed to accept such code and then generate an executable; if you choose to execute the executable, the behavior is undefined. The only construct for which rejection is mandatory is a #error directive that survives conditional compilation. Note that a #error directive that contains or is a syntax error or a constraint violation would invalidate that requirement, allowing the program to be accepted.