Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: "A diagram of C23 basic types" Date: Mon, 05 May 2025 16:25:57 -0700 Organization: A noiseless patient Spider Lines: 52 Message-ID: <86jz6u4p2y.fsf@linuxsc.com> References: <87y0wjaysg.fsf@gmail.com> <20250402220614.431@kylheku.com> <85mscxlqnb.fsf@nosuchdomain.example.com> <20250403121946.134@kylheku.com> <20250409124900.00000fa1@yahoo.com> <861pu1ccsg.fsf@linuxsc.com> <20250410114252.0000218a@yahoo.com> <86a58j9l03.fsf@linuxsc.com> <20250414124426.000020fc@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Tue, 06 May 2025 01:25:58 +0200 (CEST) Injection-Info: dont-email.me; posting-host="f84420402be78ce51ba0e8f0077f27e2"; logging-data="1634369"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/GOYsJynE9pBgtQigKKuitBI+8AQHXZf8=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:t/hv5225QrrNOKG3QTxpzQqqW38= sha1:ELyjD80mhpaqb2qDtsCig0mV+Bg= Xref: csiph.com comp.lang.c:393190 Michael S writes: > On Mon, 14 Apr 2025 01:59:24 -0700 > Tim Rentsch wrote: > >> Michael S writes: >> >>> On Wed, 09 Apr 2025 13:14:55 -0700 >>> Tim Rentsch wrote: >> >> [may trailing commas in argument lists be accepted, or >> must they be rejected?] >> >>>> It is required in the sense that it is a syntax error, >>>> and syntax errors require a diagnostic. >>>> >>>> Trailing commas in argument lists and/or parameter lists >>>> could be accepted as an extension, even without giving a >>>> diagnostic as I read the C standard, but implementations >>>> are certainly within their rights to reject them. >>> >>> I have no doubts that implementations have full rights to reject >>> them. The question was about possibility to accept them and >>> especially about possibility to accept without diagnostics. >>> So, it seems, there is no consensus about it among few posters >>> that read the relevant part of the standard. >> >> I don't think anyone should care about that. If there were any >> significant demand for allowing such trailing commas then someone >> would implement it, and people would use it even if in some >> technical sense it meant that an implementation supporting it >> would be nonconforming. > > Personally, I'd use this feature if it would be standard. Me too. > But if it would be non-standard feature supported by both gcc and > clang I would hesitate. Me too. >> Besides, the opinions of people posting >> in comp.lang.c carry zero weight; the only opinions that matter >> are those of peole on the ISO C committee, and the major compiler >> writers, and none of those people bother posting here. > > My impression was that Philipp Klaus Krause that posts here, if > infrequently, is a member of WG14. Do you know if he is a member, or is he just an interested participant?