| Liste des Groupes | Revenir à cl c |
On Wed, 09 Apr 2025 13:14:55 -0700
Tim Rentsch <tr.17687@z991.linuxsc.com> wrote:
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.
Les messages affichés proviennent d'usenet.